aboutsummaryrefslogtreecommitdiffstats
path: root/data/themes/edc/elm
diff options
context:
space:
mode:
Diffstat (limited to 'data/themes/edc/elm')
-rw-r--r--data/themes/edc/elm/access.edc60
-rw-r--r--data/themes/edc/elm/actionslider.edc277
-rw-r--r--data/themes/edc/elm/bg.edc31
-rw-r--r--data/themes/edc/elm/border.edc1666
-rw-r--r--data/themes/edc/elm/bubble.edc738
-rw-r--r--data/themes/edc/elm/button.edc1285
-rw-r--r--data/themes/edc/elm/calendar.edc534
-rw-r--r--data/themes/edc/elm/check.edc891
-rw-r--r--data/themes/edc/elm/clock.edc397
-rw-r--r--data/themes/edc/elm/colorsel.edc629
-rw-r--r--data/themes/edc/elm/conform.edc53
-rw-r--r--data/themes/edc/elm/ctxpopup.edc263
-rw-r--r--data/themes/edc/elm/datetime.edc192
-rw-r--r--data/themes/edc/elm/dayselector.edc487
-rw-r--r--data/themes/edc/elm/diskselector.edc388
-rw-r--r--data/themes/edc/elm/entry.edc1208
-rw-r--r--data/themes/edc/elm/fileselector.edc204
-rw-r--r--data/themes/edc/elm/flipselector.edc558
-rw-r--r--data/themes/edc/elm/focus.edc152
-rw-r--r--data/themes/edc/elm/frame.edc286
-rw-r--r--data/themes/edc/elm/gengrid.edc984
-rw-r--r--data/themes/edc/elm/genlist.edc5699
-rw-r--r--data/themes/edc/elm/hover.edc1264
-rw-r--r--data/themes/edc/elm/icon.edc89
-rw-r--r--data/themes/edc/elm/index.edc680
-rw-r--r--data/themes/edc/elm/inwin.edc79
-rw-r--r--data/themes/edc/elm/label.edc389
-rw-r--r--data/themes/edc/elm/layout.edc535
-rw-r--r--data/themes/edc/elm/list.edc707
-rw-r--r--data/themes/edc/elm/map.edc208
-rw-r--r--data/themes/edc/elm/menu.edc690
-rw-r--r--data/themes/edc/elm/multibuttonentry.edc262
-rw-r--r--data/themes/edc/elm/naviframe.edc635
-rw-r--r--data/themes/edc/elm/notify.edc188
-rw-r--r--data/themes/edc/elm/panel.edc355
-rw-r--r--data/themes/edc/elm/panes.edc515
-rw-r--r--data/themes/edc/elm/photo.edc91
-rw-r--r--data/themes/edc/elm/photocam.edc100
-rw-r--r--data/themes/edc/elm/player.edc639
-rw-r--r--data/themes/edc/elm/pointer.edc50
-rw-r--r--data/themes/edc/elm/popup.edc455
-rw-r--r--data/themes/edc/elm/progress.edc1400
-rw-r--r--data/themes/edc/elm/radio.edc272
-rw-r--r--data/themes/edc/elm/scroller.edc756
-rw-r--r--data/themes/edc/elm/segment_control.edc440
-rw-r--r--data/themes/edc/elm/separator.edc27
-rw-r--r--data/themes/edc/elm/slider.edc1452
-rw-r--r--data/themes/edc/elm/slideshow.edc349
-rw-r--r--data/themes/edc/elm/spinner.edc302
-rw-r--r--data/themes/edc/elm/thumb.edc134
-rw-r--r--data/themes/edc/elm/toolbar.edc1398
-rw-r--r--data/themes/edc/elm/tooltip.edc428
-rw-r--r--data/themes/edc/elm/video.edc43
-rw-r--r--data/themes/edc/elm/win.edc46
54 files changed, 31960 insertions, 0 deletions
diff --git a/data/themes/edc/elm/access.edc b/data/themes/edc/elm/access.edc
new file mode 100644
index 000000000..3b0dcc0f0
--- /dev/null
+++ b/data/themes/edc/elm/access.edc
@@ -0,0 +1,60 @@
+group { name: "elm/access/base/default";
+ images.image: "access_glow.png" LOSSY 85;
+ parts {
+ part { name: "block1"; type: RECT; mouse_events: 0;
+ description { state: "default" 0.0;
+ color: 0 0 0 200;
+ rel1.to: "base";
+ rel1.offset: -100000 -100000;
+ rel2.to: "base";
+ rel2.relative: 1.0 0.0;
+ rel2.offset: 100000 96;
+ }
+ }
+ part { name: "block2"; type: RECT; mouse_events: 0;
+ description { state: "default" 0.0;
+ color: 0 0 0 200;
+ rel1.to: "base";
+ rel1.relative: 0.0 1.0;
+ rel1.offset: -100000 -97;
+ rel2.to: "base";
+ rel2.offset: 100000 100000;
+ }
+ }
+ part { name: "block3"; type: RECT; mouse_events: 0;
+ description { state: "default" 0.0;
+ color: 0 0 0 200;
+ rel1.to: "block1";
+ rel1.relative: 0.0 1.0;
+ rel1.offset: 0 0;
+ rel2.to_x: "base";
+ rel2.to_y: "block2";
+ rel2.relative: 0.0 0.0;
+ rel2.offset: 96 -1;
+ }
+ }
+ part { name: "block4"; type: RECT; mouse_events: 0;
+ description { state: "default" 0.0;
+ color: 0 0 0 200;
+ rel1.to_x: "base";
+ rel1.to_y: "block1";
+ rel1.relative: 1.0 1.0;
+ rel1.offset: -97 0;
+ rel2.to: "block2";
+ rel2.relative: 1.0 0.0;
+ rel2.offset: -1 -1;
+ }
+ }
+ part { name: "base"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "access_glow.png";
+ image.border: 112 112 112 112;
+ rel1.offset: -102 -102;
+ rel2.offset: 101 101;
+ fill.smooth: 0;
+ }
+ }
+ }
+}
+
+
diff --git a/data/themes/edc/elm/actionslider.edc b/data/themes/edc/elm/actionslider.edc
new file mode 100644
index 000000000..eb4f4bcb7
--- /dev/null
+++ b/data/themes/edc/elm/actionslider.edc
@@ -0,0 +1,277 @@
+group { name: "elm/actionslider/base/default";
+ images.image: "bevel_in.png" COMP;
+ images.image: "button_normal.png" COMP;
+ images.image: "button_clicked.png" COMP;
+ images.image: "glow_small.png" COMP;
+ images.image: "inset_shadow.png" COMP;
+ parts {
+ part { name: "bg"; type: RECT; mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.offset: 1 1;
+ rel2.offset: -2 -2;
+ min: 48 10;
+ color: DARK_GREY_BG_COLOR;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: DARK_GREY_BG_DISABLED_COLOR;
+ }
+ }
+ part { name: "shadow"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "inset_shadow.png";
+ image.border: 5 5 7 3;
+ image.middle: 0;
+ rel1.to: "bg";
+ rel2.to: "bg";
+ fill.smooth: 0;
+ color: 255 255 255 128;
+ }
+ }
+ part { name: "inset"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "bevel_in.png";
+ image.border: 1 1 1 1;
+ image.middle: 0;
+ fill.smooth: 0;
+ }
+ }
+ part { name: "icon.dragable.area"; type: SPACER;
+ description { state: "default" 0.0;
+ rel1.to: "bg";
+ rel2.to: "bg";
+ }
+ }
+ part { name: "elm.text.left"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ color: FN_COL_DEFAULT;
+ color_class: "button_text";
+ text { font: FN; size: 10;
+ align: 0.05 0.5;
+ min: 1 1;
+ text_class: "button";
+ }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: FN_COL_DISABLE;
+ color_class: "button_text_disabled";
+ }
+ }
+ part { name: "elm.text.center"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ color: FN_COL_DEFAULT;
+ color_class: "check_off_text";
+ text { font: FN; size: 10;
+ align: 0.5 0.5;
+ min: 1 1;
+ text_class: "check_off_text";
+ }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: FN_COL_DISABLE;
+ color_class: "button_text_disabled";
+ }
+ }
+ part { name: "elm.text.right"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ color: FN_COL_DEFAULT;
+ color_class: "check_off_text";
+ text { font: FN; size: 10;
+ align: 0.95 0.5;
+ min: 1 1;
+ text_class: "check_off_text";
+ }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: FN_COL_DISABLE;
+ color_class: "button_text_disabled";
+ }
+ }
+ part { name: "elm.drag_button_base"; type: SWALLOW; mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ min: 40 10;
+ align: 0.5 0.5;
+ rel1.to: "icon.dragable.area";
+ rel2 {
+ relative: 0.0 1.0;
+ to: "icon.dragable.area";
+ }
+ }
+ dragable {
+ confine: "icon.dragable.area";
+ x: 1 1 0;
+ y: 0 0 0;
+ }
+ }
+ part { name: "elm.drag_button"; type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 40 10;
+ color: 0 0 0 0;
+ rel1.to_x: "elm.drag_button_base";
+ rel1.to_y: "icon.dragable.area";
+ rel2.to_x: "elm.drag_button_base";
+ rel2.to_y: "icon.dragable.area";
+ }
+ dragable {
+ events: "elm.drag_button_base";
+ }
+ }
+ part { name: "glow_button"; mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.offset: 0 -1;
+ rel1.to: "drag_button";
+ rel2.offset: -1 -2;
+ rel2.to: "drag_button";
+ image {
+ normal: "glow_small.png";
+ border: 7 7 7 7;
+ middle: NONE;
+ }
+ fill.smooth: 0;
+ visible: 0;
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "drag_button"; mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.to: "elm.drag_button";
+ rel1.offset: -1 0;
+ rel2.to: "elm.drag_button";
+ rel2.offset: 0 0;
+ image {
+ normal: "button_normal.png";
+ border: 4 4 3 5;
+ middle: SOLID;
+ }
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "button_clicked.png";
+ image.border: 5 5 4 6;
+ }
+ }
+ part { name: "elm.text.indicator"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 {
+ to: "elm.drag_button";
+ offset: 5 2;
+ }
+ rel2 {
+ to: "elm.drag_button";
+ offset: -5 -3;
+ }
+ color: FN_COL_DEFAULT;
+ color_class: "check_off_text";
+ text {
+ font: FN; size: 10;
+ align: 0.5 0.5;
+ min: 0 1;
+ text_class: "check_off_text";
+ }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: FN_COL_DISABLE;
+ color_class: "button_text_disabled";
+ }
+ }
+ part { name: "disabler";
+ type: RECT;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ program {
+ signal: "mouse,up,1"; source: "elm.drag_button";
+ action: SIGNAL_EMIT "elm.drag_button,mouse,up" "elm";
+ after: "button_unclick_anim";
+ }
+ program { name: "button_unclick_anim";
+ action: STATE_SET "default" 0.0;
+ target: "drag_button";
+ target: "glow_button";
+ }
+ program {
+ signal: "mouse,down,1*"; source: "elm.drag_button";
+ action: SIGNAL_EMIT "elm.drag_button,mouse,down" "elm";
+ after: "button_click_anim";
+ }
+ program { name: "button_click_anim";
+ action: STATE_SET "clicked" 0.0;
+ target: "drag_button";
+ target: "glow_button";
+ }
+ program {
+ signal: "mouse,move"; source: "elm.drag_button_base";
+ action: SIGNAL_EMIT "elm.drag_button,mouse,move" "elm";
+ }
+ program {
+ signal: "elm,state,disabled"; source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "bg";
+ target: "disabler";
+ target: "elm.text.left";
+ target: "elm.text.center";
+ target: "elm.text.right";
+ target: "elm.text.indicator";
+ }
+ program {
+ signal: "elm,state,enabled"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "bg";
+ target: "disabler";
+ target: "elm.text.left";
+ target: "elm.text.center";
+ target: "elm.text.right";
+ target: "elm.text.indicator";
+ }
+ }
+}
+
+group { name: "elm/actionslider/base/bar";
+ inherit: "elm/actionslider/base/default";
+ images.image: "horiz_glow_run_big.png" COMP;
+ parts {
+ part { name: "bar"; mouse_events: 0;
+ insert_before: "elm.drag_button_base";
+ description { state: "default" 0.0;
+ rel1.to: "bg";
+ rel1.offset: 1 4;
+ rel2 {
+ relative: 0.0 1.0;
+ offset: 3 -5;
+ to_x: "elm.drag_button_base";
+ to_y: "bg";
+ }
+ image {
+ normal: "horiz_glow_run_big.png";
+ border: 0 4 0 0;
+ }
+ }
+ }
+ }
+}
diff --git a/data/themes/edc/elm/bg.edc b/data/themes/edc/elm/bg.edc
new file mode 100644
index 000000000..58518f644
--- /dev/null
+++ b/data/themes/edc/elm/bg.edc
@@ -0,0 +1,31 @@
+group { name: "elm/bg/base/default";
+ images.image: "bevel_dark_out.png" COMP;
+ parts {
+ part { name: "base"; type: RECT;
+ description { state: "default" 0.0;
+ color_class: "dialog_base";
+ color: 64 64 64 255;
+ }
+ }
+ part { name: "elm.swallow.rectangle"; type: SWALLOW;
+ description { state: "default" 0.0;
+ }
+ }
+ part { name: "elm.swallow.background"; type: SWALLOW;
+ description { state: "default" 0.0;
+ }
+ }
+ part { name: "bevel";
+ description { state: "default" 0.0;
+ image.normal: "bevel_dark_out.png";
+ image.border: 1 1 1 1;
+ image.middle: 0;
+ fill.smooth: 0;
+ }
+ }
+ part { name: "elm.swallow.content"; type: SWALLOW;
+ description { state: "default" 0.0;
+ }
+ }
+ }
+}
diff --git a/data/themes/edc/elm/border.edc b/data/themes/edc/elm/border.edc
new file mode 100644
index 000000000..627c9f3af
--- /dev/null
+++ b/data/themes/edc/elm/border.edc
@@ -0,0 +1,1666 @@
+group { name: "elm/ews/background/default";
+ images.image: "bg_radgrad.png" COMP;
+ images.image: "dot_pattern.png" COMP;
+ parts {
+ part { name: "bg";
+ description { state: "default" 0.0;
+ image.normal: "bg_radgrad.png";
+ image.scale_hint: STATIC;
+ fill.smooth: 0;
+ ASPECT_FILL((1024/653))
+ }
+ }
+ part { name: "pat";
+ description { state: "default" 0.0;
+ image.normal: "dot_pattern.png";
+ TILED_PATTERN(256, 256)
+ }
+ }
+ }
+}
+
+group { name: "elm/ews/decoration/default";
+ images.image: "win_shadow.png" COMP;
+ images.image: "win_glow.png" COMP;
+ images.image: "vgrad_med_lighter.png" COMP;
+ images.image: "vgrad_med_dark.png" COMP;
+ images.image: "bevel_out.png" COMP;
+ images.image: "shine.png" COMP;
+ images.image: "bevel_dark_out.png" COMP;
+ images.image: "sym_close_dark_normal.png" COMP;
+ images.image: "sym_close_dark_selected.png" COMP;
+ images.image: "sym_close_light_normal.png" COMP;
+ images.image: "sym_close_light_selected.png" COMP;
+ images.image: "sym_down_dark_normal.png" COMP;
+ images.image: "sym_down_dark_selected.png" COMP;
+ images.image: "sym_down_light_normal.png" COMP;
+ images.image: "sym_down_light_selected.png" COMP;
+ images.image: "sym_up_dark_normal.png" COMP;
+ images.image: "sym_up_dark_selected.png" COMP;
+ images.image: "sym_up_light_normal.png" COMP;
+ images.image: "sym_up_light_selected.png" COMP;
+ images.image: "glow_round_corners_small.png" COMP;
+ images.image: "knob_round_small_busy.png" COMP;
+ parts {
+ part { name: "shadow"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "win_shadow.png";
+ image.border: 14 14 14 14;
+ image.middle: 0;
+ rel1.offset: -7 -3;
+ rel1.to: "top";
+ rel2.offset: 6 11;
+ rel2.to: "bottom";
+ fill.smooth: 0;
+ }
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "glow"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "win_glow.png";
+ image.border: 9 9 9 9;
+ image.middle: 0;
+ rel1.offset: -5 -5;
+ rel1.to: "top";
+ rel2.offset: 4 4;
+ rel2.to: "bottom";
+ fill.smooth: 0;
+ color: 255 255 255 0;
+ visible: 0;
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 255;
+ visible: 1;
+ }
+ }
+ part { name: "top";
+ description { state: "default" 0.0;
+ color_class: "border_top";
+ image.normal: "vgrad_med_lighter.png";
+ rel1.to_y: "title2";
+ rel1.offset: -1 -2;
+ rel2.relative: 1.0 0.0;
+ fill.smooth: 0;
+ TILED_HORIZ(120)
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "vgrad_med_dark.png";
+ }
+ }
+ part { name: "bevel"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "bevel_out.png";
+ image.border: 1 1 1 1;
+ image.middle: 0;
+ rel1.to: "top";
+ rel2.to: "top";
+ fill.smooth: 0;
+ }
+ }
+ part { name: "elm.text.title"; type: TEXT;
+ scale: 1;
+ effect: SHADOW BOTTOM;
+ description { state: "default" 0.0;
+ color_class: "border_title";
+ rel1.relative: 1.0 0.0;
+ rel1.offset: 1 -3;
+ rel1.to_x: "e.event.icon";
+ rel2.relative: 0.0 0.0;
+ rel2.offset: -2 -3;
+ rel2.to_x: "e.event.minimize";
+ align: 0.5 1.0;
+ color: 21 21 21 255;
+ color3: 255 255 255 25;
+ text { font: FNBD; size: 10;
+ text_class: "title_bar";
+ align: 0.5 0.0;
+ min: 0 1;
+ }
+ fixed: 0 1;
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "title2"; type: TEXT;
+ scale: 1;
+ effect: SOFT_SHADOW BOTTOM;
+ description { state: "default" 0.0;
+ color_class: "border_title_active";
+ rel1.relative: 1.0 0.0;
+ rel1.offset: 1 2;
+ rel1.to_x: "e.event.icon";
+ rel2.relative: 0.0 0.0;
+ rel2.offset: -1 2;
+ rel2.to_x: "e.event.minimize";
+ align: 0.5 1.0;
+ color: 255 255 255 255;
+ color3: 0 0 0 18;
+ text { font: FNBD; size: 10;
+ text_source: "elm.text.title";
+ text_class: "title_bar";
+ align: 0.5 0.0;
+ min: 0 1;
+ }
+ fixed: 0 1;
+ visible: 0;
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "icon"; type: SPACER;
+ description { state: "default" 0.0;
+ rel1.to: "e.event.icon";
+ rel2.to: "e.event.icon";
+ }
+ description { state: "bounce1" 0.0;
+ inherit: "default" 0.0;
+ rel1.relative: 0.0 0.15;
+ rel2.relative: 1.0 1.15;
+ }
+ description { state: "bounce2" 0.0;
+ inherit: "default" 0.0;
+ rel1.relative: 0.0 -0.15;
+ rel2.relative: 1.0 0.85;
+ }
+ }
+ part { name: "e.swallow.icon"; type: SWALLOW;
+ description { state: "default" 0.0;
+ rel1.to: "icon";
+ rel1.relative: 0.15 0.15;
+ rel2.to: "icon";
+ rel2.relative: 0.85 0.85;
+ rel2.offset: 0 0;
+ }
+ }
+ part { name: "knob"; mouse_events: 0;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ image.normal: "knob_round_small_busy.png";
+ aspect: 1.0 1.0; aspect_preference: BOTH;
+ max: 20 20;
+ rel1.to: "e.event.icon";
+ rel2.to: "e.event.icon";
+ fixed: 1 1;
+ }
+ }
+
+ part { name: "clip1"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.to: "top";
+ rel2.to: "top";
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "clip2"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.to: "top";
+ rel2.to: "top";
+ visible: 0;
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "close1";
+ clip_to: "clip1";
+ description { state: "default" 0.0;
+ image.normal: "sym_close_dark_normal.png";
+ rel1.to: "e.event.close";
+ rel2.to: "e.event.close";
+ min: 15 15;
+ max: 15 15;
+ fixed: 1 1;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "sym_close_dark_selected.png";
+ }
+ }
+ part { name: "max1";
+ clip_to: "clip1";
+ description { state: "default" 0.0;
+ image.normal: "sym_up_dark_normal.png";
+ rel1.to: "e.event.maximize";
+ rel2.to: "e.event.maximize";
+ min: 15 15;
+ max: 15 15;
+ fixed: 1 1;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "sym_up_dark_selected.png";
+ }
+ }
+ part { name: "min1";
+ clip_to: "clip1";
+ description { state: "default" 0.0;
+ image.normal: "sym_down_dark_normal.png";
+ rel1.to: "e.event.minimize";
+ rel2.to: "e.event.minimize";
+ min: 15 15;
+ max: 15 15;
+ fixed: 1 1;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "sym_down_dark_selected.png";
+ }
+ }
+ part { name: "close2";
+ clip_to: "clip2";
+ description { state: "default" 0.0;
+ image.normal: "sym_close_light_normal.png";
+ rel1.to: "e.event.close";
+ rel2.to: "e.event.close";
+ min: 15 15;
+ max: 15 15;
+ fixed: 1 1;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "sym_close_light_selected.png";
+ }
+ }
+ part { name: "max2";
+ clip_to: "clip2";
+ description { state: "default" 0.0;
+ image.normal: "sym_up_light_normal.png";
+ rel1.to: "e.event.maximize";
+ rel2.to: "e.event.maximize";
+ min: 15 15;
+ max: 15 15;
+ fixed: 1 1;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "sym_up_light_selected.png";
+ }
+ }
+ part { name: "min2";
+ clip_to: "clip2";
+ description { state: "default" 0.0;
+ image.normal: "sym_down_light_normal.png";
+ rel1.to: "e.event.minimize";
+ rel2.to: "e.event.minimize";
+ min: 15 15;
+ max: 15 15;
+ fixed: 1 1;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "sym_down_light_selected.png";
+ }
+ }
+ part { name: "e.event.icon"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.relative: 0.0 0.0;
+ rel1.to_y: "top";
+ rel2.relative: 0.0 0.0;
+ align: 0.0 0.5;
+ aspect: 1.0 1.0; aspect_preference: VERTICAL;
+ color: 0 0 0 0;
+ }
+ }
+ program {
+ signal: "mouse,clicked,1"; source: "e.event.icon";
+ action: SIGNAL_EMIT "elm,action,menu" "elm";
+ }
+ part { name: "e.event.titlebar"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.to_y: "top";
+ rel1.relative: 1.0 0.0;
+ rel1.to_x: "e.event.icon";
+ rel2.relative: 0.0 0.0;
+ rel2.to_x: "e.event.minimize";
+ color: 0 0 0 0;
+ }
+ }
+ program {
+ signal: "mouse,down,1"; source: "e.event.titlebar";
+ action: SIGNAL_EMIT "elm,action,move,start" "elm";
+ }
+ program {
+ signal: "mouse,up,1"; source: "e.event.titlebar";
+ action: SIGNAL_EMIT "elm,action,move,stop" "elm";
+ }
+ part { name: "e.event.close"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.relative: 1.0 0.0;
+ rel1.to_y: "top";
+ rel2.relative: 1.0 0.0;
+ align: 1.0 0.5;
+ aspect: 1.0 1.0; aspect_preference: VERTICAL;
+ color: 0 0 0 0;
+ }
+ }
+ program {
+ signal: "mouse,clicked,1"; source: "e.event.close";
+ action: SIGNAL_EMIT "elm,action,close" "elm";
+ }
+ part { name: "e.event.maximize"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.to_y: "top";
+ rel1.relative: -0.25 0.0;
+ rel1.offset: -1 0;
+ rel1.to_x: "e.event.close";
+ rel2.relative: -0.25 0.0;
+ rel2.to_x: "e.event.close";
+ align: 1.0 0.5;
+ aspect: 1.0 1.0; aspect_preference: VERTICAL;
+ color: 0 0 0 0;
+ }
+ description { state: "max" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "e.event.maximize2"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.to: "e.event.maximize";
+ rel2.to: "e.event.maximize";
+ color: 0 0 0 0;
+ visible: 0;
+ }
+ description { state: "max" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ program {
+ signal: "mouse,clicked,1"; source: "e.event.maximize";
+ action: SIGNAL_EMIT "elm,action,maximize" "elm";
+ }
+ program {
+ signal: "mouse,clicked,1"; source: "e.event.maximize2";
+ action: SIGNAL_EMIT "elm,action,restore" "elm";
+ }
+ part { name: "e.event.minimize"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.to_y: "top";
+ rel1.relative: 0.0 0.0;
+ rel1.offset: -1 0;
+ rel1.to_x: "e.event.maximize";
+ rel2.relative: 0.0 0.0;
+ rel2.to_x: "e.event.maximize";
+ align: 1.0 0.5;
+ aspect: 1.0 1.0; aspect_preference: VERTICAL;
+ color: 0 0 0 0;
+ }
+ }
+ program {
+ signal: "mouse,clicked,1"; source: "e.event.minimize";
+ action: SIGNAL_EMIT "elm,action,iconify" "elm";
+ }
+ part { name: "e.event.resize.tl"; type: RECT;
+ description { state: "default" 0.0;
+ rel2.relative: 0.0 0.0;
+ min: 32 4;
+ align: 0.0 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "e.event.resize.t"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.relative: 1.0 0.0;
+ rel1.to_x: "e.event.resize.tl";
+ rel2.relative: 0.0 0.0;
+ rel2.to_x: "e.event.resize.tr";
+ min: 0 4;
+ align: 0.5 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "e.event.resize.tr"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.relative: 1.0 0.0;
+ rel2.relative: 1.0 0.0;
+ min: 32 4;
+ align: 1.0 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "bottom"; type: RECT;
+ description { state: "default" 0.0;
+ color_class: "border_bottom";
+ rel1.relative: 0.0 1.0;
+ rel2.relative: 1.0 1.0;
+ rel2.offset: -1 4;
+ min: 0 5;
+ color: 64 64 64 255;
+ fixed: 0 1;
+ }
+ description { state: "shaded" 0.0;
+ inherit: "default" 0.0;
+ min: 0 0;
+ visible: 0;
+ }
+ description { state: "max" 0.0;
+ inherit: "default" 0.0;
+ min: 0 0;
+ visible: 0;
+ }
+ }
+ part { name: "bevel2";
+ description { state: "default" 0.0;
+ image.normal: "bevel_dark_out.png";
+ image.border: 1 1 1 1;
+ image.middle: 0;
+ rel1.to: "bottom";
+ rel2.to: "bottom";
+ fill.smooth: 0;
+ }
+ description { state: "shaded" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "max" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "e.event.resize.bl"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.relative: 0.0 1.0;
+ rel2.relative: 0.0 1.0;
+ min: 32 5;
+ align: 0.0 1.0;
+ color: 0 0 0 0;
+ fixed: 1 1;
+ }
+ description { state: "shaded" 0.0;
+ inherit: "default" 0.0;
+ min: 0 0;
+ visible: 0;
+ }
+ description { state: "max" 0.0;
+ inherit: "default" 0.0;
+ min: 0 0;
+ visible: 0;
+ }
+ }
+ part { name: "e.event.resize.b"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.relative: 1.0 1.0;
+ rel1.to_x: "e.event.resize.tl";
+ rel2.relative: 0.0 1.0;
+ rel2.to_x: "e.event.resize.tr";
+ min: 0 5;
+ align: 0.5 1.0;
+ color: 0 0 0 0;
+ fixed: 0 1;
+ }
+ description { state: "shaded" 0.0;
+ inherit: "default" 0.0;
+ min: 0 0;
+ visible: 0;
+ }
+ description { state: "max" 0.0;
+ inherit: "default" 0.0;
+ min: 0 0;
+ visible: 0;
+ }
+ }
+ part { name: "e.event.resize.br"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.relative: 1.0 1.0;
+ rel2.relative: 1.0 1.0;
+ min: 32 5;
+ align: 1.0 1.0;
+ color: 0 0 0 0;
+ fixed: 1 1;
+ }
+ description { state: "shaded" 0.0;
+ inherit: "default" 0.0;
+ min: 0 0;
+ visible: 0;
+ }
+ description { state: "max" 0.0;
+ inherit: "default" 0.0;
+ min: 0 0;
+ visible: 0;
+ }
+ }
+ part { name: "shine"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "shine.png";
+ rel1.offset: 0 -2;
+ rel1.to: "top";
+ rel2.relative: 1.0 0.0;
+ rel2.offset: -1 2;
+ rel2.to: "top";
+ FIXED_SIZE(69, 5)
+ }
+ }
+ part { name: "focus"; type: RECT; repeat_events: 1;
+ description { state: "default" 0.0;
+ rel1.to: "top";
+ rel2.to: "bottom";
+ color: 0 0 0 0;
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ program {
+ signal: "mouse,down,1"; source: "focus";
+ action: SIGNAL_EMIT "elm,action,focus" "elm";
+ }
+ program {
+ signal: "elm,state,focus,on"; source: "elm";
+ action: STATE_SET "focused" 0.0;
+ transition: SINUSOIDAL 0.1;
+ target: "glow";
+ target: "focus";
+ after: "focus2";
+ }
+ program { name: "focus2";
+ action: STATE_SET "default" 0.0;
+ transition: SINUSOIDAL 0.4;
+ target: "glow";
+ }
+ program {
+ signal: "elm,state,focus,off"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: SINUSOIDAL 0.1;
+ target: "focus";
+ target: "glow";
+ }
+ program {
+ signal: "elm,state,focus,on"; source: "elm";
+ action: STATE_SET "focused" 0.0;
+ target: "top";
+ target: "elm.text.title";
+ target: "title2";
+ target: "clip1";
+ target: "clip2";
+ }
+ program {
+ signal: "elm,state,focus,off"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "top";
+ target: "elm.text.title";
+ target: "title2";
+ target: "clip1";
+ target: "clip2";
+ }
+
+ program {
+ signal: "elm,state,maximized,on"; source: "elm";
+ action: STATE_SET "max" 0.0;
+ target: "e.event.maximize";
+ target: "e.event.maximize2";
+ target: "bottom";
+ target: "bevel2";
+ target: "e.event.resize.bl";
+ target: "e.event.resize.b";
+ target: "e.event.resize.br";
+ }
+ program {
+ signal: "elm,state,maximized,off"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "e.event.maximize";
+ target: "e.event.maximize2";
+ target: "bottom";
+ target: "bevel2";
+ target: "e.event.resize.bl";
+ target: "e.event.resize.b";
+ target: "e.event.resize.br";
+ }
+ program {
+ signal: "mouse,down,*"; source: "e.event.close";
+ action: STATE_SET "selected" 0.0;
+ target: "close1";
+ target: "close2";
+ }
+ program {
+ signal: "mouse,up,*"; source: "e.event.close";
+ action: STATE_SET "default" 0.0;
+ target: "close1";
+ target: "close2";
+ }
+ program {
+ signal: "mouse,down,*"; source: "e.event.maximize*";
+ action: STATE_SET "selected" 0.0;
+ target: "max1";
+ target: "max2";
+ }
+ program {
+ signal: "mouse,up,*"; source: "e.event.maximize*";
+ action: STATE_SET "default" 0.0;
+ target: "max1";
+ target: "max2";
+ }
+ program {
+ signal: "mouse,down,*"; source: "e.event.minimize";
+ action: STATE_SET "selected" 0.0;
+ target: "min1";
+ target: "min2";
+ }
+ program {
+ signal: "mouse,up,*"; source: "e.event.minimize";
+ action: STATE_SET "default" 0.0;
+ target: "min1";
+ target: "min2";
+ }
+ }
+}
+
+group { name: "elm/ews/decoration/borderless";
+ images.image: "win_shadow.png" COMP;
+ images.image: "win_glow.png" COMP;
+ parts {
+ part { name: "shadow"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "win_shadow.png";
+ image.border: 14 14 14 14;
+ image.middle: 0;
+ rel1.offset: -7 -3;
+ rel2.offset: 6 11;
+ fill.smooth: 0;
+ }
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "glow"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "win_glow.png";
+ image.border: 9 9 9 9;
+ image.middle: 0;
+ rel1.offset: -5 -5;
+ rel2.offset: 4 4;
+ fill.smooth: 0;
+ color: 255 255 255 0;
+ visible: 0;
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 255;
+ visible: 1;
+ }
+ }
+ part { name: "focus"; type: RECT; repeat_events: 1;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ program {
+ signal: "mouse,down,1"; source: "focus";
+ action: SIGNAL_EMIT "elm,action,focus" "elm";
+ }
+ program {
+ signal: "elm,state,focus,on"; source: "elm";
+ action: STATE_SET "focused" 0.0;
+ transition: SINUSOIDAL 0.1;
+ target: "glow";
+ target: "focus";
+ after: "focus2";
+ }
+ program { name: "focus2";
+ action: STATE_SET "default" 0.0;
+ transition: SINUSOIDAL 0.4;
+ target: "glow";
+ }
+ program {
+ signal: "elm,state,focus,off"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: SINUSOIDAL 0.1;
+ target: "focus";
+ target: "glow";
+ }
+ }
+}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+////////////////////////////////////////////////////////////////////////////
+////////////////////////////////////////////////////////////////////////////
+////////////////////////////////////////////////////////////////////////////
+////////////////////////////////////////////////////////////////////////////
+////////////////////////////////////////////////////////////////////////////
+////////////////////////////////////////////////////////////////////////////
+////////////////////////////////////////////////////////////////////////////
+////////////////////////////////////////////////////////////////////////////
+////////////////////////////////////////////////////////////////////////////
+////////////////////////////////////////////////////////////////////////////
+////////////////////////////////////////////////////////////////////////////
+////////////////////////////////////////////////////////////////////////////
+////////////////////////////////////////////////////////////////////////////
+
+group { name: "elm/border/base/default";
+ images.image: "win_shadow.png" COMP;
+ images.image: "win_glow.png" COMP;
+
+ images.image: "vgrad_med_lighter.png" COMP;
+ images.image: "vgrad_med_dark.png" COMP;
+ images.image: "bevel_out.png" COMP;
+ images.image: "shine.png" COMP;
+ images.image: "bevel_dark_out.png" COMP;
+ images.image: "sym_close_dark_normal.png" COMP;
+ images.image: "sym_close_dark_selected.png" COMP;
+ images.image: "sym_close_light_normal.png" COMP;
+ images.image: "sym_close_light_selected.png" COMP;
+ images.image: "sym_down_dark_normal.png" COMP;
+ images.image: "sym_down_dark_selected.png" COMP;
+ images.image: "sym_down_light_normal.png" COMP;
+ images.image: "sym_down_light_selected.png" COMP;
+ images.image: "sym_up_dark_normal.png" COMP;
+ images.image: "sym_up_dark_selected.png" COMP;
+ images.image: "sym_up_light_normal.png" COMP;
+ images.image: "sym_up_light_selected.png" COMP;
+ images.image: "glow_round_corners_small.png" COMP;
+ images.image: "knob_round_small_busy.png" COMP;
+
+ // XXX: trhis is UNTESTED!!! need wl to test!
+ parts {
+ part { name: "focus_clip"; type: RECT;
+ description { state: "default" 0.0;
+ }
+ description { state: "max" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.swallow.frame_spacer"; type: SWALLOW;
+ clip_to: "focus_clip";
+ description { state: "default" 0.0;
+ rel1.to: "frame";
+ rel2.to: "frame";
+ }
+ }
+ part { name: "frame"; type: SPACER;
+ description { state: "default" 0.0;
+ rel1.offset: 7 5;
+ rel2.offset: -8 -12;
+ }
+ description { state: "max" 0.0;
+ inherit: "default" 0.0;
+ rel1.offset: 0 0;
+ rel2.offset: -1 -1;
+ }
+ }
+ part { name: "shadow"; mouse_events: 0;
+ clip_to: "focus_clip";
+ description { state: "default" 0.0;
+ image.normal: "win_shadow.png";
+ image.border: 14 14 14 14;
+ image.middle: 0;
+ rel1.offset: -7 -3;
+ rel1.to: "frame";
+ rel2.offset: 6 11;
+ rel2.to: "frame";
+ fill.smooth: 0;
+ }
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "glow"; mouse_events: 0;
+ clip_to: "focus_clip";
+ description { state: "default" 0.0;
+ image.normal: "win_glow.png";
+ image.border: 9 9 9 9;
+ image.middle: 0;
+ rel1.offset: -5 -5;
+ rel1.to: "frame";
+ rel2.offset: 4 4;
+ rel2.to: "frame";
+ fill.smooth: 0;
+ color: 255 255 255 0;
+ visible: 0;
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 255;
+ visible: 1;
+ }
+ }
+ part { name: "client_clip"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.to_y: "elm.swallow.client";
+ rel2.to_y: "elm.swallow.client";
+ }
+ }
+ part { name: "elm.swallow.client"; type: SWALLOW;
+ clip_to: "client_clip";
+ description { state: "default" 0.0;
+ rel1.relative: 0.0 1.0;
+ rel1.to: "top";
+ rel2.relative: 1.0 0.0;
+ rel2.to: "bottom";
+ }
+ description { state: "shaded" 0.0;
+ inherit: "default" 0.0;
+ rel2.relative: 1.0 1.0;
+ rel2.offset: -1 -1;
+ rel2.to: "bottom";
+ }
+ description { state: "max" 0.0;
+ inherit: "default" 0.0;
+ rel2.relative: 1.0 1.0;
+ rel2.offset: -1 -1;
+ rel2.to: "bottom";
+ }
+ }
+ part { name: "top";
+ description { state: "default" 0.0;
+ color_class: "border_top";
+ image.normal: "vgrad_med_lighter.png";
+ rel1.to: "frame";
+ rel2.to_y: "title2";
+ rel2.to_x: "frame";
+ rel2.offset: -1 -4;
+ fill.smooth: 0;
+ TILED_HORIZ(120)
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "vgrad_med_dark.png";
+ }
+ }
+ part { name: "bevel"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "bevel_out.png";
+ image.border: 1 1 1 1;
+ image.middle: 0;
+ rel1.to: "top";
+ rel2.to: "top";
+ fill.smooth: 0;
+ }
+ }
+ part { name: "elm.text.title"; type: TEXT;
+ scale: 1;
+ effect: SHADOW BOTTOM;
+ description { state: "default" 0.0;
+ color_class: "border_title";
+ rel1.relative: 1.0 0.0;
+ rel1.offset: 1 3;
+ rel1.to_x: "elm.event.icon";
+ rel1.to_y: "frame";
+ rel2.relative: 0.0 0.0;
+ rel2.offset: -2 3;
+ rel2.to_x: "e.event.minimize";
+ rel2.to_y: "frame";
+ align: 0.5 0.0;
+ color: 21 21 21 255;
+ color3: 255 255 255 25;
+ text { font: FNBD; size: 10;
+ text_class: "title_bar";
+ align: 0.5 0.0;
+ min: 0 1;
+ }
+ fixed: 0 1;
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "title2"; type: TEXT;
+ scale: 1;
+ effect: SOFT_SHADOW BOTTOM;
+ description { state: "default" 0.0;
+ color_class: "border_title_active";
+ rel1.relative: 1.0 0.0;
+ rel1.offset: 1 2;
+ rel1.to_x: "elm.event.icon";
+ rel1.to_y: "frame";
+ rel2.relative: 0.0 0.0;
+ rel2.offset: -1 2;
+ rel2.to_x: "e.event.minimize";
+ rel2.to_y: "frame";
+ align: 0.5 0.0;
+ color: 255 255 255 255;
+ color3: 0 0 0 18;
+ text { font: FNBD; size: 10;
+ text_source: "elm.text.title";
+ text_class: "title_bar";
+ align: 0.5 0.0;
+ min: 0 1;
+ }
+ fixed: 0 1;
+ visible: 0;
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "icon"; type: SPACER;
+ description { state: "default" 0.0;
+ rel1.to: "elm.event.icon";
+ rel2.to: "elm.event.icon";
+ }
+ description { state: "bounce1" 0.0;
+ inherit: "default" 0.0;
+ rel1.relative: 0.0 0.15;
+ rel2.relative: 1.0 1.15;
+ }
+ description { state: "bounce2" 0.0;
+ inherit: "default" 0.0;
+ rel1.relative: 0.0 -0.15;
+ rel2.relative: 1.0 0.85;
+ }
+ }
+ part { name: "elm.swallow.icon"; type: SWALLOW;
+ description { state: "default" 0.0;
+ rel1.to: "icon";
+ rel1.relative: 0.15 0.15;
+ rel2.to: "icon";
+ rel2.relative: 0.85 0.85;
+ rel2.offset: 0 0;
+ }
+ }
+ part { name: "busy_clip"; type: RECT;
+ description { state: "default" 0.0;
+ color: 255 255 255 0;
+ visible: 0;
+ }
+ description { state: "hung" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 255;
+ visible: 1;
+ }
+ }
+ part { name: "knob"; mouse_events: 0;
+ clip_to: "busy_clip";
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ image.normal: "knob_round_small_busy.png";
+ aspect: 1.0 1.0; aspect_preference: VERTICAL;
+ max: 20 20;
+ rel1.relative: 1.0 0.0;
+ rel1.offset: 2 -0;
+ rel1.to: "elm.event.icon";
+ rel2.relative: 1.0 1.0;
+ rel2.offset: 2 -1;
+ rel2.to: "elm.event.icon";
+ align: 0.0 0.5;
+ fixed: 1 1;
+ }
+ }
+ part { name: "knob_spinner"; mouse_events: 0;
+ clip_to: "busy_clip";
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.to: "knob";
+ rel2.to: "knob";
+ image.normal: "glow_round_corners.png";
+ map.on: 1;
+ map.smooth: 1;
+ map.rotation.center: "knob";
+ }
+ description { state: "spin" 0.0;
+ inherit: "default" 0.0;
+ map.rotation.z: 360;
+ }
+ }
+ part { name: "clip1"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.to: "top";
+ rel2.to: "top";
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "clip2"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.to: "top";
+ rel2.to: "top";
+ visible: 0;
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "close1";
+ clip_to: "clip1";
+ description { state: "default" 0.0;
+ image.normal: "sym_close_dark_normal.png";
+ rel1.to: "e.event.close";
+ rel2.to: "e.event.close";
+ min: 15 15;
+ max: 15 15;
+ fixed: 1 1;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "sym_close_dark_selected.png";
+ }
+ }
+ part { name: "max1";
+ clip_to: "clip1";
+ description { state: "default" 0.0;
+ image.normal: "sym_up_dark_normal.png";
+ rel1.to: "e.event.maximize";
+ rel2.to: "e.event.maximize";
+ min: 15 15;
+ max: 15 15;
+ fixed: 1 1;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "sym_up_dark_selected.png";
+ }
+ }
+ part { name: "min1";
+ clip_to: "clip1";
+ description { state: "default" 0.0;
+ image.normal: "sym_down_dark_normal.png";
+ rel1.to: "e.event.minimize";
+ rel2.to: "e.event.minimize";
+ min: 15 15;
+ max: 15 15;
+ fixed: 1 1;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "sym_down_dark_selected.png";
+ }
+ }
+ part { name: "close2";
+ clip_to: "clip2";
+ description { state: "default" 0.0;
+ image.normal: "sym_close_light_normal.png";
+ rel1.to: "e.event.close";
+ rel2.to: "e.event.close";
+ min: 15 15;
+ max: 15 15;
+ fixed: 1 1;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "sym_close_light_selected.png";
+ }
+ }
+ part { name: "max2";
+ clip_to: "clip2";
+ description { state: "default" 0.0;
+ image.normal: "sym_up_light_normal.png";
+ rel1.to: "e.event.maximize";
+ rel2.to: "e.event.maximize";
+ min: 15 15;
+ max: 15 15;
+ fixed: 1 1;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "sym_up_light_selected.png";
+ }
+ }
+ part { name: "min2";
+ clip_to: "clip2";
+ description { state: "default" 0.0;
+ image.normal: "sym_down_light_normal.png";
+ rel1.to: "e.event.minimize";
+ rel2.to: "e.event.minimize";
+ min: 15 15;
+ max: 15 15;
+ fixed: 1 1;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "sym_down_light_selected.png";
+ }
+ }
+ part { name: "elm.event.icon"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.relative: 0.0 0.0;
+ rel1.to: "top";
+ rel2.relative: 0.0 1.0;
+ rel2.to: "top";
+ align: 0.0 0.5;
+ aspect: 1.0 1.0; aspect_preference: VERTICAL;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "e.event.titlebar"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.relative: 1.0 0.0;
+ rel1.to_x: "elm.event.icon";
+ rel1.to_y: "top";
+ rel2.relative: 0.0 1.0;
+ rel2.to_x: "e.event.minimize";
+ rel2.to_y: "top";
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "e.event.close"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.relative: 1.0 0.0;
+ rel1.to: "top";
+ rel2.relative: 1.0 1.0;
+ rel2.to: "top";
+ align: 1.0 0.5;
+ aspect: 1.0 1.0; aspect_preference: VERTICAL;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "e.event.maximize"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.relative: -0.25 0.0;
+ rel1.to_y: "top";
+ rel1.offset: -1 0;
+ rel1.to_x: "e.event.close";
+ rel2.relative: -0.25 1.0;
+ rel2.to_y: "top";
+ rel2.to_x: "e.event.close";
+ align: 1.0 0.5;
+ aspect: 1.0 1.0; aspect_preference: VERTICAL;
+ color: 0 0 0 0 ;
+ }
+ }
+ part { name: "e.event.minimize"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.relative: 0.0 0.0;
+ rel1.to_y: "top";
+ rel1.offset: -1 0;
+ rel1.to_x: "e.event.maximize";
+ rel2.relative: 0.0 1.0;
+ rel2.to_y: "top";
+ rel2.to_x: "e.event.maximize";
+ align: 1.0 0.5;
+ aspect: 1.0 1.0; aspect_preference: VERTICAL;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "e.event.resize.tl"; type: RECT;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.to: "top";
+ rel2.relative: 0.0 0.0;
+ rel2.to: "top";
+ min: 32 4;
+ align: 0.0 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "e.event.resize.t"; type: RECT;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.relative: 1.0 0.0;
+ rel1.to_y: "top";
+ rel1.to_x: "e.event.resize.tl";
+ rel2.relative: 0.0 0.0;
+ rel1.to_y: "top";
+ rel2.to_x: "e.event.resize.tr";
+ min: 0 4;
+ align: 0.5 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "e.event.resize.tr"; type: RECT;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.relative: 1.0 0.0;
+ rel1.to: "top";
+ rel2.relative: 1.0 0.0;
+ rel2.to: "top";
+ min: 32 4;
+ align: 1.0 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "bottom"; type: RECT;
+ description { state: "default" 0.0;
+ color_class: "border_bottom";
+ rel1.relative: 0.0 1.0;
+ rel1.offset: 0 -5;
+ rel1.to: "frame";
+ rel2.relative: 1.0 1.0;
+ rel2.offset: -1 -1;
+ rel2.to: "frame";
+ min: 0 5;
+ color: 64 64 64 255;
+ fixed: 0 1;
+ }
+ description { state: "shaded" 0.0;
+ inherit: "default" 0.0;
+ min: 0 0;
+ visible: 0;
+ }
+ description { state: "max" 0.0;
+ inherit: "default" 0.0;
+ min: 0 0;
+ visible: 0;
+ }
+ }
+ part { name: "bevel2";
+ description { state: "default" 0.0;
+ image.normal: "bevel_dark_out.png";
+ image.border: 1 1 1 1;
+ image.middle: 0;
+ rel1.to: "bottom";
+ rel2.to: "bottom";
+ fill.smooth: 0;
+ }
+ description { state: "shaded" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "max" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "e.event.resize.bl"; type: RECT;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.relative: 0.0 1.0;
+ rel1.to: "bottom";
+ rel2.relative: 0.0 1.0;
+ rel2.to: "bottom";
+ min: 32 5;
+ align: 0.0 1.0;
+ color: 0 0 0 0;
+ fixed: 1 1;
+ }
+ description { state: "shaded" 0.0;
+ inherit: "default" 0.0;
+ min: 0 0;
+ visible: 0;
+ }
+ description { state: "max" 0.0;
+ inherit: "default" 0.0;
+ min: 0 0;
+ visible: 0;
+ }
+ }
+ part { name: "e.event.resize.b"; type: RECT;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.relative: 1.0 1.0;
+ rel1.to_x: "e.event.resize.tl";
+ rel1.to_y: "bottom";
+ rel2.relative: 0.0 1.0;
+ rel2.to_x: "e.event.resize.tr";
+ rel1.to_y: "bottom";
+ min: 0 5;
+ align: 0.5 1.0;
+ color: 0 0 0 0;
+ fixed: 0 1;
+ }
+ description { state: "shaded" 0.0;
+ inherit: "default" 0.0;
+ min: 0 0;
+ visible: 0;
+ }
+ description { state: "max" 0.0;
+ inherit: "default" 0.0;
+ min: 0 0;
+ visible: 0;
+ }
+ }
+ part { name: "e.event.resize.br"; type: RECT;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.relative: 1.0 1.0;
+ rel1.to: "bottom";
+ rel2.relative: 1.0 1.0;
+ rel2.to: "bottom";
+ min: 32 5;
+ align: 1.0 1.0;
+ color: 0 0 0 0;
+ fixed: 1 1;
+ }
+ description { state: "shaded" 0.0;
+ inherit: "default" 0.0;
+ min: 0 0;
+ visible: 0;
+ }
+ description { state: "max" 0.0;
+ inherit: "default" 0.0;
+ min: 0 0;
+ visible: 0;
+ }
+ }
+ part { name: "shine"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "shine.png";
+ rel1.offset: 0 -2;
+ rel1.to: "top";
+ rel2.relative: 1.0 0.0;
+ rel2.offset: -1 2;
+ rel2.to: "top";
+ FIXED_SIZE(69, 5)
+ }
+ }
+ }
+ programs {
+ program {
+ signal: "elm,action,focus"; source: "elm";
+ action: STATE_SET "focused" 0.0;
+ transition: SINUSOIDAL 0.1;
+ target: "glow";
+ after: "focus2";
+ }
+ program { name: "focus2";
+ action: STATE_SET "default" 0.0;
+ transition: SINUSOIDAL 0.4;
+ target: "glow";
+ }
+ program {
+ signal: "elm,action,unfocus"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: SINUSOIDAL 0.1;
+ target: "glow";
+ }
+ program {
+ signal: "elm,action,focus"; source: "elm";
+ action: STATE_SET "focused" 0.0;
+ target: "top";
+ target: "elm.text.title";
+ target: "title2";
+ target: "clip1";
+ target: "clip2";
+ }
+ program {
+ signal: "elm,action,unfocus"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "top";
+ target: "elm.text.title";
+ target: "title2";
+ target: "clip1";
+ target: "clip2";
+ }
+ program {
+ signal: "elm,state,urgent"; source: "elm";
+ action: STATE_SET "bounce1" 0.0;
+ target: "icon";
+ after: "urg1";
+ }
+ program { name: "urg1";
+ action: STATE_SET "bounce2" 0.0;
+ transition: DECELERATE 0.2;
+ target: "icon";
+ after: "urg2";
+ }
+ program { name: "urg2";
+ action: STATE_SET "bounce1" 0.0;
+ transition: ACCELERATE 0.2;
+ target: "icon";
+ after: "urg1";
+ }
+ program {
+ signal: "elm,state,not_urgent"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "icon";
+ }
+ program { name: "spin";
+ signal: "elm,state,hung"; source: "elm";
+ action: STATE_SET "spin" 0.0;
+ transition: LINEAR 1.0;
+ target: "knob_spinner";
+ after: "spin2";
+ }
+ program { name: "spin2";
+ action: STATE_SET "default" 0.0;
+ target: "knob_spinner";
+ after: "spin";
+ }
+ program {
+ signal: "elm,state,hung"; source: "elm";
+ action: STATE_SET "hung" 0.0;
+ transition: SINUSOIDAL 0.25;
+ target: "busy_clip";
+ }
+ program {
+ signal: "elm,state,unhung"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: SINUSOIDAL 1.0;
+ target: "busy_clip";
+ after: "spin3";
+ }
+ program { name: "spin3";
+ action: ACTION_STOP;
+ target: "spin";
+ target: "spin2";
+ after: "spin4";
+ }
+ program { name: "spin4";
+ action: STATE_SET "default" 0.0;
+ target: "knob_spinner";
+ }
+ program {
+ signal: "elm,state,shaded"; source: "elm";
+ action: STATE_SET "shaded" 0.0;
+ target: "elm.swallow.client";
+ target: "bottom";
+ target: "bevel2";
+ target: "e.event.resize.bl";
+ target: "e.event.resize.b";
+ target: "e.event.resize.br";
+ }
+// program {
+// signal: "e,state,shading"; source: "e";
+// }
+// program {
+// signal: "e,state,unshaded"; source: "e";
+// }
+ program {
+ signal: "elm,state,unshading"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.client";
+ target: "bottom";
+ target: "bevel2";
+ target: "e.event.resize.bl";
+ target: "e.event.resize.b";
+ target: "e.event.resize.br";
+ }
+// program {
+// signal: "e,action,maximize"; source: "e";
+// }
+// program {
+// signal: "e,action,unmaximize"; source: "e";
+// }
+// program {
+// signal: "e,action,maximize,fullscreen"; source: "e";
+// }
+// program {
+// signal: "e,action,unmaximize,fullscreen"; source: "e";
+// }
+ program {
+ signal: "elm,state,maximized"; source: "elm";
+ action: STATE_SET "max" 0.0;
+ target: "elm.swallow.client";
+ target: "frame";
+ target: "focus_clip";
+ target: "bottom";
+ target: "bevel2";
+ target: "e.event.resize.bl";
+ target: "e.event.resize.b";
+ target: "e.event.resize.br";
+ }
+ program {
+ signal: "elm,state,unmaximized"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.client";
+ target: "frame";
+ target: "focus_clip";
+ target: "bottom";
+ target: "bevel2";
+ target: "e.event.resize.bl";
+ target: "e.event.resize.b";
+ target: "e.event.resize.br";
+ }
+ program {
+ signal: "mouse,down,*"; source: "e.event.close";
+ action: STATE_SET "selected" 0.0;
+ target: "close1";
+ target: "close2";
+ }
+ program {
+ signal: "mouse,up,*"; source: "e.event.close";
+ action: STATE_SET "default" 0.0;
+ target: "close1";
+ target: "close2";
+ }
+ program {
+ signal: "mouse,down,*"; source: "e.event.maximize";
+ action: STATE_SET "selected" 0.0;
+ target: "max1";
+ target: "max2";
+ }
+ program {
+ signal: "mouse,up,*"; source: "e.event.maximize";
+ action: STATE_SET "default" 0.0;
+ target: "max1";
+ target: "max2";
+ }
+ program {
+ signal: "mouse,down,*"; source: "e.event.minimize";
+ action: STATE_SET "selected" 0.0;
+ target: "min1";
+ target: "min2";
+ }
+ program {
+ signal: "mouse,up,*"; source: "e.event.minimize";
+ action: STATE_SET "default" 0.0;
+ target: "min1";
+ target: "min2";
+ }
+
+ program {
+ signal: "mouse,down,1"; source: "e.event.titlebar";
+ action: SIGNAL_EMIT "elm,action,move,start" "elm";
+ }
+ program {
+ signal: "mouse,up,1"; source: "e.event.titlebar";
+ action: SIGNAL_EMIT "elm,action,move,stop" "elm";
+ }
+ program {
+ signal: "mouse,clicked,1"; source: "e.event.minimize";
+ action: SIGNAL_EMIT "elm,action,minimize" "elm";
+ }
+ program {
+ signal: "mouse,clicked,1"; source: "e.event.maximize";
+ action: SIGNAL_EMIT "elm,action,maximize" "elm";
+ }
+ program {
+ signal: "mouse,clicked,1"; source: "e.event.close";
+ action: SIGNAL_EMIT "elm,action,close" "elm";
+ }
+ program {
+ signal: "mouse,in"; source: "e.event.resize.t";
+ action: SIGNAL_EMIT "elm,action,resize,show" "elm.event.resize.t";
+ }
+ program {
+ signal: "mouse,out"; source: "e.event.resize.t";
+ action: SIGNAL_EMIT "elm,action,resize,hide" "elm.event.resize.t";
+ }
+ program { name: "resize_t_down";
+ signal: "mouse,down,1"; source: "e.event.resize.t";
+ action: SIGNAL_EMIT "elm,action,resize,start" "elm.event.resize.t";
+ }
+ program {
+ signal: "mouse,in"; source: "e.event.resize.b";
+ action: SIGNAL_EMIT "elm,action,resize,show" "elm.event.resize.b";
+ }
+ program {
+ signal: "mouse,out"; source: "e.event.resize.b";
+ action: SIGNAL_EMIT "elm,action,resize,hide" "elm.event.resize.b";
+ }
+ program {
+ signal: "mouse,down,1"; source: "e.event.resize.b";
+ action: SIGNAL_EMIT "elm,action,resize,start" "elm.event.resize.b";
+ }
+ program {
+ signal: "mouse,in"; source: "e.event.resize.tl";
+ action: SIGNAL_EMIT "elm,action,resize,show" "elm.event.resize.tl";
+ }
+ program {
+ signal: "mouse,out"; source: "e.event.resize.tl";
+ action: SIGNAL_EMIT "elm,action,resize,hide" "elm.event.resize.tl";
+ }
+ program {
+ signal: "mouse,down,1"; source: "e.event.resize.tl";
+ action: SIGNAL_EMIT "elm,action,resize,start" "elm.event.resize.tl";
+ }
+ program {
+ signal: "mouse,in"; source: "e.event.resize.tr";
+ action: SIGNAL_EMIT "elm,action,resize,show" "elm.event.resize.tr";
+ }
+ program {
+ signal: "mouse,out"; source: "e.event.resize.tr";
+ action: SIGNAL_EMIT "elm,action,resize,hide" "elm.event.resize.tr";
+ }
+ program {
+ signal: "mouse,down,1"; source: "e.event.resize.tr";
+ action: SIGNAL_EMIT "elm,action,resize,start" "elm.event.resize.tr";
+ }
+ program {
+ signal: "mouse,in"; source: "e.event.resize.bl";
+ action: SIGNAL_EMIT "elm,action,resize,show" "elm.event.resize.bl";
+ }
+ program {
+ signal: "mouse,out"; source: "e.event.resize.bl";
+ action: SIGNAL_EMIT "elm,action,resize,hide" "elm.event.resize.bl";
+ }
+ program {
+ signal: "mouse,down,1"; source: "e.event.resize.bl";
+ action: SIGNAL_EMIT "elm,action,resize,start" "elm.event.resize.bl";
+ }
+ program {
+ signal: "mouse,in"; source: "e.event.resize.br";
+ action: SIGNAL_EMIT "elm,action,resize,show" "elm.event.resize.br";
+ }
+ program {
+ signal: "mouse,out"; source: "e.event.resize.br";
+ action: SIGNAL_EMIT "elm,action,resize,hide" "elm.event.resize.br";
+ }
+ program {
+ signal: "mouse,down,1"; source: "e.event.resize.br";
+ action: SIGNAL_EMIT "elm,action,resize,start" "elm.event.resize.br";
+ }
+ }
+}
diff --git a/data/themes/edc/elm/bubble.edc b/data/themes/edc/elm/bubble.edc
new file mode 100644
index 000000000..379b66100
--- /dev/null
+++ b/data/themes/edc/elm/bubble.edc
@@ -0,0 +1,738 @@
+group { name: "elm/bubble/top_left/default";
+ alias: "elm/bubble/base/default";
+ images.image: "bub_base_tl.png" COMP;
+ images.image: "bub_base_tr.png" COMP;
+ images.image: "bub_over_top.png" COMP;
+ images.image: "shine.png" COMP;
+ parts {
+ part { name: "event"; type: RECT;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "elm.swallow.icon"; type: SWALLOW;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ visible: 0;
+ align: 0.0 0.0;
+ aspect: 1.0 1.0; aspect_preference: VERTICAL;
+ rel1.offset: 2 2;
+ rel2 {
+ to_y: "elm.text";
+ relative: 0.0 1.0;
+ offset: 2 -1;
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "sizer.content"; type: TEXT; mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ visible: 0;
+ text { font: FN; size: 10;
+ min: 0 0;
+ text_class: "bubble";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ rel1.to: "elm.swallow.icon";
+ rel2.to: "elm.swallow.icon";
+ text {
+ min: 1 1;
+ text: "M";
+ }
+ }
+ }
+ part { name: "elm.text"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 0 1;
+ align: 0.0 0.0;
+ rel1 {
+ to_x: "elm.swallow.icon";
+ relative: 1.0 0.0;
+ offset: 2 2;
+ }
+ rel2 {
+ to_x: "elm.info";
+ relative: 0.0 0.0;
+ offset: -3 2;
+ }
+ color: 255 255 255 255;
+ color3: 0 0 0 128;
+ color_class: "bubble_text";
+ text { font: FNBD; size: 10;
+ min: 0 1;
+ max: 0 1;
+ align: 0.0 0.0;
+ text_class: "bubble";
+ }
+ }
+ }
+ part { name: "elm.info"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ align: 1.0 0.0;
+ fixed: 1 1;
+ rel1.relative: 1.0 0.0;
+ rel1.offset: -3 2;
+ rel2.relative: 1.0 0.0;
+ rel2.offset: -3 2;
+ color: 21 21 21 255;
+ color3: 255 255 255 25;
+ color_class: "bubble_info";
+ text { font: FNBD; size: 10;
+ min: 1 1;
+ max: 1 1;
+ align: 1.0 0.0;
+ text_class: "bubble_info";
+ }
+ }
+ }
+ part { name: "base"; mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1 {
+ to_y: "elm.swallow.icon";
+ relative: 0.0 1.0;
+ offset: 0 0;
+ }
+ image.normal: "bub_base_tl.png";
+ image.border: 24 8 12 9;
+ image.middle: SOLID;
+ fill.smooth: 0;
+ }
+ description { state: "rtl" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "bub_base_tr.png";
+ image.border: 8 24 12 9;
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ rel1.to: "base";
+ rel1.offset: 5 9;
+ rel2.to: "base";
+ rel2.offset: -6 -7;
+ }
+ }
+ part { name: "over"; mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.to: "base";
+ rel1.offset: 20 6;
+ rel2.to: "base";
+ rel2.offset: -6 6;
+ rel2.relative: 1.0 0.4;
+ image.normal: "bub_over_top.png";
+ fill.smooth: 0;
+ }
+ description { state: "rtl" 0.0;
+ inherit: "default" 0.0;
+ rel1.offset: 5 6;
+ rel2.offset: -21 6;
+ }
+ }
+ part { name: "shine_clip"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.to: "over";
+ rel1.offset: 0 -10;
+ rel2.to: "over";
+ }
+ }
+ part { name: "shine"; mouse_events: 0;
+ clip_to: "shine_clip";
+ description { state: "default" 0.0;
+ image.normal: "shine.png";
+ rel1.offset: 0 -2;
+ rel1.to: "over";
+ rel2.relative: 1.0 0.0;
+ rel2.offset: -1 2;
+ rel2.to: "over";
+ FIXED_SIZE(69, 5)
+ }
+ }
+ }
+ programs {
+ program {
+ signal: "elm,state,icon,visible"; source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.swallow.icon";
+ target: "sizer.content";
+ }
+ program {
+ signal: "elm,state,icon,hidden"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.icon";
+ target: "sizer.content";
+ }
+ program {
+ signal: "edje,state,rtl"; source: "edje";
+ action: STATE_SET "rtl" 0.0;
+ target: "base";
+ target: "over";
+ }
+ program {
+ signal: "edje,state,ltr"; source: "edje";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ target: "over";
+ }
+ }
+}
+
+group { name: "elm/bubble/top_right/default";
+ images.image: "bub_base_tr.png" COMP;
+ images.image: "bub_base_tl.png" COMP;
+ images.image: "bub_over_top.png" COMP;
+ images.image: "shine.png" COMP;
+ parts {
+ part { name: "event"; type: RECT;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "elm.swallow.icon"; type: SWALLOW;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ visible: 0;
+ align: 1.0 0.0;
+ aspect: 1.0 1.0; aspect_preference: VERTICAL;
+ rel1.offset: -3 2;
+ rel1.relative: 1.0 0.0;
+ rel2 {
+ to_y: "elm.text";
+ relative: 1.0 1.0;
+ offset: -3 -1;
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "sizer.content"; type: TEXT; mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ visible: 0;
+ text { font: FN; size: 10;
+ min: 0 0;
+ text_class: "bubble";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ rel1.to: "elm.swallow.icon";
+ rel2.to: "elm.swallow.icon";
+ text {
+ min: 1 1;
+ text: "M";
+ }
+ }
+ }
+ part { name: "elm.text"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 0 1;
+ align: 0.0 0.0;
+ rel1.offset: 2 2;
+ rel2 {
+ to_x: "elm.info";
+ relative: 0.0 0.0;
+ offset: -3 2;
+ }
+ color: 255 255 255 255;
+ color3: 0 0 0 128;
+ color_class: "bubble_text";
+ text { font: FNBD; size: 10;
+ min: 0 1;
+ max: 0 1;
+ align: 0.0 0.0;
+ text_class: "bubble";
+ }
+ }
+ }
+ part { name: "elm.info"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ align: 1.0 0.0;
+ fixed: 1 1;
+ rel1.relative: 1.0 0.0;
+ rel1.offset: -3 2;
+ rel2.to_x: "elm.swallow.icon";
+ rel2.relative: 0.0 0.0;
+ rel2.offset: -3 2;
+ color: 21 21 21 255;
+ color3: 255 255 255 25;
+ color_class: "bubble_info";
+ text { font: FNBD; size: 10;
+ min: 1 1;
+ max: 1 1;
+ align: 1.0 0.0;
+ text_class: "bubble_info";
+ }
+ }
+ }
+ part { name: "base"; mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1 {
+ to_y: "elm.swallow.icon";
+ relative: 0.0 1.0;
+ offset: 0 0;
+ }
+ image.normal: "bub_base_tr.png";
+ image.border: 8 24 12 9;
+ image.middle: SOLID;
+ fill.smooth: 0;
+ }
+ description { state: "rtl" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "bub_base_tl.png";
+ image.border: 24 8 12 9;
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ rel1.to: "base";
+ rel1.offset: 5 9;
+ rel2.to: "base";
+ rel2.offset: -6 -7;
+ }
+ }
+ part { name: "over"; mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.to: "base";
+ rel1.offset: 5 6;
+ rel2.to: "base";
+ rel2.offset: -21 6;
+ rel2.relative: 1.0 0.4;
+ image.normal: "bub_over_top.png";
+ fill.smooth: 0;
+ }
+ description { state: "rtl" 0.0;
+ inherit: "default" 0.0;
+ rel1.offset: 20 6;
+ rel2.offset: -6 6;
+ }
+ }
+ part { name: "shine_clip"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.to: "over";
+ rel1.offset: 0 -10;
+ rel2.to: "over";
+ }
+ }
+ part { name: "shine"; mouse_events: 0;
+ clip_to: "shine_clip";
+ description { state: "default" 0.0;
+ image.normal: "shine.png";
+ rel1.offset: 0 -2;
+ rel1.to: "over";
+ rel2.relative: 1.0 0.0;
+ rel2.offset: -1 2;
+ rel2.to: "over";
+ FIXED_SIZE(69, 5)
+ }
+ }
+ }
+ programs {
+ program {
+ signal: "elm,state,icon,visible"; source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.swallow.icon";
+ target: "sizer.content";
+ }
+ program {
+ signal: "elm,state,icon,hidden"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.icon";
+ target: "sizer.content";
+ }
+ program {
+ signal: "edje,state,rtl"; source: "edje";
+ action: STATE_SET "rtl" 0.0;
+ target: "base";
+ target: "over";
+ }
+ program {
+ signal: "edje,state,ltr"; source: "edje";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ target: "over";
+ }
+ }
+}
+
+group { name: "elm/bubble/bottom_left/default";
+ images.image: "bub_base_bl.png" COMP;
+ images.image: "bub_base_br.png" COMP;
+ images.image: "bub_over_bot.png" COMP;
+ images.image: "shine.png" COMP;
+ parts {
+ part { name: "event"; type: RECT;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "elm.swallow.icon"; type: SWALLOW;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ visible: 0;
+ align: 0.0 1.0;
+ aspect: 1.0 1.0; aspect_preference: VERTICAL;
+ rel1 {
+ to_y: "elm.text";
+ offset: 2 0;
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ offset: 2 -3;
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "sizer.content"; type: TEXT; mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ visible: 0;
+ text { font: FN; size: 10;
+ min: 0 0;
+ text_class: "bubble";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ rel1.to: "elm.swallow.icon";
+ rel2.to: "elm.swallow.icon";
+ text {
+ min: 1 1;
+ text: "M";
+ }
+ }
+ }
+ part { name: "elm.text"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 0 1;
+ align: 0.0 1.0;
+ rel1 {
+ to_x: "elm.swallow.icon";
+ relative: 1.0 1.0;
+ offset: 2 -3;
+ }
+ rel2 {
+ to_x: "elm.info";
+ relative: 0.0 1.0;
+ offset: -3 -3;
+ }
+ color: 255 255 255 255;
+ color3: 0 0 0 128;
+ color_class: "bubble_text";
+ text { font: FNBD; size: 10;
+ min: 0 1;
+ max: 0 1;
+ align: 0.0 1.0;
+ text_class: "bubble";
+ }
+ }
+ }
+ part { name: "elm.info"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ align: 1.0 1.0;
+ fixed: 1 1;
+ rel1.relative: 1.0 1.0;
+ rel1.offset: -3 -3;
+ rel2.relative: 1.0 1.0;
+ rel2.offset: -3 -3;
+ color: 21 21 21 255;
+ color3: 255 255 255 25;
+ color_class: "bubble_info";
+ text { font: FNBD; size: 10;
+ min: 1 1;
+ max: 1 1;
+ align: 1.0 1.0;
+ text_class: "bubble_info";
+ }
+ }
+ }
+ part { name: "base"; mouse_events: 0;
+ description { state: "default" 0.0;
+ rel2 {
+ to_y: "elm.swallow.icon";
+ relative: 1.0 0.0;
+ }
+ image.normal: "bub_base_bl.png";
+ image.border: 24 8 8 13;
+ image.middle: SOLID;
+ fill.smooth: 0;
+ }
+ description { state: "rtl" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "bub_base_br.png";
+ image.border: 8 24 8 13;
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ rel1.to: "base";
+ rel1.offset: 5 4;
+ rel2.to: "base";
+ rel2.offset: -6 -12;
+ }
+ }
+ part { name: "over"; mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.to: "base";
+ rel1.offset: 2 1;
+ rel2.to: "base";
+ rel2.offset: -3 1;
+ rel2.relative: 1.0 0.4;
+ image.normal: "bub_over_bot.png";
+ fill.smooth: 0;
+ }
+ }
+ part { name: "shine_clip"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.to: "over";
+ rel1.offset: 0 -10;
+ rel2.to: "over";
+ }
+ }
+ part { name: "shine"; mouse_events: 0;
+ clip_to: "shine_clip";
+ description { state: "default" 0.0;
+ image.normal: "shine.png";
+ rel1.offset: 0 -2;
+ rel1.to: "over";
+ rel2.relative: 1.0 0.0;
+ rel2.offset: -1 2;
+ rel2.to: "over";
+ FIXED_SIZE(69, 5)
+ }
+ }
+ }
+ programs {
+ program {
+ signal: "elm,state,icon,visible"; source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.swallow.icon";
+ target: "sizer.content";
+ }
+ program {
+ signal: "elm,state,icon,hidden"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.icon";
+ target: "sizer.content";
+ }
+ program {
+ signal: "edje,state,rtl"; source: "edje";
+ action: STATE_SET "rtl" 0.0;
+ target: "base";
+ }
+ program {
+ signal: "edje,state,ltr"; source: "edje";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ }
+ }
+}
+
+group { name: "elm/bubble/bottom_right/default";
+ images.image: "bub_base_br.png" COMP;
+ images.image: "bub_base_bl.png" COMP;
+ images.image: "bub_over_bot.png" COMP;
+ images.image: "shine.png" COMP;
+ parts {
+ part { name: "event"; type: RECT;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "elm.swallow.icon"; type: SWALLOW;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ visible: 0;
+ align: 1.0 1.0;
+ aspect: 1.0 1.0; aspect_preference: VERTICAL;
+ rel1 {
+ to_y: "elm.text";
+ offset: -3 0;
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ offset: -3 -3;
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "sizer.content"; type: TEXT; mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ visible: 0;
+ text { font: FN; size: 10;
+ min: 0 0;
+ text_class: "bubble";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ rel1.to: "elm.swallow.icon";
+ rel2.to: "elm.swallow.icon";
+ text {
+ min: 1 1;
+ text: "M";
+ }
+ }
+ }
+ part { name: "elm.text"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 0 1;
+ align: 0.0 1.0;
+ rel1 {
+ relative: 0.0 1.0;
+ offset: 2 -3;
+ }
+ rel2 {
+ to_x: "elm.info";
+ relative: 0.0 1.0;
+ offset: -3 -3;
+ }
+ color: 255 255 255 255;
+ color3: 0 0 0 128;
+ color_class: "bubble_text";
+ text { font: FNBD; size: 10;
+ min: 0 1;
+ max: 0 1;
+ align: 0.0 1.0;
+ text_class: "bubble";
+ }
+ }
+ }
+ part { name: "elm.info"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ align: 1.0 1.0;
+ fixed: 1 1;
+ rel1.relative: 1.0 1.0;
+ rel1.offset: -3 -3;
+ rel2.to_x: "elm.swallow.icon";
+ rel2.relative: 0.0 1.0;
+ rel2.offset: -3 -3;
+ color: 21 21 21 255;
+ color3: 255 255 255 25;
+ color_class: "bubble_info";
+ text { font: FNBD; size: 10;
+ min: 1 1;
+ max: 1 1;
+ align: 1.0 1.0;
+ text_class: "bubble_info";
+ }
+ }
+ }
+ part { name: "base"; mouse_events: 0;
+ description { state: "default" 0.0;
+ rel2 {
+ to_y: "elm.swallow.icon";
+ relative: 1.0 0.0;
+ }
+ image.normal: "bub_base_br.png";
+ image.border: 8 24 8 13;
+ image.middle: SOLID;
+ fill.smooth: 0;
+ }
+ description { state: "rtl" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "bub_base_bl.png";
+ image.border: 24 8 8 13;
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ rel1.to: "base";
+ rel1.offset: 5 4;
+ rel2.to: "base";
+ rel2.offset: -6 -12;
+ }
+ }
+ part { name: "over"; mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.to: "base";
+ rel1.offset: 2 1;
+ rel2.to: "base";
+ rel2.offset: -3 1;
+ rel2.relative: 1.0 0.4;
+ image.normal: "bub_over_bot.png";
+ fill.smooth: 0;
+ }
+ }
+ part { name: "shine_clip"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.to: "over";
+ rel1.offset: 0 -10;
+ rel2.to: "over";
+ }
+ }
+ part { name: "shine"; mouse_events: 0;
+ clip_to: "shine_clip";
+ description { state: "default" 0.0;
+ image.normal: "shine.png";
+ rel1.offset: 0 -2;
+ rel1.to: "over";
+ rel2.relative: 1.0 0.0;
+ rel2.offset: -1 2;
+ rel2.to: "over";
+ FIXED_SIZE(69, 5)
+ }
+ }
+ }
+ programs {
+ program {
+ signal: "elm,state,icon,visible"; source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.swallow.icon";
+ target: "sizer.content";
+ }
+ program {
+ signal: "elm,state,icon,hidden"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.icon";
+ target: "sizer.content";
+ }
+ program {
+ signal: "edje,state,rtl"; source: "edje";
+ action: STATE_SET "rtl" 0.0;
+ target: "base";
+ }
+ program {
+ signal: "edje,state,ltr"; source: "edje";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ }
+ }
+}
diff --git a/data/themes/edc/elm/button.edc b/data/themes/edc/elm/button.edc
new file mode 100644
index 000000000..6ec4056d1
--- /dev/null
+++ b/data/themes/edc/elm/button.edc
@@ -0,0 +1,1285 @@
+group { name: "elm/button/base/default";
+ alias: "elm/button/base/naviframe/back_btn/default";
+ alias: "elm/button/base/naviframe/back_btn/pager";
+ images.image: "button_normal.png" COMP;
+ images.image: "button_clicked.png" COMP;
+#define ICON 1
+#define LABEL 2
+#define MASK 3
+#define DISABLE 4
+ script {
+ public btmode;
+ public eval_mode(m) {
+ new m1 = m & MASK;
+ new d = m & DISABLE;
+ if (m1 == (ICON | LABEL)) {
+ if (!d) {
+ set_state(PART:"elm.swallow.content", "visible", 0.0);
+ set_state(PART:"sizer.content", "visible", 0.0);
+ set_state(PART:"elm.text", "visible", 0.0);
+ set_state(PART:"icon_clip", "default", 0.0);
+ set_state(PART:"event", "default", 0.0);
+ } else {
+ set_state(PART:"elm.swallow.content", "visible", 0.0);
+ set_state(PART:"sizer.content", "visible", 0.0);
+ set_state(PART:"elm.text", "disabled_visible", 0.0);
+ set_state(PART:"icon_clip", "disabled", 0.0);
+ set_state(PART:"event", "disabled", 0.0);
+ }
+ } else if (m1 == (ICON)) {
+ if (!d) {
+ set_state(PART:"elm.swallow.content", "icononly", 0.0);
+ set_state(PART:"sizer.content", "icononly", 0.0);
+ set_state(PART:"elm.text", "default", 0.0);
+ set_state(PART:"icon_clip", "default", 0.0);
+ set_state(PART:"event", "default", 0.0);
+ } else {
+ set_state(PART:"elm.swallow.content", "icononly", 0.0);
+ set_state(PART:"sizer.content", "icononly", 0.0);
+ set_state(PART:"elm.text", "default", 0.0);
+ set_state(PART:"icon_clip", "disabled", 0.0);
+ set_state(PART:"event", "disabled", 0.0);
+ }
+ } else if (m1 == (LABEL)) {
+ if (!d) {
+ set_state(PART:"elm.swallow.content", "default", 0.0);
+ set_state(PART:"sizer.content", "default", 0.0);
+ set_state(PART:"elm.text", "textonly", 0.0);
+ set_state(PART:"icon_clip", "default", 0.0);
+ set_state(PART:"event", "default", 0.0);
+ } else {
+ set_state(PART:"elm.swallow.content", "default", 0.0);
+ set_state(PART:"sizer.content", "default", 0.0);
+ set_state(PART:"elm.text", "disabled_textonly", 0.0);
+ set_state(PART:"icon_clip", "disabled", 0.0);
+ set_state(PART:"event", "disabled", 0.0);
+ }
+ } else {
+ set_state(PART:"elm.swallow.content", "default", 0.0);
+ set_state(PART:"sizer.content", "default", 0.0);
+ set_state(PART:"elm.text", "default", 0.0);
+ set_state(PART:"icon_clip", "default", 0.0);
+ set_state(PART:"event", "default", 0.0);
+ }
+ }
+ }
+ parts {
+ part { name: "base";
+ description { state: "default" 0.0;
+ image.normal: "button_normal.png";
+ image.border: 4 4 3 5;
+ image.middle: SOLID;
+ rel1.offset: -1 0;
+ rel2.offset: 0 1;
+ fill.smooth: 0;
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "button_clicked.png";
+ image.border: 5 5 4 6;
+ }
+ }
+ part { name: "icon_clip"; type: RECT;
+ description { state: "default" 0.0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 64;
+ }
+ }
+ part { name: "elm.swallow.content"; type: SWALLOW; mouse_events: 0;
+ clip_to: "icon_clip";
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ align: 0.0 0.5;
+ rel1.offset: 6 5;
+ rel1.to: "base";
+ rel2.relative: 0.0 1.0;
+ rel2.offset: 6 -8;
+ rel2.to: "base";
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ fixed: 1 0;
+ aspect: 1.0 1.0;
+ visible: 1;
+ }
+ description { state: "icononly" 0.0;
+ inherit: "default" 0.0;
+ fixed: 0 0;
+ align: 0.5 0.5;
+ rel2.relative: 1.0 1.0;
+ rel2.offset: -7 -8;
+ visible: 1;
+ }
+ }
+ part { name: "sizer.content"; type: TEXT; mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+// fixed: 1 1;
+ visible: 0;
+ text { font: FN; size: 10;
+ min: 0 0;
+ text_class: "button_text";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ rel1.to: "elm.swallow.content";
+ rel2.to: "elm.swallow.content";
+ text {
+ min: 1 1;
+ text: "M";
+ }
+ }
+ description { state: "icononly" 0.0;
+ inherit: "default" 0.0;
+ rel1.to: "elm.swallow.content";
+ rel2.to: "elm.swallow.content";
+ text {
+ min: 1 1;
+ text: "M";
+ }
+ }
+ }
+ part { name: "elm.text"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.offset: 0 5;
+ rel1.relative: 1.0 0.0;
+ rel1.to_x: "elm.swallow.content";
+ rel1.to_y: "base";
+ rel2.offset: -7 -7;
+ rel2.to: "base";
+ color: 255 255 255 255;
+ color3: 0 0 0 128;
+ color_class: "button_text";
+ text { font: FN; size: 10;
+ align: 0.5 0.5;
+ min: 0 0;
+ text_class: "button";
+ }
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ rel1.offset: 2 5;
+ text.min: 1 1;
+ visible: 1;
+ }
+ description { state: "textonly" 0.0;
+ inherit: "default" 0.0;
+ text.min: 1 1;
+ visible: 1;
+ }
+ description { state: "disabled_visible" 0.0;
+ inherit: "default" 0.0;
+ rel1.offset: 2 5;
+ color: 21 21 21 255;
+ color3: 255 255 255 25;
+ color_class: "button_text_disabled";
+ text.min: 1 1;
+ visible: 1;
+ }
+ description { state: "disabled_textonly" 0.0;
+ inherit: "default" 0.0;
+ color: 21 21 21 255;
+ color3: 255 255 255 25;
+ color_class: "button_text_disabled";
+ text.min: 1 1;
+ visible: 1;
+ }
+ }
+ part { name: "event"; type: RECT;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ }
+ programs {
+ program {
+ signal: "mouse,down,1"; source: "event";
+ action: SIGNAL_EMIT "elm,action,press" "elm";
+ after: "button_click_anim";
+ }
+ program { name: "button_click_anim";
+ action: STATE_SET "clicked" 0.0;
+ target: "base";
+ }
+ program { name: "button_unclick";
+ signal: "mouse,up,1"; source: "event";
+ action: SIGNAL_EMIT "elm,action,unpress" "elm";
+ after: "button_unclick_anim";
+ }
+ program { name: "button_unclick_anim";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ }
+ program { name: "buttonactivate";
+ signal: "elm,anim,activate"; source: "elm";
+ action: STATE_SET "clicked" 0.0;
+ target: "base";
+ after: "button_unpressed_anim";
+ }
+ program { name: "button_unpressed_anim";
+ action: STATE_SET "default" 0.0;
+ in: 0.5 0.0;
+ target: "base";
+ }
+ program {
+ signal: "mouse,clicked,1"; source: "event";
+ action: SIGNAL_EMIT "elm,action,click" "elm";
+ }
+ program { name: "button_text_visible";
+ signal: "elm,state,text,visible"; source: "elm";
+ script {
+ new m = get_int(btmode);
+ m |= LABEL; set_int(btmode, m);
+ eval_mode(m);
+ }
+ }
+ program { name: "button_text_hidden";
+ signal: "elm,state,text,hidden"; source: "elm";
+ script {
+ new m = get_int(btmode);
+ m &= ~LABEL; set_int(btmode, m);
+ eval_mode(m);
+ }
+ }
+ program { name: "button_icon_visible";
+ signal: "elm,state,icon,visible"; source: "elm";
+ script {
+ new m = get_int(btmode);
+ m |= ICON; set_int(btmode, m);
+ eval_mode(m);
+ }
+ }
+ program { name: "button_icon_hidden";
+ signal: "elm,state,icon,hidden"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ script {
+ new m = get_int(btmode);
+ m &= ~ICON; set_int(btmode, m);
+ eval_mode(m);
+ }
+ }
+ program { name: "button_state_disabled";
+ signal: "elm,state,disabled"; source: "elm";
+ script {
+ new m = get_int(btmode);
+ m |= DISABLE; set_int(btmode, m);
+ eval_mode(m);
+ }
+ }
+ program { name: "button_state_enabled";
+ signal: "elm,state,enabled"; source: "elm";
+ script {
+ new m = get_int(btmode);
+ m &= ~DISABLE; set_int(btmode, m);
+ eval_mode(m);
+ }
+ }
+ }
+#undef ICON
+#undef LABEL
+#undef MASK
+#undef DISABLE
+}
+
+group { name: "elm/button/base/anchor";
+ images.image: "horizontal_separated_bar_small_glow.png" COMP;
+#define ICON 1
+#define LABEL 2
+#define MASK 3
+#define DISABLE 4
+ script {
+ public btmode;
+ public eval_mode(m) {
+ new m1 = m & MASK;
+ new d = m & DISABLE;
+ if (m1 == (ICON | LABEL)) {
+ if (!d) {
+ set_state(PART:"elm.swallow.content", "visible", 0.0);
+ set_state(PART:"sizer.content", "visible", 0.0);
+ set_state(PART:"elm.text", "visible", 0.0);
+ set_state(PART:"icon_clip", "default", 0.0);
+ set_state(PART:"bar", "default", 0.0);
+ set_state(PART:"event", "default", 0.0);
+ } else {
+ set_state(PART:"elm.swallow.content", "visible", 0.0);
+ set_state(PART:"sizer.content", "visible", 0.0);
+ set_state(PART:"elm.text", "disabled_visible", 0.0);
+ set_state(PART:"icon_clip", "disabled", 0.0);
+ set_state(PART:"bar", "disabled", 0.0);
+ set_state(PART:"event", "disabled", 0.0);
+ }
+ } else if (m1 == (ICON)) {
+ if (!d) {
+ set_state(PART:"elm.swallow.content", "icononly", 0.0);
+ set_state(PART:"sizer.content", "icononly", 0.0);
+ set_state(PART:"elm.text", "default", 0.0);
+ set_state(PART:"icon_clip", "default", 0.0);
+ set_state(PART:"bar", "default", 0.0);
+ set_state(PART:"event", "default", 0.0);
+ } else {
+ set_state(PART:"elm.swallow.content", "icononly", 0.0);
+ set_state(PART:"sizer.content", "icononly", 0.0);
+ set_state(PART:"elm.text", "default", 0.0);
+ set_state(PART:"icon_clip", "disabled", 0.0);
+ set_state(PART:"bar", "disabled", 0.0);
+ set_state(PART:"event", "disabled", 0.0);
+ }
+ } else if (m1 == (LABEL)) {
+ if (!d) {
+ set_state(PART:"elm.swallow.content", "default", 0.0);
+ set_state(PART:"sizer.content", "default", 0.0);
+ set_state(PART:"elm.text", "textonly", 0.0);
+ set_state(PART:"icon_clip", "default", 0.0);
+ set_state(PART:"bar", "default", 0.0);
+ set_state(PART:"event", "default", 0.0);
+ } else {
+ set_state(PART:"elm.swallow.content", "default", 0.0);
+ set_state(PART:"sizer.content", "default", 0.0);
+ set_state(PART:"elm.text", "disabled_textonly", 0.0);
+ set_state(PART:"icon_clip", "disabled", 0.0);
+ set_state(PART:"bar", "disabled", 0.0);
+ set_state(PART:"event", "disabled", 0.0);
+ }
+ } else {
+ set_state(PART:"elm.swallow.content", "default", 0.0);
+ set_state(PART:"sizer.content", "default", 0.0);
+ set_state(PART:"elm.text", "default", 0.0);
+ set_state(PART:"icon_clip", "default", 0.0);
+ set_state(PART:"bar", "default", 0.0);
+ set_state(PART:"event", "default", 0.0);
+ }
+ }
+ }
+ parts {
+ part { name: "base"; type: SPACER;
+ description { state: "default" 0.0;
+ rel1.offset: 0 0;
+ rel2.offset: 0 0;
+ }
+ }
+ part { name: "icon_clip"; type: RECT;
+ description { state: "default" 0.0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 64;
+ }
+ }
+ part { name: "elm.swallow.content"; type: SWALLOW; mouse_events: 0;
+ clip_to: "icon_clip";
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ align: 0.0 0.5;
+ rel1.offset: 0 4;
+ rel1.to: "base";
+ rel2.relative: 0.0 1.0;
+ rel2.offset: 0 -5;
+ rel2.to: "base";
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ fixed: 1 0;
+ aspect: 1.0 1.0;
+ visible: 1;
+ }
+ description { state: "icononly" 0.0;
+ inherit: "default" 0.0;
+ fixed: 0 0;
+ align: 0.5 0.5;
+ rel2.relative: 1.0 1.0;
+ rel2.offset: -1 -5;
+ visible: 1;
+ }
+ }
+ part { name: "sizer.content"; type: TEXT; mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ text { font: FN; size: 10;
+ min: 0 0;
+ text_class: "button_text";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ rel1.to: "elm.swallow.content";
+ rel2.to: "elm.swallow.content";
+ text {
+ min: 1 1;
+ text: "M";
+ }
+ }
+ description { state: "icononly" 0.0;
+ inherit: "default" 0.0;
+ rel1.to: "elm.swallow.content";
+ rel2.to: "elm.swallow.content";
+ text {
+ min: 1 1;
+ text: "M";
+ }
+ }
+ }
+ part { name: "elm.text"; type: TEXT; mouse_events: 0;
+ effect: GLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.offset: -2 0;
+ rel1.relative: 1.0 0.0;
+ rel1.to_x: "elm.swallow.content";
+ rel1.to_y: "base";
+ rel2.offset: -1 -1;
+ rel2.to: "base";
+ color: 51 153 255 255;
+ color2: 51 153 255 24;
+ color3: 51 153 255 18;
+ color_class: "button_text_anchor";
+ text { font: FN; size: 10;
+ align: 0.5 0.5;
+ min: 0 0;
+ text_class: "button_anchor";
+ }
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ rel1.offset: 0 0;
+ text.min: 1 1;
+ visible: 1;
+ }
+ description { state: "textonly" 0.0;
+ inherit: "default" 0.0;
+ text.min: 1 1;
+ visible: 1;
+ }
+ description { state: "disabled_visible" 0.0;
+ inherit: "default" 0.0;
+ rel1.offset: 0 0;
+ color: 51 153 255 128;
+ color2: 51 153 255 12;
+ color3: 51 153 255 8;
+ color_class: "button_text_anchor_disabled";
+ text.min: 1 1;
+ visible: 1;
+ }
+ description { state: "disabled_textonly" 0.0;
+ inherit: "default" 0.0;
+ color: 51 153 255 128;
+ color2: 51 153 255 12;
+ color3: 51 153 255 8;
+ color_class: "button_text_anchor_disabled";
+ text.min: 1 1;
+ visible: 1;
+ }
+ }
+ part { name: "text2"; type: TEXT; mouse_events: 0;
+ effect: GLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.to: "elm.text";
+ rel2.to: "elm.text";
+ color: 255 255 255 255;
+ color2: 51 153 255 64;
+ color3: 51 153 255 32;
+ color_class: "button_text_anchor";
+ text { font: FN; size: 10;
+ text_source: "elm.text";
+ min: 1 1;
+ text_class: "button_anchor";
+ }
+ visible: 0;
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "bar"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "horizontal_separated_bar_small_glow.png";
+ image.border: 4 4 4 4;
+ fill.smooth: 0;
+ rel1.relative: 0.0 1.0;
+ rel1.offset: -3 -6;
+ rel2.offset: 2 3;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 64;
+ }
+ }
+ part { name: "bar2"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "horizontal_separated_bar_small_glow.png";
+ image.border: 4 4 4 4;
+ fill.smooth: 0;
+ rel1.to: "bar";
+ rel2.to: "bar";
+ color: 255 255 255 0;
+ visible: 0;
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 255;
+ visible: 1;
+ }
+ }
+ part { name: "event"; type: RECT;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ }
+ programs {
+ program {
+ signal: "mouse,down,1"; source: "event";
+ action: SIGNAL_EMIT "elm,action,press" "elm";
+ after: "button_click_anim";
+ }
+ program { name: "button_click_anim";
+ action: STATE_SET "clicked" 0.0;
+ target: "base";
+ target: "bar2";
+ target: "text2";
+ }
+ program {
+ signal: "mouse,up,1"; source: "event";
+ action: SIGNAL_EMIT "elm,action,unpress" "elm";
+ after: "button_unclick_anim";
+ }
+ program { name: "button_unclick_anim";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ target: "bar2";
+ target: "text2";
+ }
+ program {
+ signal: "elm,anim,activate"; source: "elm";
+ action: STATE_SET "clicked" 0.0;
+ target: "base";
+ target: "bar2";
+ target: "text2";
+ after: "button_unpressed_anim";
+ }
+ program { name: "button_unpressed_anim";
+ action: STATE_SET "default" 0.0;
+ in: 0.5 0.0;
+ target: "base";
+ target: "bar2";
+ target: "text2";
+ }
+ program {
+ signal: "mouse,clicked,1"; source: "event";
+ action: SIGNAL_EMIT "elm,action,click" "elm";
+ }
+ program { name: "button_text_visible";
+ signal: "elm,state,text,visible"; source: "elm";
+ script {
+ new m = get_int(btmode);
+ m |= LABEL; set_int(btmode, m);
+ eval_mode(m);
+ }
+ }
+ program { name: "button_text_hidden";
+ signal: "elm,state,text,hidden"; source: "elm";
+ script {
+ new m = get_int(btmode);
+ m &= ~LABEL; set_int(btmode, m);
+ eval_mode(m);
+ }
+ }
+ program { name: "button_icon_visible";
+ signal: "elm,state,icon,visible"; source: "elm";
+ script {
+ new m = get_int(btmode);
+ m |= ICON; set_int(btmode, m);
+ eval_mode(m);
+ }
+ }
+ program { name: "button_icon_hidden";
+ signal: "elm,state,icon,hidden"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ script {
+ new m = get_int(btmode);
+ m &= ~ICON; set_int(btmode, m);
+ eval_mode(m);
+ }
+ }
+ program { name: "button_state_disabled";
+ signal: "elm,state,disabled"; source: "elm";
+ script {
+ new m = get_int(btmode);
+ m |= DISABLE; set_int(btmode, m);
+ eval_mode(m);
+ }
+ }
+ program { name: "button_state_enabled";
+ signal: "elm,state,enabled"; source: "elm";
+ script {
+ new m = get_int(btmode);
+ m &= ~DISABLE; set_int(btmode, m);
+ eval_mode(m);
+ }
+ }
+ }
+#undef ICON
+#undef LABEL
+#undef MASK
+#undef DISABLE
+}
+
+group { name: "elm/button/base/colorselector/left/default";
+ inherit: "elm/button/base/default";
+ images.image: "sym_left_light_normal.png" COMP;
+ parts {
+ part { name: "ic"; mouse_events: 0;
+ description { state: "default" 0.0;
+ min: 15 15;
+ max: 15 15;
+ fixed: 1 1;
+ image.normal: "sym_left_light_normal.png";
+ }
+ }
+ }
+}
+
+group { name: "elm/button/base/colorselector/right/default";
+ inherit: "elm/button/base/default";
+ images.image: "sym_right_light_normal.png" COMP;
+ parts {
+ part { name: "ic"; mouse_events: 0;
+ description { state: "default" 0.0;
+ min: 15 15;
+ max: 15 15;
+ fixed: 1 1;
+ image.normal: "sym_right_light_normal.png";
+ }
+ }
+ }
+}
+
+group { name: "elm/button/base/media_player/prev/default";
+ alias: "elm/button/base/media_player/rewind/default";
+ alias: "elm/button/base/media_player/play/default";
+ alias: "elm/button/base/media_player/pause/default";
+ alias: "elm/button/base/media_player/stop/default";
+ alias: "elm/button/base/media_player/forward/default";
+ alias: "elm/button/base/media_player/next/default";
+ alias: "elm/button/base/media_player/info/default";
+ alias: "elm/button/base/media_player/eject/default";
+ alias: "elm/button/base/media_player/volume/default";
+ alias: "elm/button/base/media_player/mute/default";
+
+ alias: "elm/button/base/media_player/prev/flush";
+ alias: "elm/button/base/media_player/rewind/flush";
+ alias: "elm/button/base/media_player/play/flush";
+ alias: "elm/button/base/media_player/pause/flush";
+ alias: "elm/button/base/media_player/stop/flush";
+ alias: "elm/button/base/media_player/forward/flush";
+ alias: "elm/button/base/media_player/next/flush";
+ alias: "elm/button/base/media_player/info/flush";
+ alias: "elm/button/base/media_player/eject/flush";
+ alias: "elm/button/base/media_player/volume/flush";
+ alias: "elm/button/base/media_player/mute/flush";
+
+ images.image: "shadow_inset_bevels.png" COMP;
+ images.image: "shadow_angled_in_sides.png" COMP;
+ parts {
+ part { name: "clip"; type: RECT;
+ description { state: "default" 0.0;
+ }
+ }
+ part { name: "shadow1"; mouse_events: 0;
+ clip_to: "clip";
+ description { state: "default" 0.0;
+ rel2.offset: -1 0;
+ image.normal: "shadow_inset_bevels.png";
+ image.border: 2 2 0 1;
+ visible: 0;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "shadow2"; mouse_events: 0;
+ clip_to: "clip";
+ description { state: "default" 0.0;
+ rel1.offset: 1 0;
+ rel2.offset: -2 -1;
+ image.normal: "shadow_angled_in_sides.png";
+ image.border: 8 8 0 1;
+ image.middle: 0;
+ visible: 0;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "elm.swallow.content"; type: SWALLOW;
+ description { state: "default" 0.0;
+ rel1.offset: 3 1;
+ rel2.offset: -4 -2;
+ }
+ }
+ part { name: "event"; type: RECT;
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ }
+ programs {
+ program {
+ signal: "mouse,down,1"; source: "event";
+ action: SIGNAL_EMIT "elm,action,press" "elm";
+ after: "button_click_anim";
+ }
+ program { name: "button_click_anim";
+ action: STATE_SET "selected" 0.0;
+ target: "shadow1";
+ target: "shadow2";
+ }
+ program {
+ signal: "mouse,up,1"; source: "event";
+ action: SIGNAL_EMIT "elm,action,unpress" "elm";
+ after: "button_unclick_anim";
+ }
+ program { name: "button_unclick_anim";
+ action: STATE_SET "default" 0.0;
+ target: "shadow1";
+ target: "shadow2";
+ }
+ program {
+ signal: "elm,anim,activate"; source: "elm";
+ action: STATE_SET "clicked" 0.0;
+ target: "shadow1";
+ target: "shadow2";
+ after: "button_unpressed_anim";
+ }
+ program { name: "button_unpressed_anim";
+ action: STATE_SET "default" 0.0;
+ in: 0.5 0.0;
+ target: "shadow1";
+ target: "shadow2";
+ }
+ program {
+ signal: "mouse,clicked,1"; source: "event";
+ action: SIGNAL_EMIT "elm,action,click" "elm";
+ }
+ }
+}
+
+group { name: "elm/button/base/hoversel_vertical/default";
+ inherit: "elm/button/base/default";
+ alias: "elm/button/base/hoversel_vertical/entry";
+ alias: "elm/button/base/hoversel_horizontal/default";
+ alias: "elm/button/base/hoversel_horizontal/entry";
+
+ images.image: "vertical_separated_bar_glow.png" COMP;
+
+ parts {
+ part { name: "elm.text";
+ description { state: "default" 0.0;
+ rel1.offset: 0 5;
+ rel1.relative: 1.0 0.0;
+ rel1.to_x: "elm.swallow.content";
+ rel1.to_y: "base";
+ rel2.to_y: "base";
+ rel2.to_x: "select_line";
+ rel2.offset: -2 -7;
+ rel2.relative: 0.0 1.0;
+ text.text_class: "hoversel";
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ rel1.offset: 2 5;
+ text.min: 1 1;
+ visible: 1;
+ }
+ description { state: "textonly" 0.0;
+ inherit: "default" 0.0;
+ text.min: 1 1;
+ visible: 1;
+ }
+ description { state: "disabled_visible" 0.0;
+ inherit: "default" 0.0;
+ rel1.offset: 2 5;
+ color: 21 21 21 255;
+ color3: 255 255 255 25;
+ color_class: "hoversel_text_disabled";
+ text.min: 1 1;
+ visible: 1;
+ }
+ description { state: "disabled_textonly" 0.0;
+ inherit: "default" 0.0;
+ color: 21 21 21 255;
+ color3: 255 255 255 25;
+ color_class: "hoversel_text_disabled";
+ text.min: 1 1;
+ visible: 1;
+ }
+ }
+ part { name: "select_line"; mouse_events: 0;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ align: 1.0 0.5;
+ min: 15 10;
+ rel1.to: "base";
+ rel1.relative: 1.0 0.0;
+ rel1.offset: 1 -3;
+ rel2.to: "base";
+ rel2.offset: 1 0;
+ image.normal: "vertical_separated_bar_glow.png";
+ image.border: 7 7 7 7;
+ fill.smooth : 0;
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ rel1.offset: 0 -2;
+ rel2.offset: 0 -1;
+ }
+ }
+ }
+ programs {
+ program { name: "button_click_anim";
+ target: "select_line";
+ }
+ program { name: "button_unclick_anim";
+ target: "select_line";
+ }
+ program { name: "buttonactivate";
+ target: "select_line";
+ }
+ program { name: "button_unpressed_anim";
+ target: "select_line";
+ }
+ }
+}
+
+group { name: "elm/button/base/hoversel_vertical_entry/default";
+ alias: "elm/button/base/hoversel_vertical_entry/entry";
+ images.image: "vgrad_med_dark.png" COMP;
+ images.image: "bevel_horiz_out.png" COMP;
+ images.image: "shadow_rounded_horiz.png" COMP;
+ images.image: "shine.png" COMP;
+#define ICON 1
+#define LABEL 2
+#define MASK 3
+#define DISABLE 4
+ script {
+ public btmode;
+ public eval_mode(m) {
+ new m1 = m & MASK;
+ new d = m & DISABLE;
+ if (m1 == (ICON | LABEL)) {
+ if (!d) {
+ set_state(PART:"elm.swallow.content", "visible", 0.0);
+ set_state(PART:"sizer.content", "visible", 0.0);
+ set_state(PART:"elm.text", "visible", 0.0);
+ set_state(PART:"icon_clip", "default", 0.0);
+ set_state(PART:"event", "default", 0.0);
+ } else {
+ set_state(PART:"elm.swallow.content", "visible", 0.0);
+ set_state(PART:"sizer.content", "visible", 0.0);
+ set_state(PART:"elm.text", "disabled_visible", 0.0);
+ set_state(PART:"icon_clip", "disabled", 0.0);
+ set_state(PART:"event", "disabled", 0.0);
+ }
+ } else if (m1 == (ICON)) {
+ if (!d) {
+ set_state(PART:"elm.swallow.content", "icononly", 0.0);
+ set_state(PART:"sizer.content", "icononly", 0.0);
+ set_state(PART:"elm.text", "default", 0.0);
+ set_state(PART:"icon_clip", "default", 0.0);
+ set_state(PART:"event", "default", 0.0);
+ } else {
+ set_state(PART:"elm.swallow.content", "icononly", 0.0);
+ set_state(PART:"sizer.content", "icononly", 0.0);
+ set_state(PART:"elm.text", "default", 0.0);
+ set_state(PART:"icon_clip", "disabled", 0.0);
+ set_state(PART:"event", "disabled", 0.0);
+ }
+ } else if (m1 == (LABEL)) {
+ if (!d) {
+ set_state(PART:"elm.swallow.content", "default", 0.0);
+ set_state(PART:"sizer.content", "default", 0.0);
+ set_state(PART:"elm.text", "textonly", 0.0);
+ set_state(PART:"icon_clip", "default", 0.0);
+ set_state(PART:"event", "default", 0.0);
+ } else {
+ set_state(PART:"elm.swallow.content", "default", 0.0);
+ set_state(PART:"sizer.content", "default", 0.0);
+ set_state(PART:"elm.text", "disabled_textonly", 0.0);
+ set_state(PART:"icon_clip", "disabled", 0.0);
+ set_state(PART:"event", "disabled", 0.0);
+ }
+ } else {
+ set_state(PART:"elm.swallow.content", "default", 0.0);
+ set_state(PART:"sizer.content", "default", 0.0);
+ set_state(PART:"elm.text", "default", 0.0);
+ set_state(PART:"icon_clip", "default", 0.0);
+ set_state(PART:"event", "default", 0.0);
+ }
+ }
+ }
+ parts {
+ part { name: "shadow"; mouse_events: 0;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ image.normal: "shadow_rounded_horiz.png";
+ image.border: 0 0 9 9;
+ rel1.to: "base";
+ rel1.offset: 0 -4;
+ rel2.to: "base";
+ rel2.offset: -1 5;
+ fill.smooth: 0;
+ visible: 0;
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "base"; mouse_events: 0;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.offset: -6 0;
+ image.normal: "vgrad_med_dark.png";
+ fill.smooth: 0;
+ TILED_HORIZ(120)
+ visible: 0;
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "icon_clip"; type: RECT;
+ description { state: "default" 0.0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 64;
+ }
+ }
+ part { name: "elm.swallow.content"; type: SWALLOW; mouse_events: 0;
+ clip_to: "icon_clip";
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ align: 0.0 0.5;
+ rel1.offset: 6 5;
+ rel1.to: "base";
+ rel2.relative: 0.0 1.0;
+ rel2.offset: 6 -8;
+ rel2.to: "base";
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ fixed: 1 0;
+ aspect: 1.0 1.0;
+ visible: 1;
+ }
+ description { state: "icononly" 0.0;
+ inherit: "default" 0.0;
+ fixed: 0 0;
+ align: 0.5 0.5;
+ rel2.relative: 1.0 1.0;
+ rel2.offset: -7 -8;
+ visible: 1;
+ }
+ }
+ part { name: "sizer.content"; type: TEXT; mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ visible: 0;
+ text { font: FN; size: 10;
+ min: 0 0;
+ text_class: "button_text";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ rel1.to: "elm.swallow.content";
+ rel2.to: "elm.swallow.content";
+ text {
+ min: 1 1;
+ text: "M";
+ }
+ }
+ description { state: "icononly" 0.0;
+ inherit: "default" 0.0;
+ rel1.to: "elm.swallow.content";
+ rel2.to: "elm.swallow.content";
+ text {
+ min: 1 1;
+ text: "M";
+ }
+ }
+ }
+ part { name: "click_clip"; type: RECT;
+ description { state: "default" 0.0;
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.text"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ clip_to: "click_clip";
+ description { state: "default" 0.0;
+ rel1.offset: 0 5;
+ rel1.relative: 1.0 0.0;
+ rel1.to_x: "elm.swallow.content";
+ rel1.to_y: "base";
+ rel2.offset: -7 -7;
+ rel2.to: "base";
+ color: 255 255 255 255;
+ color3: 0 0 0 128;
+ color_class: "button_text";
+ text { font: FN; size: 10;
+ align: 0.0 0.5;
+ min: 0 0;
+ text_class: "button";
+ }
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ rel1.offset: 2 5;
+ text.min: 1 1;
+ visible: 1;
+ }
+ description { state: "textonly" 0.0;
+ inherit: "default" 0.0;
+ text.min: 1 1;
+ visible: 1;
+ }
+ description { state: "disabled_visible" 0.0;
+ inherit: "default" 0.0;
+ rel1.offset: 2 5;
+ color: 21 21 21 255;
+ color3: 255 255 255 25;
+ color_class: "button_text_disabled";
+ text.min: 1 1;
+ visible: 1;
+ }
+ description { state: "disabled_textonly" 0.0;
+ inherit: "default" 0.0;
+ color: 21 21 21 255;
+ color3: 255 255 255 25;
+ color_class: "button_text_disabled";
+ text.min: 1 1;
+ visible: 1;
+ }
+ }
+ part { name: "label3"; type: TEXT; mouse_events: 0;
+ effect: GLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.offset: -2 -3;
+ rel1.to: "elm.text";
+ rel2.offset: 2 1;
+ rel2.to: "elm.text";
+ color: 51 153 255 255;
+ color2: 51 153 255 24;
+ color3: 51 153 255 18;
+ color_class: "hoversel_item_active";
+ text { font: FN; size: 10;
+ text_source: "elm.text";
+ align: 0.0 0.5;
+ text_class: "hoversel_item";
+ }
+ visible: 0;
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "bevel"; mouse_events: 0;
+ insert_after: "elm.text";
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ image.normal: "bevel_horiz_out.png";
+ image.border: 0 0 2 2;
+ image.middle: 0;
+ fill.smooth: 0;
+ visible: 0;
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "shine"; repeat_events: 1;
+ insert_before: "event";
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.to: "base";
+ rel1.offset: 0 -2;
+ rel2.to: "base";
+ rel2.relative: 1.0 0.0;
+ rel2.offset: -1 2;
+ image.normal: "shine.png";
+ visible: 0;
+ FIXED_SIZE(69, 5)
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "event"; type: RECT;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ }
+ programs {
+ program {
+ signal: "mouse,down,1"; source: "event";
+ action: SIGNAL_EMIT "elm,action,press" "elm";
+ after: "button_click_anim";
+ }
+ program { name: "button_click_anim";
+ action: STATE_SET "clicked" 0.0;
+ target: "shadow";
+ target: "base";
+ target: "shine";
+ target: "click_clip";
+ target: "label3";
+ }
+ program { name: "button_unclick";
+ signal: "mouse,up,1"; source: "event";
+ action: SIGNAL_EMIT "elm,action,unpress" "elm";
+ after: "button_unclick_anim";
+ }
+ program { name: "button_unclick_anim";
+ action: STATE_SET "default" 0.0;
+ target: "shadow";
+ target: "base";
+ target: "shine";
+ target: "click_clip";
+ target: "label3";
+ }
+ program { name: "buttonactivate";
+ signal: "elm,anim,activate"; source: "elm";
+ action: STATE_SET "clicked" 0.0;
+ target: "shadow";
+ target: "base";
+ target: "shine";
+ target: "click_clip";
+ target: "label3";
+ after: "button_unpressed_anim";
+ }
+ program { name: "button_unpressed_anim";
+ action: STATE_SET "default" 0.0;
+ in: 0.5 0.0;
+ target: "shadow";
+ target: "base";
+ target: "shine";
+ target: "click_clip";
+ target: "label3";
+ }
+ program {
+ signal: "mouse,clicked,1"; source: "event";
+ action: SIGNAL_EMIT "elm,action,click" "elm";
+ }
+ program { name: "button_text_visible";
+ signal: "elm,state,text,visible"; source: "elm";
+ script {
+ new m = get_int(btmode);
+ m |= LABEL; set_int(btmode, m);
+ eval_mode(m);
+ }
+ }
+ program { name: "button_text_hidden";
+ signal: "elm,state,text,hidden"; source: "elm";
+ script {
+ new m = get_int(btmode);
+ m &= ~LABEL; set_int(btmode, m);
+ eval_mode(m);
+ }
+ }
+ program { name: "button_icon_visible";
+ signal: "elm,state,icon,visible"; source: "elm";
+ script {
+ new m = get_int(btmode);
+ m |= ICON; set_int(btmode, m);
+ eval_mode(m);
+ }
+ }
+ program { name: "button_icon_hidden";
+ signal: "elm,state,icon,hidden"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ script {
+ new m = get_int(btmode);
+ m &= ~ICON; set_int(btmode, m);
+ eval_mode(m);
+ }
+ }
+ program { name: "button_state_disabled";
+ signal: "elm,state,disabled"; source: "elm";
+ script {
+ new m = get_int(btmode);
+ m |= DISABLE; set_int(btmode, m);
+ eval_mode(m);
+ }
+ }
+ program { name: "button_state_enabled";
+ signal: "elm,state,enabled"; source: "elm";
+ script {
+ new m = get_int(btmode);
+ m &= ~DISABLE; set_int(btmode, m);
+ eval_mode(m);
+ }
+ }
+ }
+#undef ICON
+#undef LABEL
+#undef MASK
+#undef DISABLE
+}
+
+group { name: "elm/button/base/hoversel_horizontal_entry/default";
+ inherit: "elm/button/base/hoversel_vertical_entry/default";
+ alias: "elm/button/base/hoversel_horizontal_entry/entry";
+ parts {
+ part { name: "base";
+ description { state: "default" 0.0;
+ rel1.offset: 0 0;
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+}
diff --git a/data/themes/edc/elm/calendar.edc b/data/themes/edc/elm/calendar.edc
new file mode 100644
index 000000000..ecced35b2
--- /dev/null
+++ b/data/themes/edc/elm/calendar.edc
@@ -0,0 +1,534 @@
+#define CIT_STYLES\
+ style { name: "calendar_date_style";\
+ base: "font="FN" font_size=10 color=#ffffff style=shadow,bottom shadow_color=#00000080 align=center";\
+ }\
+ style { name: "calendar_date_holiday_style";\
+ base: "font="FN" font_size=10 color=#808080 style=shadow,bottom shadow_color=#00000080 align=center";\
+ }\
+ style { name: "calendar_date_today_style";\
+ base: "font="FN" font_size=10 color=#3399ff style=glow glow_color=#3399ff18 align=center";\
+ }\
+
+#define CAL_SPIN(_sufix, _signal_sufix, _text, _relative)\
+ part { name: "left_bt"#_sufix; type: RECT;\
+ scale: 1;\
+ description { state: "default" 0.0;\
+ fixed: 1 1;\
+ rel1 { to: #_relative;\
+ offset: 0 0;\
+ }\
+ rel2 { to: #_relative;\
+ offset: 0 -1;\
+ }\
+ align: 0.0 0.5;\
+ min: 15 15;\
+ max: 15 15;\
+ color: 0 0 0 0;\
+ }\
+ }\
+ part { name: "left_bt"#_sufix"_over"; repeat_events: 1;\
+ scale: 1;\
+ description { state: "default" 0.0;\
+ min: 15 15;\
+ max: 15 15;\
+ align: 0.5 0.5;\
+ rel1.to: "left_bt"#_sufix;\
+ rel2.to: "left_bt"#_sufix;\
+ image.normal: "sym_left_light_normal.png";\
+ }\
+ description { state: "rtl" 0.0;\
+ inherit: "default" 0.0;\
+ image.normal: "sym_right_light_normal.png";\
+ }\
+ description { state: "clicked" 0.0;\
+ inherit: "default" 0.0;\
+ image.normal: "sym_left_glow_normal.png";\
+ }\
+ description { state: "clicked_rtl" 0.0;\
+ inherit: "default" 0.0;\
+ image.normal: "sym_right_glow_normal.png";\
+ }\
+ }\
+ part { name: "right_bt"#_sufix; type: RECT;\
+ scale: 1;\
+ description { state: "default" 0.0;\
+ fixed: 1 1;\
+ rel1 { to: #_relative;\
+ offset: -1 0;\
+ }\
+ rel2 { to: #_relative;\
+ offset: -1 -1;\
+ }\
+ align: 1.0 0.5;\
+ min: 15 15;\
+ max: 15 15;\
+ color: 0 0 0 0;\
+ }\
+ }\
+ part { name: "right_bt"#_sufix"_over"; repeat_events: 1;\
+ scale: 1;\
+ description { state: "default" 0.0;\
+ min: 15 15;\
+ max: 15 15;\
+ rel1.to: "right_bt"#_sufix;\
+ rel2.to: "right_bt"#_sufix;\
+ image.normal: "sym_right_light_normal.png";\
+ }\
+ description { state: "rtl" 0.0;\
+ inherit: "default" 0.0;\
+ image.normal: "sym_left_light_normal.png";\
+ }\
+ description { state: "clicked" 0.0;\
+ inherit: "default" 0.0;\
+ image.normal: "sym_right_glow_normal.png";\
+ }\
+ description { state: "clicked_rtl" 0.0;\
+ inherit: "default" 0.0;\
+ image.normal: "sym_left_glow_normal.png";\
+ }\
+ }\
+ part { name: #_text; type: TEXT; mouse_events: 0;\
+ effect: SHADOW BOTTOM; \
+ scale: 1;\
+ description { state: "default" 0.0;\
+ fixed: 1 1;\
+ rel1 { relative: 1.0 0.0;\
+ to: "left_bt"#_sufix;\
+ }\
+ rel2 { relative: 0.0 1.0;\
+ to: "right_bt"#_sufix;\
+ }\
+ color: FN_COL_DEFAULT;\
+ text { font: FNBD; size: 10;\
+ min: 0 1;\
+ }\
+ }\
+ }\
+ programs {\
+ program {\
+ signal: "mouse,down,1"; source: "left_bt"#_sufix;\
+ action: SIGNAL_EMIT "elm,action,decrement,start"#_signal_sufix "elm";\
+ }\
+ program {\
+ signal: "mouse,up,1"; source: "left_bt"#_sufix;\
+ action: SIGNAL_EMIT "elm,action,stop"#_signal_sufix "elm"; \
+ }\
+ program { name: "left_bt"#_sufix"_click";\
+ signal: "mouse,down,1"; source: "left_bt"#_sufix;\
+ script {\
+ if (get_int(rtl) == 1)\
+ set_state(PART:"left_bt"#_sufix"_over", "clicked_rtl", 0.0);\
+ else\
+ set_state(PART:"left_bt"#_sufix"_over", "clicked", 0.0);\
+ }\
+ }\
+ program { name: "left_bt"#_sufix"_unclick";\
+ signal: "mouse,up,1"; source: "left_bt"#_sufix;\
+ script {\
+ if (get_int(rtl) == 1)\
+ set_state(PART:"left_bt"#_sufix"_over", "rtl", 0.0);\
+ else\
+ set_state(PART:"left_bt"#_sufix"_over", "default", 0.0);\
+ }\
+ }\
+ program {\
+ signal: "mouse,down,1"; source: "right_bt"#_sufix;\
+ action: SIGNAL_EMIT "elm,action,increment,start"#_signal_sufix "elm";\
+ }\
+ program {\
+ signal: "mouse,up,1"; source: "right_bt"#_sufix;\
+ action: SIGNAL_EMIT "elm,action,stop"#_signal_sufix "elm"; \
+ }\
+ program { name: "right_bt"#_sufix"_click";\
+ signal: "mouse,down,1"; source: "right_bt"#_sufix;\
+ script {\
+ if (get_int(rtl) == 1)\
+ set_state(PART:"right_bt"#_sufix"_over", "clicked_rtl", 0.0);\
+ else\
+ set_state(PART:"right_bt"#_sufix"_over", "clicked", 0.0);\
+ }\
+ }\
+ program { name: "right_bt"#_sufix"_unclick";\
+ signal: "mouse,up,1"; source: "right_bt"#_sufix;\
+ script {\
+ if (get_int(rtl) == 1)\
+ set_state(PART:"right_bt"#_sufix"_over", "rtl", 0.0);\
+ else\
+ set_state(PART:"right_bt"#_sufix"_over", "default", 0.0);\
+ }\
+ }\
+ program { name: "rtl"#_sufix;\
+ signal: "edje,state,rtl"; source: "edje";\
+ script {\
+ set_int(rtl, 1);\
+ set_state(PART:"left_bt"#_sufix"_over", "rtl", 0.0);\
+ set_state(PART:"right_bt"#_sufix"_over", "rtl", 0.0);\
+ }\
+ }\
+ program { name: "ltr"#_sufix;\
+ signal: "edje,state,ltr"; source: "edje";\
+ script {\
+ set_int(rtl, 0);\
+ set_state(PART:"left_bt"#_sufix"_over", "default", 0.0);\
+ set_state(PART:"right_bt"#_sufix"_over", "default", 0.0);\
+ }\
+ }\
+ }
+
+#define CH(_pos) \
+ part { name: "ch_"#_pos".base"; type: SPACER; \
+ description { state: "default" 0.0; \
+ rel1 { \
+ relative: (_pos % 7 / 7) 0.0; \
+ to: "header"; \
+ } \
+ rel2 { \
+ relative: (_pos % 7 / 7 + 1 / 7) 1.0; \
+ to: "header"; \
+ } \
+ } \
+ } \
+ part { name: "ch_"#_pos".text"; type: TEXT; mouse_events: 0; \
+ effect: SHADOW BOTTOM; \
+ scale: 1; \
+ clip_to: "ch_"#_pos".clipper"; \
+ description { state: "default" 0.0; \
+ rel1.to: "ch_"#_pos".base"; \
+ rel2.to: "ch_"#_pos".base"; \
+ color: 21 21 21 255;\
+ color3: 255 255 255 25;\
+ text { font: FN; size: 8; \
+ min: 1 1; \
+ } \
+ } \
+ } \
+ part { name: "ch_"#_pos".clipper"; type: RECT; \
+ description { state: "default" 0.0; \
+ rel1.to: "ch_"#_pos".base"; \
+ rel2.to: "ch_"#_pos".base"; \
+ } \
+ }
+
+#define CIT(_pos) \
+ part { name: "cit_"#_pos".rect"; type: SPACER; \
+ description { state: "default" 0.0; \
+ rel1 { \
+ relative: (_pos % 7 / 7) \
+ (_pos / 7 / 6 - _pos % 7 / 7 / 6); \
+ to: "base"; \
+ } \
+ rel2 { \
+ relative: (_pos % 7 / 7 + 1 / 7) \
+ (_pos / 7 / 6 + 1 / 6 - _pos % 7 / 7 / 6); \
+ to: "base"; \
+ } \
+ } \
+ } \
+ part { name: "cit_"#_pos".event"; type: RECT; repeat_events: 1; \
+ description { state: "default" 0.0; \
+ rel1.to: "cit_"#_pos".rect"; \
+ rel2.to: "cit_"#_pos".rect"; \
+ color: 0 0 0 0; \
+ } \
+ } \
+ part { name: "cit_"#_pos".pat"; mouse_events: 0; \
+ description { state: "default" 0.0; \
+ rel1.to: "cit_"#_pos".selected"; \
+ rel1.offset: 1 1; \
+ rel2.to: "cit_"#_pos".selected"; \
+ rel2.offset: -2 -2; \
+ image.normal: "diagonal_stripes.png"; \
+ color: 255 255 255 25; \
+ TILED_PATTERN(240, 240) \
+ visible: 0; \
+ } \
+ description { state: "selected" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 1; \
+ } \
+ } \
+ part { name: "cit_"#_pos".selected"; mouse_events: 0; \
+ description { state: "default" 0.0; \
+ rel1.to: "cit_"#_pos".rect"; \
+ rel2.to: "cit_"#_pos".rect"; \
+ image.normal: "outline_glow.png"; \
+ image.border: 4 4 4 4; \
+ visible: 0; \
+ } \
+ description { state: "selected" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 1; \
+ } \
+ } \
+ part { name: "cit_"#_pos".selected2"; mouse_events: 0; \
+ description { state: "default" 0.0; \
+ rel1.to: "cit_"#_pos".rect"; \
+ rel2.to: "cit_"#_pos".rect"; \
+ image.normal: "outline_glow.png"; \
+ image.border: 4 4 4 4; \
+ visible: 0; \
+ } \
+ description { state: "hilighted" 0.0; \
+ inherit: "default" 0.0; \
+ color: 255 255 255 128; \
+ visible: 1; \
+ } \
+ } \
+ part { name: "cit_"#_pos".text"; type: TEXTBLOCK; mouse_events: 0; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ rel1.to: "cit_"#_pos".rect"; \
+ rel2.to: "cit_"#_pos".rect"; \
+ text.style: "calendar_date_style"; \
+ text.min: 1 1; \
+ } \
+ description { state: "holiday" 0.0; \
+ inherit: "default" 0.0; \
+ text.style: "calendar_date_holiday_style"; \
+ } \
+ description { state: "today" 0.0; \
+ inherit: "default" 0.0; \
+ text.style: "calendar_date_today_style"; \
+ } \
+ } \
+ part { name: "cit_"#_pos".check"; mouse_events: 0; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ fixed: 1 1; \
+ rel1 { \
+ to: "cit_"#_pos".rect"; \
+ relative: 0.6 0.5; \
+ } \
+ rel2 { \
+ to: "cit_"#_pos".rect"; \
+ relative: 0.6 0.5; \
+ } \
+ min: 16 16; \
+ max: 16 16; \
+ aspect: 1 1; \
+ align: 0.0 1.0;\
+ image.normal: "icon_border_remember.png"; \
+ visible: 0; \
+ } \
+ description { state: "visible" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 1; \
+ } \
+ } \
+ part { name: "cit_"#_pos".access"; type: RECT; repeat_events: 1; \
+ description { state: "default" 0.0; \
+ rel1.to: "cit_"#_pos".event"; \
+ rel2.to: "cit_"#_pos".event"; \
+ color: 0 0 0 0; \
+ } \
+ } \
+ programs { \
+ program { \
+ name: "cit_"#_pos".go_active"; \
+ signal: "cit_"#_pos",selected"; \
+ source: "elm"; \
+ action: STATE_SET "selected" 0.0; \
+ target: "cit_"#_pos".pat"; \
+ target: "cit_"#_pos".selected"; \
+ } \
+ program { \
+ name: "cit_"#_pos".go_passive"; \
+ signal: "cit_"#_pos",unselected"; \
+ source: "elm"; \
+ action: STATE_SET "default" 0.0; \
+ target: "cit_"#_pos".pat"; \
+ target: "cit_"#_pos".selected"; \
+ } \
+ program { \
+ name: "cit_"#_pos".is_today"; \
+ signal: "cit_"#_pos",today"; \
+ source: "elm"; \
+ action: STATE_SET "today" 0.0; \
+ target: "cit_"#_pos".text"; \
+ } \
+ program { \
+ name: "cit_"#_pos".not_today"; \
+ signal: "cit_"#_pos",not_today"; \
+ source: "elm"; \
+ action: STATE_SET "default" 0.0; \
+ target: "cit_"#_pos".text"; \
+ } \
+ program { \
+ source: "cit_"#_pos".clicked"; \
+ signal: "mouse,down,1"; \
+ source: "cit_"#_pos".event"; \
+ action: STATE_SET "hilighted" 0.0; \
+ target: "cit_"#_pos".selected2"; \
+ } \
+ program { \
+ source: "cit_"#_pos".clicked"; \
+ signal: "mouse,up,1"; \
+ source: "cit_"#_pos".event"; \
+ action: STATE_SET "default" 0.0; \
+ target: "cit_"#_pos".selected2"; \
+ } \
+ program { \
+ source: "cit_"#_pos".clicked"; \
+ signal: "mouse,clicked,1"; \
+ source: "cit_"#_pos".event"; \
+ action: SIGNAL_EMIT "elm,action,selected" #_pos; \
+ } \
+ program { \
+ name: "cit_"#_pos".clear"; \
+ signal: "cit_"#_pos",clear"; \
+ source: "elm"; \
+ action: STATE_SET "default" 0.0; \
+ target: "cit_"#_pos".check"; \
+ after: "cit_"#_pos".holiday_clear"; \
+ } \
+ program { \
+ name: "cit_"#_pos".holiday_clear"; \
+ script { \
+ new st[31]; \
+ new Float:vl; \
+ get_state(PART:"cit_"#_pos".text", st, 30, vl); \
+ if (!strcmp(st, "holiday")) \
+ set_state(PART:"cit_"#_pos".text", "default", 0.0); \
+ } \
+ } \
+ program { \
+ name: "cit_"#_pos".checked"; \
+ signal: "cit_"#_pos",checked"; \
+ source: "elm"; \
+ action: STATE_SET "visible" 0.0; \
+ target: "cit_"#_pos".check"; \
+ } \
+ program { \
+ name: "cit_"#_pos".holiday"; \
+ signal: "cit_"#_pos",holiday"; \
+ source: "elm"; \
+ script { \
+ new st[31]; \
+ new Float:vl; \
+ get_state(PART:"cit_"#_pos".text", st, 30, vl); \
+ if (strcmp(st, "today")) \
+ set_state(PART:"cit_"#_pos".text", "holiday", 0.0); \
+ } \
+ } \
+ }
+
+group { name: "elm/calendar/base/default";
+ images.image: "sym_left_light_normal.png" COMP;
+ images.image: "sym_right_light_normal.png" COMP;
+ images.image: "sym_left_glow_normal.png" COMP;
+ images.image: "sym_right_glow_normal.png" COMP;
+ images.image: "icon_border_remember.png" COMP;
+ images.image: "outline_glow.png" COMP;
+ images.image: "diagonal_stripes.png" COMP;
+ script {
+ public rtl;
+ }
+ styles {
+ CIT_STYLES
+ }
+ parts {
+ part { name: "bg"; type: SPACER;
+ description { state: "default" 0.0;
+ rel1.offset: 1 1;
+ rel2.offset: -2 -2;
+ }
+ }
+ part { name: "spinner-base1"; type: SPACER;
+ description { state: "default" 0.0;
+ min: 24 16;
+ max: 999999 16;
+ rel1.to: "bg";
+ rel2.to: "bg";
+ rel2.relative: 1.0 (1/8);
+ align: 0.5 0.0;
+ }
+ }
+ part { name: "table-base"; type: SPACER;
+ description { state: "default" 0.0;
+ min: 70 60;
+ rel1.to_x: "bg";
+ rel1.to_y: "spinner-base1";
+ rel1.offset: 3 0;
+ rel1.relative: 0.0 1.0;
+ rel2.to: "bg";
+ rel2.offset: -4 -4;
+ }
+ }
+ part { name: "header"; type: SPACER;
+ description { state: "default" 0.0;
+ rel1.to: "table-base";
+ rel2.to: "table-base";
+ rel2.relative: 1.0 (1/7);
+ align: 0.5 0.0;
+ min: 0 16;
+ }
+ }
+ part { name: "header_separator"; mouse_events: 0;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.to: "header";
+ rel1.relative: 0.0 1.0;
+ rel1.offset: 0 -2;
+ rel2.to: "header";
+ image.normal: "separator_horiz.png";
+ fill.smooth: 0;
+ }
+ }
+ part { name: "base"; type: SPACER;
+ description { state: "default" 0.0;
+ rel1.to_x: "table-base";
+ rel1.to_y: "header";
+ rel1.relative: 0.0 1.0;
+ rel1.offset: 3 0;
+ rel2.to: "table-base";
+ rel2.offset: -3 0;
+ }
+ }
+
+ CAL_SPIN(,,month_text, spinner-base1)
+ CH(0) CH(1) CH(2) CH(3) CH(4) CH(5) CH(6)
+ CIT(0) CIT(1) CIT(2) CIT(3) CIT(4) CIT(5) CIT(6)
+ CIT(7) CIT(8) CIT(9) CIT(10) CIT(11) CIT(12) CIT(13)
+ CIT(14) CIT(15) CIT(16) CIT(17) CIT(18) CIT(19) CIT(20)
+ CIT(21) CIT(22) CIT(23) CIT(24) CIT(25) CIT(26) CIT(27)
+ CIT(28) CIT(29) CIT(30) CIT(31) CIT(32) CIT(33) CIT(34)
+ CIT(35) CIT(36) CIT(37) CIT(38) CIT(39) CIT(40) CIT(41)
+ }
+}
+
+group { name: "elm/calendar/base/double_spinners";
+ inherit: "elm/calendar/base/default";
+ parts {
+ part { name: "spinner-base1"; type: SPACER;
+ description { state: "default" 0.0;
+ min: 24 24;
+ max: 999999 24;
+ rel1.to: "bg";
+ rel1.offset: 6 6;
+ rel2.to: "bg";
+ rel2.relative: 0.5 1.0;
+ rel2.offset: -7 -7;
+ align: 0.0 0.0;
+ }
+ }
+ part { name: "spinner-base2"; type: SPACER;
+ description { state: "default" 0.0;
+ min: 24 24;
+ max: 999999 24;
+ rel1.to_x: "spinner-base1";
+ rel1.to_y: "bg";
+ rel1.relative: 1.0 0;
+ rel1.offset: 6 6;
+ rel2.to: "bg";
+ rel2.offset: -7 -7;
+ align: 0.0 0.0;
+ }
+ }
+ CAL_SPIN(,,month_text, spinner-base1)
+ CAL_SPIN(_year, year, year_text, spinner-base2)
+ }
+}
+
+#undef CAL_SPIN
+#undef CIT
+#undef CH
diff --git a/data/themes/edc/elm/check.edc b/data/themes/edc/elm/check.edc
new file mode 100644
index 000000000..404b05b26
--- /dev/null
+++ b/data/themes/edc/elm/check.edc
@@ -0,0 +1,891 @@
+group { name: "elm/check/base/default";
+ images.image: "inset_shadow_tiny.png" COMP;
+ images.image: "bevel_in.png" COMP;
+ images.image: "sym_check_alum.png" COMP;
+#define ICON 1
+#define LABEL 2
+#define MASK 3
+#define DISABLE 4
+ script {
+ public btmode;
+ public eval_mode(m) {
+ new m1 = m & MASK;
+ new d = m & DISABLE;
+ if (m1 == (ICON | LABEL)) {
+ if (!d) {
+ set_state(PART:"elm.swallow.content", "visible", 0.0);
+ set_state(PART:"sizer.content", "visible", 0.0);
+ set_state(PART:"elm.text", "visible", 0.0);
+ set_state(PART:"shadow", "default", 0.0);
+ set_state(PART:"base", "default", 0.0);
+ set_state(PART:"clip", "default", 0.0);
+ set_state(PART:"event", "default", 0.0);
+ } else {
+ set_state(PART:"elm.swallow.content", "visible", 0.0);
+ set_state(PART:"sizer.content", "visible", 0.0);
+ set_state(PART:"elm.text", "disabled_visible", 0.0);
+ set_state(PART:"shadow", "disabled", 0.0);
+ set_state(PART:"base", "disabled", 0.0);
+ set_state(PART:"clip", "disabled", 0.0);
+ set_state(PART:"event", "disabled", 0.0);
+ }
+ } else if (m1 == (ICON)) {
+ if (!d) {
+ set_state(PART:"elm.swallow.content", "visible", 0.0);
+ set_state(PART:"sizer.content", "icononly", 0.0);
+ set_state(PART:"elm.text", "default", 0.0);
+ set_state(PART:"shadow", "default", 0.0);
+ set_state(PART:"base", "default", 0.0);
+ set_state(PART:"clip", "default", 0.0);
+ set_state(PART:"event", "default", 0.0);
+ } else {
+ set_state(PART:"elm.swallow.content", "visible", 0.0);
+ set_state(PART:"sizer.content", "icononly", 0.0);
+ set_state(PART:"elm.text", "disabled", 0.0);
+ set_state(PART:"shadow", "disabled", 0.0);
+ set_state(PART:"base", "disabled", 0.0);
+ set_state(PART:"clip", "disabled", 0.0);
+ set_state(PART:"event", "disabled", 0.0);
+ }
+ } else if (m1 == (LABEL)) {
+ if (!d) {
+ set_state(PART:"elm.swallow.content", "default", 0.0);
+ set_state(PART:"sizer.content", "default", 0.0);
+ set_state(PART:"elm.text", "visible", 0.0);
+ set_state(PART:"shadow", "default", 0.0);
+ set_state(PART:"base", "default", 0.0);
+ set_state(PART:"clip", "default", 0.0);
+ set_state(PART:"event", "default", 0.0);
+ } else {
+ set_state(PART:"elm.swallow.content", "default", 0.0);
+ set_state(PART:"sizer.content", "default", 0.0);
+ set_state(PART:"elm.text", "disabled_visible", 0.0);
+ set_state(PART:"shadow", "disabled", 0.0);
+ set_state(PART:"base", "disabled", 0.0);
+ set_state(PART:"clip", "disabled", 0.0);
+ set_state(PART:"event", "disabled", 0.0);
+ }
+ }
+ }
+ }
+ parts {
+ part { name: "base"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.offset: 1 1;
+ rel1.to: "inset";
+ rel2.offset: -2 -2;
+ rel2.to: "inset";
+ color: 24 24 24 255;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: 64 64 64 255;
+ }
+ }
+ part { name: "shadow"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "inset_shadow_tiny.png";
+ image.border: 4 4 4 4;
+ rel1.to: "base";
+ rel2.to: "base";
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "inset"; mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ rel1.offset: 2 2;
+ rel2.relative: 0.0 1.0;
+ rel2.offset: 2 -3;
+ align: 0.0 0.5;
+ min: 13 13;
+ max: 13 13;
+ image.normal: "bevel_in.png";
+ image.border: 1 1 1 1;
+ image.middle: 0;
+ fill.smooth: 0;
+ }
+ }
+ part { name: "indicator"; mouse_events: 0;
+ scale: 1;
+ clip_to: "clip";
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.to: "base";
+ rel2.to: "base";
+ image.normal: "sym_check_alum.png";
+ min: 11 11;
+ max: 11 11;
+ visible: 0;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "clip"; type: RECT;
+ description { state: "default" 0.0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 64;
+ }
+ }
+ part { name: "elm.swallow.content"; type: SWALLOW;
+ scale: 1;
+ clip_to: "clip";
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ visible: 0;
+ align: 0.0 0.5;
+ max: 0 0;
+ rel1.to_x: "inset";
+ rel1.relative: 1.0 0.0;
+ rel1.offset: 1 1;
+ rel2.to_x: "inset";
+ rel2.offset: 1 -2;
+ rel2.relative: 1.0 1.0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ fixed: 0 0;
+ visible: 1;
+ aspect: 1.0 1.0;
+ min: 16 16;
+ }
+ }
+ part { name: "sizer.content"; type: TEXT; mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ visible: 0;
+ text { font: FN; size: 10;
+ min: 0 0;
+ text_class: "check_text";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ rel1.to: "elm.swallow.content";
+ rel2.to: "elm.swallow.content";
+ text {
+ min: 1 1;
+ text: "M";
+ }
+ }
+ description { state: "icononly" 0.0;
+ inherit: "default" 0.0;
+ rel1.to: "elm.swallow.content";
+ rel2.to: "elm.swallow.content";
+ text {
+ min: 1 1;
+ text: "M";
+ }
+ }
+ }
+ part { name: "elm.text"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.offset: 2 2;
+ rel1.to_x: "elm.swallow.content";
+ rel1.relative: 1.0 0.0;
+ rel2.offset: -3 -3;
+ color: 255 255 255 255;
+ color3: 0 0 0 128;
+ color_class: "check_text";
+ text { font: FN; size: 10;
+ min: 0 0;
+ align: 0.0 0.5;
+ text_class: "check";
+ }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: 21 21 21 255;
+ color3: 255 255 255 25;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ text.min: 1 1;
+ }
+ description { state: "disabled_visible" 0.0;
+ inherit: "default" 0.0;
+ color: 21 21 21 255;
+ color3: 255 255 255 25;
+ visible: 1;
+ text.min: 1 1;
+ }
+ }
+ part { name: "event"; type: RECT;
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ }
+ programs {
+ program {
+ signal: "mouse,clicked,1"; source: "event";
+ action: SIGNAL_EMIT "elm,action,check,toggle" "elm";
+ }
+ program {
+ signal: "elm,state,check,on"; source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "indicator";
+ }
+ program {
+ signal: "elm,state,check,off"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "indicator";
+ }
+ program {
+ signal: "elm,state,text,visible"; source: "elm";
+ script {
+ new m = get_int(btmode);
+ m |= LABEL; set_int(btmode, m);
+ eval_mode(m);
+ }
+ }
+ program {
+ signal: "elm,state,text,hidden"; source: "elm";
+ script {
+ new m = get_int(btmode);
+ m &= ~LABEL; set_int(btmode, m);
+ eval_mode(m);
+ }
+ }
+ program {
+ signal: "elm,state,icon,visible"; source: "elm";
+ script {
+ new m = get_int(btmode);
+ m |= ICON; set_int(btmode, m);
+ eval_mode(m);
+ }
+ }
+ program {
+ signal: "elm,state,icon,hidden"; source: "elm";
+ script {
+ new m = get_int(btmode);
+ m &= ~ICON; set_int(btmode, m);
+ eval_mode(m);
+ }
+ }
+ program {
+ signal: "elm,state,disabled"; source: "elm";
+ script {
+ new m = get_int(btmode);
+ m |= DISABLE; set_int(btmode, m);
+ eval_mode(m);
+ }
+ }
+ program {
+ signal: "elm,state,enabled"; source: "elm";
+ script {
+ new m = get_int(btmode);
+ m &= ~DISABLE; set_int(btmode, m);
+ eval_mode(m);
+ }
+ }
+ }
+#undef ICON
+#undef LABEL
+#undef MASK
+#undef DISABLE
+}
+
+group { name: "elm/check/base/toggle";
+ images.image: "inset_shadow_tiny.png" COMP;
+ images.image: "bevel_in.png" COMP;
+ images.image: "bevel_out.png" COMP;
+ images.image: "vgrad_med_lighter.png" COMP;
+ images.image: "shadow_square_tiny.png" COMP;
+ images.image: "glow_small.png" COMP;
+
+#define ICON 1
+#define LABEL 2
+#define MASK 3
+#define DISABLE 4
+ script {
+ public is_rtl;
+ public is_drag;
+ public was_drag;
+
+ public btmode;
+ public eval_mode(m) {
+ new m1 = m & MASK;
+ new d = m & DISABLE;
+ if (m1 == (ICON | LABEL)) {
+ if (!d) {
+ set_state(PART:"elm.swallow.content", "visible", 0.0);
+ set_state(PART:"sizer.content", "visible", 0.0);
+ set_state(PART:"elm.text", "visible", 0.0);
+ set_state(PART:"shadow", "default", 0.0);
+ set_state(PART:"clip", "default", 0.0);
+ set_state(PART:"event", "default", 0.0);
+ set_state(PART:"event2", "default", 0.0);
+ set_state(PART:"elm.ontext", "default", 0.0);
+ set_state(PART:"elm.offtext", "default", 0.0);
+ set_state(PART:"onrect", "default", 0.0);
+ set_state(PART:"offrect", "default", 0.0);
+ } else {
+ set_state(PART:"elm.swallow.content", "visible", 0.0);
+ set_state(PART:"sizer.content", "visible", 0.0);
+ set_state(PART:"elm.text", "disabled_visible", 0.0);
+ set_state(PART:"shadow", "disabled", 0.0);
+ set_state(PART:"clip", "disabled", 0.0);
+ set_state(PART:"event", "disabled", 0.0);
+ set_state(PART:"event2", "disabled", 0.0);
+ set_state(PART:"elm.ontext", "disabled", 0.0);
+ set_state(PART:"elm.offtext", "disabled", 0.0);
+ set_state(PART:"onrect", "disabled", 0.0);
+ set_state(PART:"offrect", "disabled", 0.0);
+ }
+ } else if (m1 == (ICON)) {
+ if (!d) {
+ set_state(PART:"elm.swallow.content", "visible", 0.0);
+ set_state(PART:"sizer.content", "icononly", 0.0);
+ set_state(PART:"elm.text", "default", 0.0);
+ set_state(PART:"shadow", "default", 0.0);
+ set_state(PART:"clip", "default", 0.0);
+ set_state(PART:"event", "default", 0.0);
+ set_state(PART:"event2", "default", 0.0);
+ set_state(PART:"elm.ontext", "default", 0.0);
+ set_state(PART:"elm.offtext", "default", 0.0);
+ set_state(PART:"onrect", "default", 0.0);
+ set_state(PART:"offrect", "default", 0.0);
+ } else {
+ set_state(PART:"elm.swallow.content", "visible", 0.0);
+ set_state(PART:"sizer.content", "icononly", 0.0);
+ set_state(PART:"elm.text", "disabled", 0.0);
+ set_state(PART:"shadow", "disabled", 0.0);
+ set_state(PART:"clip", "disabled", 0.0);
+ set_state(PART:"event", "disabled", 0.0);
+ set_state(PART:"event2", "disabled", 0.0);
+ set_state(PART:"elm.ontext", "disabled", 0.0);
+ set_state(PART:"elm.offtext", "disabled", 0.0);
+ set_state(PART:"onrect", "disabled", 0.0);
+ set_state(PART:"offrect", "disabled", 0.0);
+ }
+ } else if (m1 == (LABEL)) {
+ if (!d) {
+ set_state(PART:"elm.swallow.content", "default", 0.0);
+ set_state(PART:"sizer.content", "default", 0.0);
+ set_state(PART:"elm.text", "visible", 0.0);
+ set_state(PART:"shadow", "default", 0.0);
+ set_state(PART:"clip", "default", 0.0);
+ set_state(PART:"event", "default", 0.0);
+ set_state(PART:"event2", "default", 0.0);
+ set_state(PART:"elm.ontext", "default", 0.0);
+ set_state(PART:"elm.offtext", "default", 0.0);
+ set_state(PART:"onrect", "default", 0.0);
+ set_state(PART:"offrect", "default", 0.0);
+ } else {
+ set_state(PART:"elm.swallow.content", "default", 0.0);
+ set_state(PART:"sizer.content", "default", 0.0);
+ set_state(PART:"elm.text", "disabled_visible", 0.0);
+ set_state(PART:"shadow", "disabled", 0.0);
+ set_state(PART:"clip", "disabled", 0.0);
+ set_state(PART:"event", "disabled", 0.0);
+ set_state(PART:"event2", "disabled", 0.0);
+ set_state(PART:"elm.ontext", "disabled", 0.0);
+ set_state(PART:"elm.offtext", "disabled", 0.0);
+ set_state(PART:"onrect", "disabled", 0.0);
+ set_state(PART:"offrect", "disabled", 0.0);
+ }
+ }
+ }
+ }
+ parts {
+ part { name: "tog"; type: SPACER;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ rel1.relative: 1.0 0.0;
+ rel1.offset: 2 2;
+ rel2.offset: -3 -3;
+ align: 1.0 0.5;
+ min: 88 15;
+ max: 88 15;
+ }
+ }
+ part { name: "onrect"; type: RECT; mouse_events: 0;
+ scale: 1;
+ clip_to: "tog_clip";
+ description { state: "default" 0.0;
+ rel1.to: "button";
+ rel1.relative: -5.0 0.0;
+ rel2.to: "button";
+ rel2.relative: 0.5 1.0;
+ color: 24 24 24 255;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: 64 64 64 255;
+ }
+ }
+ part { name: "offrect"; type: RECT; mouse_events: 0;
+ scale: 1;
+ clip_to: "tog_clip";
+ description { state: "default" 0.0;
+ rel1.to: "button";
+ rel1.relative: 0.5 0.0;
+ rel2.to: "button";
+ rel2.relative: 6.0 1.0;
+ color: 24 24 24 255;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: 64 64 64 255;
+ }
+ }
+ part { name: "elm.offtext"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ clip_to: "tog_clip";
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.to: "button";
+ rel1.relative: 1.0 0.0;
+ rel2.to: "offrect";
+ color: 255 255 255 255;
+ color3: 0 0 0 128;
+ color_class: "check_off_text";
+ text { font: FN; size: 10;
+ min: 0 1;
+ align: 0.5 0.5;
+ text_class: "check_off_text";
+ text: "OFF";
+ }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: 21 21 21 255;
+ color3: 255 255 255 25;
+ }
+ }
+ part { name: "elm.ontext"; type: TEXT; mouse_events: 0;
+ effect: GLOW;
+ scale: 1;
+ clip_to: "tog_clip";
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.to: "onrect";
+ rel1.offset: 2 -1;
+ rel2.to: "button";
+ rel2.relative: 0.0 1.0;
+ rel2.offset: -1 -2;
+ color: 51 153 255 255;
+ color2: 51 153 255 24;
+ color3: 51 153 255 18;
+ color_class: "check_on_text";
+ text { font: FN; size: 10;
+ min: 0 1;
+ align: 0.5 0.5;
+ text_class: "check_on_text";
+ text: "ON";
+ }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: 51 153 255 64;
+ color2: 51 153 255 16;
+ color3: 51 153 255 8;
+ }
+ }
+ part { name: "shadow"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "inset_shadow_tiny.png";
+ image.border: 4 4 4 4;
+ rel1.to: "tog";
+ rel2.to: "tog";
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "inset"; mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.to: "tog";
+ rel1.offset: -1 -1;
+ rel2.to: "tog";
+ rel2.offset: 0 0;
+ image.normal: "bevel_in.png";
+ image.border: 1 1 1 1;
+ image.middle: 0;
+ fill.smooth: 0;
+ }
+ }
+ part { name: "tog_clip"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.to: "tog";
+ rel2.to: "tog";
+ }
+ }
+ part { name: "button"; type: RECT;
+ scale: 1;
+ clip_to: "tog_clip";
+ dragable {
+ x: 1 1 0;
+ y: 0 0 0;
+ confine: "tog";
+ }
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.to: "tog";
+ rel2.to: "tog";
+ min: 15 15;
+ max: 15 99999;
+ color: 255 128 0 128;
+ }
+ }
+ part { name: "shadow_but"; mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.offset: -3 -2;
+ rel1.to: "base_but";
+ rel2.offset: 2 4;
+ rel2.to: "base_but";
+ image.normal: "shadow_square_tiny.png";
+ image.border: 6 6 6 6;
+ fill.smooth: 0;
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ rel1.offset: -2 -2;
+ rel2.offset: 1 1;
+ color: 255 255 255 128;
+ }
+ }
+ part { name: "glow_but"; mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.offset: -3 -3;
+ rel1.to: "base_but";
+ rel2.offset: 2 2;
+ rel2.to: "base_but";
+ image.normal: "glow_small.png";
+ image.border: 7 7 7 7;
+ fill.smooth: 0;
+ visible: 0;
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "base_but"; mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.to: "button";
+ rel2.to: "button";
+ image.normal: "vgrad_med_lighter.png";
+ fill.smooth: 0;
+ TILED_HORIZ(120)
+ }
+ }
+ part { name: "bevel_but"; mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.to: "base_but";
+ rel2.to: "base_but";
+ image.normal: "bevel_out.png";
+ image.border: 1 1 1 1;
+ image.middle: 0;
+ fill.smooth: 0;
+ }
+ }
+ part { name: "button_events"; type: RECT;
+ dragable.events: "button";
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "clip"; type: RECT;
+ description { state: "default" 0.0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 64;
+ }
+ }
+ part { name: "elm.swallow.content"; type: SWALLOW;
+ scale: 1;
+ clip_to: "clip";
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ visible: 0;
+ align: 0.0 0.5;
+ max: 0 0;
+ rel1.offset: 1 1;
+ rel2.offset: 1 -2;
+ rel2.relative: 0.0 1.0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ fixed: 0 0;
+ visible: 1;
+ aspect: 1.0 1.0; aspect_preference: VERTICAL;
+ min: 16 16;
+ }
+ }
+ part { name: "sizer.content"; type: TEXT; mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ visible: 0;
+ text { font: FN; size: 10;
+ min: 0 0;
+ text_class: "check_text";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ rel1.to: "elm.swallow.content";
+ rel2.to: "elm.swallow.content";
+ text {
+ min: 1 1;
+ text: "M";
+ }
+ }
+ description { state: "icononly" 0.0;
+ inherit: "default" 0.0;
+ rel1.to: "elm.swallow.content";
+ rel2.to: "elm.swallow.content";
+ text {
+ min: 1 1;
+ text: "M";
+ }
+ }
+ }
+ part { name: "elm.text"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to_x: "elm.swallow.content";
+ rel1.relative: 1.0 0.0;
+ rel1.offset: 2 2;
+ rel2.to_x: "tog";
+ rel2.relative: 0.0 1.0;
+ rel2.offset: -5 -3;
+ color: 255 255 255 255;
+ color3: 0 0 0 128;
+ color_class: "check_text";
+ text { font: FN; size: 10;
+ min: 0 0;
+ align: 0.0 0.5;
+ text_class: "check";
+ }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: 21 21 21 255;
+ color3: 255 255 255 25;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ text.min: 1 1;
+ }
+ description { state: "disabled_visible" 0.0;
+ inherit: "default" 0.0;
+ color: 21 21 21 255;
+ color3: 255 255 255 25;
+ visible: 1;
+ text.min: 1 1;
+ }
+ }
+ part { name: "event"; type: RECT;
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ rel1.to_x: "elm.swallow.content";
+ rel2.to_x: "elm.text";
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "event2"; type: RECT;
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ program {
+ signal: "mouse,clicked,1"; source: "event";
+ action: SIGNAL_EMIT "elm,action,check,toggle" "elm";
+ }
+ program {
+ signal: "elm,state,check,on"; source: "elm";
+ script {
+ new Float:drag;
+ if (get_int(is_rtl) == 0) {
+ drag = 100.0;
+ } else {
+ drag = 0.0;
+ }
+ set_drag(PART:"button", drag, 0.0);
+ }
+ }
+ program {
+ signal: "elm,state,check,off"; source: "elm";
+ script {
+ new Float:drag;
+ if (get_int(is_rtl) == 0) {
+ drag = 0.0;
+ } else {
+ drag = 100.0;
+ }
+ set_drag(PART:"button", drag, 0.0);
+ }
+ }
+ program {
+ signal: "mouse,clicked,1"; source: "button";
+ script {
+ new Float:dx, Float:dy;
+ get_drag(PART:"button", dx, dy);
+ if (!get_int(was_drag)) {
+ if (dx > 0.5) {
+ set_drag(PART:"button", 0.0, 0.0);
+ } else {
+ set_drag(PART:"button", 1.0, 0.0);
+ }
+ if (((get_int(is_rtl) == 1) && (dx <= 0.5)) ||
+ (get_int(is_rtl) == 0) && (dx > 0.5)) {
+ emit("elm,action,check,off", "");
+ } else {
+ emit("elm,action,check,on", "");
+ }
+ }
+ }
+ }
+ program {
+ signal: "drag"; source: "button";
+ script {
+ set_int(is_drag, 1);
+ }
+ }
+ program {
+ signal: "mouse,down,1"; source: "button";
+ script {
+ set_int(was_drag, 0);
+ set_int(is_drag, 0);
+ }
+ }
+ program { name: "drag_end";
+ signal: "mouse,up,1"; source: "button";
+ script {
+ new Float:dx, Float:dy;
+ get_drag(PART:"button", dx, dy);
+ if (get_int(is_drag)) {
+ if (dx > 0.5) {
+ set_drag(PART:"button", 1.0, 0.0);
+ } else {
+ set_drag(PART:"button", 0.0, 0.0);
+ }
+ if (((get_int(is_rtl) == 1) && (dx <= 0.5)) ||
+ (get_int(is_rtl) == 0) && (dx > 0.5)) {
+ emit("elm,action,check,on", "");
+ } else {
+ emit("elm,action,check,off", "");
+ }
+ set_int(was_drag, 1);
+ set_int(is_drag, 0);
+ }
+ }
+ }
+ program {
+ signal: "mouse,down,1"; source: "button";
+ action: STATE_SET "clicked" 0.0;
+ target: "shadow_but";
+ target: "glow_but";
+ }
+ program {
+ signal: "mouse,up,1"; source: "button";
+ action: STATE_SET "default" 0.0;
+ target: "shadow_but";
+ target: "glow_but";
+ }
+ program {
+ signal: "elm,state,text,visible"; source: "elm";
+ script {
+ new m = get_int(btmode);
+ m |= LABEL; set_int(btmode, m);
+ eval_mode(m);
+ }
+ }
+ program {
+ signal: "elm,state,text,hidden"; source: "elm";
+ script {
+ new m = get_int(btmode);
+ m &= ~LABEL; set_int(btmode, m);
+ eval_mode(m);
+ }
+ }
+ program {
+ signal: "elm,state,icon,visible"; source: "elm";
+ script {
+ new m = get_int(btmode);
+ m |= ICON; set_int(btmode, m);
+ eval_mode(m);
+ }
+ }
+ program {
+ signal: "elm,state,icon,hidden"; source: "elm";
+ script {
+ new m = get_int(btmode);
+ m &= ~ICON; set_int(btmode, m);
+ eval_mode(m);
+ }
+ }
+ program {
+ signal: "elm,state,disabled"; source: "elm";
+ script {
+ new m = get_int(btmode);
+ m |= DISABLE; set_int(btmode, m);
+ eval_mode(m);
+ }
+ }
+ program {
+ signal: "elm,state,enabled"; source: "elm";
+ script {
+ new m = get_int(btmode);
+ m &= ~DISABLE; set_int(btmode, m);
+ eval_mode(m);
+ }
+ }
+ program {
+ signal: "edje,state,rtl"; source: "edje";
+ script {
+ set_int(is_rtl, 1);
+ }
+ }
+ program {
+ signal: "edje,state,ltr"; source: "edje";
+ script {
+ set_int(is_rtl, 0);
+ }
+ }
+ }
+#undef ICON
+#undef LABEL
+#undef MASK
+#undef DISABLE
+}
diff --git a/data/themes/edc/elm/clock.edc b/data/themes/edc/elm/clock.edc
new file mode 100644
index 000000000..60d8c3866
--- /dev/null
+++ b/data/themes/edc/elm/clock.edc
@@ -0,0 +1,397 @@
+group { name: "elm/clock/flipdigit/default";
+ images.image: "digit_na.png" COMP;
+ images.image: "digit_0.png" COMP;
+ images.image: "digit_1.png" COMP;
+ images.image: "digit_2.png" COMP;
+ images.image: "digit_3.png" COMP;
+ images.image: "digit_4.png" COMP;
+ images.image: "digit_5.png" COMP;
+ images.image: "digit_6.png" COMP;
+ images.image: "digit_7.png" COMP;
+ images.image: "digit_8.png" COMP;
+ images.image: "digit_9.png" COMP;
+ images.image: "icon_arrow_up.png" COMP;
+ images.image: "icon_arrow_down.png" COMP;
+ script {
+ public v0_cur, v0_lock, v0_next;
+
+ public animator1(val, Float:pos) {
+ new v;
+ set_int(v0_lock, 0);
+ v = get_int(v0_next);
+ if (v >= 0) {
+ set_int(v0_next, -1);
+ message(MSG_INT, 1, v);
+ }
+ }
+ public message(Msg_Type:type, id, ...) {
+ if ((type == MSG_INT) && (id == 1)) {
+ new value, buf[11];
+
+ value = getarg(2);
+ if (get_int(v0_lock) == 1) {
+ set_int(v0_next, value);
+ return;
+ }
+ set_int(v0_cur, value);
+ set_int(v0_lock, 1);
+ snprintf(buf, 10, "%i", get_int(v0_cur));
+ set_state(PART:"digit", buf, 0.0);
+ anim(1.0, "animator1", 1);
+ }
+ }
+ }
+ parts {
+ part { name: "digit_bg";
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "digit";
+ rel2.to: "digit";
+ image.normal: "digit_na.png";
+ color: 255 255 255 128;
+ }
+ }
+ part { name: "b";
+ type: RECT;
+ scale: 1;
+ mouse_events: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ rel1.relative: 0.0 0.5;
+ color: 0 0 0 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "t";
+ type: RECT;
+ scale: 1;
+ mouse_events: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ rel2.relative: 1.0 0.5;
+ color: 0 0 0 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "digit";
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to_y: "atop";
+ rel1.relative: 0.0 1.0;
+ rel2.to_y: "abot";
+ rel2.relative: 1.0 0.0;
+ aspect: (52/72) (52/72); aspect_preference: BOTH;
+ image.normal: "digit_0.png";
+ }
+#define DIGIT_DESC(_DIGIT) \
+ description { state: _DIGIT 0.0; \
+ inherit: "default" 0.0; \
+ image.normal: "digit_"_DIGIT".png"; \
+ }
+ DIGIT_DESC("0")
+ DIGIT_DESC("1")
+ DIGIT_DESC("2")
+ DIGIT_DESC("3")
+ DIGIT_DESC("4")
+ DIGIT_DESC("5")
+ DIGIT_DESC("6")
+ DIGIT_DESC("7")
+ DIGIT_DESC("8")
+ DIGIT_DESC("9")
+ }
+#undef DIGIT_DESC
+ part { name: "atop";
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 1.0 0.2;
+ align: 0.5 0.0;
+ aspect: 1 1; aspect_preference: BOTH;
+ image.normal: "icon_arrow_up.png";
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "abot";
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ rel1.relative: 0.0 0.8;
+ rel2.relative: 1.0 1.0;
+ align: 0.5 0.0;
+ aspect: 1 1; aspect_preference: BOTH;
+ image.normal: "icon_arrow_down.png";
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "access.t";
+ type: RECT;
+ description { state: "default" 0.0;
+ rel1.to: "t";
+ rel2.to: "t";
+ color: 0 0 0 0;
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "access.b";
+ type: RECT;
+ description { state: "default" 0.0;
+ rel1.to: "b";
+ rel2.to: "b";
+ color: 0 0 0 0;
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ program { name: "load";
+ signal: "load";
+ source: "";
+ script {
+ set_int(v0_cur, 0);
+ set_int(v0_lock, 0);
+ set_int(v0_next, -1);
+ }
+ }
+ program { name: "edit_on";
+ signal: "elm,state,edit,on";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "atop";
+ target: "abot";
+ target: "t";
+ target: "b";
+ }
+ program { name: "edit_off";
+ signal: "elm,state,edit,off";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "atop";
+ target: "abot";
+ target: "t";
+ target: "b";
+ }
+ program { name: "up";
+ signal: "mouse,down,1";
+ source: "t";
+ action: SIGNAL_EMIT "elm,action,up,start" "elm";
+ }
+ program { name: "up,stop";
+ signal: "mouse,up,1";
+ source: "t";
+ action: SIGNAL_EMIT "elm,action,up,stop" "elm";
+ }
+ program { name: "down";
+ signal: "mouse,down,1";
+ source: "b";
+ action: SIGNAL_EMIT "elm,action,down,start" "elm";
+ }
+ program { name: "down,stop";
+ signal: "mouse,up,1";
+ source: "b";
+ action: SIGNAL_EMIT "elm,action,down,stop" "elm";
+ }
+ program { name: "access_edit_on";
+ signal: "elm,state,access,edit,on";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "access.t";
+ target: "access.b";
+ }
+ program { name: "access_edit_off";
+ signal: "elm,state,access,edit,off";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "access.t";
+ target: "access.b";
+ }
+ program { name: "access,up";
+ signal: "mouse,down,1";
+ source: "access.t";
+ action: SIGNAL_EMIT "elm,action,up,start" "elm";
+ }
+ program { name: "access,up,stop";
+ signal: "mouse,up,1";
+ source: "access.t";
+ action: SIGNAL_EMIT "elm,action,up,stop" "elm";
+ }
+ program { name: "access,down";
+ signal: "mouse,down,1";
+ source: "access.b";
+ action: SIGNAL_EMIT "elm,action,down,start" "elm";
+ }
+ program { name: "access,down,stop";
+ signal: "mouse,up,1";
+ source: "access.b";
+ action: SIGNAL_EMIT "elm,action,down,stop" "elm";
+ }
+ }
+}
+
+
+group { name: "elm/clock/flipampm/default";
+ inherit: "elm/clock/flipdigit/default";
+ images.image: "digit_nm.png" COMP;
+ images.image: "digit_am.png" COMP;
+ images.image: "digit_pm.png" COMP;
+ parts {
+ part { name: "digit_bg";
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "digit";
+ rel2.to: "digit";
+ image.normal: "digit_nm.png";
+ color: 255 255 255 128;
+ }
+ }
+ part { name: "digit";
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ aspect: (48/31) (48/31); aspect_preference: BOTH;
+ image.normal: "digit_am.png";
+ }
+#define DIGIT_DESC(_DIGIT, _AMPM) \
+ description { state: _DIGIT 0.0; \
+ inherit: "default" 0.0; \
+ image.normal: "digit_"_AMPM".png"; \
+ }
+ DIGIT_DESC("0", "am")
+ DIGIT_DESC("1", "pm")
+ }
+#undef DIGIT_DESC
+ }
+}
+
+#define SWALLOW_PART(_NAME, _R1X, _R1Y, _R2X, _R2Y) \
+ part { name: _NAME; \
+ type: SWALLOW; \
+ description { state: "default" 0.0; \
+ rel1.relative: _R1X _R1Y; \
+ rel2.relative: _R2X _R2Y; \
+ } \
+ }
+
+#define HOLE_PART(_NAME, _R1X, _R1Y, _R2X, _R2Y, _AX, _AY, _OX, _OY, _W, _H) \
+ part { name: _NAME; \
+ mouse_events: 0; \
+ description { state: "default" 0.0; \
+ rel1.relative: _R1X _R1Y; \
+ rel1.offset: _OX _OY; \
+ rel2.relative: _R2X _R2Y; \
+ rel2.offset: _OX _OY; \
+ align: _AX _AY; \
+ min: _W _H; \
+ max: _W _H; \
+ fixed: 1 1; \
+ image.normal: "hole_tiny.png"; \
+ } \
+ }
+
+group { name: "elm/clock/base-all/default";
+ images.image: "hole_tiny.png" COMP;
+ parts {
+ SWALLOW_PART("d0", 0.0, 0.0, 0.125, 1.0)
+ SWALLOW_PART("d1", 0.125, 0.0, 0.25, 1.0)
+ HOLE_PART("c0t", 0.25, 0.5, 0.3125, 0.5, 0.5, 1.0, 0, -2, 4, 4)
+ HOLE_PART("c0b", 0.25, 0.5, 0.3125, 0.5, 0.5, 0.0, 0, 1, 4, 4)
+ SWALLOW_PART("d2", 0.3125, 0.0, 0.4375, 1.0)
+ SWALLOW_PART("d3", 0.4375, 0.0, 0.5625, 1.0)
+ HOLE_PART("c1t", 0.5625, 0.5, 0.625, 0.5, 0.5, 1.0, 0, -2, 4, 4)
+ HOLE_PART("c1b", 0.5625, 0.5, 0.625, 0.5, 0.5, 0.0, 0, 1, 4, 4)
+ SWALLOW_PART("d4", 0.625, 0.0, 0.75, 1.0)
+ SWALLOW_PART("d5", 0.75, 0.0, 0.875, 1.0)
+ SWALLOW_PART("ampm", 0.875, 0.0, 1.0, 1.0)
+ }
+}
+
+group { name: "elm/clock/base-seconds/default";
+ parts {
+ SWALLOW_PART("d0", 0.0, 0.0, 0.142857143, 1.0)
+ SWALLOW_PART("d1", 0.142857143, 0.0, 0.285714286, 1.0)
+ HOLE_PART("c0t", 0.285714286, 0.5, 0.357142857, 0.5, 0.5, 1.0, 0, -2, 4, 4)
+ HOLE_PART("c0b", 0.285714286, 0.5, 0.357142857, 0.5, 0.5, 0.0, 0, 1, 4, 4)
+ SWALLOW_PART("d2", 0.357142857, 0.0, 0.5, 1.0)
+ SWALLOW_PART("d3", 0.5, 0.0, 0.642857143, 1.0)
+ HOLE_PART("c1t", 0.642857143, 0.5, 0.714285714, 0.5, 0.5, 1.0, 0, -2, 4, 4)
+ HOLE_PART("c1b", 0.642857143, 0.5, 0.714285714, 0.5, 0.5, 0.0, 0, 1, 4, 4)
+ SWALLOW_PART("d4", 0.714285714, 0.0, 0.857142857, 1.0)
+ SWALLOW_PART("d5", 0.857142857, 0.0, 1.0, 1.0)
+ }
+}
+
+///////////////////////////////////////////////////////////////////////////////
+group { name: "elm/clock/base-am_pm/default";
+ parts {
+ SWALLOW_PART("d0", 0.0, 0.0, 0.181818182, 1.0)
+ SWALLOW_PART("d1", 0.181818182, 0.0, 0.363636364, 1.0)
+ HOLE_PART("c0t", 0.363636364, 0.5, 0.454545455, 0.5, 0.5, 1.0, 0, -2, 4, 4)
+ HOLE_PART("c0b", 0.363636364, 0.5, 0.454545455, 0.5, 0.5, 0.0, 0, 1, 4, 4)
+ SWALLOW_PART("d2", 0.454545455, 0.0, 0.636363636, 1.0)
+ SWALLOW_PART("d3", 0.636363636, 0.0, 0.818181818, 1.0)
+ SWALLOW_PART("ampm", 0.818181818, 0.0, 1.0, 1.0)
+ }
+}
+
+///////////////////////////////////////////////////////////////////////////////
+group { name: "elm/clock/base/default";
+ parts {
+ part { name: "base";
+ type: RECT;
+ scale : 1;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ SWALLOW_PART("d0", 0.0, 0.0, 0.222222222, 1.0)
+ SWALLOW_PART("d1", 0.222222222, 0.0, 0.444444444, 1.0)
+ HOLE_PART("c0t", 0.444444444, 0.5, 0.555555556, 0.5, 0.5, 1.0, 0, -2, 4, 4)
+ HOLE_PART("c0b", 0.444444444, 0.5, 0.555555556, 0.5, 0.5, 0.0, 0, 1, 4, 4)
+ SWALLOW_PART("d2", 0.555555556, 0.0, 0.777777778, 1.0)
+ SWALLOW_PART("d3", 0.777777778, 0.0, 1.0, 1.0)
+ }
+ programs {
+ program { name: "access_on";
+ signal: "elm,state,access,on";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "base";
+ }
+ program { name: "access_off";
+ signal: "elm,state,access,off";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ }
+ }
+}
+#undef SWALLOW_PART
+#undef HOLE_PART
diff --git a/data/themes/edc/elm/colorsel.edc b/data/themes/edc/elm/colorsel.edc
new file mode 100644
index 000000000..e8721bae2
--- /dev/null
+++ b/data/themes/edc/elm/colorsel.edc
@@ -0,0 +1,629 @@
+group { name: "elm/colorselector/palette/default";
+ data.item: "horizontal_pad" 0;
+ data.item: "vertical_pad" 0;
+ images.image: "bevel_dark_in.png" COMP;
+ parts {
+ part { name: "elm.picker"; type: SWALLOW;
+ description { state: "default" 0.0;
+ fixed: 0 1;
+ align: 0.5 0.0;
+ rel2.relative: 1.0 0.0;
+ }
+ }
+ part { name: "sep1";
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.to_y: "elm.picker";
+ rel1.offset: 4 4;
+ rel1.relative: 0.0 1.0;
+ rel2.to_y: "elm.picker";
+ rel2.offset: -5 5;
+ min: 2 2;
+ max: 99999 2;
+ image.normal: "bevel_dark_in.png";
+ image.border: 2 2 2 2;
+ fill.smooth: 0;
+ }
+ description { state: "off" 0.0;
+ inherit: "default" 0.0;
+ rel1.offset: 4 -2;
+ rel2.offset: -5 -1;
+ visible: 0;
+ }
+ }
+ part { name: "elm.palette"; type: SWALLOW;
+ description { state: "default" 0.0;
+ align: 0.5 0.0;
+ rel1.to_y: "sep1";
+ rel1.relative: 0.0 1.0;
+ rel1.offset: 0 4;
+ rel2.to_y: "sep2";
+ rel2.relative: 1.0 0.0;
+ rel2.offset: -1 -5;
+ }
+ description { state: "off" 0.0;
+ inherit: "default" 0.0;
+ rel1.offset: 0 0;
+ rel2.offset: -1 -1;
+ }
+ }
+ part { name: "sep2";
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.to_y: "elm.selector";
+ rel1.offset: 4 -6;
+ rel2.to_y: "elm.selector";
+ rel2.offset: -5 -5;
+ rel2.relative: 1.0 0.0;
+ min: 2 2;
+ max: 99999 2;
+ image.normal: "bevel_dark_in.png";
+ image.border: 2 2 2 2;
+ fill.smooth: 0;
+ }
+ description { state: "off" 0.0;
+ inherit: "default" 0.0;
+ rel1.offset: 4 0;
+ rel2.offset: -5 1;
+ visible: 0;
+ }
+ }
+ part { name: "elm.selector"; type: SWALLOW;
+ description { state: "default" 0.0;
+ fixed: 0 1;
+ align: 0.0 1.0;
+ rel1.relative: 0.0 1.0;
+ }
+ }
+ }
+ programs {
+ program {
+ source: "elm"; signal: "elm,state,palette";
+ action: STATE_SET "off" 0.0;
+ target: "sep1";
+ target: "sep2";
+ }
+ program {
+ source: "elm"; signal: "elm,state,palette";
+ action: STATE_SET "default" 0.0;
+ target: "elm.palette";
+ }
+
+ program {
+ source: "elm"; signal: "elm,state,components";
+ action: STATE_SET "off" 0.0;
+ target: "sep1";
+ target: "sep2";
+ target: "elm.palette";
+ }
+
+ program {
+ source: "elm"; signal: "elm,state,both";
+ action: STATE_SET "off" 0.0;
+ target: "sep1";
+ }
+ program {
+ source: "elm"; signal: "elm,state,both";
+ action: STATE_SET "default" 0.0;
+ target: "elm.palette";
+ target: "sep2";
+ }
+
+ program {
+ source: "elm"; signal: "elm,state,picker";
+ action: STATE_SET "off" 0.0;
+ target: "sep1";
+ target: "sep2";
+ target: "elm.palette";
+ }
+
+ program {
+ source: "elm"; signal: "elm,state,all";
+ action: STATE_SET "default" 0.0;
+ target: "sep1";
+ target: "sep2";
+ target: "elm.palette";
+ }
+ }
+}
+
+group { name: "elm/colorselector/picker/default";
+ images.image: "inset_shadow.png" COMP;
+ images.image: "bevel_in.png" COMP;
+ images.image: "dot_pattern.png" COMP;
+ parts {
+ part { name: "bg"; type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 20 20;
+ rel1.to: "elm.picker";
+ rel2.to: "elm.picker";
+ color: 48 48 48 255;
+ }
+ }
+ part { name: "pat";
+ description { state: "default" 0.0;
+ rel1.to: "bg";
+ rel2.to: "bg";
+ image.normal: "dot_pattern.png";
+ TILED_PATTERN(256, 256)
+ }
+ }
+ part { name: "clipper"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.to: "elm.picker";
+ rel2.to: "elm.picker";
+ }
+ }
+ part { name: "elm.picker"; type: SWALLOW;
+ clip_to: "clipper";
+ description { state: "default" 0.0;
+ rel1.offset: 3 3;
+ rel2.offset: -4 -4;
+ }
+ }
+ part { name: "shadow"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "inset_shadow.png";
+ image.border: 5 5 7 3;
+ image.middle: 0;
+ rel1.to: "bg";
+ rel2.to: "bg";
+ fill.smooth: 0;
+ color: 255 255 255 128;
+ }
+ }
+ part { name: "inset"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "bevel_in.png";
+ image.border: 1 1 1 1;
+ image.middle: 0;
+ rel1.to: "bg";
+ rel1.offset: -1 -1;
+ rel2.to: "bg";
+ rel2.offset: 0 0;
+ fill.smooth: 0;
+ }
+ }
+ }
+}
+
+group { name: "elm/colorselector/bg/default";
+ parts {
+ part { name: "elm.colorbar_0"; type: SWALLOW;
+ description { state: "default" 0.0;
+ rel2.relative: 1.0 0.0;
+ align: 0.5 0.0;
+ fixed: 0 1;
+ }
+ }
+ part { name: "elm.colorbar_1"; type: SWALLOW;
+ description { state: "default" 0.0;
+ rel1.to_y: "elm.colorbar_0";
+ rel1.relative: 0.0 1.0;
+ rel2.to_y: "elm.colorbar_0";
+ rel2.relative: 1.0 1.0;
+ align: 0.5 0.0;
+ fixed: 0 1;
+ }
+ }
+ part { name: "elm.colorbar_2"; type: SWALLOW;
+ description { state: "default" 0.0;
+ rel1.to_y: "elm.colorbar_1";
+ rel1.relative: 0.0 1.0;
+ rel2.to_y: "elm.colorbar_1";
+ rel2.relative: 1.0 1.0;
+ align: 0.5 0.0;
+ fixed: 0 1;
+ }
+ }
+ part { name: "elm.colorbar_3"; type: SWALLOW;
+ description { state: "default" 0.0;
+ rel1.to_y: "elm.colorbar_2";
+ rel1.relative: 0.0 1.0;
+ align: 0.5 0.0;
+ }
+ }
+ }
+}
+
+group { name: "elm/colorselector/base/default";
+ images.image: "inset_shadow.png" COMP;
+ images.image: "bevel_in.png" COMP;
+ images.image: "ring_shadow.png" COMP;
+ images.image: "ring_white_blue_glow.png" COMP;
+ images.image: "col_sel_end_bottom.png" COMP;
+ images.image: "col_sel_end_top.png" COMP;
+ parts {
+ part { name: "elm.bar_bg"; type: SWALLOW; mouse_events: 0;
+ description { state: "default" 0.0;
+ min: 32 15;
+ rel1.offset: 0 10;
+ rel1.to_x: "elm.arrow_bg";
+ rel2.offset: -1 -11;
+ rel2.to_x: "elm.arrow_bg";
+ }
+ }
+ part { name: "elm.bar"; type: SWALLOW; mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.to: "elm.bar_bg";
+ rel2.to: "elm.bar_bg";
+ }
+ }
+ part { name: "clipper"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.to: "shadow";
+ rel2.to: "shadow";
+ }
+ }
+ part { name: "shadow"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "inset_shadow.png";
+ image.border: 5 5 7 3;
+ image.middle: 0;
+ rel1.to: "elm.bar_bg";
+ rel2.to: "elm.bar_bg";
+ fill.smooth: 0;
+ color: 255 255 255 128;
+ }
+ }
+ part { name: "inset"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "bevel_in.png";
+ image.border: 1 1 1 1;
+ image.middle: 0;
+ rel1.to: "shadow";
+ rel1.offset: -1 -1;
+ rel2.to: "shadow";
+ rel2.offset: 0 0;
+ fill.smooth: 0;
+ }
+ }
+ part { name: "elm.arrow_bg"; type: SWALLOW;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 1.0 0.0;
+ offset: 3 0;
+ to_x: "elm.l_button";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ offset: -4 0;
+ to_x: "elm.r_button";
+ }
+ }
+ }
+ part { name: "elm.arrow"; type: RECT;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ min: 1 1;
+ rel1.to_x: "elm.arrow_bg";
+ rel2.to_x: "elm.arrow_bg";
+ visible: 0;
+ }
+ dragable {
+ confine: "elm.arrow_bg";
+ x: 1 1 0;
+ y: 0 0 0;
+ }
+ }
+ part { name: "event"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.to: "elm.arrow_icon";
+ rel2.to_x: "elm.arrow_icon";
+ rel2.to_y: "elm.arrow_bg";
+ color: 0 0 0 0;
+ }
+ dragable.events: "elm.arrow";
+ }
+ part { name: "arrow_under"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "ring_shadow.png";
+ rel1.to: "elm.arrow_icon";
+ rel2.to: "elm.arrow_icon";
+ }
+ }
+ part { name: "elm.arrow_icon"; type: SWALLOW; mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ min: 16 16;
+ max: 16 16;
+ align: 0.5 (28/32);
+ rel1.to_x: "elm.arrow";
+ rel1.to_y: "shadow";
+ rel2.relative: 1.0 0.0;
+ rel2.to_x: "elm.arrow";
+ rel2.to_y: "shadow";
+ }
+ }
+ part { name: "end1"; mouse_events: 0;
+ clip_to: "clipper";
+ description { state: "default" 0.0;
+ image.normal: "col_sel_end_top.png";
+ FIXED_SIZE(11, 8)
+ align: 0.5 0.0;
+ rel1.to_x: "cursor";
+ rel2.to_x: "cursor";
+ rel1.to_y: "shadow";
+ rel2.to_y: "shadow";
+ }
+ }
+ part { name: "end2"; mouse_events: 0;
+ clip_to: "clipper";
+ description { state: "default" 0.0;
+ image.normal: "col_sel_end_bottom.png";
+ FIXED_SIZE(11, 8)
+ align: 0.5 1.0;
+ rel1.to_x: "cursor";
+ rel2.to_x: "cursor";
+ rel1.to_y: "shadow";
+ rel2.to_y: "shadow";
+ }
+ }
+ part { name: "arrow_over"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "ring_white_blue_glow.png";
+ rel1.to: "elm.arrow_icon";
+ rel2.to: "elm.arrow_icon";
+ }
+ }
+ part { name: "cursor"; type: RECT;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ min: 1 1;
+ rel1.to_x: "elm.arrow_icon";
+ rel1.to_y: "shadow";
+ rel1.relative: 0.5 0.0;
+ rel2.to_x: "elm.arrow_icon";
+ rel2.to_y: "shadow";
+ rel2.relative: 0.5 1.0;
+ rel2.offset: 0 -1;
+ color: 255 255 255 255;
+ }
+ dragable.events: "elm.arrow";
+ }
+ part { name: "elm.arrow_bg_access"; type: RECT;
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ rel1.to: "elm.arrow_bg";
+ rel2.to: "elm.arrow_bg";
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "elm.l_button"; type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ min: 17 17;
+ rel1.relative: 0.0 0.0;
+ rel1.to_y: "elm.bar_bg";
+ rel2.relative: 0.0 1.0;
+ rel2.to_y: "elm.bar_bg";
+ align: 0.0 0.5;
+ }
+ }
+ part { name: "elm.r_button"; type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ min: 17 17;
+ rel1.relative: 1.0 0.0;
+ rel1.to_y: "elm.bar_bg";
+ rel2.relative: 1.0 1.0;
+ rel2.to_y: "elm.bar_bg";
+ align: 1.0 0.5;
+ }
+ }
+ }
+}
+
+group { name: "elm/colorselector/arrow/default";
+ images.image: "ring_white_middle.png" COMP;
+ parts {
+ part { name: "base";
+ description { state: "default" 0.0;
+ aspect: 1.0 1.0; aspect_preference: BOTH;
+ image.normal: "ring_white_middle.png";
+ }
+ }
+ }
+}
+
+group{ name: "elm/colorselector/image/colorbar_0/default";
+ images {
+ image: "color_picker_color.png" COMP;
+ }
+ parts {
+ part { name: "colorbar_0_image";
+ type: IMAGE;
+ description { state: "default" 0.0;
+ rel2.offset: -1 -1;
+ image.normal: "color_picker_color.png";
+ }
+ }
+ }
+}
+
+group { name: "elm/colorselector/image/colorbar_1/default";
+ images.image: "color_picker_opacity.png" COMP;
+ parts {
+ part { name: "colorbar_1_image";
+ description { state: "default" 0.0;
+ image.normal: "color_picker_opacity.png";
+ }
+ }
+ }
+}
+
+group { name: "elm/colorselector/image/colorbar_2/default";
+ images.image: "color_picker_brightness.png" COMP;
+ parts {
+ part { name: "colorbar_2_image";
+ description { state: "default" 0.0;
+ image.normal: "color_picker_brightness.png";
+ }
+ }
+ }
+}
+
+group { name: "elm/colorselector/image/colorbar_3/default";
+ images.image: "color_picker_alpha.png" COMP;
+ parts {
+ part { name: "colorbar_3_image";
+ description { state: "default" 0.0;
+ image.normal: "color_picker_alpha.png";
+ }
+ }
+ }
+}
+
+group { name: "elm/colorselector/bg_image/colorbar_3/default";
+ images.image: "dot_pattern.png" COMP;
+ parts {
+ part { name: "bg"; type: RECT;
+ description { state: "default" 0.0;
+ color: 48 48 48 255;
+ }
+ }
+ part { name: "pat";
+ description { state: "default" 0.0;
+ rel1.to: "bg";
+ rel2.to: "bg";
+ image.normal: "dot_pattern.png";
+ TILED_PATTERN(256, 256)
+ }
+ }
+ }
+}
+
+group { name: "elm/colorselector/item/default";
+ images.image: "inset_shadow.png" COMP;
+ images.image: "bevel_in.png" COMP;
+ images.image: "dot_pattern.png" COMP;
+ images.image: "bg_glow_in.png" COMP;
+ parts {
+ part { name: "bg"; type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 20 20;
+ rel1.to: "color_obj";
+ rel2.to: "color_obj";
+ color: 48 48 48 255;
+ }
+ }
+ part { name: "pat";
+ description { state: "default" 0.0;
+ rel1.to: "bg";
+ rel2.to: "bg";
+ image.normal: "dot_pattern.png";
+ TILED_PATTERN(256, 256)
+ }
+ }
+ part { name: "clipper"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.to: "color_obj";
+ rel2.to: "color_obj";
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 64;
+ }
+ }
+ part { name: "color_obj"; type: SWALLOW;
+ clip_to: "clipper";
+ description { state: "default" 0.0;
+ rel1.offset: 3 3;
+ rel2.offset: -4 -4;
+ }
+ }
+ part { name: "shadow"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "inset_shadow.png";
+ image.border: 5 5 7 3;
+ image.middle: 0;
+ rel1.to: "bg";
+ rel2.to: "bg";
+ fill.smooth: 0;
+ color: 255 255 255 128;
+ }
+ }
+ part { name: "dim"; type: RECT; mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.to: "bg";
+ rel2.to: "bg";
+ color: 0 0 0 0;
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ color: 0 0 0 128;
+ }
+ }
+ part { name: "glow"; mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.to: "bg";
+ rel2.to: "bg";
+ image.normal: "bg_glow_in.png";
+ image.border: 7 7 7 7;
+ image.middle: 0;
+ fill.smooth: 0;
+ color: 255 255 255 0;
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 255;
+ }
+ }
+ part { name: "inset"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "bevel_in.png";
+ image.border: 1 1 1 1;
+ image.middle: 0;
+ rel1.to: "bg";
+ rel1.offset: -1 -1;
+ rel2.to: "bg";
+ rel2.offset: 0 0;
+ fill.smooth: 0;
+ }
+ }
+ }
+ programs {
+ program {
+ source: "elm"; signal: "elm,state,selected";
+ action: STATE_SET "focused" 0.0;
+ transition: DECELERATE 0.1;
+ target: "glow";
+ target: "dim";
+ }
+ program {
+ source: "elm"; signal: "elm,state,unselected";
+ action: STATE_SET "default" 0.0;
+ transition: DECELERATE 0.5;
+ target: "glow";
+ target: "dim";
+ }
+ program {
+ signal: "elm,anim,activate"; source: "elm";
+ action: STATE_SET "focused" 0.0;
+ transition: DECELERATE 0.1;
+ target: "glow";
+ target: "dim";
+ after: "active2";
+ }
+ program { name: "active2";
+ action: STATE_SET "default" 0.0;
+ transition: DECELERATE 0.8;
+ target: "glow";
+ target: "dim";
+ }
+ }
+}
+
+group { name: "elm/colorselector/item/color/default";
+ parts {
+ part { name: "color_rect"; type: RECT;
+ description{ state: "default" 0.0;
+ }
+ }
+ }
+}
diff --git a/data/themes/edc/elm/conform.edc b/data/themes/edc/elm/conform.edc
new file mode 100644
index 000000000..373d41d83
--- /dev/null
+++ b/data/themes/edc/elm/conform.edc
@@ -0,0 +1,53 @@
+group { name: "elm/conformant/base/default";
+ parts {
+ part { name: "elm.swallow.indicator";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ fixed: 0 1;
+ align: 0.0 0.0;
+ rel2.relative: 1.0 0.0;
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ fixed: 0 1;
+ align: 0.5 0.5;
+ rel1.relative: 0.0 1.0;
+ rel1.to_y: "elm.swallow.indicator";
+ rel2.relative: 1.0 0.0;
+ rel2.to_y: "elm.swallow.clipboard";
+ }
+ }
+ part { name: "elm.swallow.clipboard";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ fixed: 0 1;
+ align: 0.0 1.0;
+ rel1.relative: 0.0 0.0;
+ rel1.to_y: "elm.swallow.virtualkeypad";
+ rel2.relative: 1.0 0.0;
+ rel2.to_y: "elm.swallow.virtualkeypad";
+ }
+ }
+ part { name: "elm.swallow.virtualkeypad";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ fixed: 0 1;
+ align: 0.0 1.0;
+ rel1.relative: 0.0 0.0;
+ rel1.to_y: "elm.swallow.softkey";
+ rel2.relative: 1.0 0.0;
+ rel2.to_y: "elm.swallow.softkey";
+ }
+ }
+ part { name: "elm.swallow.softkey";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ fixed: 0 1;
+ align: 0.0 1.0;
+ rel1.relative: 0.0 1.0;
+ }
+ }
+ }
+}
diff --git a/data/themes/edc/elm/ctxpopup.edc b/data/themes/edc/elm/ctxpopup.edc
new file mode 100644
index 000000000..d244398a9
--- /dev/null
+++ b/data/themes/edc/elm/ctxpopup.edc
@@ -0,0 +1,263 @@
+///////////////////////////////////////////////////////////////////////////////
+group { name: "elm/ctxpopup/bg/noblock";
+ parts {
+ part { name: "base"; type: RECT; mouse_events: 0;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ }
+}
+
+group { name: "elm/ctxpopup/bg/default";
+ parts {
+ part { name: "base"; type: RECT;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ color: 0 0 0 192;
+ }
+ }
+ }
+ programs {
+ program {
+ signal: "mouse,clicked,1"; source: "base";
+ action: SIGNAL_EMIT "elm,action,click" "elm";
+ }
+ program {
+ signal: "elm,state,show"; source: "elm";
+ action: STATE_SET "visible" 0.0;
+ transition: LINEAR 0.2;
+ target: "base";
+ }
+ program {
+ signal: "elm,state,hide"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: LINEAR 0.3;
+ target: "base";
+ }
+ }
+}
+
+group { name: "elm/ctxpopup/base/default";
+ images.image: "tooltip-base.png" COMP;
+ parts {
+ part { name: "base";
+ clip_to: "clip";
+ description { state: "default" 0.0;
+ image.normal: "tooltip-base.png";
+ image.border: 7 7 6 8;
+ image.middle: SOLID;
+ }
+ }
+ part { name: "elm.swallow.content"; type: SWALLOW;
+ clip_to: "clip";
+ description { state: "default" 0.0;
+ rel1 { to:"base"; offset: 8 6; }
+ rel2 { to:"base"; offset: -7 -8; }
+ }
+ }
+ part { name: "event"; type: RECT;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ visible: 1;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "clip"; type: RECT;
+ description { state: "default" 0.0;
+ color: 255 255 255 0;
+ visible: 0;
+ rel1.offset: -20 -20;
+ rel2.offset: 19 19;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 255;
+ visible: 1;
+ }
+ }
+
+ // 9x13
+ part { name: "arrow_area_left"; type: SPACER;
+ description { state: "default" 0.0;
+ min: 9 13;
+ fixed: 1 0;
+ align: 1.0 0.5;
+ rel1.to: "base";
+ rel1.offset: 2 5;
+ rel2.to: "base";
+ rel2.offset: 2 -6;
+ rel2.relative: 0.0 1.0;
+ }
+ }
+ part { name: "elm.swallow.arrow_left"; type: SWALLOW; mouse_events: 0;
+ clip_to: "clip";
+ dragable.x: 1 1 0;
+ dragable.y: 1 1 0;
+ dragable.confine: "arrow_area_left";
+ description { state: "default" 0.0;
+ min: 9 13;
+ fixed: 1 1;
+ }
+ }
+
+ part { name: "arrow_area_right"; type: SPACER;
+ description { state: "default" 0.0;
+ min: 9 13;
+ fixed: 1 0;
+ align: 0.0 0.5;
+ rel1.to: "base";
+ rel1.offset: -3 5;
+ rel1.relative: 1.0 0.0;
+ rel2.to: "base";
+ rel2.offset: -3 -6;
+ }
+ }
+ part { name: "elm.swallow.arrow_right"; type: SWALLOW; mouse_events: 0;
+ clip_to: "clip";
+ dragable.x: 1 1 0;
+ dragable.y: 1 1 0;
+ dragable.confine: "arrow_area_right";
+ description { state: "default" 0.0;
+ min: 9 13;
+ fixed: 1 1;
+ }
+ }
+
+ // 11x9
+ part { name: "arrow_area_up"; type: SPACER;
+ description { state: "default" 0.0;
+ min: 11 9;
+ fixed: 1 1;
+ align: 0.5 1;
+ rel1.to: "base";
+ rel1.offset: 5 3;
+ rel2.to: "base";
+ rel2.offset: -6 3;
+ rel2.relative: 1.0 0.0;
+ }
+ }
+ part { name: "elm.swallow.arrow_up"; type: SWALLOW; mouse_events: 0;
+ clip_to: "clip";
+ dragable.x: 1 1 0;
+ dragable.y: 1 1 0;
+ dragable.confine: "arrow_area_up";
+ description { state: "default" 0.0;
+ min: 11 9;
+ fixed: 1 1;
+ }
+ }
+
+ part { name: "arrow_area_down"; type: SPACER;
+ description { state: "default" 0.0;
+ min: 11 9;
+ fixed: 1 1;
+ align: 0.5 0.0;
+ rel1.to: "base";
+ rel1.offset: 5 -4;
+ rel1.relative: 0.0 1.0;
+ rel2.to: "base";
+ rel2.offset: -6 -4;
+ }
+ }
+ part { name: "elm.swallow.arrow_down"; type: SWALLOW; mouse_events: 0;
+ clip_to: "clip";
+ dragable.x: 1 1 0;
+ dragable.y: 1 1 0;
+ dragable.confine: "arrow_area_down";
+ description { state: "default" 0.0;
+ min: 11 9;
+ fixed: 1 1;
+ }
+ }
+ }
+ programs {
+ program {
+ signal: "elm,state,show"; source: "elm";
+ action: STATE_SET "visible" 0.0;
+ transition: LINEAR 0.2;
+ target: "clip";
+ target: "event";
+ }
+ program {
+ signal: "elm,state,hide"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: LINEAR 0.3;
+ target: "clip";
+ target: "event";
+ after: "hide2";
+ }
+ program { name: "hide2";
+ action: SIGNAL_EMIT "elm,action,hide,finished" "elm";
+ }
+
+ }
+}
+
+group { name: "elm/ctxpopup/arrow/default";
+ images.image: "tooltip-edge-left-tip.png" COMP;
+ images.image: "tooltip-edge-right-tip.png" COMP;
+ images.image: "tooltip-edge-bottom-tip.png" COMP;
+ images.image: "tooltip-edge-top-tip.png" COMP;
+ parts {
+ part { name: "base";
+ description { state: "default" 0.0;
+ min: 9 9;
+ fixed: 1 1;
+ image.normal: "tooltip-edge-left-tip.png";
+ }
+ description { state: "left" 0.0;
+ inherit: "default" 0.0;
+ min: 9 13;
+ align: 0.0 0.5;
+ image.normal: "tooltip-edge-left-tip.png";
+ }
+ description { state: "right" 0.0;
+ inherit: "default" 0.0;
+ min: 9 13;
+ align: 1.0 0.5;
+ image.normal: "tooltip-edge-right-tip.png";
+ }
+ description { state: "top" 0.0;
+ inherit: "default" 0.0;
+ min: 11 9;
+ align: 0.5 0.0;
+ image.normal: "tooltip-edge-top-tip.png";
+ }
+ description { state: "bottom" 0.0;
+ inherit: "default" 0.0;
+ min: 11 9;
+ align: 0.5 1.0;
+ image.normal: "tooltip-edge-bottom-tip.png";
+ }
+ }
+ }
+ programs {
+ program {
+ signal: "elm,state,left"; source: "elm";
+ action: STATE_SET "left" 0.0;
+ target: "base";
+ }
+ program {
+ signal: "elm,state,right"; source: "elm";
+ action: STATE_SET "right" 0.0;
+ target: "base";
+ }
+ program {
+ signal: "elm,state,top"; source: "elm";
+ action: STATE_SET "top" 0.0;
+ target: "base";
+ }
+ program {
+ signal: "elm,state,bottom"; source: "elm";
+ action: STATE_SET "bottom" 0.0;
+ target: "base";
+ }
+ }
+}
diff --git a/data/themes/edc/elm/datetime.edc b/data/themes/edc/elm/datetime.edc
new file mode 100644
index 000000000..d405cc91c
--- /dev/null
+++ b/data/themes/edc/elm/datetime.edc
@@ -0,0 +1,192 @@
+#define DATETIME_FIELD(_pos) \
+ part { \
+ name: "field"#_pos; type: SWALLOW; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ visible: 0; \
+ min: 0 0; \
+ align: 0.0 0.5; \
+ fixed: 1 0; \
+ rel1.relative: 1.0 0.0; \
+ rel1.to: "separator"#_pos; \
+ rel2.relative: 1.0 1.0; \
+ rel2.to: "separator"#_pos; \
+ } \
+ description { state: "enable" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 1; \
+ min: 8 10; \
+ } \
+ } \
+ programs{ \
+ program { name: "field_"#_pos"enabled"; \
+ signal: "field"#_pos",enable"; source: "elm"; \
+ action: STATE_SET "enable" 0.0; \
+ target: "field"#_pos; \
+ } \
+ program { name: "field_"#_pos"disabled"; \
+ signal: "field"#_pos",disable"; source: "elm"; \
+ action: STATE_SET "default" 0.0; \
+ target: "field"#_pos; \
+ } \
+ }
+#define DATETIME_SEPARATOR(_pos, _after) \
+ part { \
+ name: "separator"#_pos; type: TEXT; \
+ scale: 1; \
+ effect: SHADOW BOTTOM; \
+ clip_to: "disclip"; \
+ description { state: "default" 0.0; \
+ visible: 0; \
+ min: 0 0; \
+ align: 0.0 0.5; \
+ fixed: 1 0; \
+ rel1 { \
+ relative: 1.0 0.0; \
+ to: "field"#_after; \
+ } \
+ rel2 { \
+ relative: 1.0 1.0; \
+ to: "field"#_after; \
+ } \
+ color: 255 255 255 255; \
+ color3: 0 0 0 128; \
+ color_class: "datetime_text"; \
+ text { \
+ font: "Sans"; size: 10; \
+ min: 1 0; \
+ align: 0.5 0.5; \
+ text_class: "datetime_text"; \
+ } \
+ } \
+ description { state: "enable" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 1; \
+ min: 8 10; \
+ } \
+ } \
+ part { \
+ name: "separator"#_pos"d"; type: TEXT; \
+ scale: 1; \
+ effect: SHADOW BOTTOM; \
+ clip_to: "disclip2"; \
+ description { state: "default" 0.0; \
+ visible: 0; \
+ rel1.to: "separator"#_pos; \
+ rel2.to: "separator"#_pos; \
+ color: 21 21 21 255; \
+ color3: 255 255 255 25; \
+ color_class: "datetime_text"; \
+ text { \
+ text_source: "separator"#_pos; \
+ font: "Sans"; size: 10; \
+ text_class: "datetime_text"; \
+ } \
+ } \
+ description { state: "enable" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 1; \
+ } \
+ } \
+ programs { \
+ program { \
+ signal: "field"#_after",enable"; source: "elm"; \
+ action: STATE_SET "enable" 0.0; \
+ target: "separator"#_pos; \
+ target: "separator"#_pos"d"; \
+ } \
+ program { \
+ signal: "field"#_after",disable"; source: "elm"; \
+ action: STATE_SET "default" 0.0; \
+ target: "separator"#_pos; \
+ target: "separator"#_pos"d"; \
+ } \
+ }
+group { name: "elm/datetime/base/default";
+ parts {
+ part { name: "disclip"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.to: "separator0";
+ rel2.to: "separator7";
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "disclip2"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.to: "separator0";
+ rel2.to: "separator7";
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "separator0"; type: SPACER;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 8 10;
+ align: 0.0 0.5;
+ fixed: 1 0;
+ rel2.relative: 0.0 1.0;
+ }
+ }
+ DATETIME_FIELD(0)
+ DATETIME_SEPARATOR(1,0)
+ DATETIME_FIELD(1)
+ DATETIME_SEPARATOR(2,1)
+ DATETIME_FIELD(2)
+ DATETIME_SEPARATOR(3,2)
+ DATETIME_FIELD(3)
+ DATETIME_SEPARATOR(4,3)
+ DATETIME_FIELD(4)
+ DATETIME_SEPARATOR(5,4)
+ DATETIME_FIELD(5)
+ DATETIME_SEPARATOR(6,5)
+ part { name: "separator7"; type: SPACER;
+ description { state: "default" 0.0;
+ rel1.to: "separator6";
+ rel1.relative: 1.0 0.0;
+ min: 8 10;
+ }
+ }
+ part { name: "discover"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.to: "separator0";
+ rel2.to: "separator7";
+ visible: 0;
+ color: 0 0 0 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "elm.access"; type: RECT; repeat_events: 1;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ }
+ programs {
+ program {
+ signal: "elm,state,disabled"; source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disclip";
+ target: "disclip2";
+ target: "discover";
+ }
+ program {
+ signal: "elm,state,enabled"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disclip";
+ target: "disclip2";
+ target: "discover";
+ }
+ }
+}
+#undef DATETIME_SEPARATOR
+#undef DATETIME_FIELD
diff --git a/data/themes/edc/elm/dayselector.edc b/data/themes/edc/elm/dayselector.edc
new file mode 100644
index 000000000..6bf5fc11a
--- /dev/null
+++ b/data/themes/edc/elm/dayselector.edc
@@ -0,0 +1,487 @@
+#define DAYSELECOR_DAY_POS_LEFT 1
+#define DAYSELECOR_DAY_POS_RIGHT 2
+#define DAYSELECOR_DAY_POS_MIDDLE 3
+#define DAYSELECOR_DAY_TYPE_WEEKDAY 1
+#define DAYSELECOR_DAY_TYPE_WEEKEND_DEFAULT 2
+#define DAYSELECOR_DAY_TYPE_WEEKEND_STYLE1 3
+#define DAYSELECOR_DAY_STATE_DEFAULT 1
+#define DAYSELECOR_DAY_STATE_PRESSED 2
+#define DAYSELECOR_DAY_STATE_SELECTED 3
+
+#define DAYSELECTOR_DAY(_pos, _after)\
+ part {\
+ name: "day"#_pos;\
+ type: SWALLOW;\
+ scale: 1;\
+ clip_to: "clipper";\
+ description { state: "default" 0.0;\
+ visible: 0;\
+ min: 0 0;\
+ align: 0.0 0.5;\
+ fixed: 1 0;\
+ rel1 {\
+ relative: 1.0 0.0;\
+ to: "day"#_after;\
+ offset: 0 0;\
+ }\
+ rel2 {\
+ relative: 1.0 1.0;\
+ to: "day"#_after;\
+ }\
+ }\
+ description { state: "visible" 0.0;\
+ inherit: "default" 0.0;\
+ visible: 1;\
+ min: 48 32;\
+ }\
+ }\
+ programs{\
+ program {\
+ name: "day"#_pos"visible";\
+ signal: "day"#_pos",visible";\
+ source: "elm";\
+ action: STATE_SET "visible" 0.0;\
+ target: "day"#_pos;\
+ }\
+ program {\
+ name: "day"#_pos"notvisible";\
+ signal: "day"#_pos",default";\
+ source: "elm";\
+ action: STATE_SET "default" 0.0;\
+ target: "day"#_pos;\
+ }\
+ }
+
+group { name: "elm/dayselector/base/default";
+ parts {
+ part {
+ name: "day0";
+ type: SWALLOW;
+ scale: 1;
+ clip_to: "clipper";
+ description { state: "default" 0.0;
+ visible: 0;
+ align: 0.0 0.5;
+ fixed: 1 0;
+ rel2.relative: 0.0 1.0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ min: 48 32;
+ }
+ }
+ DAYSELECTOR_DAY(1, 0)
+ DAYSELECTOR_DAY(2, 1)
+ DAYSELECTOR_DAY(3, 2)
+ DAYSELECTOR_DAY(4, 3)
+ DAYSELECTOR_DAY(5, 4)
+ DAYSELECTOR_DAY(6, 5)
+ part {
+ name: "clipper";
+ type: RECT;
+ description {
+ state: "default" 0.0;
+ rel1.to: "day0";
+ rel2.to: "day6";
+ }
+ description {
+ state: "visible" 0.0;
+ inherit: "default" 0.0;
+ color: 185 185 185 185;
+ }
+ }
+ part {
+ name: "disabler";
+ type: RECT;
+ description {
+ state: "default" 0.0;
+ color: 0 0 0 0;
+ visible: 0;
+ }
+ description {
+ state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ program {
+ name: "disble_dayselector";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "disabler";
+ target: "clipper";
+ }
+ program {
+ name: "enable_dayselector";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disabler";
+ target: "clipper";
+ }
+ program {
+ name: "day0_visible";
+ signal: "day0,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "day0";
+ }
+ program {
+ name: "day0_default";
+ signal: "day0,default";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "day0";
+ }
+ }
+}
+
+group { name: "elm/check/base/dayselector/default";
+ images {
+ image: "day_middle_normal.png" COMP;
+ image: "day_left_normal.png" COMP;
+ image: "day_right_normal.png" COMP;
+ image: "day_middle_press.png" COMP;
+ image: "day_middle_selected.png" COMP;
+ image: "day_left_press.png" COMP;
+ image: "day_left_selected.png" COMP;
+ image: "day_right_press.png" COMP;
+ image: "day_right_selected.png" COMP;
+ }
+ script {
+ public check_pos; // Left, Right, Middle.
+ public check_type; // Weekday, Weekend.
+ public check_state = DAYSELECOR_DAY_STATE_DEFAULT; // Default, Pressed, Selected.
+
+ public check_bg_show() {
+ if(get_int(check_pos) == DAYSELECOR_DAY_POS_LEFT) {
+ if(get_int(check_state) == DAYSELECOR_DAY_STATE_DEFAULT)
+ set_state(PART:"bg", "default_left", 0.0);
+ else if(get_int(check_state) == DAYSELECOR_DAY_STATE_PRESSED)
+ set_state(PART:"bg", "pressed_left", 0.0);
+ else if(get_int(check_state) == DAYSELECOR_DAY_STATE_SELECTED)
+ set_state(PART:"bg", "selected_left", 0.0);
+ }
+ else if(get_int(check_pos) == DAYSELECOR_DAY_POS_RIGHT) {
+ if(get_int(check_state) == DAYSELECOR_DAY_STATE_DEFAULT)
+ set_state(PART:"bg", "default_right", 0.0);
+ else if(get_int(check_state) == DAYSELECOR_DAY_STATE_PRESSED)
+ set_state(PART:"bg", "pressed_right", 0.0);
+ else if(get_int(check_state) == DAYSELECOR_DAY_STATE_SELECTED)
+ set_state(PART:"bg", "selected_right", 0.0);
+ }
+ else if(get_int(check_pos) == DAYSELECOR_DAY_POS_MIDDLE) {
+ if(get_int(check_state) == DAYSELECOR_DAY_STATE_DEFAULT)
+ set_state(PART:"bg", "default_middle", 0.0);
+ else if(get_int(check_state) == DAYSELECOR_DAY_STATE_PRESSED)
+ set_state(PART:"bg", "pressed_middle", 0.0);
+ else if(get_int(check_state) == DAYSELECOR_DAY_STATE_SELECTED)
+ set_state(PART:"bg", "selected_middle", 0.0);
+ }
+ }
+ public check_text_show() {
+ if(get_int(check_state) == DAYSELECOR_DAY_STATE_SELECTED) {
+ set_state(PART:"elm.text", "selected", 0.0);
+ set_state(PART:"text2", "selected", 0.0);
+ } else {
+ if(get_int(check_type) == DAYSELECOR_DAY_TYPE_WEEKDAY) {
+ set_state(PART:"elm.text", "default", 0.0);
+ set_state(PART:"text2", "default", 0.0);
+ } else if (get_int(check_type) ==
+ DAYSELECOR_DAY_TYPE_WEEKEND_DEFAULT) {
+ set_state(PART:"elm.text", "weekend_default", 0.0);
+ set_state(PART:"text2", "weekend_default", 0.0);
+ }
+ else if (get_int(check_type) == DAYSELECOR_DAY_TYPE_WEEKEND_STYLE1) {
+ set_state(PART:"elm.text", "weekend_style1", 0.0);
+ set_state(PART:"text2", "weekend_style1", 0.0);
+ }
+ }
+ }
+ public check_text_pressed() {
+ set_state(PART:"elm.text", "pressed", 0.0);
+ set_state(PART:"text2", "default", 0.0);
+ }
+ }
+ parts {
+ part {
+ name: "bg";
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ image {
+ normal: "day_middle_normal.png";
+ border: 1 1 3 4;
+ }
+ }
+ /* default */
+ description { state: "default_left" 0.0;
+ inherit: "default" 0.0;
+ image {
+ normal: "day_left_normal.png";
+ border: 4 1 3 4;
+ }
+ }
+ description { state: "default_right" 0.0;
+ inherit: "default" 0.0;
+ image {
+ normal: "day_right_normal.png";
+ border: 1 4 3 5;
+ }
+ }
+ description { state: "default_middle" 0.0;
+ inherit: "default" 0.0;
+ image {
+ normal: "day_middle_normal.png";
+ border: 1 1 3 4;
+ }
+ }
+ /* pressed */
+ description { state: "pressed_left" 0.0;
+ inherit: "default" 0.0;
+ image {
+ normal: "day_left_press.png";
+ border: 5 1 4 5;
+ }
+ }
+ description { state: "pressed_right" 0.0;
+ inherit: "default" 0.0;
+ image {
+ normal: "day_right_press.png";
+ border: 1 5 4 5;
+ }
+ }
+ description { state: "pressed_middle" 0.0;
+ inherit: "default" 0.0;
+ image {
+ normal: "day_middle_press.png";
+ border: 2 1 4 7;
+ }
+ }
+ /* selected */
+ description { state: "selected_left" 0.0;
+ inherit: "default" 0.0;
+ image {
+ normal: "day_left_selected.png";
+ border: 5 1 4 5;
+ }
+ }
+ description { state: "selected_right" 0.0;
+ inherit: "default" 0.0;
+ image {
+ normal: "day_right_selected.png";
+ border: 1 5 4 5;
+ }
+ }
+ description { state: "selected_middle" 0.0;
+ inherit: "default" 0.0;
+ image {
+ normal: "day_middle_selected.png";
+ border: 2 1 4 7;
+ }
+ }
+ }
+ part {
+ name: "left_padding";
+ type: SPACER;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 5 0;
+ fixed: 1 0;
+ align: 0.0 0.5;
+ rel2.relative: 0.0 1.0;
+ }
+ }
+ part {
+ name: "right_padding";
+ type: SPACER;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 5 0;
+ fixed: 1 0;
+ align: 1.0 0.5;
+ rel1.relative: 1.0 0.0;
+ }
+ }
+ part {
+ name: "elm.text";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ effect: SHADOW BOTTOM;
+ description { state: "default" 0.0;
+ rel1 {
+ to: "left_padding";
+ relative: 1.0 0.0;
+ }
+ rel2 {
+ to: "right_padding";
+ relative: 0.0 1.0;
+ }
+ text {
+ font: FN;
+ size: 10;
+ min: 1 1;
+ text_class: "button";
+ }
+ color: FN_COL_DEFAULT;
+ }
+ description { state: "weekend_default" 0.0;
+ inherit: "default" 0.0;
+ color: 175 175 175 255;
+ color3: 0 0 0 128;
+ visible: 1;
+ }
+ description { state: "weekend_style1" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "pressed" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 255;
+ color3: 255 255 255 0;
+ visible: 1;
+ }
+ }
+ part {
+ name: "text2";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ effect: GLOW;
+ description { state: "default" 0.0;
+ rel1.to: "elm.text";
+ rel1.offset: 0 -1;
+ rel2.to: "elm.text";
+ rel2.offset: -1 -2;
+ text {
+ font: FN;
+ size: 10;
+ min: 1 1;
+ text_source: "elm.text";
+ text_class: "button";
+ }
+ color: FN_COL_HIGHLIGHT;
+ visible: 0;
+ }
+ description { state: "weekend_default" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "weekend_style1" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 255;
+ color2: 255 255 255 24;
+ color3: 255 255 255 18;
+ visible: 1;
+ }
+ }
+ part {
+ name: "events";
+ type: RECT;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ rel1.to: "bg";
+ rel2.to: "bg";
+ color: 0 0 0 0;
+ }
+ }
+ }
+ programs {
+ program { name: "check,pressed";
+ signal: "mouse,down,1"; source: "events";
+ script {
+ set_int(check_state, DAYSELECOR_DAY_STATE_PRESSED);
+ check_bg_show();
+ check_text_pressed();
+ }
+ }
+ program { name: "check,toggle";
+ signal: "mouse,up,1"; source: "events";
+ action: SIGNAL_EMIT "elm,action,check,toggle" "elm";
+ }
+ program { name: "check,on";
+ signal: "elm,state,check,on"; source: "elm";
+ script {
+ set_int(check_state, DAYSELECOR_DAY_STATE_SELECTED);
+ check_bg_show();
+ check_text_show();
+ }
+ }
+ program { name: "check,off";
+ signal: "elm,state,check,off"; source: "elm";
+ script {
+ set_int(check_state, DAYSELECOR_DAY_STATE_DEFAULT);
+ check_bg_show();
+ check_text_show();
+ }
+ }
+ program { name: "check,left";
+ signal: "elm,pos,check,left"; source: "elm";
+ script {
+ set_int(check_pos, DAYSELECOR_DAY_POS_LEFT);
+ check_bg_show();
+ }
+ }
+ program { name: "check,right";
+ signal: "elm,pos,check,right"; source: "elm";
+ script {
+ set_int(check_pos, DAYSELECOR_DAY_POS_RIGHT);
+ check_bg_show();
+ }
+ }
+ program { name: "check,middle";
+ signal: "elm,pos,check,middle"; source: "elm";
+ script {
+ set_int(check_pos, DAYSELECOR_DAY_POS_MIDDLE);
+ check_bg_show();
+ }
+ }
+ program { name: "check,weekday";
+ signal: "elm,type,weekday,default"; source: "elm";
+ script {
+ set_int(check_type, DAYSELECOR_DAY_TYPE_WEEKDAY);
+ check_text_show();
+ }
+ }
+ program { name: "check,weekend,default";
+ signal: "elm,type,weekend,default"; source: "elm";
+ script {
+ set_int(check_type, DAYSELECOR_DAY_TYPE_WEEKEND_DEFAULT);
+ check_text_show();
+ }
+ }
+ program { name: "check,weekend,style1";
+ signal: "elm,type,weekend,style1"; source: "elm";
+ script {
+ set_int(check_type, DAYSELECOR_DAY_TYPE_WEEKEND_STYLE1);
+ check_text_show();
+ }
+ }
+ }
+}
+
+#undef DAYSELECOR_DAY_POS_LEFT
+#undef DAYSELECOR_DAY_POS_RIGHT
+#undef DAYSELECOR_DAY_POS_MIDDLE
+#undef DAYSELECOR_DAY_TYPE_WEEKDAY
+#undef DAYSELECOR_DAY_TYPE_WEEKEND_DEFAULT
+#undef DAYSELECOR_DAY_TYPE_WEEKEND_STYLE1
+#undef DAYSELECOR_DAY_STATE_DEFAULT
+#undef DAYSELECOR_DAY_STATE_PRESSED
+#undef DAYSELECOR_DAY_STATE_SELECTED
+#undef DAYSELECTOR_DAY
diff --git a/data/themes/edc/elm/diskselector.edc b/data/themes/edc/elm/diskselector.edc
new file mode 100644
index 000000000..72bfbd79e
--- /dev/null
+++ b/data/themes/edc/elm/diskselector.edc
@@ -0,0 +1,388 @@
+group { name: "elm/diskselector/base/default";
+ images {
+ image: "bar_shine.png" COMP;
+ }
+
+ parts {
+ part { name: "bg";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ color: 25 25 25 255;
+ }
+ }
+ part { name: "shine_center";
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.to: "bg";
+ rel2.to: "bg";
+ image.normal: "bar_shine.png";
+ color: 255 255 255 127;
+ }
+ }
+ part { name: "clipper";
+ type: RECT;
+ description { state: "default" 0.0;
+ rel1.to: "bg";
+ rel2.to: "bg";
+ rel1.offset: 2 2;
+ rel2.offset: -3 -3;
+ }
+ }
+ part { name: "elm.swallow.content";
+ clip_to: "clipper";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ rel1.to: "bg";
+ rel2.to: "bg";
+ }
+ }
+ }
+}
+
+group { name: "elm/diskselector/item/default";
+
+ data {
+ item: "len_threshold" "14";
+ item: "display_item_num" "3";
+ item: "min_height" "-1";
+ item: "min_width" "-1";
+ }
+
+ parts {
+ part { name: "elm.swallow.icon";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ align: 0.0 0.5;
+ rel1 {
+ relative: 0 0;
+ offset: 1 1;
+ }
+ rel2 {
+ relative: 0 1;
+ offset: 1 -2;
+ }
+ }
+ description { state: "show" 0.0;
+ inherit: "default" 0.0;
+ min: 10 10;
+ aspect: 1.0 1.0;
+ }
+ description { state: "default_small" 0.0;
+ inherit: "default" 0.0;
+ rel1.relative: 0 0.2;
+ rel2.relative: 0 0.8;
+ min: 10 10;
+ aspect: 1.0 1.0;
+ }
+ description { state: "left_side" 0.0;
+ inherit: "default" 0.0;
+ rel1.relative: 0 0.2;
+ rel2.relative: 0 0.8;
+ color: 255 255 255 160;
+ min: 10 10;
+ aspect: 1.0 1.0;
+ }
+ description { state: "right_side" 0.0;
+ inherit: "left_side" 0.0;
+ rel1.relative: 0.4 0.2;
+ rel2.relative: 0.4 0.8;
+ color: 255 255 255 160;
+ min: 10 10;
+ aspect: 1.0 1.0;
+ }
+ description { state: "icon_only" 0.0;
+ inherit: "default" 0.0;
+ align: 0.5 0.5;
+ rel1.relative: 0 0;
+ rel2.relative: 1 1;
+ min: 10 10;
+ aspect: 1.0 1.0;
+ }
+ }
+ part { name: "elm.text";
+ type: TEXT;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.relative: 1 0.0;
+ rel1.to_x: "elm.swallow.icon";
+ rel2.relative: 1.0 1.0;
+ visible: 0;
+ text {
+ font: "Sans,Edje-Vera";
+ size: 10;
+ align: 0.5 0.5;
+ min: 0 1;
+ }
+ }
+ description { state: "show" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "default_small" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ text.size: 10;
+ }
+ description { state: "left_side" 0.0;
+ inherit: "default" 0.0;
+ color: 127 127 127 255;
+ text.size: 8;
+ visible: 1;
+ text.align: 0.2 0.5;
+ }
+ description { state: "right_side" 0.0;
+ inherit: "default" 0.0;
+ color: 127 127 127 255;
+ visible: 1;
+ text.size: 8;
+ text.align: 0.8 0.5;
+ }
+ description { state: "text_only" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ rel1.relative: 0 0;
+ rel2.relative: 1 1;
+ }
+ description { state: "text_only_left_side" 0.0;
+ inherit: "left_side" 0.0;
+ rel1.relative: 0 0;
+ rel2.relative: 1 1;
+ }
+ description { state: "text_only_right_side" 0.0;
+ inherit: "right_side" 0.0;
+ visible: 1;
+ rel1.relative: 0 0;
+ rel2.relative: 1 1;
+ }
+ }
+ part { name: "over1";
+ type: RECT;
+ mouse_events: 1;
+ repeat_events: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ }
+
+ programs {
+ script {
+ public item_style; // 0:icon and text, 1:text only, 2:con only
+ }
+ program { name: "center_text";
+ signal: "elm,state,center"; source: "elm";
+ script {
+ if (get_int(item_style) == 1)
+ set_state(PART:"elm.text", "text_only", 0.0);
+ else if (get_int(item_style) == 2)
+ set_state(PART:"elm.swallow.icon", "icon_only", 0.0);
+ else
+ {
+ set_state(PART:"elm.text", "show", 0.0);
+ set_state(PART:"elm.swallow.icon", "show", 0.0);
+ }
+ }
+ }
+ program { name: "center_small_text";
+ signal: "elm,state,center_small"; source: "elm";
+ action: STATE_SET "default_small" 0.0;
+ target: "elm.text";
+ target: "elm.swallow.icon";
+ }
+ program { name: "l_side_text";
+ signal: "elm,state,left_side"; source: "elm";
+ script {
+ if (get_int(item_style) == 1)
+ set_state(PART:"elm.text", "text_only_left_side", 0.0);
+ else if (get_int(item_style) == 2)
+ set_state(PART:"elm.swallow.icon", "left_side", 0.0);
+ else
+ {
+ set_state(PART:"elm.text", "left_side", 0.0);
+ set_state(PART:"elm.swallow.icon", "left_side", 0.0);
+ }
+ }
+ }
+ program { name: "r_side_text";
+ signal: "elm,state,right_side"; source: "elm";
+ script {
+ if (get_int(item_style) == 1)
+ set_state(PART:"elm.text", "text_only_right_side", 0.0);
+ else if (get_int(item_style) == 2)
+ set_state(PART:"elm.swallow.icon", "right_side", 0.0);
+ else
+ {
+ set_state(PART:"elm.text", "right_side", 0.0);
+ set_state(PART:"elm.swallow.icon", "right_side", 0.0);
+ }
+ }
+ }
+ program { name: "icon_only";
+ signal: "elm,state,icon,only"; source: "elm";
+ script {
+ set_state(PART:"elm.swallow.icon", "icon_only", 0.0);
+ set_int(item_style, 2);
+ }
+ }
+ program { name: "text_only";
+ signal: "elm,state,text,only"; source: "elm";
+ script {
+ set_state(PART:"elm.text", "text_only", 0.0);
+ set_int(item_style, 1);
+ }
+ }
+ program { name: "text_icon";
+ signal: "elm,state,text,icon"; source: "elm";
+ script {
+ set_int(item_style, 0);
+ }
+ }
+ program { name: "field_click";
+ signal: "mouse,clicked,1"; source: "over1";
+ action: SIGNAL_EMIT "elm,action,click" "elm";
+ }
+ }
+}
+
+///////////////////////////////////////////////////////////////////////////////
+// diskselector item : datetime style
+///////////////////////////////////////////////////////////////////////////////
+group { name: "elm/diskselector/item/datetime/default";
+ data {
+ item: "len_threshold" "10";
+ item: "min_height" "-1";
+ item: "min_width" "-1";
+ }
+ parts {
+ part { name: "elm.text"; type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 10 10;
+ align: 0.0 0.0;
+ color: 172 172 172 255;
+ visible: 1;
+ text {
+ font: "Sans,Edje-Vera";
+ size: 10;
+ min: 1 1;
+ }
+ }
+ description { state: "center_sel" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 255;
+ }
+ description { state: "left_side" 0.0;
+ inherit: "default" 0.0;
+ color: 152 152 152 255;
+ text.align: 0.2 0.5;
+ }
+ description { state: "left_side_sel" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 255;
+ text.align: 0.2 0.5;
+ }
+ description { state: "right_side" 0.0;
+ inherit: "default" 0.0;
+ color: 152 152 152 255;
+ text.align: 0.8 0.5;
+ }
+ description { state: "right_side_sel" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 255;
+ text.align: 0.8 0.5;
+ }
+ }
+ part { name: "over1";
+ type: RECT;
+ mouse_events: 1;
+ repeat_events: 1;
+ ignore_flags: ON_HOLD;
+ description {
+ state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ }
+ programs {
+ script {
+ public field_pos; // center = 0,left = 1, right =2.
+ public field_selected; //field is selected(1) or not(0).
+
+ public update_state() {
+ new pos, is_sel;
+ pos = get_int(field_pos)
+ is_sel = get_int(field_selected);
+ if (is_sel == 1)
+ {
+ if (pos == 0)
+ set_state(PART:"elm.text", "center_sel", 0.0);
+ else if (pos == 1)
+ set_state(PART:"elm.text", "left_side_sel", 0.0);
+ else if (pos == 2)
+ set_state(PART:"elm.text", "right_side_sel", 0.0);
+ }
+ else if (is_sel == 0)
+ {
+ if (pos == 0)
+ set_state(PART:"elm.text", "default", 0.0);
+ else if (pos == 1)
+ set_state(PART:"elm.text", "left_side", 0.0);
+ else if (pos == 2)
+ set_state(PART:"elm.text", "right_side", 0.0);
+ }
+ }
+ }
+ program { name: "selected_text";
+ signal: "elm,state,selected"; source: "elm";
+ script {
+ set_int(field_selected, 1);
+ update_state();
+ }
+ }
+ program { name: "default_text";
+ signal: "elm,state,default"; source: "elm";
+ script {
+ set_int(field_selected, 0);
+ update_state();
+ }
+ }
+ program { name: "center_text";
+ signal: "elm,state,center"; source: "elm";
+ script {
+ set_int(field_pos, 0);
+ update_state();
+ }
+ }
+ program { name: "center_small_text";
+ signal: "elm,state,center_small"; source: "elm";
+ script {
+ set_int(field_pos, 0);
+ update_state();
+ }
+ }
+ program { name: "l_side_text";
+ signal: "elm,state,left_side"; source: "elm";
+ script {
+ set_int(field_pos, 1);
+ update_state();
+ }
+ }
+ program { name: "r_side_text";
+ signal: "elm,state,right_side"; source: "elm";
+ script {
+ set_int(field_pos, 2);
+ update_state();
+ }
+ }
+ program { name: "field_click";
+ signal: "mouse,clicked,1"; source: "over1";
+ action: SIGNAL_EMIT "elm,action,click" "elm";
+ }
+ }
+}
diff --git a/data/themes/edc/elm/entry.edc b/data/themes/edc/elm/entry.edc
new file mode 100644
index 000000000..239287dca
--- /dev/null
+++ b/data/themes/edc/elm/entry.edc
@@ -0,0 +1,1208 @@
+group { name: "elm/scroller/entry/default";
+ inherit: "elm/scroller/base/default";
+ image: "bg_glow_in.png" COMP;
+ parts {
+ part { name: "bg";
+ description { state: "default" 0.0;
+ color: DARK_GREY_BG_COLOR;
+ }
+ }
+ part { name: "elm.swallow.content";
+ description { state: "default" 0.0;
+ rel1.to: "elm.swallow.icon";
+ rel1.relative: 1.0 0.0;
+ rel1.offset: 0 0;
+ rel2.to: "elm.swallow.end";
+ rel2.relative: 0.0 1.0;
+ rel2.offset: -1 -1;
+ }
+ }
+ part { name: "elm.swallow.icon"; type: SWALLOW;
+ clip_to: "clipper";
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.offset: 1 1;
+ rel2.offset: 1 -2;
+ rel2.relative: 0.0 1.0;
+ visible: 0;
+ align: 1.0 0.0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ align: 0.0 0.0;
+ }
+ }
+ program {
+ signal: "elm,action,show,icon"; source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.swallow.icon";
+ }
+ program {
+ signal: "elm,action,hide,icon"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.icon";
+ }
+ part { name: "elm.swallow.end"; type: SWALLOW;
+ clip_to: "clipper";
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.offset: -2 1;
+ rel1.relative: 1.0 0.0;
+ rel2.offset: -2 -2;
+ visible: 0;
+ align: 0.0 0.0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ align: 1.0 0.0;
+ }
+ }
+ program {
+ signal: "elm,action,show,end"; source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.swallow.end";
+ }
+ program {
+ signal: "elm,action,hide,end"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.end";
+ }
+ part { name: "glow";
+ insert_after: "shadow";
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.to: "bg";
+ rel2.to: "bg";
+ image.normal: "bg_glow_in.png";
+ image.border: 7 7 7 7;
+ image.middle: 0;
+ fill.smooth: 0;
+ color: 255 255 255 0;
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 255;
+ }
+ description { state: "focused2" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 64;
+ }
+ }
+ }
+ programs {
+ program {
+ signal: "elm,action,focus_highlight,show"; source: "elm";
+ action: STATE_SET "focused" 0.0;
+ target: "glow";
+ after: "focus_in2";
+ }
+ program { name: "focus_in2";
+ action: STATE_SET "focused2" 0.0;
+ transition: DECELERATE 0.5;
+ target: "glow";
+ }
+ program {
+ signal: "elm,action,focus_highlight,hide"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: DECELERATE 0.3;
+ target: "glow";
+ }
+ }
+}
+
+group { name: "elm/scroller/entry_single/default";
+ images.image: "bevel_in.png" COMP;
+ images.image: "inset_shadow.png" COMP;
+ image: "bg_glow_in.png" COMP;
+
+ data.item: "focus_highlight" "on";
+
+ parts {
+ part { name: "sb_vbar_base"; type: RECT;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel2.relative: 1.0 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.dragable.vbar"; type: RECT;
+ dragable.x: 0 0 0;
+ dragable.y: 1 1 0;
+ dragable.confine: "sb_vbar_base";
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.relative: 0.5 0.5;
+ rel1.to: "sb_vbar_base";
+ rel2.relative: 0.5 0.5;
+ rel2.to: "sb_vbar_base";
+ visible: 0;
+ }
+ }
+ part { name: "sb_hbar_base"; type: RECT;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.relative: 1.0 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.dragable.hbar"; type: RECT;
+ dragable.x: 1 1 0;
+ dragable.y: 0 0 0;
+ dragable.confine: "sb_hbar_base";
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.relative: 0.5 0.5;
+ rel1.to: "sb_hbar_base";
+ rel2.relative: 0.5 0.5;
+ rel2.to: "sb_hbar_base";
+ visible: 0;
+ }
+ }
+ part { name: "bg"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.to: "elm.swallow.background";
+ rel2.to: "elm.swallow.background";
+ color: DARK_GREY_BG_COLOR;
+ color_class: "scrollframe_base";
+ }
+ }
+ part { name: "clipper"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.to: "elm.swallow.background";
+ rel2.to: "elm.swallow.background";
+ }
+ }
+ part { name: "elm.swallow.background"; type: SWALLOW;
+ clip_to: "clipper";
+ description { state: "default" 0.0;
+ rel1.offset: 1 1;
+ rel2.offset: -2 -2;
+ }
+ }
+ part { name: "elm.swallow.content"; type: SWALLOW;
+ clip_to: "clipper";
+ description { state: "default" 0.0;
+ rel1.to: "elm.swallow.icon";
+ rel1.relative: 1.0 0.0;
+ rel2.to: "elm.swallow.end";
+ rel2.relative: 0.0 1.0;
+ }
+ }
+ part { name: "elm.swallow.icon"; type: SWALLOW;
+ clip_to: "clipper";
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.offset: 1 1;
+ rel2.offset: 1 -2;
+ rel2.relative: 0.0 1.0;
+ visible: 0;
+ align: 1.0 0.5;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ align: 0.0 0.5;
+ }
+ }
+ program {
+ signal: "elm,action,show,icon"; source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.swallow.icon";
+ }
+ program {
+ signal: "elm,action,hide,icon"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.icon";
+ }
+ part { name: "elm.swallow.end"; type: SWALLOW;
+ clip_to: "clipper";
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.offset: -2 1;
+ rel1.relative: 1.0 0.0;
+ rel2.offset: -2 -2;
+ visible: 0;
+ align: 0.0 0.5;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ align: 1.0 0.5;
+ }
+ }
+ program {
+ signal: "elm,action,show,end"; source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.swallow.end";
+ }
+ program {
+ signal: "elm,action,hide,end"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.end";
+ }
+ part { name: "inset"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "bevel_in.png";
+ image.border: 1 1 1 1;
+ image.middle: 0;
+ rel1.to: "bg";
+ rel1.offset: -1 -1;
+ rel2.to: "bg";
+ rel2.offset: 0 0;
+ fill.smooth: 0;
+ }
+ }
+ part { name: "shadow"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "inset_shadow.png";
+ image.border: 5 5 7 3;
+ image.middle: 0;
+ rel1.to: "bg";
+ rel2.to: "bg";
+ fill.smooth: 0;
+ color: 255 255 255 128;
+ }
+ }
+ part { name: "elm.swallow.overlay"; type: SWALLOW;
+ clip_to: "clipper";
+ description { state: "default" 0.0;
+ rel1.offset: 1 1;
+ rel2.offset: -2 -2;
+ }
+ }
+ part { name: "glow";
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.to: "bg";
+ rel2.to: "bg";
+ image.normal: "bg_glow_in.png";
+ image.border: 7 7 7 7;
+ image.middle: 0;
+ fill.smooth: 0;
+ color: 255 255 255 0;
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 255;
+ }
+ description { state: "focused2" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 64;
+ }
+ }
+ }
+ programs {
+ program {
+ signal: "elm,action,focus_highlight,show"; source: "elm";
+ action: STATE_SET "focused" 0.0;
+ target: "glow";
+ after: "focus_in2";
+ }
+ program { name: "focus_in2";
+ action: STATE_SET "focused2" 0.0;
+ transition: DECELERATE 0.5;
+ target: "glow";
+ }
+ program {
+ signal: "elm,action,focus_highlight,hide"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: DECELERATE 0.3;
+ target: "glow";
+ }
+ }
+}
+
+group { name: "elm/entry/cursor/default";
+ min: 1 0;
+ images.image: "white_bar_vert_glow.png" COMP;
+ parts {
+ part { name: "cursor"; mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.offset: -4 -4;
+ rel2.offset: 3 3;
+ image.normal: "white_bar_vert_glow.png";
+ image.border: 4 4 4 4;
+ fill.smooth: 0;
+ color: 255 255 255 0;
+ min: 9 10;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 255;
+ }
+ }
+ }
+ programs {
+ program {
+ signal: "elm,action,focus"; source: "elm";
+ action: ACTION_STOP;
+ target: "cursor_show";
+ target: "cursor_hide";
+ target: "cursor_show_timer";
+ target: "cursor_hide_timer";
+ after: "cursor_show";
+ }
+ program {
+ signal: "elm,action,unfocus"; source: "elm";
+ action: ACTION_STOP;
+ target: "cursor_show";
+ target: "cursor_hide";
+ target: "cursor_show_timer";
+ target: "cursor_hide_timer";
+ after: "cursor_hide_stop";
+ }
+ program { name: "cursor_hide_stop";
+ action: STATE_SET "default" 0.0;
+ target: "cursor";
+ }
+ program { name: "cursor_show";
+ action: STATE_SET "visible" 0.0;
+ target: "cursor";
+ after: "cursor_show_timer";
+ }
+ program { name: "cursor_hide";
+ action: STATE_SET "default" 0.0;
+ target: "cursor";
+ transition: SINUSOIDAL 0.2;
+ after: "cursor_hide_timer";
+ }
+ program { name: "cursor_show_timer";
+ in: 0.5 0.0;
+ after: "cursor_hide";
+ }
+ program { name: "cursor_hide_timer";
+ in: 0.2 0.0;
+ after: "cursor_show";
+ }
+ }
+}
+
+group { name: "elm/entry/selection/default";
+ parts {
+ part { name: "base"; type: RECT;
+ description { state: "default" 0.0;
+ color: 51 153 255 255;
+ }
+ }
+ }
+}
+
+group { name: "elm/entry/anchor/default";
+ images.image: "horizontal_separated_bar_small_glow.png" COMP;
+ parts {
+ part { name: "bar";
+ description { state: "default" 0.0;
+ image.normal: "horizontal_separated_bar_small_glow.png";
+ image.border: 4 4 4 4;
+ fill.smooth: 0;
+ rel1.relative: 0.0 1.0;
+ rel1.offset: -3 -5;
+ rel2.offset: 2 4;
+ }
+ }
+ }
+}
+
+group { name: "elm/entry/base/default";
+ sounds {
+ sample { name: "key-tap1" LOSSY 64;
+ source: "kbd-tap.wav";
+ }
+ sample { name: "key-tap2" LOSSY 64;
+ source: "kbd-tap2.wav";
+ }
+ sample { name: "key-tap3" LOSSY 64;
+ source: "kbd-tap3.wav";
+ }
+ sample { name: "key-tap4" LOSSY 64;
+ source: "kbd-tap4.wav";
+ }
+ sample { name: "key-tap5" LOSSY 64;
+ source: "kbd-tap5.wav";
+ }
+ }
+
+ styles {
+ style { name: "entry_style";
+ base: "font="FN" font_size=10 color=#ffffff style=shadow,bottom shadow_color=#00000080 wrap=word text_class=entry color_class=entry left_margin=2 right_margin=2";
+ tag: "em" "+ font_style=Oblique";
+ tag: "link" "+ color=#3399ff underline=on underline_color=#3399ff";
+ tag: "hilight" "+ font_weight=Bold";
+ tag: "preedit" "+ underline=on underline_color=#3399ff";
+ tag: "preedit_sel" "+ backing=on backing_color=#000000 color=#ffffff";
+ }
+ style { name: "entry_disabled_style";
+ base: "font="FN" font_size=10 color=#151515 style=shadow,bottom shadow_color=#ffffff19 wrap=word text_class=entry color_class=entry_disabled left_margin=2 right_margin=2";
+ tag: "em" "+ font_style=Oblique";
+ tag: "link" "+ color=#3399ff88 underline=on underline_color=#3399ff88";
+ tag: "hilight" "+ font_weight=Bold";
+ tag: "preedit" "+ underline=on underline_color=#3399ff88";
+ tag: "preedit_sel" "+ backing=on backing_color=#000 color=#888888";
+ }
+ style { name: "entry_guide_style";
+ base: "font="FN" font_size=10 color=#000000 style=shadow,bottom shadow_color=#ffffff19 wrap=word text_class=entry color_class=entry_guide left_margin=2 right_margin=2 ellipsis=0.0";
+ tag: "em" "+ font_style=Oblique";
+ tag: "hilight" "+ font_weight=Bold";
+ }
+ }
+// data.item: "context_menu_orientation" "horizontal";
+ parts {
+ part { name: "elm.guide"; type: TEXTBLOCK; mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "elm.text";
+ rel2.to: "elm.text";
+ text { style: "entry_guide_style";
+ min: 0 1;
+ align: 0.0 0.0;
+ }
+ }
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.text"; type: TEXTBLOCK;
+ scale: 1;
+ entry_mode: EDITABLE;
+ select_mode: DEFAULT;
+// XXX: set BLOCK_HANDLE ONLY if in mobile mode...
+// select_mode: BLOCK_HANDLE;
+
+// select_mode: EXPLICIT;
+ cursor_mode: BEFORE;
+ multiline: 1;
+ source: "elm/entry/selection/default"; // selection under
+// source2: "X"; // selection over
+// source3: "X"; // cursor under
+ source4: "elm/entry/cursor/default"; // cursorover
+// source5: "elm/entry/anchor/default"; // anchor under
+ source6: "elm/entry/anchor/default"; // anchor over
+ source7: "elm/entry/handler/start/default";
+ source8: "elm/entry/handler/end/default";
+ description { state: "default" 0.0;
+ /* we gotta use 0 0 here, because of scrolled entries */
+ fixed: 0 0;
+ rel1.offset: 2 2;
+ rel2.offset: -3 -3;
+ text { style: "entry_style";
+ min: 0 1;
+ align: 0.0 0.0;
+ }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ text { style: "entry_disabled_style";
+ min: 0 1;
+ }
+ }
+ }
+ }
+ programs {
+ program {
+ signal: "load"; source: "";
+ action: FOCUS_SET;
+ target: "elm.text";
+ }
+ program {
+ signal: "elm,state,disabled"; source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "elm.text";
+ }
+ program {
+ signal: "elm,state,enabled"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ }
+ program {
+ signal: "elm,guide,disabled"; source: "elm";
+ action: STATE_SET "hidden" 0.0;
+ target: "elm.guide";
+ }
+ program {
+ signal: "elm,guide,enabled"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.guide";
+ }
+ program { name: "key-down";
+ signal: "entry,keydown"; source: "elm.text";
+ script {
+ new buf[32];
+ snprintf(buf, 31, "key-down%i", (rand() % 5) + 1);
+ run_program(get_program_id(buf));
+ }
+ }
+ program { name: "key-down1";
+ action: PLAY_SAMPLE "key-tap1" 1.0;
+ }
+ program { name: "key-down2";
+ action: PLAY_SAMPLE "key-tap2" 1.0;
+ }
+ program { name: "key-down3";
+ action: PLAY_SAMPLE "key-tap3" 1.0;
+ }
+ program { name: "key-down4";
+ action: PLAY_SAMPLE "key-tap4" 1.0;
+ }
+ program { name: "key-down5";
+ action: PLAY_SAMPLE "key-tap5" 1.0;
+ }
+ }
+}
+
+group { name: "elm/entry/base-mixedwrap/default";
+ inherit: "elm/entry/base/default";
+ styles {
+ style { name: "entry_style_mixedwrap";
+ base: "font="FN" font_size=10 color=#ffffff style=shadow,bottom shadow_color=#00000080 wrap=mixed text_class=entry color_class=entry left_margin=2 right_margin=2";
+ tag: "em" "+ font_style=Oblique";
+ tag: "link" "+ color=#3399ff underline=on underline_color=#3399ff";
+ tag: "hilight" "+ font_weight=Bold";
+ tag: "preedit" "+ underline=on underline_color=#3399ff";
+ tag: "preedit_sel" "+ backing=on backing_color=#000000 color=#ffffff";
+ }
+ style { name: "entry_disabled_style_mixedwrap";
+ base: "font="FN" font_size=10 color=#151515 style=shadow,bottom shadow_color=#ffffff19 wrap=mixed text_class=entry color_class=entry_disabled left_margin=2 right_margin=2";
+ tag: "em" "+ font_style=Oblique";
+ tag: "link" "+ color=#3399ff88 underline=on underline_color=#3399ff88";
+ tag: "hilight" "+ font_weight=Bold";
+ tag: "preedit" "+ underline=on underline_color=#3399ff88";
+ tag: "preedit_sel" "+ backing=on backing_color=#000 color=#888888";
+ }
+ style { name: "entry_guide_style_mixedwrap";
+ base: "font="FN" font_size=10 color=#000000 style=shadow,bottom shadow_color=#ffffff19 wrap=mixed text_class=entry color_class=entry_guide left_margin=2 right_margin=2 ellipsis=0.0";
+ tag: "em" "+ font_style=Oblique";
+ tag: "hilight" "+ font_weight=Bold";
+ }
+ }
+ parts {
+ part { name: "elm.guide"; type: TEXTBLOCK; mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "elm.text";
+ rel2.to: "elm.text";
+ text { style: "entry_guide_style_mixedwrap";
+ min: 0 1;
+ align: 0.0 0.0;
+ }
+ }
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.text";
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ text { style: "entry_style_mixedwrap";
+ min: 0 1;
+ align: 0.0 0.0;
+ }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ text { style: "entry_disabled_style_mixedwrap";
+ min: 0 1;
+ }
+ }
+ }
+ }
+}
+
+group { name: "elm/entry/base-charwrap/default";
+ inherit: "elm/entry/base/default";
+ styles {
+ style { name: "entry_style_charwrap";
+ base: "font="FN" font_size=10 color=#ffffff style=shadow,bottom shadow_color=#00000080 wrap=char text_class=entry color_class=entry left_margin=2 right_margin=2";
+ tag: "em" "+ font_style=Oblique";
+ tag: "link" "+ color=#3399ff underline=on underline_color=#3399ff";
+ tag: "hilight" "+ font_weight=Bold";
+ tag: "preedit" "+ underline=on underline_color=#3399ff";
+ tag: "preedit_sel" "+ backing=on backing_color=#000000 color=#ffffff";
+ }
+ style { name: "entry_disabled_style_charwrap";
+ base: "font="FN" font_size=10 color=#151515 style=shadow,bottom shadow_color=#ffffff19 wrap=char text_class=entry color_class=entry_disabled left_margin=2 right_margin=2";
+ tag: "em" "+ font_style=Oblique";
+ tag: "link" "+ color=#3399ff88 underline=on underline_color=#3399ff88";
+ tag: "hilight" "+ font_weight=Bold";
+ tag: "preedit" "+ underline=on underline_color=#3399ff88";
+ tag: "preedit_sel" "+ backing=on backing_color=#000 color=#888888";
+ }
+ style { name: "entry_guide_style_charwrap";
+ base: "font="FN" font_size=10 color=#000000 style=shadow,bottom shadow_color=#ffffff19 wrap=char text_class=entry color_class=entry_guide left_margin=2 right_margin=2 ellipsis=0.0";
+ tag: "em" "+ font_style=Oblique";
+ tag: "hilight" "+ font_weight=Bold";
+ }
+ }
+ parts {
+ part { name: "elm.guide"; type: TEXTBLOCK; mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "elm.text";
+ rel2.to: "elm.text";
+ text { style: "entry_guide_style_charwrap";
+ min: 0 1;
+ align: 0.0 0.0;
+ }
+ }
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.text";
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ text { style: "entry_style_charwrap";
+ min: 0 1;
+ align: 0.0 0.0;
+ }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ text { style: "entry_disabled_style_charwrap";
+ min: 0 1;
+ }
+ }
+ }
+ }
+}
+
+group { name: "elm/entry/base-nowrap/default";
+ inherit: "elm/entry/base/default";
+ parts {
+ part { name: "elm.guide"; type: TEXTBLOCK; mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "elm.text";
+ rel2.to: "elm.text";
+ text { style: "entry_guide_style";
+ min: 0 1;
+ align: 0.0 0.0;
+ }
+ }
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.text";
+ description { state: "default" 0.0;
+ text { style: "entry_style";
+ min: 1 1;
+ align: 0.0 0.0;
+ }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ text { style: "entry_disabled_style";
+ min: 0 1;
+ }
+ }
+ }
+ }
+}
+
+group { name: "elm/entry/base-single/default";
+ inherit: "elm/entry/base/default";
+ styles {
+ style { name: "entry_single_style";
+ base: "font="FN" font_size=10 color=#ffffff style=shadow,bottom shadow_color=#00000080 wrap=none text_class=entry color_class=entry left_margin=2 right_margin=2";
+ tag: "em" "+ font_style=Oblique";
+ tag: "link" "+ color=#3399ff underline=on underline_color=#3399ff";
+ tag: "hilight" "+ font_weight=Bold";
+ tag: "preedit" "+ underline=on underline_color=#3399ff";
+ tag: "preedit_sel" "+ backing=on backing_color=#000000 color=#ffffff";
+ }
+ style { name: "entry_single_disabled_style";
+ base: "font="FN" font_size=10 color=#151515 style=shadow,bottom shadow_color=#ffffff19 wrap=none text_class=entry color_class=entry_disabled left_margin=2 right_margin=2";
+ tag: "em" "+ font_style=Oblique";
+ tag: "link" "+ color=#3399ff88 underline=on underline_color=#3399ff88";
+ tag: "hilight" "+ font_weight=Bold";
+ tag: "preedit" "+ underline=on underline_color=#3399ff88";
+ tag: "preedit_sel" "+ backing=on backing_color=#000 color=#888888";
+ }
+ style { name: "entry_single_guide_style";
+ base: "font="FN" font_size=10 color=#000000 style=shadow,bottom shadow_color=#ffffff19 wrap=none text_class=entry color_class=entry_guide left_margin=2 right_margin=2 ellipsis=0.0";
+ tag: "em" "+ font_style=Oblique";
+ tag: "hilight" "+ font_weight=Bold";
+ }
+ }
+ parts {
+ part { name: "elm.guide"; type: TEXTBLOCK; mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "elm.text";
+ rel2.to: "elm.text";
+ text { style: "entry_single_guide_style";
+ min: 0 1;
+ align: 0.0 0.5;
+ }
+ }
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.text";
+ multiline: 0;
+ description { state: "default" 0.0;
+ text { style: "entry_single_style";
+ min: 1 1;
+ max: 0 0;
+ align: 0.0 0.5;
+ }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ text { style: "entry_single_disabled_style";
+ }
+ }
+ }
+ }
+}
+
+group { name: "elm/entry/base-single-noedit/default";
+ inherit: "elm/entry/base/default";
+ parts {
+ part { name: "elm.text";
+ entry_mode: PLAIN;
+ multiline: 0;
+ source: "elm/entry/selection/default"; // selection under
+ source4: ""; // cursorover
+ source6: "elm/entry/anchor/default"; // anchor over
+ description { state: "default" 0.0;
+ text { style: "entry_single_style";
+ min: 1 1;
+ max: 0 0;
+ align: 0.0 0.5;
+ }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ text { style: "entry_single_disabled_style";
+ }
+ }
+ }
+ }
+}
+
+group { name: "elm/entry/base-noedit/default";
+ inherit: "elm/entry/base/default";
+ parts {
+ part { name: "elm.text";
+ entry_mode: PLAIN;
+ source: "elm/entry/selection/default"; // selection under
+ source4: ""; // cursorover
+ source6: "elm/entry/anchor/default"; // anchor over
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ text { style: "entry_style";
+ min: 0 1;
+ align: 0.0 0.0;
+ }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ text { style: "entry_disabled_style";
+ }
+ }
+ }
+ }
+}
+
+group { name: "elm/entry/base-noedit-mixedwrap/default";
+ inherit: "elm/entry/base/default";
+ parts {
+ part { name: "elm.text";
+ entry_mode: PLAIN;
+ source: "elm/entry/selection/default"; // selection under
+ source4: ""; // cursorover
+ source6: "elm/entry/anchor/default"; // anchor over
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ text { style: "entry_style_mixedwrap";
+ min: 0 1;
+ align: 0.0 0.0;
+ }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ text { style: "entry_disabled_style_mixedwrap";
+ }
+ }
+ }
+ }
+}
+
+group { name: "elm/entry/base-noedit-charwrap/default";
+ inherit: "elm/entry/base/default";
+ parts {
+ part { name: "elm.text";
+ entry_mode: PLAIN;
+ source: "elm/entry/selection/default"; // selection under
+ source4: ""; // cursorover
+ source6: "elm/entry/anchor/default"; // anchor under
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ text { style: "entry_style_charwrap";
+ min: 0 1;
+ align: 0.0 0.0;
+ }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ text { style: "entry_disabled_style_charwrap";
+ }
+ }
+ }
+ }
+}
+
+group { name: "elm/entry/base-nowrap-noedit/default";
+ inherit: "elm/entry/base/default";
+ parts {
+ part { name: "elm.text";
+ entry_mode: PLAIN;
+ source: "elm/entry/selection/default"; // selection under
+ source4: ""; // cursorover
+ source6: "elm/entry/anchor/default"; // anchor under
+ description { state: "default" 0.0;
+ text { style: "entry_style";
+ min: 1 1;
+ align: 0.0 0.0;
+ }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ text { style: "entry_disabled_style";
+ }
+ }
+ }
+ }
+}
+
+group { name: "elm/entry/base-password/default";
+ inherit: "elm/entry/base/default";
+ parts {
+ part { name: "elm.guide"; type: TEXTBLOCK; mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "elm.text";
+ rel2.to: "elm.text";
+ text { style: "entry_single_guide_style";
+ min: 0 1;
+ align: 0.0 0.5;
+ }
+ }
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.text";
+ entry_mode: PASSWORD;
+ multiline: 0;
+ source: "elm/entry/selection/default"; // selection under
+ source4: "elm/entry/cursor/default"; // cursorover
+ source6: "elm/entry/anchor/default"; // anchor under
+ description { state: "default" 0.0;
+ text { style: "entry_single_style";
+ repch: "*";
+ min: 1 1;
+ max: 0 0;
+ align: 0.0 0.5;
+ }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ text { style: "entry_single_disabled_style";
+ }
+ }
+ }
+ }
+}
+
+group { name: "elm/entry/magnifier/default";
+ images.image: "frame_rounded.png" COMP;
+ parts {
+ part { name: "bg"; type: RECT; mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.offset: 10 10;
+ rel1.to: "over";
+ rel2.offset: -11 -11;
+ rel2.to: "over";
+ color: 48 48 48 255;
+ }
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.swallow.content"; type: SWALLOW; mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.offset: 10 10;
+ rel1.to: "over";
+ rel2.offset: -11 -11;
+ rel2.to: "over";
+ }
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "over"; mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 128 64;
+ image.normal: "frame_rounded.png";
+ image.border: 14 14 14 14;
+ image.middle: 0;
+ fill.smooth: 0;
+ }
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ }
+ programs {
+ program { name: "magnifier_show";
+ signal: "elm,action,show,magnifier"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.content";
+ target: "bg";
+ target: "over";
+ }
+ program { name: "magnifier_hide";
+ signal: "elm,action,hide,magnifier"; source: "elm";
+ action: STATE_SET "hidden" 0.0;
+ target: "elm.swallow.content";
+ target: "bg";
+ target: "over";
+ }
+ }
+}
+
+group { name: "elm/entry/handler/start/default";
+ images.image: "handle_pick_up_left.png" COMP;
+ parts {
+ part { name: "base"; mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 21 27; // 42 54
+ image.normal: "handle_pick_up_left.png";
+ align: (29/42) (11/54);
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "event"; type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ rel1.to: "base";
+ rel2.to: "base";
+ min: 32 32;
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ program {
+ signal: "edje,handler,show"; source: "edje";
+ action: STATE_SET "visible" 0.0;
+ target: "base";
+ target: "event";
+ }
+ program {
+ signal: "edje,handler,hide"; source: "edje";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ target: "event";
+ }
+ }
+}
+
+group { name: "elm/entry/handler/end/default";
+ images.image: "handle_pick_up_right.png" COMP;
+ parts {
+ part { name: "base"; mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 21 27; // 42 54
+ image.normal: "handle_pick_up_right.png";
+ align: (12/42) (11/54);
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "event"; type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ rel1.to: "base";
+ rel2.to: "base";
+ min: 32 32;
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ program {
+ signal: "edje,handler,show"; source: "edje";
+ action: STATE_SET "visible" 0.0;
+ target: "base";
+ target: "event";
+ }
+ program {
+ signal: "edje,handler,hide"; source: "edje";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ target: "event";
+ }
+ }
+}
+
+///////////////////////////////////////////////////////////////////////////////
+// emoticon images from:
+// Tanya - Latvia
+// http://lazycrazy.deviantart.com/
+// http://lazycrazy.deviantart.com/art/Very-Emotional-Emoticons-144461621
+group { name: "elm/entry/emoticon/angry/default"; images.image:
+ "emo-angry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
+ "emo-angry.png"; } } } }
+group { name: "elm/entry/emoticon/angry-shout/default"; images.image:
+ "emo-angry-shout.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
+ "emo-angry-shout.png"; } } } }
+group { name: "elm/entry/emoticon/crazy-laugh/default"; images.image:
+ "emo-crazy-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
+ "emo-crazy-laugh.png"; } } } }
+group { name: "elm/entry/emoticon/evil-laugh/default"; images.image:
+ "emo-evil-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
+ "emo-evil-laugh.png"; } } } }
+group { name: "elm/entry/emoticon/evil/default"; images.image:
+ "emo-evil.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
+ "emo-evil.png"; } } } }
+group { name: "elm/entry/emoticon/goggle-smile/default"; images.image:
+ "emo-goggle-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
+ "emo-goggle-smile.png"; } } } }
+group { name: "elm/entry/emoticon/grumpy/default"; images.image:
+ "emo-grumpy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
+ "emo-grumpy.png"; } } } }
+group { name: "elm/entry/emoticon/grumpy-smile/default"; images.image:
+ "emo-grumpy-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
+ "emo-grumpy-smile.png"; } } } }
+group { name: "elm/entry/emoticon/guilty/default"; images.image:
+ "emo-guilty.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
+ "emo-guilty.png"; } } } }
+group { name: "elm/entry/emoticon/guilty-smile/default"; images.image:
+ "emo-guilty-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
+ "emo-guilty-smile.png"; } } } }
+group { name: "elm/entry/emoticon/haha/default"; images.image:
+ "emo-haha.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
+ "emo-haha.png"; } } } }
+group { name: "elm/entry/emoticon/half-smile/default"; images.image:
+ "emo-half-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
+ "emo-half-smile.png"; } } } }
+group { name: "elm/entry/emoticon/happy-panting/default"; images.image:
+ "emo-happy-panting.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
+ "emo-happy-panting.png"; } } } }
+group { name: "elm/entry/emoticon/happy/default"; images.image:
+ "emo-happy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
+ "emo-happy.png"; } } } }
+group { name: "elm/entry/emoticon/indifferent/default"; images.image:
+ "emo-indifferent.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
+ "emo-indifferent.png"; } } } }
+group { name: "elm/entry/emoticon/kiss/default"; images.image:
+ "emo-kiss.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
+ "emo-kiss.png"; } } } }
+group { name: "elm/entry/emoticon/knowing-grin/default"; images.image:
+ "emo-knowing-grin.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
+ "emo-knowing-grin.png"; } } } }
+group { name: "elm/entry/emoticon/laugh/default"; images.image:
+ "emo-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
+ "emo-laugh.png"; } } } }
+group { name: "elm/entry/emoticon/little-bit-sorry/default"; images.image:
+ "emo-little-bit-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
+ "emo-little-bit-sorry.png"; } } } }
+group { name: "elm/entry/emoticon/love-lots/default"; images.image:
+ "emo-love-lots.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
+ "emo-love-lots.png"; } } } }
+group { name: "elm/entry/emoticon/love/default"; images.image:
+ "emo-love.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
+ "emo-love.png"; } } } }
+group { name: "elm/entry/emoticon/minimal-smile/default"; images.image:
+ "emo-minimal-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
+ "emo-minimal-smile.png"; } } } }
+group { name: "elm/entry/emoticon/not-happy/default"; images.image:
+ "emo-not-happy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
+ "emo-not-happy.png"; } } } }
+group { name: "elm/entry/emoticon/not-impressed/default"; images.image:
+ "emo-not-impressed.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
+ "emo-not-impressed.png"; } } } }
+group { name: "elm/entry/emoticon/omg/default"; images.image:
+ "emo-omg.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
+ "emo-omg.png"; } } } }
+group { name: "elm/entry/emoticon/opensmile/default"; images.image:
+ "emo-opensmile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
+ "emo-opensmile.png"; } } } }
+group { name: "elm/entry/emoticon/smile/default"; images.image:
+ "emo-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
+ "emo-smile.png"; } } } }
+group { name: "elm/entry/emoticon/sorry/default"; images.image:
+ "emo-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
+ "emo-sorry.png"; } } } }
+group { name: "elm/entry/emoticon/squint-laugh/default"; images.image:
+ "emo-squint-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
+ "emo-squint-laugh.png"; } } } }
+group { name: "elm/entry/emoticon/surprised/default"; images.image:
+ "emo-surprised.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
+ "emo-surprised.png"; } } } }
+group { name: "elm/entry/emoticon/suspicious/default"; images.image:
+ "emo-suspicious.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
+ "emo-suspicious.png"; } } } }
+group { name: "elm/entry/emoticon/tongue-dangling/default"; images.image:
+ "emo-tongue-dangling.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
+ "emo-tongue-dangling.png"; } } } }
+group { name: "elm/entry/emoticon/tongue-poke/default"; images.image:
+ "emo-tongue-poke.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
+ "emo-tongue-poke.png"; } } } }
+group { name: "elm/entry/emoticon/uh/default"; images.image:
+ "emo-uh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
+ "emo-uh.png"; } } } }
+group { name: "elm/entry/emoticon/unhappy/default"; images.image:
+ "emo-unhappy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
+ "emo-unhappy.png"; } } } }
+group { name: "elm/entry/emoticon/very-sorry/default"; images.image:
+ "emo-very-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
+ "emo-very-sorry.png"; } } } }
+group { name: "elm/entry/emoticon/what/default"; images.image:
+ "emo-what.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
+ "emo-what.png"; } } } }
+group { name: "elm/entry/emoticon/wink/default"; images.image:
+ "emo-wink.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
+ "emo-wink.png"; } } } }
+group { name: "elm/entry/emoticon/worried/default"; images.image:
+ "emo-worried.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
+ "emo-worried.png"; } } } }
+group { name: "elm/entry/emoticon/wtf/default"; images.image:
+ "emo-wtf.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
+ "emo-wtf.png"; } } } }
+//------------------------------------------------------------
diff --git a/data/themes/edc/elm/fileselector.edc b/data/themes/edc/elm/fileselector.edc
new file mode 100644
index 000000000..471aca750
--- /dev/null
+++ b/data/themes/edc/elm/fileselector.edc
@@ -0,0 +1,204 @@
+group { name: "elm/entry/path/separator/default";
+ images.image: "sym_right_glow_normal.png" COMP;
+ parts {
+ part { name: "icon"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "sym_right_glow_normal.png";
+ FIXED_SIZE(15, 15)
+ aspect: 1.0 1.0;
+ }
+ }
+ }
+}
+
+group { name: "elm/fileselector/base/default";
+ data.item: "path_separator" "<item relsize=15x15 vsize=full href=path/separator></item>";
+ parts {
+ part { name: "elm.swallow.up"; type: SWALLOW;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ align: 0.0 0.0;
+ min: 5 5;
+ rel1.offset: 3 3;
+ rel2.relative: 0.0 0.0;
+ rel2.offset: 3 3;
+ }
+ }
+ part { name: "elm.swallow.home"; type: SWALLOW;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ align: 0.0 0.0;
+ min: 5 5;
+ rel1 {
+ to: "elm.swallow.up";
+ relative: 1.0 0.0;
+ offset: 3 0;
+ }
+ rel2 {
+ to: "elm.swallow.up";
+ relative: 1.0 1.0;
+ offset: 3 -1;
+ }
+ }
+ }
+ part { name: "elm.spinner.clip"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.to: "elm.swallow.spinner";
+ rel2.to: "elm.swallow.spinner";
+ color: 255 255 255 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 255;
+ }
+ }
+ part { name: "elm.swallow.spinner"; type: SWALLOW;
+ clip_to: "elm.spinner.clip";
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ align: 1.0 0.0;
+ min: 5 5;
+ rel1.relative: 1.0 0.0;
+ rel1.offset: -4 3;
+ rel2.relative: 1.0 0.0;
+ rel2.offset: -4 3;
+ }
+ }
+ part { name: "elm.swallow.files"; type: SWALLOW;
+ description { state: "default" 0.0;
+ align: 1.0 0.0;
+ min: 10 10;
+ rel1 {
+ to_y: "elm.swallow.home";
+ relative: 0.0 1.0;
+ offset: 3 3;
+ }
+ rel2 {
+ to_y: "elm.swallow.path";
+ relative: 1.0 0.0;
+ offset: -4 -4;
+ }
+ }
+ }
+ part { name: "elm.swallow.path"; type: SWALLOW;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ align: 0.5 1.0;
+ rel1 {
+ to_y: "elm.swallow.filename";
+ relative: 0.0 0.0;
+ offset: 3 -4;
+ }
+ rel2 {
+ to_y: "elm.swallow.filename";
+ relative: 1.0 0.0;
+ offset: -4 -4;
+ }
+ }
+ }
+ part { name: "elm.swallow.filename"; type: SWALLOW;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ align: 0.5 1.0;
+ rel1 {
+ to_y: "elm.swallow.filters";
+ relative: 0.0 0.0;
+ offset: 3 -4;
+ }
+ rel2 {
+ to_y: "elm.swallow.filters";
+ relative: 1.0 0.0;
+ offset: -4 -4;
+ }
+ }
+ }
+ part { name: "elm.swallow.filters"; type: SWALLOW;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ align: 1.0 1.0;
+ rel1 {
+ to_y: "elm.swallow.ok";
+ relative: 1.0 0.0;
+ offset: -4 -4;
+ }
+ rel2 {
+ to_y: "elm.swallow.ok";
+ relative: 1.0 0.0;
+ offset: -4 -4;
+ }
+ }
+ }
+ part { name: "elm.swallow.cancel"; type: SWALLOW;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ align: 1.0 1.0;
+ rel1 {
+ to: "elm.swallow.ok";
+ relative: 0.0 0.0;
+ offset: -4 0;
+ }
+ rel2 {
+ to: "elm.swallow.ok";
+ relative: 0.0 1.0;
+ offset: -4 -1;
+ }
+ }
+ }
+ part { name: "elm.swallow.ok"; type: SWALLOW;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ align: 1.0 1.0;
+ rel1.relative: 1.0 1.0;
+ rel1.offset: -4 -4;
+ rel2.relative: 1.0 1.0;
+ rel2.offset: -4 -4;
+ }
+ }
+ }
+ programs {
+ program {
+ signal: "elm,action,spinner,show"; source: "elm";
+ action: STATE_SET "visible" 0.0;
+ transition: LINEAR 0.2;
+ target: "elm.spinner.clip";
+ }
+ program {
+ signal: "elm,action,spinner,hide"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: LINEAR 0.5 CURRENT;
+ target: "elm.spinner.clip";
+ }
+// program {
+// signal: "elm,state,save,on"; source: "elm";
+// }
+// program {
+// signal: "elm,state,save,off"; source: "elm";
+// }
+ }
+}
+
+group { name: "elm/fileselector_entry/base/default";
+ parts {
+ part { name: "elm.swallow.entry"; type: SWALLOW;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ min: 50 10;
+ rel2 { to_x: "elm.swallow.button";
+ relative: 0.0 1.0;
+ offset: -1 -1;
+ }
+ }
+ }
+ part { name: "elm.swallow.button"; type: SWALLOW;
+ description { state: "default" 0.0;
+ align: 1.0 0.0;
+ min: 10 10;
+ fixed: 1 1;
+ rel1 {
+ relative: 1.0 0.0;
+ offset: -21 0;
+ }
+ }
+ }
+ }
+}
diff --git a/data/themes/edc/elm/flipselector.edc b/data/themes/edc/elm/flipselector.edc
new file mode 100644
index 000000000..9087f678c
--- /dev/null
+++ b/data/themes/edc/elm/flipselector.edc
@@ -0,0 +1,558 @@
+#define FLIP_PICKER_MAX_LEN (50)
+#define FLIP_PICKER_MAX_LEN_STR "50"
+
+group { name: "elm/flipselector/base/default";
+ images.image: "flip_shad.png" COMP;
+ images.image: "sym_up_light_normal.png" COMP;
+ images.image: "sym_down_light_normal.png" COMP;
+ images.image: "sym_up_dark_normal.png" COMP;
+ images.image: "sym_down_dark_normal.png" COMP;
+ images.image: "shine.png" COMP;
+ images.image: "win_shadow.png" COMP;
+ images.image: "bevel_out.png" COMP;
+
+ data.item: "max_len" FLIP_PICKER_MAX_LEN_STR;
+
+ //FIXME: quick successive clicks on, say, up, lead to nastiness
+ script {
+ public cur, prev, next, lock;
+
+  flip_up(str[]) {
+ new tmp[FLIP_PICKER_MAX_LEN];
+ if (get_int(lock) == 1) {
+ replace_str(next, 0, str);
+ return;
+ }
+ fetch_str(cur, 0, tmp, FLIP_PICKER_MAX_LEN);
+
+ set_text(PART:"bottom_text_prev", tmp);
+ set_state(PART:"elm.top", "shrink", 0.0);
+ set_text(PART:"elm.top", tmp);
+ set_state(PART:"elm.top", "default", 0.0);
+ set_text(PART:"elm.top", tmp);
+
+ replace_str(prev, 0, tmp);
+
+ set_state(PART:"elm.bottom", "default", 0.0);
+ set_text(PART:"elm.bottom", str);
+ set_state(PART:"elm.bottom", "shrink", 0.0);
+ set_text(PART:"elm.bottom", str);
+ set_text(PART:"top_text_prev", str);
+
+ replace_str(cur, 0, str);
+
+ set_state(PART:"bottom_cur", "shrink", 0.0);
+ set_state(PART:"top_cur", "default", 0.0);
+
+ set_int(lock, 1);
+ set_state(PART:"bottom_shadow", "default", 0.0);
+ anim(0.2, "animator_top_down", 1);
+ }
+  flip_dn(str[]) {
+ new tmp[FLIP_PICKER_MAX_LEN];
+ if (get_int(lock) == 1) {
+ replace_str(next, 0, str);
+ return;
+ }
+
+ fetch_str(cur, 0, tmp, FLIP_PICKER_MAX_LEN);
+
+ set_text(PART:"top_text_prev", tmp);
+ set_state(PART:"elm.bottom", "shrink", 0.0);
+ set_text(PART:"elm.bottom", tmp);
+ set_state(PART:"elm.bottom", "default", 0.0);
+ set_text(PART:"elm.bottom", tmp);
+
+ replace_str(prev, 0, tmp);
+
+ set_state(PART:"elm.top", "default", 0.0);
+ set_text(PART:"elm.top", str);
+ set_state(PART:"elm.top", "shrink", 0.0);
+ set_text(PART:"elm.top", str);
+ set_text(PART:"bottom_text_prev", str);
+
+ replace_str(cur, 0, str);
+
+ set_state(PART:"bottom_cur", "default", 0.0);
+ set_state(PART:"top_cur", "shrink", 0.0);
+
+ set_int(lock, 1);
+ set_state(PART:"bottom_shadow", "full", 0.0);
+ anim(0.2, "animator_bottom_up", 1);
+ }
+ public animator_bottom_down(val, Float:pos) {
+ new tmp[FLIP_PICKER_MAX_LEN];
+
+ set_tween_state(PART:"elm.bottom", pos, "shrink", 0.0, "default", 0.0);
+ set_tween_state(PART:"bottom_cur", pos, "shrink", 0.0, "default", 0.0);
+ set_tween_state(PART:"bottom_shadow", pos, "half", 0.0, "full", 0.0);
+ set_state(PART:"bottom_shine_cur", "visible", 0.0);
+
+ if (pos >= 1.0) {
+ set_state(PART:"bottom_shadow", "default", 0.0);
+ set_state(PART:"bottom_shine_cur", "default", 0.0);
+ set_int(lock, 0);
+ fetch_str(next, 0, tmp, FLIP_PICKER_MAX_LEN);
+ if (strncmp(tmp, "", FLIP_PICKER_MAX_LEN) != 0) {
+ replace_str(next, 0, "");
+ flip_up(tmp);
+ }
+ }
+ }
+ public animator_top_down(val, Float:pos) {
+ set_tween_state(PART:"elm.top", pos, "default", 0.0, "shrink", 0.0);
+ set_tween_state(PART:"top_cur", pos, "default", 0.0, "shrink", 0.0);
+ set_tween_state(PART:"bottom_shadow", pos, "default", 0.0, "half",
+ 0.0);
+ if (pos >= 1.0)
+ {
+ set_state(PART:"top_shine_cur", "default", 0.0);
+ anim(0.2, "animator_bottom_down", val);
+ }
+ }
+ public animator_bottom_up(val, Float:pos) {
+ set_tween_state(PART:"elm.bottom", pos, "default", 0.0, "shrink", 0.0);
+ set_tween_state(PART:"bottom_cur", pos, "default", 0.0, "shrink", 0.0);
+ set_tween_state(PART:"bottom_shadow", pos, "full", 0.0, "half", 0.0);
+
+ if (pos >= 1.0) anim(0.2, "animator_top_up", val);
+ }
+ public animator_top_up(val, Float:pos) {
+ new tmp[FLIP_PICKER_MAX_LEN];
+
+ set_tween_state(PART:"elm.top", pos, "shrink", 0.0, "default", 0.0);
+ set_tween_state(PART:"top_cur", pos, "shrink", 0.0, "default", 0.0);
+ set_tween_state(PART:"bottom_shadow", pos, "half", 0.0, "default",
+ 0.0);
+ set_state(PART:"top_shine_cur", "visible", 0.0);
+
+ if (pos >= 1.0) {
+ set_state(PART:"bottom_shadow", "default", 0.0);
+ set_int(lock, 0);
+
+ fetch_str(next, 0, tmp, FLIP_PICKER_MAX_LEN);
+ if (strncmp(tmp, "", FLIP_PICKER_MAX_LEN) != 0) {
+ replace_str(next, 0, "");
+ flip_dn(tmp);
+ }
+ }
+ }
+ public message(Msg_Type:type, id, ...) {
+ /* flip down */
+ if ((type == MSG_STRING) && (id == 1)) {
+ new value[FLIP_PICKER_MAX_LEN];
+ snprintf(value, FLIP_PICKER_MAX_LEN, "%s", getarg(2));
+ flip_up(value);
+ /* flip up */
+ } else if ((type == MSG_STRING) && (id == 2)) {
+ new value[FLIP_PICKER_MAX_LEN];
+ snprintf(value, FLIP_PICKER_MAX_LEN, "%s", getarg(2));
+ flip_dn(value);
+ }
+ }
+ }
+ parts {
+ part { name: "base_shadow"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "win_shadow.png";
+ image.border: 14 14 14 14;
+ image.middle: 0;
+ rel1.to: "base";
+ rel1.offset: -7 -3;
+ rel2.to: "base";
+ rel2.offset: 6 11;
+ fill.smooth: 0;
+ }
+ }
+ part { name: "base"; type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.offset: 6 6;
+ rel2.offset: -7 -7;
+ }
+ }
+ part { name: "bottom"; type: RECT;
+ description { state: "default" 0.0;
+ rel1 { to: "base"; relative: 0.0 0.5; }
+ rel2.to: "base";
+ }
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "top"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.to: "base";
+ rel2 { to: "base"; relative: 1.0 0.5; }
+ color: 0 0 0 0;
+ }
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "bottom_prev";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.to: "bottom";
+ rel2.to: "bottom";
+ color: 72 72 72 255;
+ }
+ }
+ part { name: "bottom_text_prev"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ clip_to: "bottom_clipper";
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to_x: "base";
+ rel1.to_y: "arrow_top";
+ rel1.relative: 0.0 0.7;
+ rel1.offset: 2 0;
+ rel2.to: "base";
+ rel2.to_y: "arrow_bottom";
+ rel2.relative: 1.0 0.3;
+ rel2.offset: -3 -1;
+ text { font: FN; size: 10;
+ min: 1 1;
+ align: 0.5 0.5;
+ }
+ color: FN_COL_DEFAULT;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: FN_COL_DISABLE;
+ }
+ }
+ part { name: "bottom_shadow"; mouse_events: 0;
+ clip_to: "bottom_clipper";
+ description { state: "default" 0.0;
+ rel1.to: "bottom";
+ rel2 { to: "bottom"; relative: 1.0 0.0; }
+ image.normal: "flip_shad.png";
+ fill.smooth: 0;
+ }
+ description { state: "half" 0.0;
+ inherit: "default" 0.0;
+ rel2.relative: 1.0 1.0;
+ }
+ description { state: "full" 0.0;
+ inherit: "default" 0.0;
+ rel2.relative: 1.0 2.0;
+ }
+ }
+ part { name: "bottom_cur"; type: RECT; mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.to: "bottom";
+ rel2.to: "bottom";
+ color: 72 72 72 255;
+ }
+ description { state: "shrink" 0.0;
+ inherit: "default" 0.0;
+ rel2.relative: 1.0 0.0;
+ }
+ }
+ part { name: "bottom_shine_cur"; mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1 { to: "bottom_cur"; relative: 0 1; }
+ rel2.to: "bottom_cur";
+ image.normal: "shine.png";
+ min: 0 1;
+ fixed: 0 1;
+ align: 0.5 1;
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "elm.bottom"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ clip_to: "bottom_clipper";
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to_x: "base";
+ rel1.to_y: "arrow_top";
+ rel1.relative: 0.0 0.7;
+ rel1.offset: 2 0;
+ rel2.to: "base";
+ rel2.to_y: "arrow_bottom";
+ rel2.relative: 1.0 0.3;
+ rel2.offset: -3 -1;
+ text { font: FN; size: 10;
+ min: 1 1;
+ align: 0.5 0.5;
+ }
+ color: FN_COL_DEFAULT;
+ }
+ description { state: "shrink" 0.0;
+ inherit: "default" 0.0;
+ color: 128 128 128 255;
+ visible: 0;
+ rel2.relative: 1.0 0.5; /* FIXME: same visual effect? --> MAP! */
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: FN_COL_DISABLE;
+ }
+ }
+ part { name: "top_prev"; type: RECT; mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.to: "top";
+ rel2.to: "top";
+ color: 56 56 56 255;
+ }
+ }
+ part { name: "top_text_prev"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ clip_to: "top_clipper";
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to_x: "base";
+ rel1.to_y: "arrow_top";
+ rel1.relative: 0.0 0.7;
+ rel1.offset: 2 0;
+ rel2.to: "base";
+ rel2.to_y: "arrow_bottom";
+ rel2.relative: 1.0 0.3;
+ rel2.offset: -3 -1;
+ text { font: FN; size: 10;
+ min: 1 1;
+ align: 0.5 0.5;
+ source: "elm.top";
+ }
+ color: 192 192 192 255;
+ color3: 0 0 0 128;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: 16 16 16 255;
+ color3: 255 255 255 25;
+ }
+ }
+ part { name: "top_shine_prev"; mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.to: "top_prev";
+ rel2 { to: "top_prev"; relative: 1 0; }
+ image.normal: "shine.png";
+ min: 0 1;
+ fixed: 0 1;
+ align: 0.5 0;
+ }
+ }
+ part { name: "top_cur"; type: RECT; mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.to: "top";
+ rel2.to: "top";
+ color: 56 56 56 255;
+ }
+ description { state: "shrink" 0.0;
+ inherit: "default" 0.0;
+ rel1.relative: 0.0 1.0;
+ color: 40 40 40 255;
+ }
+ }
+ part { name: "elm.top"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ clip_to: "top_clipper";
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "base";
+ rel1.offset: 2 2;
+ rel2.to: "base";
+ rel2.offset: -3 -3;
+ text { font: FN; size: 10;
+ min: 1 1;
+ align: 0.5 0.5;
+ }
+ color: 192 192 192 255;
+ color3: 0 0 0 128;
+ }
+ description { state: "shrink" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ rel1.relative: 0.0 0.5;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: 16 16 16 255;
+ color3: 255 255 255 25;
+ }
+ }
+ part { name: "top_shine_cur"; mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.to: "top_cur";
+ rel2 { to: "top_cur"; relative: 1 0; }
+ image.normal: "shine.png";
+ min: 0 1;
+ fixed: 0 1;
+ align: 0.5 0;
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "bevel"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "bevel_out.png";
+ image.border: 1 1 1 1;
+ image.middle: 0;
+ rel1.to: "base";
+ rel2.to: "base";
+ fill.smooth: 0;
+ }
+ }
+ part { name: "arrow_top"; mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 15 15;
+ max: 15 15;
+ align: 0.5 0.0;
+ rel1.to: "top";
+ rel2.to: "top";
+ image.normal: "sym_up_light_normal.png";
+ color: 192 192 192 255;
+ }
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "sym_up_dark_normal.png";
+ }
+ }
+ part { name: "arrow_bottom"; mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 15 15;
+ max: 15 15;
+ align: 0.5 1.0;
+ rel1.to: "bottom";
+ rel2.to: "bottom";
+ image.normal: "sym_down_light_normal.png";
+ }
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "sym_down_dark_normal.png";
+ }
+ }
+ part { name: "top_clipper"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.to: "top";
+ rel2.to: "top";
+ }
+ }
+ part { name: "bottom_clipper"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.to: "bottom";
+ rel2.to: "bottom";
+ }
+ }
+ part { name: "event_blocker"; type: RECT;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ program {
+ signal: "load"; source: "";
+ script {
+ append_str(cur, "");
+ append_str(prev, "");
+ append_str(next, "");
+ set_int(lock, 0);
+ }
+ }
+ program {
+ signal: "elm,state,button,hidden"; source: "elm";
+ action: STATE_SET "hidden" 0.0;
+ target: "arrow_top";
+ target: "arrow_bottom";
+ target: "top";
+ target: "bottom";
+ }
+ program {
+ signal: "elm,state,button,visible"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "arrow_top";
+ target: "arrow_bottom";
+ target: "top";
+ target: "bottom";
+ }
+ program { name: "up";
+ signal: "mouse,down,1"; source: "top";
+ action: SIGNAL_EMIT "elm,action,up,start" "elm";
+ }
+ program { name: "up,stop";
+ signal: "mouse,up,1"; source: "top";
+ action: SIGNAL_EMIT "elm,action,up,stop" "elm";
+ }
+ program { name: "down";
+ signal: "mouse,down,1"; source: "bottom";
+ action: SIGNAL_EMIT "elm,action,down,start" "elm";
+ }
+ program { name: "down,stop";
+ signal: "mouse,up,1"; source: "bottom";
+ action: SIGNAL_EMIT "elm,action,down,stop" "elm";
+ }
+ program { name: "disable";
+ signal: "elm,state,disabled"; source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ set_state(PART:"event_blocker", "disabled", 0.0);
+ set_state(PART:"elm.bottom", "disabled", 0.0);
+ set_state(PART:"elm.top", "disabled", 0.0);
+ set_state(PART:"bottom_text_prev", "disabled", 0.0);
+ set_state(PART:"top_text_prev", "disabled", 0.0);
+
+ get_state(PART:"arrow_bottom", st, 30, vl);
+ if (strcmp(st, "hidden"))
+ set_state(PART:"arrow_bottom", "disabled", 0.0);
+
+ get_state(PART:"arrow_top", st, 30, vl);
+ if (strcmp(st, "hidden"))
+ set_state(PART:"arrow_top", "disabled", 0.0);
+
+ get_state(PART:"top_cur", st, 30, vl);
+ if (strcmp(st, "shrink"))
+ set_state(PART:"top_shine_cur", "visible", 0.0);
+ }
+ }
+ program { name: "enable";
+ signal: "elm,state,enabled"; source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ set_state(PART:"event_blocker", "default", 0.0);
+ set_state(PART:"elm.bottom", "default", 0.0);
+ set_state(PART:"elm.top", "default", 0.0);
+ set_state(PART:"bottom_text_prev", "default", 0.0);
+ set_state(PART:"top_text_prev", "default", 0.0);
+
+ get_state(PART:"arrow_bottom", st, 30, vl);
+ if (strcmp(st, "hidden"))
+ set_state(PART:"arrow_bottom", "default", 0.0);
+
+ get_state(PART:"arrow_top", st, 30, vl);
+ if (strcmp(st, "hidden"))
+ set_state(PART:"arrow_top", "default", 0.0);
+ }
+ }
+ }
+}
diff --git a/data/themes/edc/elm/focus.edc b/data/themes/edc/elm/focus.edc
new file mode 100644
index 000000000..4e9563bfe
--- /dev/null
+++ b/data/themes/edc/elm/focus.edc
@@ -0,0 +1,152 @@
+group { name: "elm/focus_highlight/top/default";
+ images.image: "box_glow.png" COMP;
+ images.image: "box_outline.png" COMP;
+ data.item: "animate" "on";
+ script {
+ public s_x, s_y, s_w, s_h; /* source */
+ public difx, dify, difw, difh;
+
+ public animator1(val, Float:pos) {
+ new x, y, w, h, dx, dy, dw, dh, Float:p;
+ p = 1.0 - ((1.0 - pos) * (1.0 - pos) * (1.0 - pos));
+ dx = round(float_mul(float(get_int(difx)), p));
+ x = get_int(s_x) + dx;
+ dy = round(float_mul(float(get_int(dify)), p));
+ y = get_int(s_y) + dy;
+ dw = round(float_mul(float(get_int(difw)), p));
+ w = get_int(s_w) + dw;
+ dh = round(float_mul(float(get_int(difh)), p));
+ h = get_int(s_h) + dh;
+ update_offset(x, y, w, h);
+ }
+
+ public update_offset(x, y, w, h) {
+ set_state_val(PART:"base", STATE_REL1_OFFSET, x, y);
+ set_state_val(PART:"base", STATE_REL2_OFFSET, x + w, y + h);
+ }
+
+ public message(Msg_Type:type, id, ...) {
+ if ((type == MSG_INT_SET) && (id == 1)) {
+ new x1, y1, w1, h1, x2, y2, w2, h2;
+
+ x1 = getarg(2);
+ y1 = getarg(3);
+ w1 = getarg(4);
+ h1 = getarg(5);
+ x2 = getarg(6);
+ y2 = getarg(7);
+ w2 = getarg(8);
+ h2 = getarg(9);
+
+ set_int(s_x, x1);
+ set_int(s_y, y1);
+ set_int(s_w, w1);
+ set_int(s_h, h1);
+ set_int(difx, x2 - x1);
+ set_int(dify, y2 - y1);
+ set_int(difw, w2 - w1);
+ set_int(difh, h2 - h1);
+
+ custom_state(PART:"base", "default", 0.0);
+ set_state_val(PART:"base", STATE_REL1, 0.0, 0.0);
+ set_state_val(PART:"base", STATE_REL2, 0.0, 0.0);
+ update_offset(x1, y1, w1, h1);
+ set_state(PART:"base", "custom", 0.0);
+
+ anim(0.2, "animator1", 1);
+ }
+ }
+ }
+ parts {
+ part { name: "base"; type: SPACER;
+ description { state: "default" 0.0;
+ }
+ }
+ part { name: "clip"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.to: "glow";
+ rel2.to: "glow";
+ color: 255 255 255 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 255;
+ }
+ }
+ part { name: "glow"; mouse_events: 0;
+ clip_to: "clip";
+ description { state: "default" 0.0;
+ image.normal: "box_glow.png";
+ image.border: 12 12 12 12;
+ image.middle: 0;
+ fill.smooth: 0;
+ rel1.to: "base";
+ rel1.offset: -7 -7;
+ rel2.to: "base";
+ rel2.offset: 5 5;
+ }
+ }
+ part { name: "sel"; mouse_events: 0;
+ clip_to: "clip";
+ description { state: "default" 0.0;
+ image.normal: "box_outline.png";
+ image.border: 12 12 12 12;
+ image.middle: 0;
+ fill.smooth: 0;
+ rel1.to: "glow";
+ rel2.to: "glow";
+ color: 255 255 255 0;
+ }
+ description { state: "hi" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 255;
+ }
+ }
+ program {
+ signal: "elm,action,focus,show"; source: "elm";
+ action: ACTION_STOP;
+ target: "pulse";
+ target: "pulse2";
+ after: "go2";
+ }
+ program { name: "go2";
+ action: STATE_SET "visible" 0.0;
+ transition: DECELERATE 0.2;
+ target: "clip";
+ after: "pulse";
+ after: "go3";
+ }
+ program { name: "go3";
+ action: SIGNAL_EMIT "elm,action,focus,show,end" "elm";
+ }
+ program {
+ signal: "elm,action,focus,hide"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: DECELERATE 0.4;
+ target: "clip";
+ after: "stop2";
+ }
+ program { name: "stop2";
+ action: SIGNAL_EMIT "elm,action,focus,hide,end" "elm";
+ after: "stop3";
+ }
+ program { name: "stop3";
+ action: ACTION_STOP;
+ target: "pulse";
+ target: "pulse2";
+ }
+ program { name: "pulse";
+ action: STATE_SET "hi" 0.0;
+ transition: SINUSOIDAL 0.2;
+ in: 3.0 0.0;
+ target: "sel";
+ after: "pulse2";
+ }
+ program { name: "pulse2";
+ action: STATE_SET "default" 0.0;
+ transition: SINUSOIDAL 0.4;
+ target: "sel";
+ after: "pulse";
+ }
+ }
+}
diff --git a/data/themes/edc/elm/frame.edc b/data/themes/edc/elm/frame.edc
new file mode 100644
index 000000000..42e495a0c
--- /dev/null
+++ b/data/themes/edc/elm/frame.edc
@@ -0,0 +1,286 @@
+group { name: "elm/frame/base/default";
+ images.image: "shadow_square_tiny.png" COMP;
+ images.image: "vgrad_med_curved.png" COMP;
+ images.image: "bevel_out.png" COMP;
+ images.image: "holes_tiny_vert.png" COMP;
+ parts {
+ part { name: "shadow"; mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.offset: -1 0;
+ rel2.offset: 0 1;
+ image.normal: "shadow_square_tiny.png";
+ image.border: 6 6 6 6;
+ fill.smooth: 0;
+ }
+ }
+ part { name: "base"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.relative: 0.0 1.0;
+ rel1.offset: 2 0;
+ rel1.to_y: "top";
+ rel2.offset: -3 -3;
+ color: 64 64 64 255;
+ }
+ }
+ part { name: "top";
+ description { state: "default" 0.0;
+ image.normal: "vgrad_med_curved.png";
+ rel1.offset: 2 2;
+ rel2.to_y: "elm.text";
+ rel2.offset: -3 -1;
+ fill.smooth: 0;
+ TILED_HORIZ(120)
+ }
+ }
+ part { name: "edge1";
+ description { state: "default" 0.0;
+ image.normal: "holes_tiny_vert.png";
+ rel1.offset: 4 0;
+ rel1.to_y: "elm.text";
+ rel2.offset: 4 -1;
+ rel2.relative: 0.0 1.0;
+ rel2.to_y: "elm.text";
+ align: 0.0 0.5;
+ FIXED_SIZE(3, 11)
+ }
+ }
+ part { name: "edge2";
+ description { state: "default" 0.0;
+ image.normal: "holes_tiny_vert.png";
+ rel1.offset: -5 0;
+ rel1.to_y: "elm.text";
+ rel1.relative: 1.0 0.0;
+ rel2.offset: -5 -1;
+ rel2.relative: 1.0 1.0;
+ rel2.to_y: "elm.text";
+ align: 1.0 0.5;
+ FIXED_SIZE(3, 11)
+ }
+ }
+ part { name: "elm.text"; type: TEXT;
+ scale: 1;
+ effect: SHADOW BOTTOM;
+ description { state: "default" 0.0;
+ color_class: "frame";
+ rel1.relative: 1.0 0.0;
+ rel1.offset: 1 2;
+ rel1.to_x: "edge1";
+ rel2.relative: 0.0 0.0;
+ rel2.offset: -2 2;
+ rel2.to_x: "edge2";
+ align: 0.0 0.0;
+ color: 21 21 21 255;
+ color3: 255 255 255 25;
+ text { font: FNBD; size: 10;
+ text_class: "frame";
+ align: 0.0 0.0;
+ min: 0 1;
+ }
+ fixed: 0 1;
+ }
+ }
+ part { name: "clip"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.relative: 0.0 1.0;
+ rel1.offset: 5 0;
+ rel1.to_y: "elm.text";
+ rel2.offset: -6 -6;
+ }
+ }
+ part { name: "elm.swallow.content"; type: SWALLOW;
+ clip_to: "clip";
+ description { state: "default" 0.0;
+ align: 0.0 1.0;
+ rel1.relative: 0.0 1.0;
+ rel1.offset: 5 0;
+ rel1.to_y: "elm.text";
+ rel2.offset: -6 -6;
+ }
+ description { state: "collapsed" 0.0;
+ inherit: "default" 0.0;
+ minmul: 1.0 0.0;
+ }
+ }
+ part { name: "bevel"; mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.offset: 2 2;
+ rel2.offset: -3 -3;
+ image.normal: "bevel_out.png";
+ image.border: 1 1 1 1;
+ image.middle: 0;
+ fill.smooth: 0;
+ }
+ }
+ part { name: "event"; type: RECT; ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ rel1.to_y: "elm.text";
+ rel2.to_y: "elm.text";
+ }
+ }
+ }
+ programs {
+ program { name: "collapse";
+ action: STATE_SET "collapsed" 0.0;
+ target: "elm.swallow.content";
+ transition: ACCELERATE 0.3;
+ after: "signal";
+ }
+ program { name: "expand";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.content";
+ transition: DECELERATE 0.3;
+ after: "signal";
+ }
+ program {
+ signal: "mouse,up,1"; source: "event";
+ action: SIGNAL_EMIT "elm,action,click" "elm";
+ }
+ program {
+ signal: "elm,action,toggle"; source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.swallow.content", st, 30, vl);
+ if (!strcmp(st, "default"))
+ run_program(PROGRAM:"collapse");
+ else
+ run_program(PROGRAM:"expand");
+ }
+ }
+ program {
+ signal: "elm,action,switch"; source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.swallow.content", st, 30, vl);
+ if (!strcmp(st, "default"))
+ set_state(PART:"elm.swallow.content", "collapsed", 0.0);
+ else
+ set_state(PART:"elm.swallow.content", "default", 0.0);
+ }
+ }
+ program { name: "signal";
+ action: SIGNAL_EMIT "elm,anim,done" "elm";
+ }
+ }
+}
+
+group { name: "elm/frame/base/pad_small";
+ parts {
+ part { name: "b0"; type: SPACER;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 3 3; max: 3 3;
+ align: 0.0 0.0;
+ }
+ }
+ part { name: "b1"; type: SPACER;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 3 3; max: 3 3;
+ align: 1.0 1.0;
+ }
+ }
+ part { name: "elm.swallow.content"; type: SWALLOW;
+ description { state: "default" 0.0;
+ rel1.to: "b0";
+ rel1.relative: 1.0 1.0;
+ rel2.to: "b1";
+ rel2.relative: 0.0 0.0;
+ }
+ }
+ }
+}
+
+group { name: "elm/frame/base/pad_medium";
+ inherit: "elm/frame/base/pad_small";
+ parts {
+ part { name: "b0";
+ description { state: "default" 0.0;
+ min: 6 6; max: 6 6;
+ }
+ }
+ part { name: "b1";
+ description { state: "default" 0.0;
+ min: 6 6; max: 6 6;
+ }
+ }
+ }
+}
+
+group { name: "elm/frame/base/pad_large";
+ inherit: "elm/frame/base/pad_small";
+ parts {
+ part { name: "b0";
+ description { state: "default" 0.0;
+ min: 12 12; max: 12 12;
+ }
+ }
+ part { name: "b1";
+ description { state: "default" 0.0;
+ min: 12 12; max: 12 12;
+ }
+ }
+ }
+}
+
+group { name: "elm/frame/base/pad_huge";
+ inherit: "elm/frame/base/pad_small";
+ parts {
+ part { name: "b0";
+ description { state: "default" 0.0;
+ min: 24 24; max: 24 24;
+ }
+ }
+ part { name: "b1";
+ description { state: "default" 0.0;
+ min: 24 24; max: 24 24;
+ }
+ }
+ }
+}
+
+group { name: "elm/frame/base/outdent_top";
+ images.image: "separator_horiz.png" COMP;
+ parts {
+ part { name: "elm.swallow.content"; type: SWALLOW;
+ description { state: "default" 0.0;
+ rel1.offset: 3 3;
+ rel2.offset: -4 -4;
+ }
+ }
+ part { name: "base";
+ description { state: "default" 0.0;
+ image.normal: "separator_horiz.png";
+ rel1.offset: 0 2;
+ rel2.offset: -1 3;
+ rel2.relative: 1.0 0.0;
+ min: 0 2;
+ fill.smooth: 0;
+ }
+ }
+ }
+}
+
+group { name: "elm/frame/base/outdent_bottom";
+ images.image: "separator_horiz.png" COMP;
+ parts {
+ part { name: "elm.swallow.content"; type: SWALLOW;
+ description { state: "default" 0.0;
+ rel1.offset: 3 3;
+ rel2.offset: -4 -4;
+ }
+ }
+ part { name: "base";
+ description { state: "default" 0.0;
+ image.normal: "separator_horiz.png";
+ rel1.offset: 0 -4;
+ rel1.relative: 0.0 1.0;
+ rel2.offset: -1 -3;
+ min: 0 2;
+ fill.smooth: 0;
+ }
+ }
+ }
+}
diff --git a/data/themes/edc/elm/gengrid.edc b/data/themes/edc/elm/gengrid.edc
new file mode 100644
index 000000000..4ffce944f
--- /dev/null
+++ b/data/themes/edc/elm/gengrid.edc
@@ -0,0 +1,984 @@
+group { name: "elm/gengrid/item/group_index/default";
+ inherit: "elm/genlist/item/group_index/default";
+}
+
+group { name: "elm/gengrid/item/default/default";
+ data.item: "selectraise" "on";
+ data.item: "texts" "elm.text";
+ data.item: "contents" "elm.swallow.icon elm.swallow.end";
+#define IMGP() \
+ images.image: "bevel_dark_out.png" COMP; \
+ images.image: "shadow_rounded_horiz.png" COMP; \
+ images.image: "vgrad_med_dark.png" COMP; \
+ images.image: "bevel_out.png" COMP; \
+ images.image: "shine.png" COMP;
+ IMGP()
+ parts {
+//---------------------------------------------------------------------------
+#define BASEP() \
+ part { name: "event"; type: RECT; \
+ description { state: "default" 0.0; \
+ color: 0 0 0 0; \
+ } \
+ description { state: "disabled" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 0; \
+ } \
+ } \
+ part { name: "base"; type: RECT; mouse_events: 0; \
+ description { state: "default" 0.0; \
+ color: 64 64 64 255; \
+ color_class: "list_item_base"; \
+ } \
+ description { state: "odd" 0.0; \
+ color: 56 56 56 255; \
+ color_class: "list_item_base_odd"; \
+ } \
+ } \
+ program { \
+ signal: "elm,state,odd"; source: "elm"; \
+ action: STATE_SET "odd" 1.0; \
+ target: "base"; \
+ } \
+ program { \
+ signal: "elm,state,even"; source: "elm"; \
+ action: STATE_SET "default" 0.0; \
+ target: "base"; \
+ } \
+ part { name: "bevel"; mouse_events: 0; \
+ description { state: "default" 0.0; \
+ image.normal: "bevel_dark_out.png"; \
+ image.border: 2 2 2 2; \
+ image.middle: 0; \
+ fill.smooth: 0; \
+ } \
+ } \
+ part { name: "sel_shadow"; mouse_events: 0; \
+ description { state: "default" 0.0; \
+ image.normal: "shadow_rounded_horiz.png"; \
+ image.border: 0 0 9 9; \
+ rel1.offset: 0 -4; \
+ rel2.offset: -1 5; \
+ fill.smooth: 0; \
+ visible: 0; \
+ } \
+ description { state: "selected" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 1; \
+ } \
+ } \
+ part { name: "sel_base"; mouse_events: 0; \
+ description { state: "default" 0.0; \
+ image.normal: "vgrad_med_dark.png"; \
+ fill.smooth: 0; \
+ visible: 0; \
+ TILED_HORIZ(120) \
+ } \
+ description { state: "selected" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 1; \
+ } \
+ } \
+ part { name: "sel_bevel"; mouse_events: 0; \
+ description { state: "default" 0.0; \
+ image.normal: "bevel_out.png"; \
+ image.border: 2 2 2 2; \
+ image.middle: 0; \
+ fill.smooth: 0; \
+ visible: 0; \
+ } \
+ description { state: "selected" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 1; \
+ } \
+ } \
+ program { \
+ signal: "elm,state,selected"; source: "elm"; \
+ action: STATE_SET "selected" 0.0; \
+ target: "sel_shadow"; \
+ target: "sel_base"; \
+ target: "sel_bevel"; \
+ } \
+ program { \
+ signal: "elm,state,unselected"; source: "elm"; \
+ action: STATE_SET "default" 0.0; \
+ target: "sel_shadow"; \
+ target: "sel_base"; \
+ target: "sel_bevel"; \
+ } \
+ program { \
+ signal: "elm,state,disabled"; source: "elm"; \
+ action: STATE_SET "disabled" 0.0; \
+ target: "event"; \
+ } \
+ program { \
+ signal: "elm,state,enabled"; source: "elm"; \
+ action: STATE_SET "default" 0.0; \
+ target: "event"; \
+ }
+#define TOPP() \
+ part { name: "sel_shine"; mouse_events: 0; \
+ description { state: "default" 0.0; \
+ image.normal: "shine.png"; \
+ rel1.offset: 0 -2; \
+ rel1.to: "sel_base"; \
+ rel2.relative: 1.0 0.0; \
+ rel2.offset: -1 2; \
+ rel2.to: "sel_base"; \
+ visible: 0; \
+ FIXED_SIZE(69, 5) \
+ } \
+ description { state: "selected" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 1; \
+ } \
+ } \
+ part { name: "event_block"; type: RECT; \
+ description { state: "default" 0.0; \
+ color: 0 0 0 0; \
+ visible: 0; \
+ } \
+ description { state: "disabled" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 1; \
+ } \
+ } \
+ program { \
+ signal: "elm,state,selected"; source: "elm"; \
+ action: STATE_SET "selected" 0.0; \
+ target: "sel_shine"; \
+ } \
+ program { \
+ signal: "elm,state,unselected"; source: "elm"; \
+ action: STATE_SET "default" 0.0; \
+ target: "sel_shine"; \
+ } \
+ program { \
+ signal: "elm,state,disabled"; source: "elm"; \
+ action: STATE_SET "disabled" 0.0; \
+ target: "event_block"; \
+ } \
+ program { \
+ signal: "elm,state,enabled"; source: "elm"; \
+ action: STATE_SET "default" 0.0; \
+ target: "event_block"; \
+ }
+//---------------------------------------------------------------------------
+ BASEP()
+
+ //##//
+ part { name: "elm.text"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.relative: 0.0 1.0;
+ rel1.offset: 5 -5;
+ rel2.relative: 1.0 1.0;
+ rel2.offset: -5 -5;
+ color: 255 255 255 255;
+ color3: 0 0 0 128;
+ color_class: "grid_item";
+ align: 0.5 1.0;
+ text { font: FN; size: 10;
+ min: 0 1;
+ align: 0.5 1.0;
+ text_class: "grid_item";
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "label2"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "elm.text";
+ rel2.to: "elm.text";
+ color: 21 21 21 255;
+ color3: 255 255 255 25;
+ color_class: "grid_item_disabled";
+ text { font: FN; size: 10;
+ text_source: "elm.text";
+ align: 0.5 1.0;
+ text_class: "grid_item";
+ }
+ visible: 0;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "label3"; type: TEXT; mouse_events: 0;
+ effect: GLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.offset: -2 -2;
+ rel1.to: "elm.text";
+ rel2.offset: 1 0;
+ rel2.to: "elm.text";
+ color: 51 153 255 255;
+ color2: 51 153 255 24;
+ color3: 51 153 255 18;
+ color_class: "grid_item_selected";
+ text { font: FN; size: 10;
+ text_source: "elm.text";
+ align: 0.5 1.0;
+ text_class: "grid_item";
+ }
+ visible: 0;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ program {
+ signal: "elm,state,selected"; source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ }
+ program {
+ signal: "elm,state,unselected"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ }
+ program {
+ signal: "elm,state,disabled"; source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ target: "icon_area";
+ }
+ program {
+ signal: "elm,state,enabled"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ target: "icon_area";
+ }
+ //##//
+ part { name: "icon_area"; type: RECT;
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ rel1.offset: 2 2;
+ rel2.to_y: "elm.swallow.pad";
+ rel2.relative: 1.0 0.0;
+ rel2.offset: -3 -3;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 64;
+ }
+ }
+ part { name: "elm.swallow.pad"; type: SWALLOW;
+ description { state: "default" 0.0;
+ fixed: 0 1;
+ align: 0.0 1.0;
+ rel1.to_y: "elm.text";
+ rel2.to_y: "elm.text";
+ rel2.relative: 1.0 0.0;
+ }
+ }
+ part { name: "elm.swallow.icon"; type: SWALLOW;
+ clip_to: "icon_area";
+ description { state: "default" 0.0;
+ rel1.to: "icon_area";
+ rel2.to: "icon_area";
+ }
+ }
+ part { name: "elm.swallow.end"; type: SWALLOW;
+ clip_to: "icon_area";
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ align: 1.0 0.0;
+ rel1.relative: 1.0 0.0;
+ rel1.offset: -3 2;
+ rel2.relative: 1.0 0.0;
+ rel2.offset: -3 2;
+ }
+ }
+ //##//
+
+ TOPP()
+ }
+}
+
+group { name: "elm/gengrid/item/default_style/default";
+ data.item: "selectraise" "on";
+ data.item: "texts" "elm.text";
+ data.item: "contents" "elm.swallow.icon elm.swallow.end";
+ styles.style { name: "gengrid_style";
+ base: "font="FN" font_size=10 align=left color=#fff style=shadow,bottom shadow_color=#00000080 text_class=list_item ellipsis=1.0";
+ tag: "br" "\n";
+ tag: "ps" "ps";
+ tag: "hilight" "+ font_weight=Bold";
+ tag: "b" "+ font_weight=Bold";
+ tag: "tab" "\t";
+ }
+ styles.style { name: "gengrid_style_selected";
+ base: "font="FN" font_size=10 align=left color=#3399ffff style=glow glow_color=#3399ff18 glow2_color=#3399ff12 text_class=list_item_selected ellipsis=1.0";
+ tag: "br" "\n";
+ tag: "ps" "ps";
+ tag: "hilight" "+ font_weight=Bold";
+ tag: "b" "+ font_weight=Bold";
+ tag: "tab" "\t";
+ }
+ styles.style { name: "gengrid_style_disabled";
+ base: "font="FN" font_size=10 align=left color=#151515 style=shadow,bottom shadow_color=#ffffff19 text_class=list_item ellipsis=1.0";
+ tag: "br" "\n";
+ tag: "ps" "ps";
+ tag: "hilight" "+ font_weight=Bold";
+ tag: "b" "+ font_weight=Bold";
+ tag: "tab" "\t";
+ }
+
+ IMGP()
+ parts {
+ BASEP()
+
+ //##//
+ part { name: "elm.text"; type: TEXTBLOCK; mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.relative: 0.0 1.0;
+ rel1.offset: 5 -5;
+ rel2.relative: 1.0 1.0;
+ rel2.offset: -5 -5;
+ color_class: "grid_item";
+ align: 0.5 1.0;
+ text {
+ min: 0 1;
+ align: 0.5 1.0;
+ text_class: "grid_item";
+ style: "gengrid_style";
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "label2"; type: TEXTBLOCK; mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "elm.text";
+ rel2.to: "elm.text";
+ color_class: "grid_item_disabled";
+ text {
+ text_source: "elm.text";
+ align: 0.5 1.0;
+ text_class: "grid_item";
+ style: "gengrid_style_disabled";
+ }
+ visible: 0;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "label3"; type: TEXTBLOCK; mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "elm.text";
+ rel2.to: "elm.text";
+ color_class: "grid_item_selected";
+ text {
+ text_source: "elm.text";
+ align: 0.5 1.0;
+ text_class: "grid_item";
+ style: "gengrid_style_selected";
+ }
+ visible: 0;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ program {
+ signal: "elm,state,selected"; source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ }
+ program {
+ signal: "elm,state,unselected"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ }
+ program {
+ signal: "elm,state,disabled"; source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ target: "icon_area";
+ }
+ program {
+ signal: "elm,state,enabled"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ target: "icon_area";
+ }
+ //##//
+ part { name: "icon_area"; type: RECT;
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ rel1.offset: 2 2;
+ rel2.to_y: "elm.swallow.pad";
+ rel2.relative: 1.0 0.0;
+ rel2.offset: -3 -3;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 64;
+ }
+ }
+ part { name: "elm.swallow.pad"; type: SWALLOW;
+ description { state: "default" 0.0;
+ fixed: 0 1;
+ align: 0.0 1.0;
+ rel1.to_y: "elm.text";
+ rel2.to_y: "elm.text";
+ rel2.relative: 1.0 0.0;
+ }
+ }
+ part { name: "elm.swallow.icon"; type: SWALLOW;
+ clip_to: "icon_area";
+ description { state: "default" 0.0;
+ rel1.to: "icon_area";
+ rel2.to: "icon_area";
+ }
+ }
+ part { name: "elm.swallow.end"; type: SWALLOW;
+ clip_to: "icon_area";
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ align: 1.0 0.0;
+ rel1.relative: 1.0 0.0;
+ rel1.offset: -3 2;
+ rel2.relative: 1.0 0.0;
+ rel2.offset: -3 2;
+ }
+ }
+ //##//
+
+ TOPP()
+ }
+}
+
+group { name: "elm/gengrid/item/up/default";
+ inherit: "elm/gengrid/item/default/default";
+ images.image: "icon_arrow_up.png" COMP;
+ parts {
+ part { name: "icon_area"; type: RECT;
+ description { state: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "up";
+ insert_after: "elm.swallow.pad";
+ description { state: "default" 0.0;
+ aspect: 1.0 1.0; aspect_preference: BOTH;
+ rel1.to: "icon_area";
+ rel2.to: "icon_area";
+ image.normal: "icon_arrow_up.png";
+ }
+ }
+ }
+}
+
+group { name: "elm/gengrid/item/album-preview/default";
+ data.item: "selectraise" "on";
+ data.item: "texts" "elm.text";
+ data.item: "contents" "elm.swallow.icon.1 elm.swallow.icon.2 elm.swallow.icon.3 elm.swallow.icon.4";
+ data.item: "states" "have_files";
+
+ IMGP()
+ images.image: "icon_folder.png" COMP;
+
+ parts {
+ BASEP()
+
+ //##//
+ part { name: "elm.text"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.relative: 0.0 1.0;
+ rel1.offset: 5 -5;
+ rel2.relative: 1.0 1.0;
+ rel2.offset: -5 -5;
+ color: 255 255 255 255;
+ color3: 0 0 0 128;
+ color_class: "grid_item";
+ align: 0.5 1.0;
+ text { font: FN; size: 10;
+ min: 0 1;
+ align: 0.5 1.0;
+ text_class: "grid_item";
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "label2"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "elm.text";
+ rel2.to: "elm.text";
+ color: 21 21 21 255;
+ color3: 255 255 255 25;
+ color_class: "grid_item_disabled";
+ text { font: FN; size: 10;
+ text_source: "elm.text";
+ align: 0.5 1.0;
+ text_class: "grid_item";
+ }
+ visible: 0;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "label3"; type: TEXT; mouse_events: 0;
+ effect: GLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.offset: -2 -2;
+ rel1.to: "elm.text";
+ rel2.offset: 1 0;
+ rel2.to: "elm.text";
+ color: 51 153 255 255;
+ color2: 51 153 255 24;
+ color3: 51 153 255 18;
+ color_class: "grid_item_selected";
+ text { font: FN; size: 10;
+ text_source: "elm.text";
+ align: 0.5 1.0;
+ text_class: "grid_item";
+ }
+ visible: 0;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ program {
+ signal: "elm,state,selected"; source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ }
+ program {
+ signal: "elm,state,unselected"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ }
+ program {
+ signal: "elm,state,disabled"; source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ target: "icon_area";
+ }
+ program {
+ signal: "elm,state,enabled"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ target: "icon_area";
+ }
+ //##//
+ part { name: "icon_area"; type: RECT;
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ rel1.offset: 2 2;
+ rel2.to_y: "elm.swallow.pad";
+ rel2.relative: 1.0 0.0;
+ rel2.offset: -3 -3;
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 64;
+ }
+ }
+ program {
+ signal: "elm,state,have_files,active"; source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "icon_area";
+ }
+ part { name: "icon_area2"; type: SPACER;
+ description { state: "default" 0.0;
+ rel1.to: "icon_area";
+ rel1.relative: 0.3 0.3;
+ rel2.to: "icon_area";
+ rel2.relative: 0.7 0.7;
+ }
+ }
+ part { name: "folder";
+ insert_after: "elm.swallow.pad";
+ description { state: "default" 0.0;
+ aspect: 1.0 1.0; aspect_preference: BOTH;
+ rel1.to: "icon_area";
+ rel2.to: "icon_area";
+ image.normal: "icon_folder.png";
+ }
+ }
+ part { name: "elm.swallow.pad"; type: SWALLOW;
+ description { state: "default" 0.0;
+ fixed: 0 1;
+ align: 0.0 1.0;
+ rel1.to_y: "elm.text";
+ rel2.to_y: "elm.text";
+ rel2.relative: 1.0 0.0;
+ }
+ }
+ part { name: "elm.swallow.icon.1"; type: SWALLOW; mouse_events: 0;
+ clip_to: "icon_area";
+ description { state: "default" 0.0;
+ rel1.to: "icon_area2";
+ rel1.relative: 0.0 0.0;
+ rel2.to: "icon_area2";
+ rel2.relative: 0.5 0.5;
+ }
+ }
+ part { name: "elm.swallow.icon.2"; type: SWALLOW; mouse_events: 0;
+ clip_to: "icon_area";
+ description { state: "default" 0.0;
+ rel1.to: "icon_area2";
+ rel1.relative: 0.5 0.0;
+ rel2.to: "icon_area2";
+ rel2.relative: 1.0 0.5;
+ }
+ }
+ part { name: "elm.swallow.icon.3"; type: SWALLOW; mouse_events: 0;
+ clip_to: "icon_area";
+ description { state: "default" 0.0;
+ rel1.to: "icon_area2";
+ rel1.relative: 0.0 0.5;
+ rel2.to: "icon_area2";
+ rel2.relative: 0.5 1.0;
+ }
+ }
+ part { name: "elm.swallow.icon.4"; type: SWALLOW; mouse_events: 0;
+ clip_to: "icon_area";
+ description { state: "default" 0.0;
+ rel1.to: "icon_area2";
+ rel1.relative: 0.5 0.5;
+ rel2.to: "icon_area2";
+ rel2.relative: 1.0 1.0;
+ }
+ }
+ //##//
+
+ TOPP()
+ }
+}
+
+group { name: "elm/gengrid/item/thumb/default";
+ data.item: "selectraise" "on";
+ data.item: "texts" "elm.text";
+ data.item: "contents" "elm.swallow.icon elm.swallow.end";
+
+ images.image: "win_shadow.png" COMP;
+ images.image: "win_glow.png" COMP;
+ parts {
+
+ part { name: "shadow"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "win_shadow.png";
+ image.border: 14 14 14 14;
+ image.middle: 0;
+ rel1.to: "base";
+ rel1.offset: -7 -3;
+ rel2.to: "base";
+ rel2.offset: 6 11;
+ fill.smooth: 0;
+ }
+ }
+ part { name: "glow"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "win_glow.png";
+ image.border: 9 9 9 9;
+ image.middle: 0;
+ rel1.offset: -5 -5;
+ rel1.to: "base";
+ rel2.offset: 4 4;
+ rel2.to: "base";
+ fill.smooth: 0;
+ color: 255 255 255 0;
+ visible: 0;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 255;
+ visible: 1;
+ }
+ }
+ part { name: "base"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.offset: -4 -4;
+ rel1.to: "icon_area";
+ rel2.offset: 3 3;
+ rel2.to: "icon_area";
+ color: 255 255 255 255;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ color: 48 48 48 255;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: 64 64 64 255;
+ }
+ }
+ program {
+ signal: "elm,state,selected"; source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "base";
+ target: "icon_area";
+ target: "glow";
+ }
+ program {
+ signal: "elm,state,unselected"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ target: "icon_area";
+ target: "glow";
+ }
+ program {
+ signal: "elm,state,disabled"; source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "base";
+ target: "icon_area";
+ }
+ program {
+ signal: "elm,state,enabled"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ target: "icon_area";
+ }
+
+ //##//
+ part { name: "elm.text"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.relative: 0.0 1.0;
+ rel1.offset: 5 -5;
+ rel2.relative: 1.0 1.0;
+ rel2.offset: -5 -5;
+ color: 255 255 255 255;
+ color3: 0 0 0 128;
+ color_class: "grid_item";
+ align: 0.5 1.0;
+ text { font: FN; size: 10;
+ min: 0 1;
+ align: 0.5 1.0;
+ text_class: "grid_item";
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "label2"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "elm.text";
+ rel2.to: "elm.text";
+ color: 21 21 21 255;
+ color3: 255 255 255 25;
+ color_class: "grid_item_disabled";
+ text { font: FN; size: 10;
+ text_source: "elm.text";
+ align: 0.5 1.0;
+ text_class: "grid_item";
+ }
+ visible: 0;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "label3"; type: TEXT; mouse_events: 0;
+ effect: GLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.offset: -2 -2;
+ rel1.to: "elm.text";
+ rel2.offset: 1 0;
+ rel2.to: "elm.text";
+ color: 51 153 255 255;
+ color2: 51 153 255 24;
+ color3: 51 153 255 18;
+ color_class: "grid_item_selected";
+ text { font: FN; size: 10;
+ text_source: "elm.text";
+ align: 0.5 1.0;
+ text_class: "grid_item";
+ }
+ visible: 0;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ program {
+ signal: "elm,state,selected"; source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ }
+ program {
+ signal: "elm,state,unselected"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ }
+ program {
+ signal: "elm,state,disabled"; source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ }
+ program {
+ signal: "elm,state,enabled"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ }
+ //##//
+ part { name: "icon_area"; type: RECT;
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ aspect: 1.0 1.0; aspect_preference: BOTH;
+ rel1.offset: 12 12;
+ rel2.to_y: "elm.swallow.pad";
+ rel2.relative: 1.0 0.0;
+ rel2.offset: -13 -13;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 64;
+ }
+ }
+ part { name: "elm.swallow.pad"; type: SWALLOW;
+ description { state: "default" 0.0;
+ fixed: 0 1;
+ align: 0.0 1.0;
+ rel1.to_y: "elm.text";
+ rel2.to_y: "elm.text";
+ rel2.relative: 1.0 0.0;
+ }
+ }
+ part { name: "elm.swallow.icon"; type: SWALLOW;
+ clip_to: "icon_area";
+ description { state: "default" 0.0;
+ rel1.to: "icon_area";
+ rel2.to: "icon_area";
+ }
+ }
+ part { name: "elm.swallow.end"; type: SWALLOW;
+ clip_to: "icon_area";
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ align: 1.0 0.0;
+ rel1.relative: 1.0 0.0;
+ rel1.offset: -3 2;
+ rel2.relative: 1.0 0.0;
+ rel2.offset: -3 2;
+ }
+ }
+ }
+}
+#undef IMGP
+#undef BASEP
+#undef TOPP
diff --git a/data/themes/edc/elm/genlist.edc b/data/themes/edc/elm/genlist.edc
new file mode 100644
index 000000000..30bd10d22
--- /dev/null
+++ b/data/themes/edc/elm/genlist.edc
@@ -0,0 +1,5699 @@
+#define ODD(_NAME, _SRC) \
+ group { name: _NAME; \
+ inherit: _SRC; \
+ parts { \
+ part { name: "base"; \
+ description { state: "default" 0.0; \
+ color: 56 56 56 255; \
+ color_class: "list_item_base_odd"; \
+ } \
+ } \
+ } \
+ }
+#define COMPRESS(_NAME, _SRC) \
+ group { name: _NAME; \
+ inherit: _SRC; \
+ parts { \
+ part { name: "elm.text"; \
+ description { state: "default" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "selected" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "disabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "flip_enabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ } \
+ part { name: "label2"; \
+ description { state: "default" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "selected" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "disabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "flip_enabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ } \
+ part { name: "label3"; \
+ description { state: "default" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "selected" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "disabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "flip_enabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ } \
+ } \
+ }
+#define COMPRESS_ODD(_NAME, _SRC) \
+ group { name: _NAME; \
+ inherit: _SRC; \
+ parts { \
+ part { name: "elm.text"; \
+ description { state: "default" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "selected" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "disabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "flip_enabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ } \
+ part { name: "label2"; \
+ description { state: "default" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "selected" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "disabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "flip_enabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ } \
+ part { name: "label3"; \
+ description { state: "default" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "selected" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "disabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "flip_enabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ } \
+ part { name: "base"; \
+ description { state: "default" 0.0; \
+ color: 56 56 56 255; \
+ color_class: "list_item_base_odd"; \
+ } \
+ } \
+ } \
+ }
+
+#define TREEPAD 19
+
+group { name: "elm/genlist/item/group_index/default";
+ data.item: "texts" "elm.text";
+ data.item: "contents" "elm.swallow.icon elm.swallow.end";
+ data.item: "treesize" TREEPAD;
+
+ images.image: "shadow_square_tiny.png" COMP;
+ images.image: "bevel_out.png" COMP;
+ images.image: "horizontal_separated_bar_small_glow.png" COMP;
+
+ parts {
+ part { name: "shadow_vbar"; mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.offset: -3 -2;
+ rel1.to: "base_vbar";
+ rel2.offset: 2 4;
+ rel2.to: "base_vbar";
+ image.normal: "shadow_square_tiny.png";
+ image.border: 6 6 6 6;
+ fill.smooth: 0;
+ }
+ }
+ part { name: "base_vbar"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "vgrad_med_lighter.png";
+ fill.smooth: 0;
+ min: 5 13;
+ TILED_HORIZ(120)
+ }
+ }
+ part { name: "bevel_vbar"; mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.to: "base_vbar";
+ rel2.to: "base_vbar";
+ image.normal: "bevel_out.png";
+ image.border: 1 1 1 1;
+ image.middle: 0;
+ fill.smooth: 0;
+ min: 5 5;
+ }
+ }
+
+ part { name: "elm.text"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.offset: 2 3;
+ rel1.relative: 1.0 0.0;
+ rel1.to_x: "elm.swallow.icon";
+ rel2.offset: -3 -3;
+ rel2.relative: 0.0 1.0;
+ rel2.to_x: "elm.swallow.end";
+ color: 255 255 255 255;
+ color3: 0 0 0 128;
+ color_class: "list_group_item";
+ text { font: FNBD; size: 10;
+ min: 1 1;
+ align: 0.0 0.5;
+ text_class: "list_group_item";
+ }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: 21 21 21 255;
+ color3: 255 255 255 25;
+ color_class: "list_group_item_disabled";
+ }
+ }
+ part { name: "elm.swallow.pad"; type: SWALLOW;
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ align: 0.0 0.5;
+ rel1.offset: 2 2;
+ rel2.relative: 0.0 1.0;
+ rel2.offset: 2 -3;
+ }
+ }
+ part { name: "elm.swallow.icon"; type: SWALLOW;
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ align: 0.0 0.5;
+ rel1.to_x: "elm.swallow.pad";
+ rel1.relative: 1.0 0.0;
+ rel1.offset: -1 2;
+ rel2.to_x: "elm.swallow.pad";
+ rel2.relative: 1.0 1.0;
+ rel2.offset: -1 -3;
+ }
+ }
+ part { name: "elm.swallow.end"; type: SWALLOW;
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ align: 1.0 0.5;
+ rel1.offset: -3 2;
+ rel1.relative: 1.0 0.0;
+ rel2.offset: -3 -3;
+ }
+ }
+ part { name: "bar"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "horizontal_separated_bar_small_glow.png";
+ image.border: 4 4 4 4;
+ fill.smooth: 0;
+ rel1.relative: 0.0 1.0;
+ rel1.offset: -3 -6;
+ rel2.offset: 2 3;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 64;
+ }
+ }
+ program {
+ signal: "elm,state,disabled"; source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "elm.text";
+ target: "bar";
+ }
+ program {
+ signal: "elm,state,enabled"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ target: "bar";
+ }
+ }
+}
+group { name: "elm/genlist/item_compress/group_index/default";
+ inherit: "elm/genlist/item/group_index/default";
+ parts {
+ part { name: "elm.text";
+ description { state: "default" 0.0;
+ text.min: 0 1;
+ }
+ description { state: "selected" 0.0;
+ text.min: 0 1;
+ }
+ description { state: "disabled" 0.0;
+ text.min: 0 1;
+ }
+ description { state: "flip_enabled" 0.0;
+ text.min: 0 1;
+ }
+ }
+ }
+}
+
+group { name: "elm/genlist/item/default/default";
+ data.item: "selectraise" "on";
+ data.item: "texts" "elm.text";
+ data.item: "contents" "elm.swallow.icon elm.swallow.end";
+ data.item: "treesize" TREEPAD;
+ data.item: "flips" "elm.text.flip";
+#define IMGP() \
+ images.image: "bevel_curved_horiz_out.png" COMP; \
+ images.image: "shadow_rounded_horiz.png" COMP; \
+ images.image: "vgrad_med_dark.png" COMP; \
+ images.image: "bevel_horiz_out.png" COMP; \
+ images.image: "shine.png" COMP;
+ IMGP()
+ parts {
+//---------------------------------------------------------------------------
+#define BASEP() \
+ part { name: "event"; type: RECT; \
+ description { state: "default" 0.0; \
+ color: 0 0 0 0; \
+ } \
+ description { state: "disabled" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 0; \
+ } \
+ } \
+ part { name: "base"; type: RECT; mouse_events: 0; \
+ description { state: "default" 0.0; \
+ color: 64 64 64 255; \
+ color_class: "list_item_base"; \
+ } \
+ description { state: "odd" 0.0; \
+ color: 56 56 56 255; \
+ color_class: "list_item_base_odd"; \
+ } \
+ } \
+ program { \
+ signal: "elm,state,odd"; source: "elm"; \
+ action: STATE_SET "odd" 1.0; \
+ target: "base"; \
+ } \
+ program { \
+ signal: "elm,state,even"; source: "elm"; \
+ action: STATE_SET "default" 0.0; \
+ target: "base"; \
+ } \
+ part { name: "bevel"; mouse_events: 0; \
+ description { state: "default" 0.0; \
+ image.normal: "bevel_curved_horiz_out.png"; \
+ image.border: 0 0 2 2; \
+ image.middle: 0; \
+ fill.smooth: 0; \
+ } \
+ } \
+ part { name: "sel_shadow"; mouse_events: 0; \
+ description { state: "default" 0.0; \
+ image.normal: "shadow_rounded_horiz.png"; \
+ image.border: 0 0 9 9; \
+ rel1.offset: 0 -4; \
+ rel2.offset: -1 5; \
+ fill.smooth: 0; \
+ visible: 0; \
+ } \
+ description { state: "selected" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 1; \
+ } \
+ } \
+ part { name: "sel_base"; mouse_events: 0; \
+ description { state: "default" 0.0; \
+ image.normal: "vgrad_med_dark.png"; \
+ fill.smooth: 0; \
+ visible: 0; \
+ TILED_HORIZ(120) \
+ } \
+ description { state: "selected" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 1; \
+ } \
+ } \
+ part { name: "sel_bevel"; mouse_events: 0; \
+ description { state: "default" 0.0; \
+ image.normal: "bevel_horiz_out.png"; \
+ image.border: 0 0 2 2; \
+ image.middle: 0; \
+ fill.smooth: 0; \
+ visible: 0; \
+ } \
+ description { state: "selected" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 1; \
+ } \
+ } \
+ program { \
+ signal: "elm,state,selected"; source: "elm"; \
+ action: STATE_SET "selected" 0.0; \
+ target: "sel_shadow"; \
+ target: "sel_base"; \
+ target: "sel_bevel"; \
+ } \
+ program { \
+ signal: "elm,state,unselected"; source: "elm"; \
+ action: STATE_SET "default" 0.0; \
+ target: "sel_shadow"; \
+ target: "sel_base"; \
+ target: "sel_bevel"; \
+ } \
+ program { \
+ signal: "elm,state,disabled"; source: "elm"; \
+ action: STATE_SET "disabled" 0.0; \
+ target: "event"; \
+ } \
+ program { \
+ signal: "elm,state,enabled"; source: "elm"; \
+ action: STATE_SET "default" 0.0; \
+ target: "event"; \
+ }
+#define TOPP() \
+ part { name: "sel_shine"; mouse_events: 0; \
+ description { state: "default" 0.0; \
+ image.normal: "shine.png"; \
+ rel1.offset: 0 -2; \
+ rel1.to: "sel_base"; \
+ rel2.relative: 1.0 0.0; \
+ rel2.offset: -1 2; \
+ rel2.to: "sel_base"; \
+ visible: 0; \
+ FIXED_SIZE(69, 5) \
+ } \
+ description { state: "selected" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 1; \
+ } \
+ } \
+ part { name: "event_block"; type: RECT; \
+ description { state: "default" 0.0; \
+ color: 0 0 0 0; \
+ visible: 0; \
+ } \
+ description { state: "disabled" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 1; \
+ } \
+ } \
+ program { \
+ signal: "elm,state,selected"; source: "elm"; \
+ action: STATE_SET "selected" 0.0; \
+ target: "sel_shine"; \
+ } \
+ program { \
+ signal: "elm,state,unselected"; source: "elm"; \
+ action: STATE_SET "default" 0.0; \
+ target: "sel_shine"; \
+ } \
+ program { \
+ signal: "elm,state,disabled"; source: "elm"; \
+ action: STATE_SET "disabled" 0.0; \
+ target: "event_block"; \
+ } \
+ program { \
+ signal: "elm,state,enabled"; source: "elm"; \
+ action: STATE_SET "default" 0.0; \
+ target: "event_block"; \
+ }
+//---------------------------------------------------------------------------
+ BASEP()
+
+ //##//
+ part { name: "elm.text"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.offset: 2 3;
+ rel1.relative: 1.0 0.0;
+ rel1.to_x: "elm.swallow.icon";
+ rel2.offset: -3 -3;
+ rel2.relative: 0.0 1.0;
+ rel2.to_x: "elm.swallow.end";
+ color: 255 255 255 255;
+ color3: 0 0 0 128;
+ color_class: "list_item";
+ text { font: FN; size: 10;
+ min: 1 1;
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "label2"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "elm.text";
+ rel2.to: "elm.text";
+ color: 21 21 21 255;
+ color3: 255 255 255 25;
+ color_class: "list_item_disabled";
+ text { font: FN; size: 10;
+ text_source: "elm.text";
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ visible: 0;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "label3"; type: TEXT; mouse_events: 0;
+ effect: GLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.offset: -2 -3;
+ rel1.to: "elm.text";
+ rel2.offset: -1 1;
+ rel2.to: "elm.text";
+ color: 51 153 255 255;
+ color2: 51 153 255 24;
+ color3: 51 153 255 18;
+ color_class: "list_item_selected";
+ text { font: FN; size: 10;
+ text_source: "elm.text";
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ visible: 0;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.text.flip"; type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ rel1.to_y: "elm.text";
+ rel2.to_y: "elm.text";
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ program {
+ signal: "elm,state,selected"; source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ }
+ program {
+ signal: "elm,state,unselected"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ }
+ program {
+ signal: "elm,state,disabled"; source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ }
+ program {
+ signal: "elm,state,enabled"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ }
+ program {
+ signal: "elm,state,flip,enabled"; source: "elm";
+ action: STATE_SET "flip_enabled" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ target: "elm.text.flip";
+ }
+ program {
+ signal: "elm,state,flip,disabled"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ target: "elm.text.flip";
+ }
+ //##//
+ part { name: "elm.swallow.pad"; type: SWALLOW;
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ align: 0.0 0.5;
+ rel1.offset: 2 2;
+ rel2.relative: 0.0 1.0;
+ rel2.offset: 2 -3;
+ }
+ }
+ part { name: "elm.swallow.icon"; type: SWALLOW;
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ align: 0.0 0.5;
+ aspect: 1.0 1.0;
+ rel1.to_x: "elm.swallow.pad";
+ rel1.relative: 1.0 0.0;
+ rel1.offset: -1 2;
+ rel2.to_x: "elm.swallow.pad";
+ rel2.relative: 1.0 1.0;
+ rel2.offset: -1 -3;
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.swallow.end"; type: SWALLOW;
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ align: 1.0 0.5;
+ aspect: 1.0 1.0;
+ rel1.offset: -3 2;
+ rel1.relative: 1.0 0.0;
+ rel2.offset: -3 -3;
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ program {
+ signal: "elm,state,flip,enabled"; source: "elm";
+ action: STATE_SET "flip_enabled" 0.0;
+ target: "elm.swallow.icon";
+ target: "elm.swallow.end";
+ }
+ program {
+ signal: "elm,state,flip,disabled"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.icon";
+ target: "elm.swallow.end";
+ }
+ //##//
+
+ TOPP()
+ }
+}
+ODD("elm/genlist/item_odd/default/default", "elm/genlist/item/default/default")
+COMPRESS("elm/genlist/item_compress/default/default", "elm/genlist/item/default/default")
+COMPRESS_ODD("elm/genlist/item_compress_odd/default/default", "elm/genlist/item/default/default")
+
+group { name: "elm/genlist/item/default_style/default";
+ data.item: "selectraise" "on";
+ data.item: "texts" "elm.text";
+ data.item: "contents" "elm.swallow.icon elm.swallow.end";
+ data.item: "treesize" TREEPAD;
+ data.item: "flips" "elm.text.flip";
+ styles.style { name: "genlist_style";
+ base: "font="FN" font_size=10 align=left valign=0.5 color=#fff style=shadow,bottom shadow_color=#00000080 text_class=list_item";
+ tag: "br" "\n";
+ tag: "ps" "ps";
+ tag: "hilight" "+ font_weight=Bold";
+ tag: "b" "+ font_weight=Bold";
+ tag: "tab" "\t";
+ }
+ styles.style { name: "genlist_style_selected";
+ base: "font="FN" font_size=10 align=left valign=0.5 color=#3399ffff style=glow glow_color=#3399ff18 glow2_color=#3399ff12 text_class=list_item_selected";
+ tag: "br" "\n";
+ tag: "ps" "ps";
+ tag: "hilight" "+ font_weight=Bold";
+ tag: "b" "+ font_weight=Bold";
+ tag: "tab" "\t";
+ }
+ styles.style { name: "genlist_style_disabled";
+ base: "font="FN" font_size=10 align=left valign=0.5 color=#151515 style=shadow,bottom shadow_color=#ffffff19 text_class=list_item";
+ tag: "br" "\n";
+ tag: "ps" "ps";
+ tag: "hilight" "+ font_weight=Bold";
+ tag: "b" "+ font_weight=Bold";
+ tag: "tab" "\t";
+ }
+
+ IMGP()
+ parts {
+ BASEP()
+
+ //##//
+ part { name: "elm.text"; type: TEXTBLOCK; mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.offset: 2 7;
+ rel1.relative: 1.0 0.0;
+ rel1.to_x: "elm.swallow.icon";
+ rel2.offset: -3 -4;
+ rel2.relative: 0.0 1.0;
+ rel2.to_x: "elm.swallow.end";
+ color_class: "list_item";
+ text { font: FN; size: 10;
+ min: 1 1;
+ align: 0.0 0.5;
+ text_class: "list_item";
+ style: "genlist_style";
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "label2"; type: TEXTBLOCK; mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "elm.text";
+ rel2.to: "elm.text";
+ color_class: "list_item_disabled";
+ text { font: FN; size: 10;
+ text_source: "elm.text";
+ align: 0.0 0.5;
+ text_class: "list_item";
+ style: "genlist_style_disabled";
+ }
+ visible: 0;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "label3"; type: TEXTBLOCK; mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.offset: 0 0;
+ rel1.to: "elm.text";
+ rel2.offset: -1 -1;
+ rel2.to: "elm.text";
+ color_class: "list_item_selected";
+ text { font: FN; size: 10;
+ text_source: "elm.text";
+ align: 0.0 0.5;
+ text_class: "list_item";
+ style: "genlist_style_selected";
+ }
+ visible: 0;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.text.flip"; type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ rel1.to_y: "elm.text";
+ rel2.to_y: "elm.text";
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ program {
+ signal: "elm,state,selected"; source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ }
+ program {
+ signal: "elm,state,unselected"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ }
+ program {
+ signal: "elm,state,disabled"; source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ }
+ program {
+ signal: "elm,state,enabled"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ }
+ program {
+ signal: "elm,state,flip,enabled"; source: "elm";
+ action: STATE_SET "flip_enabled" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ target: "elm.text.flip";
+ }
+ program {
+ signal: "elm,state,flip,disabled"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ target: "elm.text.flip";
+ }
+ //##//
+ part { name: "elm.swallow.pad"; type: SWALLOW;
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ align: 0.0 0.5;
+ rel1.offset: 2 2;
+ rel2.relative: 0.0 1.0;
+ rel2.offset: 2 -3;
+ }
+ }
+ part { name: "elm.swallow.icon"; type: SWALLOW;
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ align: 0.0 0.5;
+ aspect: 1.0 1.0;
+ rel1.to_x: "elm.swallow.pad";
+ rel1.relative: 1.0 0.0;
+ rel1.offset: -1 2;
+ rel2.to_x: "elm.swallow.pad";
+ rel2.relative: 1.0 1.0;
+ rel2.offset: -1 -3;
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.swallow.end"; type: SWALLOW;
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ align: 1.0 0.5;
+ aspect: 1.0 1.0;
+ rel1.offset: -3 2;
+ rel1.relative: 1.0 0.0;
+ rel2.offset: -3 -3;
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ program {
+ signal: "elm,state,flip,enabled"; source: "elm";
+ action: STATE_SET "flip_enabled" 0.0;
+ target: "elm.swallow.icon";
+ target: "elm.swallow.end";
+ }
+ program {
+ signal: "elm,state,flip,disabled"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.icon";
+ target: "elm.swallow.end";
+ }
+ //##//
+
+ TOPP()
+ }
+}
+ODD("elm/genlist/item_odd/default_style/default", "elm/genlist/item/default_style/default")
+COMPRESS("elm/genlist/item_compress/default_style/default", "elm/genlist/item/default_style/default")
+COMPRESS_ODD("elm/genlist/item_compress_odd/default_style/default", "elm/genlist/item/default_style/default")
+
+group { name: "elm/genlist/item/one_icon/default";
+ data.item: "selectraise" "on";
+ data.item: "texts" "elm.text";
+ data.item: "contents" "elm.swallow.icon";
+ data.item: "treesize" TREEPAD;
+ data.item: "flips" "elm.text.flip";
+ IMGP()
+ parts {
+ BASEP()
+
+ //##//
+ part { name: "elm.text"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.offset: 2 3;
+ rel1.relative: 1.0 0.0;
+ rel1.to_x: "elm.swallow.icon";
+ rel2.offset: -3 -3;
+ color: 255 255 255 255;
+ color3: 0 0 0 128;
+ color_class: "list_item";
+ text { font: FN; size: 10;
+ min: 0 1;
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "label2"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "elm.text";
+ rel2.to: "elm.text";
+ color: 21 21 21 255;
+ color3: 255 255 255 25;
+ color_class: "list_item_disabled";
+ text { font: FN; size: 10;
+ text_source: "elm.text";
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ visible: 0;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "label3"; type: TEXT; mouse_events: 0;
+ effect: GLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.offset: -2 -3;
+ rel1.to: "elm.text";
+ rel2.offset: -1 1;
+ rel2.to: "elm.text";
+ color: 51 153 255 255;
+ color2: 51 153 255 24;
+ color3: 51 153 255 18;
+ color_class: "list_item_selected";
+ text { font: FN; size: 10;
+ text_source: "elm.text";
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ visible: 0;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.text.flip"; type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ rel1.to_y: "elm.text";
+ rel2.to_y: "elm.text";
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ program {
+ signal: "elm,state,selected"; source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ }
+ program {
+ signal: "elm,state,unselected"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ }
+ program {
+ signal: "elm,state,disabled"; source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ }
+ program {
+ signal: "elm,state,enabled"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ }
+ program {
+ signal: "elm,state,flip,enabled"; source: "elm";
+ action: STATE_SET "flip_enabled" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ target: "elm.text.flip";
+ }
+ program {
+ signal: "elm,state,flip,disabled"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ target: "elm.text.flip";
+ }
+ //##//
+ part { name: "elm.swallow.pad"; type: SWALLOW;
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ align: 0.0 0.5;
+ rel1.offset: 2 2;
+ rel2.relative: 0.0 1.0;
+ rel2.offset: 2 -3;
+ }
+ }
+ part { name: "elm.swallow.icon"; type: SWALLOW;
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ align: 0.0 0.5;
+ aspect: 1.0 1.0;
+ rel1.to_x: "elm.swallow.pad";
+ rel1.relative: 1.0 0.0;
+ rel1.offset: -1 2;
+ rel2.to_x: "elm.swallow.pad";
+ rel2.relative: 1.0 1.0;
+ rel2.offset: -1 -3;
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ program {
+ signal: "elm,state,flip,enabled"; source: "elm";
+ action: STATE_SET "flip_enabled" 0.0;
+ target: "elm.swallow.icon";
+ }
+ program {
+ signal: "elm,state,flip,disabled"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.icon";
+ }
+ //##//
+
+ TOPP()
+ }
+}
+ODD("elm/genlist/item_odd/one_icon/default", "elm/genlist/item/one_icon/default")
+COMPRESS("elm/genlist/item_compress/one_icon/default", "elm/genlist/item/one_icon/default")
+COMPRESS_ODD("elm/genlist/item_compress_odd/one_icon/default", "elm/genlist/item/one_icon/default")
+
+group { name: "elm/genlist/item/end_icon/default";
+ data.item: "selectraise" "on";
+ data.item: "texts" "elm.text";
+ data.item: "contents" "elm.swallow.icon";
+ data.item: "treesize" TREEPAD;
+ data.item: "flips" "elm.text.flip";
+ IMGP()
+ parts {
+ BASEP()
+
+ //##//
+ part { name: "elm.text"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.offset: 2 3;
+ rel1.relative: 1.0 0.0;
+ rel1.to_x: "elm.swallow.pad";
+ rel2.offset: -3 -3;
+ rel2.relative: 0.0 1.0;
+ rel2.to_x: "elm.swallow.icon";
+ color: 255 255 255 255;
+ color3: 0 0 0 128;
+ color_class: "list_item";
+ text { font: FN; size: 10;
+ min: 1 1;
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "label2"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "elm.text";
+ rel2.to: "elm.text";
+ color: 21 21 21 255;
+ color3: 255 255 255 25;
+ color_class: "list_item_disabled";
+ text { font: FN; size: 10;
+ text_source: "elm.text";
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ visible: 0;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "label3"; type: TEXT; mouse_events: 0;
+ effect: GLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.offset: -2 -3;
+ rel1.to: "elm.text";
+ rel2.offset: -1 1;
+ rel2.to: "elm.text";
+ color: 51 153 255 255;
+ color2: 51 153 255 24;
+ color3: 51 153 255 18;
+ color_class: "list_item_selected";
+ text { font: FN; size: 10;
+ text_source: "elm.text";
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ visible: 0;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.text.flip"; type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ rel1.to_y: "elm.text";
+ rel2.to_y: "elm.text";
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ program {
+ signal: "elm,state,selected"; source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ }
+ program {
+ signal: "elm,state,unselected"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ }
+ program {
+ signal: "elm,state,disabled"; source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ }
+ program {
+ signal: "elm,state,enabled"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ }
+ program {
+ signal: "elm,state,flip,enabled"; source: "elm";
+ action: STATE_SET "flip_enabled" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ target: "elm.text.flip";
+ }
+ program {
+ signal: "elm,state,flip,disabled"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ target: "elm.text.flip";
+ }
+ //##//
+ part { name: "elm.swallow.pad"; type: SWALLOW;
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ align: 0.0 0.5;
+ rel1.offset: 2 2;
+ rel2.relative: 0.0 1.0;
+ rel2.offset: 2 -3;
+ }
+ }
+ part { name: "elm.swallow.icon"; type: SWALLOW;
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ align: 1.0 0.5;
+ aspect: 1.0 1.0;
+ rel1.offset: -3 2;
+ rel1.relative: 1.0 0.0;
+ rel2.offset: -3 -3;
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ program {
+ signal: "elm,state,flip,enabled"; source: "elm";
+ action: STATE_SET "flip_enabled" 0.0;
+ target: "elm.swallow.icon";
+ }
+ program {
+ signal: "elm,state,flip,disabled"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.icon";
+ }
+ //##//
+
+ TOPP()
+ }
+}
+ODD("elm/genlist/item_odd/end_icon/default", "elm/genlist/item/end_icon/default")
+COMPRESS("elm/genlist/item_compress/end_icon/default", "elm/genlist/item/end_icon/default")
+COMPRESS_ODD("elm/genlist/item_compress_odd/end_icon/default", "elm/genlist/item/end_icon/default")
+
+group { name: "elm/genlist/item/no_icon/default";
+ data.item: "selectraise" "on";
+ data.item: "texts" "elm.text";
+ data.item: "treesize" TREEPAD;
+ data.item: "flips" "elm.text.flip";
+ IMGP()
+ parts {
+ BASEP()
+
+ //##//
+ part { name: "elm.text"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.offset: 2 3;
+ rel1.relative: 1.0 0.0;
+ rel1.to_x: "elm.swallow.pad";
+ rel2.offset: -3 -3;
+ color: 255 255 255 255;
+ color3: 0 0 0 128;
+ color_class: "list_item";
+ text { font: FN; size: 10;
+ min: 1 1;
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "label2"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "elm.text";
+ rel2.to: "elm.text";
+ color: 21 21 21 255;
+ color3: 255 255 255 25;
+ color_class: "list_item_disabled";
+ text { font: FN; size: 10;
+ text_source: "elm.text";
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ visible: 0;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "label3"; type: TEXT; mouse_events: 0;
+ effect: GLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.offset: -2 -3;
+ rel1.to: "elm.text";
+ rel2.offset: -1 1;
+ rel2.to: "elm.text";
+ color: 51 153 255 255;
+ color2: 51 153 255 24;
+ color3: 51 153 255 18;
+ color_class: "list_item_selected";
+ text { font: FN; size: 10;
+ text_source: "elm.text";
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ visible: 0;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.text.flip"; type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ rel1.to_y: "elm.text";
+ rel2.to_y: "elm.text";
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ program {
+ signal: "elm,state,selected"; source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ }
+ program {
+ signal: "elm,state,unselected"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ }
+ program {
+ signal: "elm,state,disabled"; source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ }
+ program {
+ signal: "elm,state,enabled"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ }
+ program {
+ signal: "elm,state,flip,enabled"; source: "elm";
+ action: STATE_SET "flip_enabled" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ target: "elm.text.flip";
+ }
+ program {
+ signal: "elm,state,flip,disabled"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ target: "elm.text.flip";
+ }
+ //##//
+ part { name: "elm.swallow.pad"; type: SWALLOW;
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ align: 0.0 0.5;
+ rel1.offset: 2 2;
+ rel2.relative: 0.0 1.0;
+ rel2.offset: 2 -3;
+ }
+ }
+ //##//
+
+ TOPP()
+ }
+}
+ODD("elm/genlist/item_odd/no_icon/default", "elm/genlist/item/no_icon/default")
+COMPRESS("elm/genlist/item_compress/no_icon/default", "elm/genlist/item/no_icon/default")
+COMPRESS_ODD("elm/genlist/item_compress_odd/no_icon/default", "elm/genlist/item/no_icon/default")
+
+group { name: "elm/genlist/item/full/default";
+ data.item: "selectraise" "on";
+ data.item: "contents" "elm.swallow.content";
+ data.item: "treesize" TREEPAD;
+ data.item: "flips" "elm.text.flip";
+ IMGP()
+ parts {
+ BASEP()
+
+ //##//
+ part { name: "elm.swallow.content"; type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 19 19;
+ rel1.offset: -1 2;
+ rel1.relative: 1.0 0.0;
+ rel1.to_x: "elm.swallow.pad";
+ rel2.offset: -3 -3;
+ }
+ }
+ //##//
+ part { name: "elm.swallow.pad"; type: SWALLOW;
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ align: 0.0 0.5;
+ rel1.offset: 2 2;
+ rel2.relative: 0.0 1.0;
+ rel2.offset: 2 -3;
+ }
+ }
+ //##//
+
+ TOPP()
+ }
+}
+ODD("elm/genlist/item_odd/full/default", "elm/genlist/item/full/default")
+group { name: "elm/genlist/item_compress/full/default";
+ inherit: "elm/genlist/item/full/default";
+}
+group { name: "elm/genlist/item_compress_odd/full/default";
+ inherit: "elm/genlist/item_odd/full/default";
+}
+
+/////////////////////////////////////////////////////////////////////////////
+//-- tree
+//-- tree_odd
+//-- tree_compress
+//-- tree_compress_odd
+group { name: "elm/genlist/tree/default/default";
+ inherit: "elm/genlist/item/default/default";
+ // XXX: these need to be... done specially.
+// alias: "elm/genlist/tree/tree_effect/default";
+// alias: "elm/genlist/item/tree_effect/default";
+// alias: "elm/genlist/tree/effect_parts/default";
+// alias: "elm/genlist/item/effect_parts/default";
+#define TREEIMGS() \
+ images.image: "sym_left_light_normal.png" COMP; \
+ images.image: "sym_left_glow_normal.png" COMP; \
+ images.image: "sym_left_dark_normal.png" COMP; \
+ images.image: "sym_right_light_normal.png" COMP; \
+ images.image: "sym_right_glow_normal.png" COMP; \
+ images.image: "sym_right_dark_normal.png" COMP; \
+ images.image: "sym_down_light_normal.png" COMP; \
+ images.image: "sym_down_glow_normal.png" COMP; \
+ images.image: "sym_down_dark_normal.png" COMP;
+ TREEIMGS()
+ parts {
+ part { name: "elm.swallow.icon";
+ description { state: "default" 0.0;
+ rel1.to_x: "arrow";
+ rel1.offset: 1 2;
+ rel2.to_x: "arrow";
+ rel2.offset: 1 -3;
+ }
+ description { state: "flip_enabled" 0.0;
+ rel1.to_x: "arrow";
+ rel1.offset: 1 2;
+ rel2.to_x: "arrow";
+ rel2.offset: 1 -3;
+ }
+ }
+#define ARROW() \
+ part { name: "arrow_img_l"; mouse_events: 0; insert_after: "sel_bevel"; \
+ clip_to: "arrow_clip_l"; \
+ scale: 1; \
+ ignore_flags: ON_HOLD; \
+ description { state: "default" 0.0; \
+ fixed: 1 1; \
+ min: 15 15; \
+ max: 15 15; \
+ rel1.to: "arrow"; \
+ rel2.to: "arrow"; \
+ image.normal: "sym_right_light_normal.png"; \
+ } \
+ description { state: "selected" 0.0; \
+ inherit: "default" 0.0; \
+ image.normal: "sym_right_glow_normal.png"; \
+ } \
+ description { state: "disabled" 0.0; \
+ inherit: "default" 0.0; \
+ image.normal: "sym_right_dark_normal.png"; \
+ } \
+ description { state: "default" 1.0; \
+ inherit: "default" 0.0; \
+ image.normal: "sym_down_light_normal.png"; \
+ } \
+ description { state: "selected" 1.0; \
+ inherit: "default" 0.0; \
+ image.normal: "sym_down_glow_normal.png"; \
+ } \
+ description { state: "disabled" 1.0; \
+ inherit: "default" 0.0; \
+ image.normal: "sym_down_dark_normal.png"; \
+ } \
+ } \
+ part { name: "arrow_img_r"; mouse_events: 0; \
+ clip_to: "arrow_clip_r"; \
+ scale: 1; \
+ ignore_flags: ON_HOLD; \
+ description { state: "default" 0.0; \
+ fixed: 1 1; \
+ min: 15 15; \
+ max: 15 15; \
+ rel1.to: "arrow"; \
+ rel2.to: "arrow"; \
+ image.normal: "sym_left_light_normal.png"; \
+ } \
+ description { state: "selected" 0.0; \
+ inherit: "default" 0.0; \
+ image.normal: "sym_left_glow_normal.png"; \
+ } \
+ description { state: "disabled" 0.0; \
+ inherit: "default" 0.0; \
+ image.normal: "sym_left_dark_normal.png"; \
+ } \
+ description { state: "default" 1.0; \
+ inherit: "default" 0.0; \
+ image.normal: "sym_down_light_normal.png"; \
+ } \
+ description { state: "selected" 1.0; \
+ inherit: "default" 0.0; \
+ image.normal: "sym_down_glow_normal.png"; \
+ } \
+ description { state: "disabled" 1.0; \
+ inherit: "default" 0.0; \
+ image.normal: "sym_down_dark_normal.png"; \
+ } \
+ } \
+ part { name: "arrow"; type: RECT; insert_before: "sel_shine"; \
+ description { state: "default" 0.0; \
+ fixed: 1 0; \
+ min: 15 15; \
+ aspect: 1.0 1.0; \
+ align: 0.0 0.5; \
+ rel1.to_x: "elm.swallow.pad"; \
+ rel1.relative: 1.0 0.0; \
+ rel1.offset: -2 2; \
+ rel2.to_x: "elm.swallow.pad"; \
+ rel2.relative: 1.0 1.0; \
+ rel2.offset: -2 -3; \
+ color: 0 0 0 0; \
+ } \
+ } \
+ part { name: "arrow_clip_l"; type: RECT; \
+ description { state: "default" 0.0; \
+ rel1.to: "arrow_img_l"; \
+ rel2.to: "arrow_img_l"; \
+ visible: 1; \
+ } \
+ description { state: "rtl" 0.0; \
+ visible: 0; \
+ } \
+ } \
+ part { name: "arrow_clip_r"; type: RECT; \
+ description { state: "default" 0.0; \
+ rel1.to: "arrow_img_r"; \
+ rel2.to: "arrow_img_r"; \
+ visible: 0; \
+ } \
+ description { state: "rtl" 0.0; \
+ visible: 1; \
+ } \
+ } \
+ program { \
+ signal: "mouse,up,1"; source: "arrow"; \
+ action: SIGNAL_EMIT "elm,action,expand,toggle" "elm"; \
+ } \
+ program { name: "arr1"; \
+ signal: "elm,state,expanded"; source: "elm"; \
+ script { \
+ new st[31], Float:vl; \
+ get_state(PART:"arrow_img_l", st, 30, vl); \
+ set_state(PART:"arrow_img_l", st, 1.0); \
+ set_state(PART:"arrow_img_r", st, 1.0); \
+ } \
+ } \
+ program { name: "arr2"; \
+ signal: "elm,state,contracted"; source: "elm"; \
+ script { \
+ new st[31], Float:vl; \
+ get_state(PART:"arrow_img_l", st, 30, vl); \
+ set_state(PART:"arrow_img_l", st, 0.0); \
+ set_state(PART:"arrow_img_r", st, 0.0); \
+ } \
+ } \
+ program { name: "arr3"; \
+ signal: "elm,state,selected"; source: "elm"; \
+ script { \
+ new st[31], Float:vl; \
+ get_state(PART:"arrow_img_l", st, 30, vl); \
+ set_state(PART:"arrow_img_l", "selected", vl); \
+ set_state(PART:"arrow_img_r", "selected", vl); \
+ } \
+ } \
+ program { name: "arr4"; \
+ signal: "elm,state,unselected"; source: "elm"; \
+ script { \
+ new st[31], Float:vl; \
+ get_state(PART:"arrow_img_l", st, 30, vl); \
+ set_state(PART:"arrow_img_l", "default", vl); \
+ set_state(PART:"arrow_img_r", "default", vl); \
+ } \
+ } \
+ program { name: "arr5"; \
+ signal: "elm,state,enabled"; source: "elm"; \
+ script { \
+ new st[31], Float:vl; \
+ get_state(PART:"arrow_img_l", st, 30, vl); \
+ set_state(PART:"arrow_img_l", "default", vl); \
+ set_state(PART:"arrow_img_r", "default", vl); \
+ } \
+ } \
+ program { name: "arr6"; \
+ signal: "elm,state,disabled"; source: "elm"; \
+ script { \
+ new st[31], Float:vl; \
+ get_state(PART:"arrow_img_l", st, 30, vl); \
+ set_state(PART:"arrow_img_l", "disabled", vl); \
+ set_state(PART:"arrow_img_r", "disabled", vl); \
+ } \
+ } \
+ program { \
+ signal: "edje,state,rtl"; source: "edje"; \
+ action: STATE_SET "rtl" 0.0; \
+ target: "arrow_clip_l"; \
+ target: "arrow_clip_r"; \
+ } \
+ program { \
+ signal: "edje,state,ltr"; source: "edje"; \
+ action: STATE_SET "default" 0.0; \
+ target: "arrow_clip_l"; \
+ target: "arrow_clip_r"; \
+ }
+ ARROW()
+ }
+}
+ODD("elm/genlist/tree_odd/default/default", "elm/genlist/tree/default/default")
+COMPRESS("elm/genlist/tree_compress/default/default", "elm/genlist/tree/default/default")
+COMPRESS_ODD("elm/genlist/tree_compress_odd/default/default", "elm/genlist/tree/default/default")
+
+group { name: "elm/genlist/tree/default_style/default";
+ inherit: "elm/genlist/item/default_style/default";
+ TREEIMGS()
+ parts {
+ part { name: "elm.swallow.icon";
+ description { state: "default" 0.0;
+ rel1.to_x: "arrow";
+ rel1.offset: 1 2;
+ rel2.to_x: "arrow";
+ rel2.offset: 1 -3;
+ }
+ description { state: "flip_enabled" 0.0;
+ rel1.to_x: "arrow";
+ rel1.offset: 1 2;
+ rel2.to_x: "arrow";
+ rel2.offset: 1 -3;
+ }
+ }
+ ARROW()
+ }
+}
+ODD("elm/genlist/tree_odd/default_style/default", "elm/genlist/tree/default_style/default")
+COMPRESS("elm/genlist/tree_compress/default_style/default", "elm/genlist/tree/default_style/default")
+COMPRESS_ODD("elm/genlist/tree_compress_odd/default_style/default", "elm/genlist/tree/default_style/default")
+
+group { name: "elm/genlist/tree/one_icon/default";
+ inherit: "elm/genlist/item/one_icon/default";
+ TREEIMGS()
+ parts {
+ part { name: "elm.swallow.icon";
+ description { state: "default" 0.0;
+ rel1.to_x: "arrow";
+ rel1.offset: 1 2;
+ rel2.to_x: "arrow";
+ rel2.offset: 1 -3;
+ }
+ description { state: "flip_enabled" 0.0;
+ rel1.to_x: "arrow";
+ rel1.offset: 1 2;
+ rel2.to_x: "arrow";
+ rel2.offset: 1 -3;
+ }
+ }
+ ARROW()
+ }
+}
+ODD("elm/genlist/tree_odd/one_icon/default", "elm/genlist/tree/one_icon/default")
+COMPRESS("elm/genlist/tree_compress/one_icon/default", "elm/genlist/tree/one_icon/default")
+COMPRESS_ODD("elm/genlist/tree_compress_odd/one_icon/default", "elm/genlist/tree/one_icon/default")
+
+group { name: "elm/genlist/tree/end_icon/default";
+ inherit: "elm/genlist/item/end_icon/default";
+ TREEIMGS()
+ parts {
+ part { name: "elm.text";
+ description { state: "default" 0.0;
+ rel1.to_x: "arrow";
+ rel1.offset: 1 2;
+ }
+ description { state: "selected" 0.0;
+ rel1.to_x: "arrow";
+ rel1.offset: 1 2;
+ }
+ description { state: "disabled" 0.0;
+ rel1.to_x: "arrow";
+ rel1.offset: 1 2;
+ }
+ description { state: "flip_enabled" 0.0;
+ rel1.to_x: "arrow";
+ rel1.offset: 1 2;
+ }
+ }
+ ARROW()
+ }
+}
+ODD("elm/genlist/tree_odd/end_icon/default", "elm/genlist/tree/end_icon/default")
+COMPRESS("elm/genlist/tree_compress/end_icon/default", "elm/genlist/tree/end_icon/default")
+COMPRESS_ODD("elm/genlist/tree_compress_odd/end_icon/default", "elm/genlist/tree/end_icon/default")
+
+group { name: "elm/genlist/tree/no_icon/default";
+ inherit: "elm/genlist/item/no_icon/default";
+ TREEIMGS()
+ parts {
+ part { name: "elm.text";
+ description { state: "default" 0.0;
+ rel1.to_x: "arrow";
+ rel1.offset: 1 2;
+ }
+ description { state: "selected" 0.0;
+ rel1.to_x: "arrow";
+ rel1.offset: 1 2;
+ }
+ description { state: "disabled" 0.0;
+ rel1.to_x: "arrow";
+ rel1.offset: 1 2;
+ }
+ description { state: "flip_enabled" 0.0;
+ rel1.to_x: "arrow";
+ rel1.offset: 1 2;
+ }
+ }
+ ARROW()
+ }
+}
+ODD("elm/genlist/tree_odd/no_icon/default", "elm/genlist/tree/no_icon/default")
+COMPRESS("elm/genlist/tree_compress/no_icon/default", "elm/genlist/tree/no_icon/default")
+COMPRESS_ODD("elm/genlist/tree_compress_odd/no_icon/default", "elm/genlist/tree/no_icon/default")
+
+group { name: "elm/genlist/tree/full/default";
+ inherit: "elm/genlist/item/full/default";
+ TREEIMGS()
+ parts {
+ part { name: "elm.swallow.content";
+ description { state: "default" 0.0;
+ rel1.to_x: "arrow";
+ rel1.offset: 1 2;
+ }
+ description { state: "selected" 0.0;
+ rel1.to_x: "arrow";
+ rel1.offset: 1 2;
+ }
+ description { state: "disabled" 0.0;
+ rel1.to_x: "arrow";
+ rel1.offset: 1 2;
+ }
+ description { state: "flip_enabled" 0.0;
+ rel1.to_x: "arrow";
+ rel1.offset: 1 2;
+ }
+ }
+ ARROW()
+ }
+}
+ODD("elm/genlist/tree_odd/full/default", "elm/genlist/tree/full/default")
+group { name: "elm/genlist/tree_compress/full/default";
+ inherit: "elm/genlist/tree/full/default";
+}
+group { name: "elm/genlist/tree_compress_odd/full/default";
+ inherit: "elm/genlist/tree_odd/full/default";
+}
+
+#define GENLIST_PART_MAP_START(param_x, param_y, param_z) \
+ description { state: "map_transition" 0.0; \
+ inherit: "default" 0.0; \
+ color: 50 50 50 255; \
+ map { \
+ perspective: "point"; \
+ on: 1; \
+ smooth: 1; \
+ perspective_on: 1; \
+ backface_cull: 1; \
+ rotation { \
+ center: "point"; \
+ x: param_x; \
+ y: param_y; \
+ z: param_z; \
+ } \
+ } \
+ } \
+ description { state: "hide" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 0; \
+ }
+
+#define GENLIST_PART_MAP_FINISH(param_x, param_y, param_z) \
+ description { state: "map_rotate" 0.0; \
+ inherit: "default" 0.0; \
+ map { \
+ perspective: "point"; \
+ on: 1; \
+ smooth: 1; \
+ perspective_on: 1; \
+ backface_cull: 1; \
+ rotation { \
+ center: "point"; \
+ x: param_x; \
+ y: param_y; \
+ z: param_z; \
+ } \
+ } \
+ }
+
+group { name: "elm/genlist/tree/tree_effect/default";
+ data.item: "selectraise" "on";
+ data.item: "texts" "elm.text";
+ data.item: "contents" "elm.swallow.icon elm.swallow.end";
+ data.item: "treesize" TREEPAD;
+ data.item: "flips" "elm.text.flip";
+ broadcast_signal: 1;
+ parts {
+ alias: "elm.swallow.pad" "group:elm.swallow.pad";
+ alias: "elm.swallow.icon" "group:elm.swallow.icon";
+ alias: "elm.swallow.end" "group:elm.swallow.end";
+ alias: "elm.text" "group:elm.text";
+ part { name: "point"; type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 1.0 0.0;
+ }
+ }
+ part { name: "event"; type: RECT;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "group"; type: GROUP;
+ source: "elm/genlist/tree/default/default";
+ description { state: "default" 0.0;
+ }
+ GENLIST_PART_MAP_START(-90.0, 0, 0)
+ GENLIST_PART_MAP_FINISH(0, 0, 0)
+ }
+ }
+ programs {
+ program {
+ signal: "elm,action,flip_item"; source: "elm";
+ action: STATE_SET "map_transition" 0.0;
+ target: "group";
+ after: "rot2";
+ }
+ program { name: "rot2";
+ action: STATE_SET "map_rotate" 0.0;
+ transition: LINEAR 0.2;
+ target: "group";
+ after: "rot3";
+ }
+ program { name: "rot3";
+ action: STATE_SET "default" 0.0;
+ target: "group";
+ }
+
+ program {
+ signal: "elm,state,contract_flip"; source: "elm";
+ action: STATE_SET "map_rotate" 0.0;
+ target: "group";
+ after: "rotb2";
+ }
+ program { name: "rotb2";
+ action: STATE_SET "map_transition" 0.0;
+ transition: LINEAR 0.5;
+ target: "group";
+ after: "rotb3";
+ }
+ program { name: "rotb3";
+ action: STATE_SET "hide" 0.0;
+ target: "group";
+ }
+
+ program {
+ signal: "elm,state,show"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "group";
+ }
+ program {
+ signal: "elm,state,hide"; source: "elm";
+ action: STATE_SET "hide" 0.0;
+ target: "group";
+ }
+ program {
+ signal: "mouse,up,1";
+ source: "group:arrow";
+ action: SIGNAL_EMIT "elm,action,expand,toggle" "elm";
+ }
+ }
+}
+
+group { name: "elm/genlist/item/tree_effect/default";
+ inherit: "elm/genlist/tree/tree_effect/default";
+ parts {
+ part { name: "group"; type: GROUP;
+ source: "elm/genlist/item/default/default";
+ }
+ }
+}
+
+group { name: "elm/genlist/item/icon_top_text_bottom/default";
+ data.item: "selectraise" "on";
+ data.item: "texts" "elm.text";
+ data.item: "contents" "elm.swallow.icon";
+ data.item: "treesize" TREEPAD;
+ data.item: "flips" "elm.text.flip";
+ IMGP()
+ parts {
+ BASEP()
+
+ //##//
+ part { name: "elm.text"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.offset: 2 3;
+ rel1.relative: 1.0 1.0;
+ rel1.to_x: "elm.swallow.pad";
+ rel1.to_y: "elm.swallow.icon";
+ rel2.offset: -3 -3;
+ color: 255 255 255 255;
+ color3: 0 0 0 128;
+ color_class: "list_item";
+ text { font: FN; size: 10;
+ min: 1 1;
+ align: 0.5 0.5;
+ text_class: "list_item";
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "label2"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "elm.text";
+ rel2.to: "elm.text";
+ color: 21 21 21 255;
+ color3: 255 255 255 25;
+ color_class: "list_item_disabled";
+ text { font: FN; size: 10;
+ text_source: "elm.text";
+ align: 0.5 0.5;
+ text_class: "list_item";
+ }
+ visible: 0;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "label3"; type: TEXT; mouse_events: 0;
+ effect: GLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.offset: 0 -3;
+ rel1.to: "elm.text";
+ rel2.offset: -1 1;
+ rel2.to: "elm.text";
+ color: 51 153 255 255;
+ color2: 51 153 255 24;
+ color3: 51 153 255 18;
+ color_class: "list_item_selected";
+ text { font: FN; size: 10;
+ text_source: "elm.text";
+ align: 0.5 0.5;
+ text_class: "list_item";
+ }
+ visible: 0;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.text.flip"; type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ rel1.to_y: "elm.text";
+ rel2.to_y: "elm.text";
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ program {
+ signal: "elm,state,selected"; source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ }
+ program {
+ signal: "elm,state,unselected"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ }
+ program {
+ signal: "elm,state,disabled"; source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ }
+ program {
+ signal: "elm,state,enabled"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ }
+ program {
+ signal: "elm,state,flip,enabled"; source: "elm";
+ action: STATE_SET "flip_enabled" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ target: "elm.text.flip";
+ }
+ program {
+ signal: "elm,state,flip,disabled"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ target: "elm.text.flip";
+ }
+ //##//
+ part { name: "sizer.content"; type: TEXT; mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.to_x: "elm.swallow.pad";
+ rel1.relative: 1.0 0.0;
+ rel1.offset: -1 2;
+ rel2.relative: 1.0 0.0;
+ rel2.offset: -1 2;
+ align: 0.5 0.0;
+ color_class: "list_item";
+ text { font: FN; size: 10;
+ min: 1 1;
+ align: 0.5 0.5;
+ text_class: "list_item";
+ text: "M";
+ }
+ visible: 0;
+ }
+ }
+ part { name: "elm.swallow.pad"; type: SWALLOW;
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ align: 0.0 0.5;
+ rel1.offset: 2 2;
+ rel2.relative: 0.0 1.0;
+ rel2.offset: 2 -3;
+ }
+ }
+ part { name: "elm.swallow.icon"; type: SWALLOW;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ aspect: 1.0 1.0;
+ rel1.to: "sizer.content";
+ rel2.to: "sizer.content";
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ program {
+ signal: "elm,state,flip,enabled"; source: "elm";
+ action: STATE_SET "flip_enabled" 0.0;
+ target: "elm.swallow.icon";
+ }
+ program {
+ signal: "elm,state,flip,disabled"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.icon";
+ }
+ //##//
+
+ TOPP()
+ }
+}
+ODD("elm/genlist/item_odd/icon_top_text_bottom/default", "elm/genlist/item/icon_top_text_bottom/default")
+COMPRESS("elm/genlist/item_compress/icon_top_text_bottom/default", "elm/genlist/item/icon_top_text_bottom/default")
+COMPRESS_ODD("elm/genlist/item_compress_odd/icon_top_text_bottom/default", "elm/genlist/item/icon_top_text_bottom/default")
+
+group { name: "elm/genlist/tree/icon_top_text_bottom/default";
+ inherit: "elm/genlist/item/icon_top_text_bottom/default";
+ TREEIMGS()
+ parts {
+ part { name: "sizer.content";
+ description { state: "default" 0.0;
+ rel1.to_x: "arrow";
+ rel1.offset: 1 2;
+ }
+ }
+ part { name: "elm.text";
+ description { state: "default" 0.0;
+ rel1.to_x: "arrow";
+ rel1.offset: 1 2;
+ }
+ description { state: "flip_enabled" 0.0;
+ rel1.to_x: "arrow";
+ rel1.offset: 1 2;
+ }
+ }
+ ARROW()
+ }
+}
+ODD("elm/genlist/tree_odd/icon_top_text_bottom/default", "elm/genlist/tree/icon_top_text_bottom/default")
+COMPRESS("elm/genlist/tree_compress/icon_top_text_bottom/default", "elm/genlist/tree/icon_top_text_bottom/default")
+COMPRESS_ODD("elm/genlist/tree_compress_odd/icon_top_text_bottom/default", "elm/genlist/tree/icon_top_text_bottom/default")
+
+#define COMPRESS_SUB(_NAME, _SRC) \
+ group { name: _NAME; \
+ inherit: _SRC; \
+ parts { \
+ part { name: "elm.text"; \
+ description { state: "default" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "selected" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "disabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "flip_enabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ } \
+ part { name: "label2"; \
+ description { state: "default" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "selected" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "disabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "flip_enabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ } \
+ part { name: "label3"; \
+ description { state: "default" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "selected" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "disabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "flip_enabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ } \
+ part { name: "elm.text.sub"; \
+ description { state: "default" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "selected" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "disabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "flip_enabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ } \
+ part { name: "label4"; \
+ description { state: "default" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "selected" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "disabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "flip_enabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ } \
+ part { name: "label5"; \
+ description { state: "default" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "selected" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "disabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "flip_enabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ } \
+ } \
+ }
+#define COMPRESS_SUB_ODD(_NAME, _SRC) \
+ group { name: _NAME; \
+ inherit: _SRC; \
+ parts { \
+ part { name: "elm.text"; \
+ description { state: "default" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "selected" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "disabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "flip_enabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ } \
+ part { name: "label2"; \
+ description { state: "default" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "selected" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "disabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "flip_enabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ } \
+ part { name: "label3"; \
+ description { state: "default" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "selected" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "disabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "flip_enabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ } \
+ part { name: "elm.text.sub"; \
+ description { state: "default" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "selected" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "disabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "flip_enabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ } \
+ part { name: "label4"; \
+ description { state: "default" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "selected" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "disabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "flip_enabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ } \
+ part { name: "label5"; \
+ description { state: "default" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "selected" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "disabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "flip_enabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ } \
+ part { name: "base"; \
+ description { state: "default" 0.0; \
+ color: 56 56 56 255; \
+ color_class: "list_item_base_odd"; \
+ } \
+ } \
+ } \
+ }
+group { name: "elm/genlist/item/double_label/default";
+ data.item: "selectraise" "on";
+ data.item: "texts" "elm.text elm.text.sub";
+ data.item: "contents" "elm.swallow.icon elm.swallow.end";
+ data.item: "treesize" TREEPAD;
+ data.item: "flips" "elm.text.flip";
+ IMGP()
+ parts {
+ BASEP()
+
+ //##//
+ part { name: "elm.text"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.offset: 2 3;
+ rel1.relative: 1.0 0.0;
+ rel1.to_x: "elm.swallow.icon";
+ rel2.offset: -3 -3;
+ rel2.relative: 0.0 0.0;
+ rel2.to_x: "elm.swallow.end";
+ rel2.to_y: "elm.text.sub";
+ color: 255 255 255 255;
+ color3: 0 0 0 128;
+ color_class: "list_item";
+ align: 0.0 0.0;
+ text { font: FN; size: 10;
+ min: 1 1;
+ align: 0.0 0.0;
+ text_class: "list_item";
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "label2"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "elm.text";
+ rel2.to: "elm.text";
+ color: 21 21 21 255;
+ color3: 255 255 255 25;
+ color_class: "list_item_disabled";
+ text { font: FN; size: 10;
+ text_source: "elm.text";
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ visible: 0;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "label3"; type: TEXT; mouse_events: 0;
+ effect: GLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.offset: -2 -3;
+ rel1.to: "elm.text";
+ rel2.offset: -1 1;
+ rel2.to: "elm.text";
+ color: 51 153 255 255;
+ color2: 51 153 255 24;
+ color3: 51 153 255 18;
+ color_class: "list_item_selected";
+ text { font: FN; size: 10;
+ text_source: "elm.text";
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ visible: 0;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.text.flip"; type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ rel1.to_y: "elm.text";
+ rel2.to_y: "elm.text";
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "elm.text.sub"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 0 1;
+ rel1.offset: 2 -3;
+ rel1.relative: 1.0 1.0;
+ rel1.to_x: "elm.swallow.icon";
+ rel2.offset: -3 -3;
+ rel2.relative: 0.0 1.0;
+ rel2.to_x: "elm.swallow.end";
+ color: 255 255 255 255;
+ color3: 0 0 0 128;
+ color_class: "list_item_sub";
+ align: 0.0 1.0;
+ text { font: FN; size: 8;
+ min: 1 1;
+ align: 0.0 1.0;
+ text_class: "list_item_sub";
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "label4"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "elm.text.sub";
+ rel2.to: "elm.text.sub";
+ color: 21 21 21 255;
+ color3: 255 255 255 25;
+ color_class: "list_item_sub_disabled";
+ text { font: FN; size: 8;
+ text_source: "elm.text.sub";
+ align: 0.0 1.0;
+ text_class: "list_item_sub";
+ }
+ visible: 0;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "label5"; type: TEXT; mouse_events: 0;
+ effect: GLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.offset: -2 -4;
+ rel1.to: "elm.text.sub";
+ rel2.offset: -1 0;
+ rel2.to: "elm.text.sub";
+ color: 51 153 255 255;
+ color2: 51 153 255 24;
+ color3: 51 153 255 18;
+ color_class: "list_item_sub_selected";
+ text { font: FN; size: 8;
+ text_source: "elm.text.sub";
+ align: 0.0 1.0;
+ text_class: "list_item_sub";
+ }
+ visible: 0;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ program {
+ signal: "elm,state,selected"; source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ target: "elm.text.sub";
+ target: "label4";
+ target: "label5";
+ }
+ program {
+ signal: "elm,state,unselected"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ target: "elm.text.sub";
+ target: "label4";
+ target: "label5";
+ }
+ program {
+ signal: "elm,state,disabled"; source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ target: "elm.text.sub";
+ target: "label4";
+ target: "label5";
+ }
+ program {
+ signal: "elm,state,enabled"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ target: "elm.text.sub";
+ target: "label4";
+ target: "label5";
+ }
+ program {
+ signal: "elm,state,flip,enabled"; source: "elm";
+ action: STATE_SET "flip_enabled" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ target: "elm.text.sub";
+ target: "label4";
+ target: "label5";
+ target: "elm.text.flip";
+ }
+ program {
+ signal: "elm,state,flip,disabled"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ target: "elm.text.sub";
+ target: "label4";
+ target: "label5";
+ target: "elm.text.flip";
+ }
+ //##//
+ part { name: "elm.swallow.pad"; type: SWALLOW;
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ align: 0.0 0.5;
+ rel1.offset: 2 2;
+ rel2.relative: 0.0 1.0;
+ rel2.offset: 2 -3;
+ }
+ }
+ part { name: "elm.swallow.icon"; type: SWALLOW;
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ align: 0.0 0.5;
+ aspect: 1.0 1.0;
+ rel1.to_x: "elm.swallow.pad";
+ rel1.relative: 1.0 0.0;
+ rel1.offset: -1 2;
+ rel2.to_x: "elm.swallow.pad";
+ rel2.relative: 1.0 1.0;
+ rel2.offset: -1 -3;
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.swallow.end"; type: SWALLOW;
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ align: 1.0 0.5;
+ aspect: 1.0 1.0;
+ rel1.offset: -3 2;
+ rel1.relative: 1.0 0.0;
+ rel2.offset: -3 -3;
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ program {
+ signal: "elm,state,flip,enabled"; source: "elm";
+ action: STATE_SET "flip_enabled" 0.0;
+ target: "elm.swallow.icon";
+ target: "elm.swallow.end";
+ }
+ program {
+ signal: "elm,state,flip,disabled"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.icon";
+ target: "elm.swallow.end";
+ }
+ //##//
+
+ TOPP()
+ }
+}
+ODD("elm/genlist/item_odd/double_label/default", "elm/genlist/item/double_label/default")
+COMPRESS_SUB("elm/genlist/item_compress/double_label/default", "elm/genlist/item/double_label/default")
+COMPRESS_SUB_ODD("elm/genlist/item_compress_odd/double_label/default", "elm/genlist/item/double_label/default")
+
+group { name: "elm/genlist/tree/double_label/default";
+ inherit: "elm/genlist/item/double_label/default";
+ TREEIMGS()
+ parts {
+ part { name: "elm.swallow.icon";
+ description { state: "default" 0.0;
+ rel1.to_x: "arrow";
+ rel1.offset: 1 2;
+ rel2.to_x: "arrow";
+ rel2.offset: 1 -3;
+ }
+ description { state: "flip_enabled" 0.0;
+ rel1.to_x: "arrow";
+ rel1.offset: 1 2;
+ rel2.to_x: "arrow";
+ rel2.offset: 1 -3;
+ }
+ }
+ ARROW()
+ }
+}
+ODD("elm/genlist/tree_odd/double_label/default", "elm/genlist/tree/double_label/default")
+COMPRESS_SUB("elm/genlist/tree_compress/double_label/default", "elm/genlist/tree/double_label/default")
+COMPRESS_SUB_ODD("elm/genlist/tree_compress_odd/double_label/default", "elm/genlist/tree/double_label/default")
+
+#define COMPRESS_T1T2(_NAME, _SRC) \
+ group { name: _NAME; \
+ inherit: _SRC; \
+ parts { \
+ part { name: "elm.text"; \
+ description { state: "default" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "selected" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "disabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "flip_enabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ } \
+ part { name: "label2"; \
+ description { state: "default" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "selected" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "disabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "flip_enabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ } \
+ part { name: "label3"; \
+ description { state: "default" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "selected" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "disabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "flip_enabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ } \
+ part { name: "elm.title.1"; \
+ description { state: "default" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "selected" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "disabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "flip_enabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ } \
+ part { name: "label4"; \
+ description { state: "default" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "selected" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "disabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "flip_enabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ } \
+ part { name: "label5"; \
+ description { state: "default" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "selected" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "disabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "flip_enabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ } \
+ part { name: "elm.title.2"; \
+ description { state: "default" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "selected" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "disabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "flip_enabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ } \
+ part { name: "label6"; \
+ description { state: "default" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "selected" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "disabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "flip_enabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ } \
+ part { name: "label7"; \
+ description { state: "default" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "selected" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "disabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "flip_enabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ } \
+ } \
+ }
+#define COMPRESS_T1T2_ODD(_NAME, _SRC) \
+ group { name: _NAME; \
+ inherit: _SRC; \
+ parts { \
+ part { name: "elm.text"; \
+ description { state: "default" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "selected" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "disabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "flip_enabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ } \
+ part { name: "label2"; \
+ description { state: "default" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "selected" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "disabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "flip_enabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ } \
+ part { name: "label3"; \
+ description { state: "default" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "selected" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "disabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "flip_enabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ } \
+ part { name: "elm.title.1"; \
+ description { state: "default" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "selected" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "disabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "flip_enabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ } \
+ part { name: "label4"; \
+ description { state: "default" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "selected" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "disabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "flip_enabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ } \
+ part { name: "label5"; \
+ description { state: "default" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "selected" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "disabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "flip_enabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ } \
+ part { name: "elm.title.2"; \
+ description { state: "default" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "selected" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "disabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "flip_enabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ } \
+ part { name: "label6"; \
+ description { state: "default" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "selected" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "disabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "flip_enabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ } \
+ part { name: "label7"; \
+ description { state: "default" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "selected" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "disabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "flip_enabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ } \
+ part { name: "base"; \
+ description { state: "default" 0.0; \
+ color: 56 56 56 255; \
+ color_class: "list_item_base_odd"; \
+ } \
+ } \
+ } \
+ }
+group { name: "elm/genlist/item/message/default";
+ data.item: "selectraise" "on";
+ data.item: "texts" "elm.text elm.title.1 elm.title.2";
+ data.item: "contents" "elm.swallow.icon";
+ data.item: "treesize" TREEPAD;
+ data.item: "flips" "elm.text.flip";
+ IMGP()
+ parts {
+ BASEP()
+
+ //##//
+ part { name: "elm.text"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.offset: 2 3;
+ rel1.relative: 1.0 0.0;
+ rel1.to_x: "elm.swallow.pad";
+ rel2.offset: -3 2;
+ rel2.relative: 1.0 0.0;
+ color: 255 255 255 255;
+ color3: 0 0 0 128;
+ color_class: "list_item";
+ align: 0.0 0.0;
+ text { font: FN; size: 10;
+ min: 1 1;
+ align: 0.0 0.0;
+ text_class: "list_item";
+ }
+ fixed: 0 1;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "label2"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.to: "elm.text";
+ rel2.to: "elm.text";
+ color: 21 21 21 255;
+ color3: 255 255 255 25;
+ color_class: "list_item_disabled";
+ text { font: FN; size: 10;
+ text_source: "elm.text";
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ visible: 0;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "label3"; type: TEXT; mouse_events: 0;
+ effect: GLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.offset: -2 -3;
+ rel1.to: "elm.text";
+ rel2.offset: -1 1;
+ rel2.to: "elm.text";
+ color: 51 153 255 255;
+ color2: 51 153 255 24;
+ color3: 51 153 255 18;
+ color_class: "list_item_selected";
+ text { font: FN; size: 10;
+ text_source: "elm.text";
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ visible: 0;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.text.flip"; type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ rel1.to_y: "elm.text";
+ rel2.to_y: "elm.text";
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ //##//
+ part { name: "elm.title.1"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.offset: 2 3;
+ rel1.relative: 1.0 1.0;
+ rel1.to_x: "elm.swallow.pad";
+ rel1.to_y: "elm.text";
+ rel2.offset: -3 -3;
+ rel2.relative: 1.0 0.0;
+ rel2.to_y: "elm.title.2";
+ color: 255 255 255 255;
+ color3: 0 0 0 128;
+ color_class: "list_item";
+ text { font: FN; size: 10;
+ min: 1 1;
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "label4"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "elm.title.1";
+ rel2.to: "elm.title.1";
+ color: 21 21 21 255;
+ color3: 255 255 255 25;
+ color_class: "list_item_disabled";
+ text { font: FN; size: 10;
+ text_source: "elm.title.1";
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ visible: 0;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "label5"; type: TEXT; mouse_events: 0;
+ effect: GLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.offset: -2 -3;
+ rel1.to: "elm.title.1";
+ rel2.offset: -1 1;
+ rel2.to: "elm.title.1";
+ color: 51 153 255 255;
+ color2: 51 153 255 24;
+ color3: 51 153 255 18;
+ color_class: "list_item_selected";
+ text { font: FN; size: 10;
+ text_source: "elm.title.1";
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ visible: 0;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ //##//
+ part { name: "elm.title.2"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.offset: 2 -3;
+ rel1.relative: 1.0 1.0;
+ rel1.to_x: "elm.swallow.pad";
+ rel2.offset: -3 -3;
+ color: 255 255 255 255;
+ color3: 0 0 0 128;
+ color_class: "list_item";
+ align: 0.0 1.0;
+ text { font: FN; size: 10;
+ min: 1 1;
+ align: 0.0 1.0;
+ text_class: "list_item";
+ }
+ fixed: 0 1;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "label6"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "elm.title.2";
+ rel2.to: "elm.title.2";
+ color: 21 21 21 255;
+ color3: 255 255 255 25;
+ color_class: "list_item_disabled";
+ text { font: FN; size: 10;
+ text_source: "elm.title.2";
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ visible: 0;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "label7"; type: TEXT; mouse_events: 0;
+ effect: GLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.offset: -2 -3;
+ rel1.to: "elm.title.2";
+ rel2.offset: -1 2;
+ rel2.to: "elm.title.2";
+ color: 51 153 255 255;
+ color2: 51 153 255 24;
+ color3: 51 153 255 18;
+ color_class: "list_item_selected";
+ text { font: FN; size: 10;
+ text_source: "elm.title.2";
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ visible: 0;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ program {
+ signal: "elm,state,selected"; source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ target: "elm.title.1";
+ target: "elm.title.2";
+ target: "label4";
+ target: "label5";
+ target: "label6";
+ target: "label7";
+ }
+ program {
+ signal: "elm,state,unselected"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ target: "elm.title.1";
+ target: "elm.title.2";
+ target: "label4";
+ target: "label5";
+ target: "label6";
+ target: "label7";
+ }
+ program {
+ signal: "elm,state,disabled"; source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ target: "elm.title.1";
+ target: "elm.title.2";
+ target: "label4";
+ target: "label5";
+ target: "label6";
+ target: "label7";
+ }
+ program {
+ signal: "elm,state,enabled"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ target: "elm.title.1";
+ target: "elm.title.2";
+ target: "label4";
+ target: "label5";
+ target: "label6";
+ target: "label7";
+ }
+ program {
+ signal: "elm,state,flip,enabled"; source: "elm";
+ action: STATE_SET "flip_enabled" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ target: "elm.text.flip";
+ target: "elm.title.1";
+ target: "elm.title.2";
+ target: "label4";
+ target: "label5";
+ target: "label6";
+ target: "label7";
+ }
+ program {
+ signal: "elm,state,flip,disabled"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ target: "elm.text.flip";
+ target: "elm.title.1";
+ target: "elm.title.2";
+ target: "label4";
+ target: "label5";
+ target: "label6";
+ target: "label7";
+ }
+ //##//
+ part { name: "elm.swallow.pad"; type: SWALLOW;
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ align: 0.0 0.5;
+ rel1.offset: 2 2;
+ rel2.relative: 0.0 1.0;
+ rel2.offset: 2 -3;
+ }
+ }
+ //##//
+
+ TOPP()
+ }
+}
+ODD("elm/genlist/item_odd/message/default", "elm/genlist/item/message/default")
+COMPRESS_T1T2("elm/genlist/item_compress/message/default", "elm/genlist/item/message/default")
+COMPRESS_T1T2_ODD("elm/genlist/item_compress_odd/message/default", "elm/genlist/item/message/default")
+
+group { name: "elm/genlist/item/media/default";
+ data.item: "selectraise" "on";
+ data.item: "texts" "elm.text.title elm.text.album-artist";
+ data.item: "treesize" TREEPAD;
+ data.item: "flips" "elm.text.flip";
+ IMGP()
+ parts {
+ BASEP()
+
+ //##//
+ part { name: "elm.text.title"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.offset: 2 3;
+ rel1.relative: 1.0 0.0;
+ rel1.to_x: "elm.swallow.pad";
+ rel2.offset: -3 -3;
+ rel2.relative: 1.0 0.0;
+ rel2.to_y: "elm.text.album-artist";
+ color: 255 255 255 255;
+ color3: 0 0 0 128;
+ color_class: "list_item";
+ align: 0.0 0.0;
+ text { font: FN; size: 10;
+ min: 1 1;
+ align: 0.0 0.0;
+ text_class: "list_item";
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "label2"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "elm.text.title";
+ rel2.to: "elm.text.title";
+ color: 21 21 21 255;
+ color3: 255 255 255 25;
+ color_class: "list_item_disabled";
+ text { font: FN; size: 10;
+ text_source: "elm.text.title";
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ visible: 0;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "label3"; type: TEXT; mouse_events: 0;
+ effect: GLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.offset: -2 -3;
+ rel1.to: "elm.text.title";
+ rel2.offset: -1 1;
+ rel2.to: "elm.text.title";
+ color: 51 153 255 255;
+ color2: 51 153 255 24;
+ color3: 51 153 255 18;
+ color_class: "list_item_selected";
+ text { font: FN; size: 10;
+ text_source: "elm.text.title";
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ visible: 0;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.text.flip"; type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ rel1.to_y: "elm.text.title";
+ rel2.to_y: "elm.text.title";
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "elm.text.album-artist"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 0 1;
+ rel1.offset: 2 -3;
+ rel1.relative: 1.0 1.0;
+ rel1.to_x: "elm.swallow.pad";
+ rel2.offset: -3 -3;
+ rel2.relative: 1.0 1.0;
+ color: 255 255 255 255;
+ color3: 0 0 0 128;
+ color_class: "list_item_sub";
+ align: 0.0 1.0;
+ text { font: FN; size: 8;
+ min: 1 1;
+ align: 0.0 1.0;
+ text_class: "list_item_sub";
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "label4"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "elm.text.album-artist";
+ rel2.to: "elm.text.album-artist";
+ color: 21 21 21 255;
+ color3: 255 255 255 25;
+ color_class: "list_item_sub_disabled";
+ text { font: FN; size: 8;
+ text_source: "elm.text.album-artist";
+ align: 0.0 1.0;
+ text_class: "list_item_sub";
+ }
+ visible: 0;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "label5"; type: TEXT; mouse_events: 0;
+ effect: GLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.offset: -2 -4;
+ rel1.to: "elm.text.album-artist";
+ rel2.offset: -1 0;
+ rel2.to: "elm.text.album-artist";
+ color: 51 153 255 255;
+ color2: 51 153 255 24;
+ color3: 51 153 255 18;
+ color_class: "list_item_sub_selected";
+ text { font: FN; size: 8;
+ text_source: "elm.text.album-artist";
+ align: 0.0 1.0;
+ text_class: "list_item_sub";
+ }
+ visible: 0;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ program {
+ signal: "elm,state,selected"; source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "elm.text.title";
+ target: "label2";
+ target: "label3";
+ target: "elm.text.album-artist";
+ target: "label4";
+ target: "label5";
+ }
+ program {
+ signal: "elm,state,unselected"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text.title";
+ target: "label2";
+ target: "label3";
+ target: "elm.text.album-artist";
+ target: "label4";
+ target: "label5";
+ }
+ program {
+ signal: "elm,state,disabled"; source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "elm.text.title";
+ target: "label2";
+ target: "label3";
+ target: "elm.text.album-artist";
+ target: "label4";
+ target: "label5";
+ }
+ program {
+ signal: "elm,state,enabled"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text.title";
+ target: "label2";
+ target: "label3";
+ target: "elm.text.album-artist";
+ target: "label4";
+ target: "label5";
+ }
+ program {
+ signal: "elm,state,flip,enabled"; source: "elm";
+ action: STATE_SET "flip_enabled" 0.0;
+ target: "elm.text.title";
+ target: "label2";
+ target: "label3";
+ target: "elm.text.album-artist";
+ target: "label4";
+ target: "label5";
+ target: "elm.text.flip";
+ }
+ program {
+ signal: "elm,state,flip,disabled"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text.title";
+ target: "label2";
+ target: "label3";
+ target: "elm.text.album-artist";
+ target: "label4";
+ target: "label5";
+ target: "elm.text.flip";
+ }
+ //##//
+ part { name: "elm.swallow.pad"; type: SWALLOW;
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ align: 0.0 0.5;
+ rel1.offset: 2 2;
+ rel2.relative: 0.0 1.0;
+ rel2.offset: 2 -3;
+ }
+ }
+ //##//
+
+ TOPP()
+ }
+}
+#define COMPRESS_MEDIA(_NAME, _SRC) \
+ group { name: _NAME; \
+ inherit: _SRC; \
+ parts { \
+ part { name: "elm.text.title"; \
+ description { state: "default" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "selected" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "disabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "flip_enabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ } \
+ part { name: "label2"; \
+ description { state: "default" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "selected" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "disabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "flip_enabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ } \
+ part { name: "label3"; \
+ description { state: "default" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "selected" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "disabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "flip_enabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ } \
+ part { name: "elm.text.album-artist"; \
+ description { state: "default" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "selected" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "disabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "flip_enabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ } \
+ part { name: "label4"; \
+ description { state: "default" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "selected" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "disabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "flip_enabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ } \
+ part { name: "label5"; \
+ description { state: "default" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "selected" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "disabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "flip_enabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ } \
+ } \
+ }
+#define COMPRESS_MEDIA_ODD(_NAME, _SRC) \
+ group { name: _NAME; \
+ inherit: _SRC; \
+ parts { \
+ part { name: "elm.text.title"; \
+ description { state: "default" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "selected" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "disabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "flip_enabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ } \
+ part { name: "label2"; \
+ description { state: "default" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "selected" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "disabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "flip_enabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ } \
+ part { name: "label3"; \
+ description { state: "default" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "selected" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "disabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "flip_enabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ } \
+ part { name: "elm.text.album-artist"; \
+ description { state: "default" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "selected" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "disabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "flip_enabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ } \
+ part { name: "label4"; \
+ description { state: "default" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "selected" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "disabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "flip_enabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ } \
+ part { name: "label5"; \
+ description { state: "default" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "selected" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "disabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "flip_enabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ } \
+ part { name: "base"; \
+ description { state: "default" 0.0; \
+ color: 56 56 56 255; \
+ color_class: "list_item_base_odd"; \
+ } \
+ } \
+ } \
+ }
+ODD("elm/genlist/item_odd/media/default", "elm/genlist/item/media/default")
+COMPRESS_MEDIA("elm/genlist/item_compress/media/default", "elm/genlist/item/media/default")
+COMPRESS_MEDIA_ODD("elm/genlist/item_compress_odd/media/default", "elm/genlist/item/media/default")
+
+group { name: "elm/genlist/item/media-album/default";
+ data.item: "selectraise" "on";
+ data.item: "texts" "elm.text.title elm.text.trackno elm.text.length";
+ data.item: "treesize" TREEPAD;
+ data.item: "flips" "elm.text.flip";
+ IMGP()
+ parts {
+ BASEP()
+
+ //##//
+ part { name: "elm.text.trackno"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.offset: 2 3;
+ rel1.relative: 1.0 0.0;
+ rel1.to_x: "elm.swallow.pad";
+ rel2.offset: 2 -3;
+ rel2.relative: 1.0 0.0;
+ rel2.to_x: "elm.swallow.pad";
+ rel2.to_y: "elm.text.length";
+ color: 255 255 255 255;
+ color3: 0 0 0 128;
+ color_class: "list_item";
+ align: 0.0 0.0;
+ text { font: FN; size: 10;
+ min: 1 1;
+ align: 0.0 0.0;
+ text_class: "list_item";
+ }
+ fixed: 1 0;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "label2"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "elm.text.trackno";
+ rel2.to: "elm.text.trackno";
+ color: 21 21 21 255;
+ color3: 255 255 255 25;
+ color_class: "list_item_disabled";
+ text { font: FN; size: 10;
+ text_source: "elm.text.trackno";
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ visible: 0;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "label3"; type: TEXT; mouse_events: 0;
+ effect: GLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.offset: -2 -3;
+ rel1.to: "elm.text.trackno";
+ rel2.offset: -1 1;
+ rel2.to: "elm.text.trackno";
+ color: 51 153 255 255;
+ color2: 51 153 255 24;
+ color3: 51 153 255 18;
+ color_class: "list_item_selected";
+ text { font: FN; size: 10;
+ text_source: "elm.text.trackno";
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ visible: 0;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.text.flip"; type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ rel1.to_y: "elm.text.trackno";
+ rel2.to_y: "elm.text.trackno";
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "dot"; type: TEXT; mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ align: 0.0 0.0;
+ rel1.to: "elm.text.trackno";
+ rel1.relative: 1.0 0.0;
+ rel1.offset: 2 0;
+ rel2.to: "elm.text.trackno";
+ rel2.offset: 2 -1;
+ text { font: FN; size: 10;
+ min: 1 1;
+ align: 0.0 0.5;
+ text: ":";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ }
+ }
+ part { name: "elm.text.title"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.offset: 2 0;
+ rel1.relative: 1.0 0.0;
+ rel1.to_x: "dot";
+ rel1.to_y: "elm.text.trackno";
+ rel2.offset: -3 -1;
+ rel2.relative: 1.0 1.0;
+ rel2.to_y: "elm.text.trackno";
+ color: 255 255 255 255;
+ color3: 0 0 0 128;
+ color_class: "list_item";
+ align: 0.0 0.0;
+ text { font: FN; size: 10;
+ min: 1 1;
+ align: 0.0 0.0;
+ text_class: "list_item";
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "label6"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "elm.text.title";
+ rel2.to: "elm.text.title";
+ color: 21 21 21 255;
+ color3: 255 255 255 25;
+ color_class: "list_item_disabled";
+ text { font: FN; size: 10;
+ text_source: "elm.text.title";
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ visible: 0;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "label7"; type: TEXT; mouse_events: 0;
+ effect: GLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.offset: -2 -3;
+ rel1.to: "elm.text.title";
+ rel2.offset: -1 1;
+ rel2.to: "elm.text.title";
+ color: 51 153 255 255;
+ color2: 51 153 255 24;
+ color3: 51 153 255 18;
+ color_class: "list_item_selected";
+ text { font: FN; size: 10;
+ text_source: "elm.text.title";
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ visible: 0;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+
+ part { name: "elm.text.length"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 0 1;
+ rel1.offset: 2 -3;
+ rel1.relative: 1.0 1.0;
+ rel1.to_x: "elm.swallow.pad";
+ rel2.offset: -3 -3;
+ rel2.relative: 1.0 1.0;
+ color: 255 255 255 255;
+ color3: 0 0 0 128;
+ color_class: "list_item_sub";
+ align: 0.0 1.0;
+ text { font: FN; size: 8;
+ min: 1 1;
+ align: 0.0 1.0;
+ text_class: "list_item_sub";
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "label4"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "elm.text.length";
+ rel2.to: "elm.text.length";
+ color: 21 21 21 255;
+ color3: 255 255 255 25;
+ color_class: "list_item_sub_disabled";
+ text { font: FN; size: 8;
+ text_source: "elm.text.length";
+ align: 0.0 1.0;
+ text_class: "list_item_sub";
+ }
+ visible: 0;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "label5"; type: TEXT; mouse_events: 0;
+ effect: GLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.offset: -2 -4;
+ rel1.to: "elm.text.length";
+ rel2.offset: -1 0;
+ rel2.to: "elm.text.length";
+ color: 51 153 255 255;
+ color2: 51 153 255 24;
+ color3: 51 153 255 18;
+ color_class: "list_item_sub_selected";
+ text { font: FN; size: 8;
+ text_source: "elm.text.length";
+ align: 0.0 1.0;
+ text_class: "list_item_sub";
+ }
+ visible: 0;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ program {
+ signal: "elm,state,selected"; source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "elm.text.trackno";
+ target: "label2";
+ target: "label3";
+ target: "elm.text.title";
+ target: "label6";
+ target: "label7";
+ target: "elm.text.length";
+ target: "label4";
+ target: "label5";
+ }
+ program {
+ signal: "elm,state,unselected"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text.trackno";
+ target: "label2";
+ target: "label3";
+ target: "elm.text.title";
+ target: "label6";
+ target: "label7";
+ target: "elm.text.length";
+ target: "label4";
+ target: "label5";
+ }
+ program {
+ signal: "elm,state,disabled"; source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "elm.text.trackno";
+ target: "label2";
+ target: "label3";
+ target: "elm.text.title";
+ target: "label6";
+ target: "label7";
+ target: "elm.text.length";
+ target: "label4";
+ target: "label5";
+ }
+ program {
+ signal: "elm,state,enabled"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text.trackno";
+ target: "label2";
+ target: "label3";
+ target: "elm.text.title";
+ target: "label6";
+ target: "label7";
+ target: "elm.text.length";
+ target: "label4";
+ target: "label5";
+ }
+ program {
+ signal: "elm,state,flip,enabled"; source: "elm";
+ action: STATE_SET "flip_enabled" 0.0;
+ target: "elm.text.trackno";
+ target: "label2";
+ target: "label3";
+ target: "elm.text.title";
+ target: "label6";
+ target: "label7";
+ target: "elm.text.length";
+ target: "label4";
+ target: "label5";
+ target: "elm.text.flip";
+ }
+ program {
+ signal: "elm,state,flip,disabled"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text.trackno";
+ target: "label2";
+ target: "label3";
+ target: "elm.text.title";
+ target: "label6";
+ target: "label7";
+ target: "elm.text.length";
+ target: "label4";
+ target: "label5";
+ target: "elm.text.flip";
+ }
+ //##//
+ part { name: "elm.swallow.pad"; type: SWALLOW;
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ align: 0.0 0.5;
+ rel1.offset: 2 2;
+ rel2.relative: 0.0 1.0;
+ rel2.offset: 2 -3;
+ }
+ }
+ //##//
+
+ TOPP()
+ }
+}
+ODD("elm/genlist/item_odd/media-album/default", "elm/genlist/item/media-album/default")
+group { name: "elm/genlist/item_compress/media-album/default";
+ inherit: "elm/genlist/item/media-album/default";
+ parts {
+ part { name: "elm.text.title";
+ description { state: "default" 0.0;
+ text.min: 0 1;
+ }
+ description { state: "selected" 0.0;
+ text.min: 0 1;
+ }
+ description { state: "disabled" 0.0;
+ text.min: 0 1;
+ }
+ description { state: "flip_enabled" 0.0;
+ text.min: 0 1;
+ }
+ }
+ part { name: "label2";
+ description { state: "default" 0.0;
+ text.min: 0 1;
+ }
+ description { state: "selected" 0.0;
+ text.min: 0 1;
+ }
+ description { state: "disabled" 0.0;
+ text.min: 0 1;
+ }
+ description { state: "flip_enabled" 0.0;
+ text.min: 0 1;
+ }
+ }
+ part { name: "label3";
+ description { state: "default" 0.0;
+ text.min: 0 1;
+ }
+ description { state: "selected" 0.0;
+ text.min: 0 1;
+ }
+ description { state: "disabled" 0.0;
+ text.min: 0 1;
+ }
+ description { state: "flip_enabled" 0.0;
+ text.min: 0 1;
+ }
+ }
+ part { name: "elm.text.length";
+ description { state: "default" 0.0;
+ text.min: 0 1;
+ }
+ description { state: "selected" 0.0;
+ text.min: 0 1;
+ }
+ description { state: "disabled" 0.0;
+ text.min: 0 1;
+ }
+ description { state: "flip_enabled" 0.0;
+ text.min: 0 1;
+ }
+ }
+ part { name: "label4";
+ description { state: "default" 0.0;
+ text.min: 0 1;
+ }
+ description { state: "selected" 0.0;
+ text.min: 0 1;
+ }
+ description { state: "disabled" 0.0;
+ text.min: 0 1;
+ }
+ description { state: "flip_enabled" 0.0;
+ text.min: 0 1;
+ }
+ }
+ part { name: "label5";
+ description { state: "default" 0.0;
+ text.min: 0 1;
+ }
+ description { state: "selected" 0.0;
+ text.min: 0 1;
+ }
+ description { state: "disabled" 0.0;
+ text.min: 0 1;
+ }
+ description { state: "flip_enabled" 0.0;
+ text.min: 0 1;
+ }
+ }
+ }
+}
+group { name: "elm/genlist/item_compress_odd/media-album/default";
+ inherit: "elm/genlist/item_odd/media-album/default";
+ parts {
+ part { name: "elm.text.title";
+ description { state: "default" 0.0;
+ text.min: 0 1;
+ }
+ description { state: "selected" 0.0;
+ text.min: 0 1;
+ }
+ description { state: "disabled" 0.0;
+ text.min: 0 1;
+ }
+ description { state: "flip_enabled" 0.0;
+ text.min: 0 1;
+ }
+ }
+ part { name: "label2";
+ description { state: "default" 0.0;
+ text.min: 0 1;
+ }
+ description { state: "selected" 0.0;
+ text.min: 0 1;
+ }
+ description { state: "disabled" 0.0;
+ text.min: 0 1;
+ }
+ description { state: "flip_enabled" 0.0;
+ text.min: 0 1;
+ }
+ }
+ part { name: "label3";
+ description { state: "default" 0.0;
+ text.min: 0 1;
+ }
+ description { state: "selected" 0.0;
+ text.min: 0 1;
+ }
+ description { state: "disabled" 0.0;
+ text.min: 0 1;
+ }
+ description { state: "flip_enabled" 0.0;
+ text.min: 0 1;
+ }
+ }
+ part { name: "elm.text.length";
+ description { state: "default" 0.0;
+ text.min: 0 1;
+ }
+ description { state: "selected" 0.0;
+ text.min: 0 1;
+ }
+ description { state: "disabled" 0.0;
+ text.min: 0 1;
+ }
+ description { state: "flip_enabled" 0.0;
+ text.min: 0 1;
+ }
+ }
+ part { name: "label4";
+ description { state: "default" 0.0;
+ text.min: 0 1;
+ }
+ description { state: "selected" 0.0;
+ text.min: 0 1;
+ }
+ description { state: "disabled" 0.0;
+ text.min: 0 1;
+ }
+ description { state: "flip_enabled" 0.0;
+ text.min: 0 1;
+ }
+ }
+ part { name: "label5";
+ description { state: "default" 0.0;
+ text.min: 0 1;
+ }
+ description { state: "selected" 0.0;
+ text.min: 0 1;
+ }
+ description { state: "disabled" 0.0;
+ text.min: 0 1;
+ }
+ description { state: "flip_enabled" 0.0;
+ text.min: 0 1;
+ }
+ }
+ }
+}
+
+group { name: "elm/genlist/item/media-preview/default";
+ data.item: "selectraise" "on";
+ data.item: "texts" "elm.text elm.text.artist";
+ data.item: "contents" "elm.swallow.preview";
+ data.item: "treesize" TREEPAD;
+ data.item: "flips" "elm.text.flip";
+ IMGP()
+ parts {
+ BASEP()
+
+ //##//
+ part { name: "elm.text"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.offset: 2 3;
+ rel1.relative: 1.0 0.0;
+ rel1.to_x: "elm.swallow.preview";
+ rel2.offset: -3 -3;
+ rel2.relative: 1.0 0.0;
+ rel2.to_y: "elm.text.artist";
+ color: 255 255 255 255;
+ color3: 0 0 0 128;
+ color_class: "list_item";
+ align: 0.0 0.0;
+ text { font: FN; size: 10;
+ min: 1 1;
+ align: 0.0 0.0;
+ text_class: "list_item";
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "label2"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "elm.text";
+ rel2.to: "elm.text";
+ color: 21 21 21 255;
+ color3: 255 255 255 25;
+ color_class: "list_item_disabled";
+ text { font: FN; size: 10;
+ text_source: "elm.text";
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ visible: 0;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "label3"; type: TEXT; mouse_events: 0;
+ effect: GLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.offset: -2 -3;
+ rel1.to: "elm.text";
+ rel2.offset: -1 1;
+ rel2.to: "elm.text";
+ color: 51 153 255 255;
+ color2: 51 153 255 24;
+ color3: 51 153 255 18;
+ color_class: "list_item_selected";
+ text { font: FN; size: 10;
+ text_source: "elm.text";
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ visible: 0;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.text.flip"; type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ rel1.to_y: "elm.text";
+ rel2.to_y: "elm.text";
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "elm.text.artist"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 0 1;
+ rel1.offset: 2 -3;
+ rel1.relative: 1.0 1.0;
+ rel1.to_x: "elm.swallow.preview";
+ rel2.offset: -3 -3;
+ rel2.relative: 1.0 1.0;
+ color: 255 255 255 255;
+ color3: 0 0 0 128;
+ color_class: "list_item_sub";
+ align: 0.0 1.0;
+ text { font: FN; size: 8;
+ min: 1 1;
+ align: 0.0 1.0;
+ text_class: "list_item_sub";
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "label4"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "elm.text.artist";
+ rel2.to: "elm.text.artist";
+ color: 21 21 21 255;
+ color3: 255 255 255 25;
+ color_class: "list_item_sub_disabled";
+ text { font: FN; size: 8;
+ text_source: "elm.text.artist";
+ align: 0.0 1.0;
+ text_class: "list_item_sub";
+ }
+ visible: 0;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "label5"; type: TEXT; mouse_events: 0;
+ effect: GLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.offset: -2 -4;
+ rel1.to: "elm.text.artist";
+ rel2.offset: -1 0;
+ rel2.to: "elm.text.artist";
+ color: 51 153 255 255;
+ color2: 51 153 255 24;
+ color3: 51 153 255 18;
+ color_class: "list_item_sub_selected";
+ text { font: FN; size: 8;
+ text_source: "elm.text.artist";
+ align: 0.0 1.0;
+ text_class: "list_item_sub";
+ }
+ visible: 0;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ program {
+ signal: "elm,state,selected"; source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ target: "elm.text.artist";
+ target: "label4";
+ target: "label5";
+ }
+ program {
+ signal: "elm,state,unselected"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ target: "elm.text.artist";
+ target: "label4";
+ target: "label5";
+ }
+ program {
+ signal: "elm,state,disabled"; source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ target: "elm.text.artist";
+ target: "label4";
+ target: "label5";
+ }
+ program {
+ signal: "elm,state,enabled"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ target: "elm.text.artist";
+ target: "label4";
+ target: "label5";
+ }
+ program {
+ signal: "elm,state,flip,enabled"; source: "elm";
+ action: STATE_SET "flip_enabled" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ target: "elm.text.artist";
+ target: "label4";
+ target: "label5";
+ target: "elm.text.flip";
+ }
+ program {
+ signal: "elm,state,flip,disabled"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ target: "elm.text.artist";
+ target: "label4";
+ target: "label5";
+ target: "elm.text.flip";
+ }
+ //##//
+ part { name: "elm.swallow.pad"; type: SWALLOW;
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ align: 0.0 0.5;
+ rel1.offset: 2 2;
+ rel2.relative: 0.0 1.0;
+ rel2.offset: 2 -3;
+ }
+ }
+ part { name: "elm.swallow.preview"; type: SWALLOW;
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ align: 0.0 0.5;
+ aspect: 1.0 1.0;
+ rel1.to_x: "elm.swallow.pad";
+ rel1.relative: 1.0 0.0;
+ rel1.offset: -1 2;
+ rel2.to_x: "elm.swallow.pad";
+ rel2.relative: 1.0 1.0;
+ rel2.offset: -1 -3;
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ program {
+ signal: "elm,state,flip,enabled"; source: "elm";
+ action: STATE_SET "flip_enabled" 0.0;
+ target: "elm.swallow.preview";
+ }
+ program {
+ signal: "elm,state,flip,disabled"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.preview";
+ }
+ //##//
+
+ TOPP()
+ }
+}
+ODD("elm/genlist/item_odd/media-preview/default", "elm/genlist/item/media-preview/default")
+group { name: "elm/genlist/item_compress/media-preview/default";
+ inherit: "elm/genlist/item/media-preview/default";
+ parts {
+ part { name: "elm.text";
+ description { state: "default" 0.0;
+ text.min: 0 1;
+ }
+ description { state: "selected" 0.0;
+ text.min: 0 1;
+ }
+ description { state: "disabled" 0.0;
+ text.min: 0 1;
+ }
+ description { state: "flip_enabled" 0.0;
+ text.min: 0 1;
+ }
+ }
+ part { name: "label2";
+ description { state: "default" 0.0;
+ text.min: 0 1;
+ }
+ description { state: "selected" 0.0;
+ text.min: 0 1;
+ }
+ description { state: "disabled" 0.0;
+ text.min: 0 1;
+ }
+ description { state: "flip_enabled" 0.0;
+ text.min: 0 1;
+ }
+ }
+ part { name: "label3";
+ description { state: "default" 0.0;
+ text.min: 0 1;
+ }
+ description { state: "selected" 0.0;
+ text.min: 0 1;
+ }
+ description { state: "disabled" 0.0;
+ text.min: 0 1;
+ }
+ description { state: "flip_enabled" 0.0;
+ text.min: 0 1;
+ }
+ }
+ part { name: "elm.text.artist";
+ description { state: "default" 0.0;
+ text.min: 0 1;
+ }
+ description { state: "selected" 0.0;
+ text.min: 0 1;
+ }
+ description { state: "disabled" 0.0;
+ text.min: 0 1;
+ }
+ description { state: "flip_enabled" 0.0;
+ text.min: 0 1;
+ }
+ }
+ part { name: "label4";
+ description { state: "default" 0.0;
+ text.min: 0 1;
+ }
+ description { state: "selected" 0.0;
+ text.min: 0 1;
+ }
+ description { state: "disabled" 0.0;
+ text.min: 0 1;
+ }
+ description { state: "flip_enabled" 0.0;
+ text.min: 0 1;
+ }
+ }
+ part { name: "label5";
+ description { state: "default" 0.0;
+ text.min: 0 1;
+ }
+ description { state: "selected" 0.0;
+ text.min: 0 1;
+ }
+ description { state: "disabled" 0.0;
+ text.min: 0 1;
+ }
+ description { state: "flip_enabled" 0.0;
+ text.min: 0 1;
+ }
+ }
+ }
+}
+group { name: "elm/genlist/item_odd_compress/media-preview/default";
+ inherit: "elm/genlist/item_odd/media-preview/default";
+ parts {
+ part { name: "elm.text";
+ description { state: "default" 0.0;
+ text.min: 0 1;
+ }
+ description { state: "selected" 0.0;
+ text.min: 0 1;
+ }
+ description { state: "disabled" 0.0;
+ text.min: 0 1;
+ }
+ description { state: "flip_enabled" 0.0;
+ text.min: 0 1;
+ }
+ }
+ part { name: "label2";
+ description { state: "default" 0.0;
+ text.min: 0 1;
+ }
+ description { state: "selected" 0.0;
+ text.min: 0 1;
+ }
+ description { state: "disabled" 0.0;
+ text.min: 0 1;
+ }
+ description { state: "flip_enabled" 0.0;
+ text.min: 0 1;
+ }
+ }
+ part { name: "label3";
+ description { state: "default" 0.0;
+ text.min: 0 1;
+ }
+ description { state: "selected" 0.0;
+ text.min: 0 1;
+ }
+ description { state: "disabled" 0.0;
+ text.min: 0 1;
+ }
+ description { state: "flip_enabled" 0.0;
+ text.min: 0 1;
+ }
+ }
+ part { name: "elm.text.artist";
+ description { state: "default" 0.0;
+ text.min: 0 1;
+ }
+ description { state: "selected" 0.0;
+ text.min: 0 1;
+ }
+ description { state: "disabled" 0.0;
+ text.min: 0 1;
+ }
+ description { state: "flip_enabled" 0.0;
+ text.min: 0 1;
+ }
+ }
+ part { name: "label4";
+ description { state: "default" 0.0;
+ text.min: 0 1;
+ }
+ description { state: "selected" 0.0;
+ text.min: 0 1;
+ }
+ description { state: "disabled" 0.0;
+ text.min: 0 1;
+ }
+ description { state: "flip_enabled" 0.0;
+ text.min: 0 1;
+ }
+ }
+ part { name: "label5";
+ description { state: "default" 0.0;
+ text.min: 0 1;
+ }
+ description { state: "selected" 0.0;
+ text.min: 0 1;
+ }
+ description { state: "disabled" 0.0;
+ text.min: 0 1;
+ }
+ description { state: "flip_enabled" 0.0;
+ text.min: 0 1;
+ }
+ }
+ }
+}
+
+#define COMPRESS_MODE(_NAME, _SRC) \
+ group { name: _NAME; \
+ inherit: _SRC; \
+ parts { \
+ part { name: "elm.text.mode"; \
+ description { state: "default" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "selected" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "disabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "flip_enabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ } \
+ part { name: "label2"; \
+ description { state: "default" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "selected" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "disabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "flip_enabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ } \
+ part { name: "label3"; \
+ description { state: "default" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "selected" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "disabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "flip_enabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ } \
+ } \
+ }
+#define COMPRESS_MODE_ODD(_NAME, _SRC) \
+ group { name: _NAME; \
+ inherit: _SRC; \
+ parts { \
+ part { name: "elm.text.mode"; \
+ description { state: "default" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "selected" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "disabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "flip_enabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ } \
+ part { name: "label2"; \
+ description { state: "default" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "selected" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "disabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "flip_enabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ } \
+ part { name: "label3"; \
+ description { state: "default" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "selected" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "disabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "flip_enabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ } \
+ part { name: "base"; \
+ description { state: "default" 0.0; \
+ color: 56 56 56 255; \
+ color_class: "list_item_base_odd"; \
+ } \
+ } \
+ } \
+ }
+group { name: "elm/genlist/item/mode/default";
+ data.item: "selectraise" "on";
+ data.item: "texts" "elm.text.mode";
+ data.item: "mode_part" "elm.swallow.original";
+ data.item: "treesize" TREEPAD;
+ data.item: "flips" "elm.text.mode.flip";
+ IMGP()
+ parts {
+ BASEP()
+
+ //##//
+ part { name: "elm.text.mode"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.offset: 2 3;
+ rel1.relative: 1.0 0.0;
+ rel1.to_x: "elm.swallow.pad";
+ rel2.offset: -3 -3;
+ color: 255 255 255 255;
+ color3: 0 0 0 128;
+ color_class: "list_item";
+ text { font: FN; size: 10;
+ min: 1 1;
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "label2"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "elm.text.mode";
+ rel2.to: "elm.text.mode";
+ color: 21 21 21 255;
+ color3: 255 255 255 25;
+ color_class: "list_item_disabled";
+ text { font: FN; size: 10;
+ text_source: "elm.text.mode";
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ visible: 0;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "label3"; type: TEXT; mouse_events: 0;
+ effect: GLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.offset: -2 -3;
+ rel1.to: "elm.text.mode";
+ rel2.offset: -1 1;
+ rel2.to: "elm.text.mode";
+ color: 51 153 255 255;
+ color2: 51 153 255 24;
+ color3: 51 153 255 18;
+ color_class: "list_item_selected";
+ text { font: FN; size: 10;
+ text_source: "elm.text.mode";
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ visible: 0;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.text.mode.flip"; type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ rel1.to_y: "elm.text.mode";
+ rel2.to_y: "elm.text.mode";
+ }
+ description { state: "flip_enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ program {
+ signal: "elm,state,selected"; source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "elm.text.mode";
+ target: "label2";
+ target: "label3";
+ }
+ program {
+ signal: "elm,state,unselected"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text.mode";
+ target: "label2";
+ target: "label3";
+ }
+ program {
+ signal: "elm,state,disabled"; source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "elm.text.mode";
+ target: "label2";
+ target: "label3";
+ }
+ program {
+ signal: "elm,state,enabled"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text.mode";
+ target: "label2";
+ target: "label3";
+ }
+ program {
+ signal: "elm,state,flip,enabled"; source: "elm";
+ action: STATE_SET "flip_enabled" 0.0;
+ target: "elm.text.mode";
+ target: "label2";
+ target: "label3";
+ target: "elm.text.mode.flip";
+ }
+ program {
+ signal: "elm,state,flip,disabled"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text.mode";
+ target: "label2";
+ target: "label3";
+ target: "elm.text.mode.flip";
+ }
+ //##//
+ part { name: "elm.swallow.pad"; type: SWALLOW;
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ align: 0.0 0.5;
+ rel1.offset: 2 2;
+ rel2.relative: 0.0 1.0;
+ rel2.offset: 2 -3;
+ }
+ }
+ //##//
+ part { name: "event_block_layer"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.to: "base";
+ rel2.to: "base";
+ color: 0 0 0 0;
+ }
+ description { state: "repeat_events" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "pers"; type: SPACER;
+ description { state: "default" 0.0;
+ rel1.relative: 0.0 1.0;
+ }
+ }
+ part { name: "elm.swallow.original"; type: SWALLOW;
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ align: 0.0 0.5;
+ }
+ description { state: "slide" 0.0;
+ inherit: "default" 0.0;
+ rel1.relative: 1.0 0.0;
+ rel2.relative: 2.0 1.0;
+ }
+ description { state: "rotate" 0.0;
+ inherit: "default" 0.0;
+ map {
+ perspective: "pers";
+ on: 1;
+ smooth: 1;
+ perspective_on: 1;
+ backface_cull: 1;
+ rotation {
+ center: "pers";
+ }
+ }
+ }
+ description { state: "rotate2" 0.0;
+ inherit: "rotate" 0.0;
+ map.rotation.x: 90.0;
+ }
+ }
+ program {
+ signal: "elm,state,slide,active"; source: "elm";
+ action: STATE_SET "slide" 0.0;
+ target: "elm.swallow.original";
+ transition: ACCELERATE 0.5 CURRENT;
+ after: "unblock_event";
+ }
+ program { name: "unblock_event";
+ action: STATE_SET "repeat_events" 0.0;
+ target: "event_block_layer";
+ }
+ program {
+ signal: "elm,state,slide,passive"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "event_block_layer";
+ after: "slide_left2";
+ }
+ program { name: "slide_left2";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.original";
+ transition: DECELERATE 0.5 CURRENT;
+ after: "slide_left_finished";
+ }
+ program { name: "slide_left_finished";
+ action: SIGNAL_EMIT "elm,state,slide,passive,finished" "elm";
+ }
+ program {
+ signal: "elm,state,rotate,active"; source: "elm";
+ action: STATE_SET "rotate" 0.0;
+ target: "elm.swallow.original";
+ after: "rotate_on2";
+ }
+ program { name: "rotate_on2";
+ action: STATE_SET "rotate2" 0.0;
+ target: "elm.swallow.original";
+ transition: LINEAR 0.5;
+ after: "unblock_event";
+ }
+ program {
+ signal: "elm,state,rotate,passive"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "event_block_layer";
+ after: "rotate_off2";
+ }
+ program { name: "rotate_off2";
+ action: STATE_SET "rotate" 0.0;
+ transition: LINEAR 0.5;
+ target: "elm.swallow.original";
+ after: "rotate_off3";
+ }
+ program { name: "rotate_off3";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.original";
+ after: "rotate_off_finished";
+ }
+ program { name: "rotate_off_finished";
+ action: SIGNAL_EMIT "elm,state,rotate,passive,finished" "elm";
+ }
+
+ TOPP()
+ }
+}
+ODD("elm/genlist/item_odd/mode/default", "elm/genlist/item/mode/default")
+COMPRESS_MODE("elm/genlist/item_compress/mode/default", "elm/genlist/item/mode/default")
+COMPRESS_MODE_ODD("elm/genlist/item_compress_odd/mode/default", "elm/genlist/item/mode/default")
+
+group { name: "elm/genlist/tree/mode/default";
+ inherit: "elm/genlist/item/mode/default";
+ TREEIMGS()
+ parts {
+ part { name: "elm.text.mode";
+ description { state: "default" 0.0;
+ rel1.to_x: "arrow";
+ rel1.offset: 1 2;
+ }
+ description { state: "flip_enabled" 0.0;
+ rel1.to_x: "arrow";
+ rel1.offset: 1 2;
+ }
+ }
+ ARROW()
+ }
+}
+ODD("elm/genlist/tree_odd/mode/default", "elm/genlist/tree/mode/default")
+COMPRESS_MODE("elm/genlist/tree_compress/mode/default", "elm/genlist/tree/mode/default")
+COMPRESS_MODE_ODD("elm/genlist/tree_compress_odd/mode/default", "elm/genlist/tree/mode/default")
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+#define COMPRESS_EDIT(_NAME, _SRC) \
+ group { name: _NAME; \
+ inherit: _SRC; \
+ }
+#define COMPRESS_EDIT_ODD(_NAME, _SRC) \
+ group { name: _NAME; \
+ inherit: _SRC; \
+ parts { \
+ part { name: "base"; \
+ description { state: "default" 0.0; \
+ color: 56 56 56 255; \
+ color_class: "list_item_base_odd"; \
+ } \
+ } \
+ } \
+ }
+group { name: "elm/genlist/item/edit/default";
+ data.item: "contents" "elm.edit.icon.1 elm.edit.icon.2";
+ data.item: "selectraise" "on";
+ images.image: "vgrad_med_dark.png" COMP;
+ images.image: "bevel_horiz_out.png" COMP;
+ images.image: "shadow_horiz.png" COMP;
+ parts {
+ part { name: "base"; type: RECT; mouse_events: 0;
+ description { state: "default" 0.0;
+ color: 64 64 64 255;
+ color_class: "list_item_base";
+ }
+ description { state: "odd" 0.0;
+ color: 56 56 56 255;
+ color_class: "list_item_base_odd";
+ }
+ }
+ program {
+ signal: "elm,state,odd"; source: "elm";
+ action: STATE_SET "odd" 1.0;
+ target: "base";
+ }
+ program {
+ signal: "elm,state,even"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ }
+
+ part { name: "sel_shadow1"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "shadow_horiz.png";
+ image.border: 0 0 9 9;
+ rel1.offset: 0 -4;
+ rel2.offset: -1 5;
+ rel2.to_x: "elm.swallow.decorate.content";
+ rel2.relative: 0.0 1.0;
+ fill.smooth: 0;
+ visible: 0;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "sel_shadow2"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "shadow_horiz.png";
+ image.border: 0 0 9 9;
+ rel1.to_x: "elm.swallow.decorate.content";
+ rel1.relative: 1.0 0.0;
+ rel1.offset: 0 -4;
+ rel2.offset: -1 5;
+ fill.smooth: 0;
+ visible: 0;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "sel_base"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "vgrad_med_dark.png";
+ fill.smooth: 0;
+ visible: 0;
+ TILED_HORIZ(120)
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "sel_bevel"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "bevel_horiz_out.png";
+ image.border: 0 0 2 2;
+ image.middle: 0;
+ fill.smooth: 0;
+ visible: 0;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ program {
+ signal: "elm,state,selected"; source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "sel_base";
+ target: "sel_bevel";
+ target: "sel_shadow1";
+ target: "sel_shadow2";
+ }
+ program {
+ signal: "elm,state,unselected"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "sel_base";
+ target: "sel_bevel";
+ target: "sel_shadow1";
+ target: "sel_shadow2";
+ }
+
+ part { name: "elm.edit.icon.1"; type: SWALLOW;
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ align: 1.0 0.5;
+ rel2.relative: 0.0 1.0;
+ rel1.offset: -1 2;
+ rel2.offset: -1 -3;
+ }
+ description { state: "on" 0.0;
+ inherit: "default" 0.0;
+ align: 0.0 0.5;
+ rel1.offset: 2 2;
+ rel2.offset: 2 -3;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.edit.icon.2"; type: SWALLOW;
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ align: 0.0 0.5;
+ rel1.relative: 1.0 0.0;
+ rel1.offset: 1 2;
+ rel2.offset: 1 -3;
+ }
+ description { state: "on" 0.0;
+ inherit: "default" 0.0;
+ align: 1.0 0.5;
+ rel1.offset: -3 2;
+ rel2.offset: -3 -3;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+
+ part { name: "elm.swallow.decorate.content"; type: SWALLOW;
+ description { state: "default" 0.0;
+ }
+ description { state: "on" 0.0;
+ inherit: "default" 0.0;
+ rel1.to_x: "elm.edit.icon.1";
+ rel1.relative: 1.0 0.0;
+ rel1.offset: 3 0;
+ rel2.to_x: "elm.edit.icon.2";
+ rel2.relative: 0.0 1.0;
+ rel2.offset: -2 -1;
+ }
+ }
+ program {
+ signal: "elm,state,decorate,enabled,effect"; source: "elm";
+ action: STATE_SET "on" 0.0;
+ target: "elm.swallow.decorate.content";
+ target: "elm.edit.icon.1";
+ target: "elm.edit.icon.2";
+ transition: DECELERATE 0.5;
+ }
+ program {
+ signal: "elm,state,decorate,disabled,effect"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.decorate.content";
+ target: "elm.edit.icon.1";
+ target: "elm.edit.icon.2";
+ transition: ACCELERATE 0.5;
+ }
+ program {
+ signal: "elm,state,decorate,enabled"; source: "elm";
+ action: STATE_SET "on" 0.0;
+ target: "elm.swallow.decorate.content";
+ }
+ program {
+ signal: "elm,state,decorate,disabled"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.decorate.content";
+ }
+ }
+}
+ODD("elm/genlist/item_odd/edit/default", "elm/genlist/item/edit/default")
+COMPRESS_EDIT("elm/genlist/item_compress/edit/default", "elm/genlist/item/edit/default")
+COMPRESS_EDIT_ODD("elm/genlist/item_compress_odd/edit/default", "elm/genlist/item/edit/default")
+
+group { name: "elm/genlist/tree/edit/default";
+ inherit: "elm/genlist/item/edit/default";
+}
+ODD("elm/genlist/tree_odd/edit/default", "elm/genlist/tree/edit/default")
+COMPRESS_EDIT("elm/genlist/tree_compress/edit/default", "elm/genlist/tree/edit/default")
+COMPRESS_EDIT_ODD("elm/genlist/tree_compress_odd/edit/default", "elm/genlist/tree/edit/default")
+
+#undef ODD
+#undef COMPRESS
+#undef COMPRESS_ODD
+#undef BASEP
+#undef TOPP
+#undef TREEPAD
+#undef IMGP
+#undef TREEIMGS
+#undef ARROW
+#undef GENLIST_PART_MAP_START
+#undef GENLIST_PART_MAP_FINISH
+#undef COMPRESS_SUB
+#undef COMPRESS_SUB_ODD
+#undef COMPRESS_T1T2
+#undef COMPRESS_T1T2_ODD
+#undef COMPRESS_MEDIA
+#undef COMPRESS_MEDIA_ODD
+#undef COMPRESS_MODE
+#undef COMPRESS_MODE_ODD
+#undef COMPRESS_EDIT
+#undef COMPRESS_EDIT_ODD
diff --git a/data/themes/edc/elm/hover.edc b/data/themes/edc/elm/hover.edc
new file mode 100644
index 000000000..b8f706ca2
--- /dev/null
+++ b/data/themes/edc/elm/hover.edc
@@ -0,0 +1,1264 @@
+/* TODO: replicate diagonal swallow slots to the other hover styles */
+group { name: "elm/hover/base/default";
+ parts {
+ part { name: "elm.swallow.offset"; type: SWALLOW;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 0.0 0.0;
+ }
+ }
+ part { name: "elm.swallow.size"; type: SWALLOW;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ rel1.to: "elm.swallow.offset";
+ rel1.relative: 1.0 1.0;
+ rel2.to: "elm.swallow.offset";
+ rel2.relative: 1.0 1.0;
+ }
+ }
+ part { name: "base"; type: RECT; mouse_events: 1;
+ description { state: "default" 0.0;
+ color: 0 0 0 64;
+ }
+ }
+ part { name: "box"; type: RECT; mouse_events: 0;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ rel1.to: "elm.swallow.size";
+ rel1.offset: -2 -2;
+ rel2.to: "elm.swallow.size";
+ rel2.offset: 1 1;
+ }
+ }
+ part { name: "elm.swallow.slot.left"; type: SWALLOW;
+ description { state: "default" 0.0;
+ align: 1.0 0.5;
+ rel1.to: "elm.swallow.slot.middle";
+ rel1.relative: 0.0 0.0;
+ rel1.offset: -1 0;
+ rel2.to: "elm.swallow.slot.middle";
+ rel2.relative: 0.0 1.0;
+ rel2.offset: -1 -1;
+ }
+ }
+ part { name: "elm.swallow.slot.top-left"; type: SWALLOW;
+ description { state: "default" 0.0;
+ align: 1.0 1.0;
+ rel1.to: "elm.swallow.slot.middle";
+ rel1.relative: 0.0 0.0;
+ rel1.offset: 0 0;
+ rel2.to: "elm.swallow.slot.middle";
+ rel2.relative: 0.0 0.0;
+ rel2.offset: -1 -1;
+ }
+ }
+ part { name: "elm.swallow.slot.top"; type: SWALLOW;
+ description { state: "default" 0.0;
+ align: 0.5 1.0;
+ rel1.to: "elm.swallow.slot.middle";
+ rel1.relative: 0.0 0.0;
+ rel1.offset: 0 -1;
+ rel2.to: "elm.swallow.slot.middle";
+ rel2.relative: 1.0 0.0;
+ rel2.offset: -1 -1;
+ }
+ }
+ part { name: "elm.swallow.slot.top-right"; type: SWALLOW;
+ description { state: "default" 0.0;
+ align: 0.0 1.0;
+ rel1.to: "elm.swallow.slot.middle";
+ rel1.relative: 1.0 0.0;
+ rel1.offset: 0 0;
+ rel2.to: "elm.swallow.slot.middle";
+ rel2.relative: 1.0 0.0;
+ rel2.offset: -1 -1;
+ }
+ }
+ part { name: "elm.swallow.slot.right"; type: SWALLOW;
+ description { state: "default" 0.0;
+ align: 0.0 0.5;
+ rel1.to: "elm.swallow.slot.middle";
+ rel1.relative: 1.0 0.0;
+ rel1.offset: 0 0;
+ rel2.to: "elm.swallow.slot.middle";
+ rel2.relative: 1.0 1.0;
+ rel2.offset: 0 -1;
+ }
+ }
+ part { name: "elm.swallow.slot.bottom-right"; type: SWALLOW;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ rel1.to: "elm.swallow.slot.middle";
+ rel1.relative: 1.0 1.0;
+ rel1.offset: 0 0;
+ rel2.to: "elm.swallow.slot.middle";
+ rel2.relative: 1.0 1.0;
+ rel2.offset: -1 -1;
+ }
+ }
+ part { name: "elm.swallow.slot.bottom"; type: SWALLOW;
+ description { state: "default" 0.0;
+ align: 0.5 0.0;
+ rel1.to: "elm.swallow.slot.middle";
+ rel1.relative: 0.0 1.0;
+ rel1.offset: 0 0;
+ rel2.to: "elm.swallow.slot.middle";
+ rel2.relative: 1.0 1.0;
+ rel2.offset: -1 0;
+ }
+ }
+ part { name: "elm.swallow.slot.bottom-left"; type: SWALLOW;
+ description { state: "default" 0.0;
+ align: 1.0 0.0;
+ rel1.to: "elm.swallow.slot.middle";
+ rel1.relative: 0.0 1.0;
+ rel1.offset: 0 0;
+ rel2.to: "elm.swallow.slot.middle";
+ rel2.relative: 0.0 1.0;
+ rel2.offset: -1 0;
+ }
+ }
+ part { name: "elm.swallow.slot.middle"; type: SWALLOW;
+ description { state: "default" 0.0;
+ rel1.to: "elm.swallow.size";
+ rel2.to: "elm.swallow.size";
+ }
+ }
+ }
+ programs {
+ program { name: "end";
+ signal: "mouse,up,1"; source: "base";
+ action: SIGNAL_EMIT "elm,action,dismiss" "elm";
+ }
+ }
+}
+
+group { name: "elm/hover/base/popout";
+ images.image: "button_normal.png" COMP;
+ parts {
+ part { name: "elm.swallow.offset"; type: SWALLOW;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 0.0 0.0;
+ }
+ }
+ part { name: "elm.swallow.size"; type: SWALLOW;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ rel1.to: "elm.swallow.offset";
+ rel1.relative: 1.0 1.0;
+ rel2.to: "elm.swallow.offset";
+ rel2.relative: 1.0 1.0;
+ }
+ }
+ part { name: "base"; type: RECT; mouse_events: 1;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ color: 0 0 0 64;
+ }
+ }
+ part { name: "leftclip"; type: RECT;
+ description { state: "default" 0.0;
+ rel2.to_x: "pop";
+ rel2.relative: 0.0 1.0;
+ rel2.offset: 1 -1;
+ }
+ }
+ part { name: "left";
+ clip_to: "leftclip";
+ description { state: "default" 0.0;
+ visible: 0;
+ rel1.to: "elm.swallow.slot.left";
+ rel1.offset: -5 -5;
+ rel2.to: "elm.swallow.slot.left";
+ rel2.offset: 4 4;
+ image.normal: "button_normal.png";
+ image.border: 4 4 3 5;
+ image.middle: SOLID;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "elm.swallow.slot.left"; type: SWALLOW;
+ clip_to: "leftclip";
+ description { state: "default" 0.0;
+ align: 0.0 0.5;
+ rel1.to: "elm.swallow.slot.middle";
+ rel1.relative: 0.0 0.0;
+ rel1.offset: -1 0;
+ rel2.to: "elm.swallow.slot.middle";
+ rel2.relative: 0.0 1.0;
+ rel2.offset: -1 -1;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ rel1.offset: -7 0;
+ rel2.offset: -7 -1;
+ align: 1.0 0.5;
+ }
+ }
+ part { name: "rightclip"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.to_x: "pop";
+ rel1.relative: 1.0 0.0;
+ rel1.offset: -2 0;
+ }
+ }
+ part { name: "right";
+ clip_to: "rightclip";
+ description { state: "default" 0.0;
+ visible: 0;
+ rel1.to: "elm.swallow.slot.right";
+ rel1.offset: -5 -5;
+ rel2.to: "elm.swallow.slot.right";
+ rel2.offset: 4 4;
+ image.normal: "button_normal.png";
+ image.border: 4 4 3 5;
+ image.middle: SOLID;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "elm.swallow.slot.right"; type: SWALLOW;
+ clip_to: "rightclip";
+ description { state: "default" 0.0;
+ align: 1.0 0.5;
+ rel1.to: "elm.swallow.slot.middle";
+ rel1.relative: 1.0 0.0;
+ rel1.offset: 0 0;
+ rel2.to: "elm.swallow.slot.middle";
+ rel2.relative: 1.0 1.0;
+ rel2.offset: 0 -1;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ rel1.offset: 6 0;
+ rel2.offset: 6 -1;
+ align: 0.0 0.5;
+ }
+ }
+ part { name: "topclip"; type: RECT;
+ description { state: "default" 0.0;
+ rel2.to_y: "pop";
+ rel2.relative: 1.0 0.0;
+ rel2.offset: -1 1;
+ }
+ }
+ part { name: "top";
+ clip_to: "topclip";
+ description { state: "default" 0.0;
+ visible: 0;
+ rel1.to: "elm.swallow.slot.top";
+ rel1.offset: -5 -5;
+ rel2.to: "elm.swallow.slot.top";
+ rel2.offset: 4 4;
+ image.normal: "button_normal.png";
+ image.border: 4 4 3 5;
+ image.middle: SOLID;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "elm.swallow.slot.top"; type: SWALLOW;
+ clip_to: "topclip";
+ description { state: "default" 0.0;
+ visible: 1;
+ align: 0.5 0.0;
+ rel1.to: "elm.swallow.slot.middle";
+ rel1.relative: 0.0 0.0;
+ rel1.offset: 0 -1;
+ rel2.to: "elm.swallow.slot.middle";
+ rel2.relative: 1.0 0.0;
+ rel2.offset: -1 -1;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ rel1.offset: 0 -7;
+ rel2.offset: -1 -7;
+ align: 0.5 1.0;
+ }
+ }
+ part { name: "bottomclip"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.to_y: "pop";
+ rel1.relative: 0.0 1.0;
+ rel1.offset: -1 -2;
+ }
+ }
+ part { name: "bottom";
+ clip_to: "bottomclip";
+ description { state: "default" 0.0;
+ visible: 0;
+ rel1.to: "elm.swallow.slot.bottom";
+ rel1.offset: -5 -5;
+ rel2.to: "elm.swallow.slot.bottom";
+ rel2.offset: 4 4;
+ image.normal: "button_normal.png";
+ image.border: 4 4 3 5;
+ image.middle: SOLID;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "elm.swallow.slot.bottom"; type: SWALLOW;
+ clip_to: "bottomclip";
+ description { state: "default" 0.0;
+ align: 0.5 1.0;
+ rel1.to: "elm.swallow.slot.middle";
+ rel1.relative: 0.0 1.0;
+ rel1.offset: 0 0;
+ rel2.to: "elm.swallow.slot.middle";
+ rel2.relative: 1.0 1.0;
+ rel2.offset: -1 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ rel1.offset: 0 6;
+ rel2.offset: -1 6;
+ align: 0.5 0.0;
+ }
+ }
+ part { name: "pop"; mouse_events: 1;
+ description { state: "default" 0.0;
+ rel1.to: "elm.swallow.slot.middle";
+ rel1.offset: -6 -6;
+ rel2.to: "elm.swallow.slot.middle";
+ rel2.offset: 5 5;
+ image.normal: "button_normal.png";
+ image.border: 4 4 3 5;
+ image.middle: SOLID;
+ }
+ }
+ part { name: "elm.swallow.slot.middle"; type: SWALLOW;
+ description { state: "default" 0.0;
+ rel1.to: "elm.swallow.size";
+ rel2.to: "elm.swallow.size";
+ }
+ }
+ }
+ programs {
+ program { name: "end";
+ signal: "mouse,up,1"; source: "base";
+ action: SIGNAL_EMIT "elm,action,dismiss" "elm";
+ }
+ program { name: "show";
+ signal: "elm,action,show"; source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "base";
+ }
+ program { name: "hide";
+ signal: "elm,action,hide"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ }
+ program { name: "leftshow";
+ signal: "elm,action,slot,left,show"; source: "elm";
+ action: STATE_SET "visible" 0.0;
+ transition: DECELERATE 0.5;
+ target: "left";
+ target: "elm.swallow.slot.left";
+ }
+ program { name: "lefthide";
+ signal: "elm,action,slot,left,hide"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: DECELERATE 0.5;
+ target: "left";
+ target: "elm.swallow.slot.left";
+ }
+ program { name: "rightshow";
+ signal: "elm,action,slot,right,show"; source: "elm";
+ action: STATE_SET "visible" 0.0;
+ transition: DECELERATE 0.5;
+ target: "right";
+ target: "elm.swallow.slot.right";
+ }
+ program { name: "righthide";
+ signal: "elm,action,slot,right,hide"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: DECELERATE 0.5;
+ target: "right";
+ target: "elm.swallow.slot.right";
+ }
+ program { name: "topshow";
+ signal: "elm,action,slot,top,show"; source: "elm";
+ action: STATE_SET "visible" 0.0;
+ transition: DECELERATE 0.5;
+ target: "top";
+ target: "elm.swallow.slot.top";
+ }
+ program { name: "tophide";
+ signal: "elm,action,slot,top,hide"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: DECELERATE 0.5;
+ target: "top";
+ target: "elm.swallow.slot.top";
+ }
+ program { name: "bottomshow";
+ signal: "elm,action,slot,bottom,show"; source: "elm";
+ action: STATE_SET "visible" 0.0;
+ transition: DECELERATE 0.5;
+ target: "bottom";
+ target: "elm.swallow.slot.bottom";
+ }
+ program { name: "bottomhide";
+ signal: "elm,action,slot,bottom,hide"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: DECELERATE 0.5;
+ target: "bottom";
+ target: "elm.swallow.slot.bottom";
+ }
+ }
+}
+
+//In the hover used by the menu only the bottom part is used.
+group { name: "elm/hover/base/menu";
+ images {
+ image: "vgrad_med_lighter.png" COMP;
+ image: "bevel_out.png" COMP;
+ image: "shine.png" COMP;
+ image: "win_shadow.png" COMP;
+ }
+ parts {
+ part { name: "elm.swallow.offset"; type: SWALLOW;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 0.0 0.0;
+ }
+ }
+ part { name: "elm.swallow.size"; type: SWALLOW;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ rel1.to: "elm.swallow.offset";
+ rel1.relative: 1.0 1.0;
+ rel2.to: "elm.swallow.offset";
+ rel2.relative: 1.0 1.0;
+ }
+ }
+ part { name: "base"; type: RECT; repeat_events: 1;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "elm.swallow.slot.left"; type: SWALLOW;
+ description { state: "default" 0.0;
+ }
+ }
+ part { name: "elm.swallow.slot.right"; type: SWALLOW;
+ description { state: "default" 0.0;
+ }
+ }
+ part { name: "elm.swallow.slot.top"; type: SWALLOW;
+ description { state: "default" 0.0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ }
+ }
+ part { name: "bottomclip"; type: RECT;
+ description { state: "default" 0.0;
+ color: 255 255 255 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 255;
+ }
+ }
+ part { name: "shadow";
+ clip_to: "bottomclip";
+ description { state: "default" 0.0;
+ image.normal: "win_shadow.png";
+ image.border: 14 14 14 14;
+ image.middle: 0;
+ rel1.to: "bottom";
+ rel1.offset: -7 -3;
+ rel2.to: "bottom";
+ rel2.offset: 6 11;
+ fill.smooth: 0;
+ }
+ }
+ part { name: "top";
+ clip_to: "bottomclip";
+ description { state: "default" 0.0;
+ image.normal: "vgrad_med_lighter.png";
+ rel1.to: "bottom";
+ rel2.to_x: "bottom";
+ rel2.to_y: "shine";
+ rel2.offset: -1 0;
+ min: 0 23;
+ align: 0.0 0.0;
+ fill.smooth: 0;
+ TILED_HORIZ(120)
+ fixed: 0 1;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ }
+ }
+ part { name: "bg"; type: RECT; mouse_events: 0;
+ clip_to: "bottomclip";
+ description { state: "default" 0.0;
+ rel1.to_x: "bottom";
+ rel1.to_y: "top";
+ rel1.relative: 0.0 1.0;
+ rel2.to: "bottom";
+ color: 64 64 64 255;
+ }
+ }
+
+ part { name: "bottom";
+ clip_to: "bottomclip";
+ description { state: "default" 0.0;
+ rel1.to: "elm.swallow.slot.bottom";
+ rel1.offset: 0 -5;
+ rel2.to: "elm.swallow.slot.bottom";
+ rel2.offset: -1 4;
+ image.normal: "bevel_out.png";
+ image.border: 1 1 1 1;
+ image.middle: 0;
+ fill.smooth: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ }
+ }
+ part { name: "elm.swallow.slot.bottom"; type: SWALLOW;
+ clip_to: "bottomclip";
+ description { state: "default" 0.0;
+ align: 0.5 0.0;
+ rel1.to: "elm.swallow.slot.middle";
+ rel1.relative: 0.0 1.0;
+ rel1.offset: 0 0;
+ rel2.to: "elm.swallow.slot.middle";
+ rel2.relative: 1.0 1.0;
+ rel2.offset: -1 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ }
+ }
+ part { name: "bevel"; mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.to: "bottom";
+ rel2.to: "bottom";
+ image.normal: "bevel_out.png";
+ image.border: 1 1 1 1;
+ image.middle: 0;
+ fill.smooth: 0;
+ }
+ }
+ part { name: "shine"; mouse_events: 1;
+ repeat_events:1;
+ description { state: "default" 0.0;
+ rel1.to: "bottom";
+ rel1.offset: 0 -2;
+ rel2.to: "bottom";
+ rel2.relative: 1.0 0.0;
+ rel2.offset: -1 2;
+ image.normal: "shine.png";
+ FIXED_SIZE(69, 5)
+ }
+ }
+ part { name: "elm.swallow.slot.middle"; type: SWALLOW;
+ repeat_events:1;
+ description { state: "default" 0.0;
+ rel1.to: "elm.swallow.size";
+ rel2.to: "elm.swallow.size";
+ }
+ }
+ }
+ programs {
+ program { name: "end";
+ signal: "mouse,up,1"; source: "base";
+ action: SIGNAL_EMIT "elm,action,dismiss" "elm";
+ }
+ program { name: "bottomshow";
+ signal: "elm,action,slot,bottom,show"; source: "elm";
+ action: STATE_SET "visible" 0.0;
+ transition: DECELERATE 0.5;
+ target: "bottomclip";
+ target: "bottom";
+ target: "elm.swallow.slot.bottom";
+ }
+ program { name: "bottomhide";
+ signal: "elm,action,slot,bottom,hide"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: DECELERATE 0.5;
+ target: "bottomclip";
+ target: "bottom";
+ target: "elm.swallow.slot.bottom";
+ }
+ }
+}
+
+//In the hover used by the submenu only the bottom part is used
+//and no part should interact except the bottom area
+group { name: "elm/hover/base/submenu";
+ inherit: "elm/hover/base/menu";
+ images {
+ image: "vgrad_med.png" COMP;
+ }
+ parts {
+ part { name: "elm.swallow.offset";
+ repeat_events: 1;
+ }
+ //here we don't catch events like the hover does
+ part { name: "base"; type: RECT; repeat_events: 1;
+ description { state: "visible" 0.0;
+ color: 0 0 0 0;
+ visible: 0;
+ }
+ }
+ }
+}
+
+group { name: "elm/hover/base/main_menu";
+ images.image: "vgrad_med_lighter.png" COMP;
+ images.image: "bevel_dark_out.png" COMP;
+ parts {
+ part { name: "elm.swallow.offset"; type: SWALLOW;
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ }
+ }
+ part { name: "elm.swallow.size"; type: SWALLOW;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ rel2.relative: 0.0 0.0;
+ rel1.offset: 0 0;
+ fixed: 1 1;
+ }
+ }
+ part { name: "bottomclip"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.offset: -1 -2;
+ }
+ }
+ part { name: "base";
+ description { state: "default" 0.0;
+ image.normal: "vgrad_med_lighter.png";
+ rel1.to_y: "bottom";
+ rel2.to_y: "bottom";
+ fill.smooth: 0;
+ TILED_HORIZ(120)
+ }
+ }
+ part { name: "bevel"; mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.to: "base";
+ rel2.to: "base";
+ image.normal: "bevel_dark_out.png";
+ image.border: 1 1 1 1;
+ image.middle: 0;
+ fill.smooth: 0;
+ }
+ }
+ part { name: "bottom"; type: RECT;
+ clip_to: "bottomclip";
+ description { state: "default" 0.0;
+ visible: 0;
+ rel1.to: "elm.swallow.slot.bottom";
+ rel1.offset: 0 0;
+ rel2.to: "elm.swallow.slot.bottom";
+ rel2.offset: -1 -1;
+ }
+ }
+ part { name: "elm.swallow.slot.bottom"; type: SWALLOW;
+ clip_to: "bottomclip";
+ description { state: "default" 0.0;
+ align: 0.5 0.0;
+ rel1.to: "elm.swallow.size";
+ rel1.relative: 0.0 1.0;
+ rel2.to: "elm.swallow.size";
+ fixed: 1 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ }
+ }
+ }
+ programs {
+ program { name: "bottomshow";
+ signal: "elm,action,slot,bottom,show"; source: "elm";
+ action: STATE_SET "visible" 0.0;
+ transition: DECELERATE 0.3;
+ target: "elm.swallow.slot.bottom";
+ }
+ }
+}
+
+group { name: "elm/hover/base/main_menu_submenu";
+ images.image: "vgrad_med_lighter.png" COMP;
+ images.image: "bevel_out.png" COMP;
+ images.image: "shine.png" COMP;
+ images.image: "win_shadow.png" COMP;
+ parts {
+ part { name: "elm.swallow.offset"; type: SWALLOW;
+ repeat_events:1;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ rel2.relative: 0.0 0.0;
+ }
+ }
+ part { name: "elm.swallow.size"; type: SWALLOW;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ rel1.to: "elm.swallow.offset";
+ rel1.relative: 1.0 1.0;
+ rel2.to: "elm.swallow.offset";
+ }
+ }
+ part { name: "base"; type: RECT; repeat_events: 1;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "bottomclip"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.to_y: "pop";
+ rel1.relative: 0.0 1.0;
+ rel1.offset: -1 -2;
+ }
+ }
+ part { name: "shadow";
+ clip_to: "bottomclip";
+ description { state: "default" 0.0;
+ image.normal: "win_shadow.png";
+ image.border: 14 14 14 14;
+ image.middle: 0;
+ rel1.to: "bottom";
+ rel1.offset: -7 -3;
+ rel2.to: "bottom";
+ rel2.offset: 6 11;
+ fill.smooth: 0;
+ }
+ }
+ part { name: "top";
+ clip_to: "bottomclip";
+ description { state: "default" 0.0;
+ image.normal: "vgrad_med_lighter.png";
+ rel1.to: "bottom";
+ rel2.to_x: "bottom";
+ rel2.to_y: "shine";
+ rel2.offset: -1 0;
+ min: 0 23;
+ align: 0.0 0.0;
+ fill.smooth: 0;
+ TILED_HORIZ(120)
+ fixed: 0 1;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ }
+ }
+ part { name: "bg"; type: RECT; mouse_events: 0;
+ clip_to: "bottomclip";
+ description { state: "default" 0.0;
+ rel1.to_x: "bottom";
+ rel1.to_y: "top";
+ rel1.relative: 0.0 1.0;
+ rel2.to: "bottom";
+ color: 64 64 64 255;
+ }
+ }
+ part { name: "bottom";
+ clip_to: "bottomclip";
+ description { state: "default" 0.0;
+ rel1.to: "elm.swallow.slot.bottom";
+ rel1.offset: 0 -6;
+ rel2.to: "elm.swallow.slot.bottom";
+ rel2.offset: -1 4;
+ image.normal: "bevel_out.png";
+ image.border: 1 1 1 1;
+ image.middle: 0;
+ fill.smooth: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ }
+ }
+ part { name: "elm.swallow.slot.bottom"; type: SWALLOW;
+ clip_to: "bottomclip";
+ description { state: "default" 0.0;
+ align: 0.5 1.0;
+ rel1.to: "elm.swallow.slot.middle";
+ rel1.relative: 0.0 1.0;
+ rel1.offset: 0 0;
+ rel2.to: "elm.swallow.slot.middle";
+ rel2.relative: 1.0 1.0;
+ rel2.offset: -1 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ rel1.offset: 0 6;
+ rel2.offset: -1 6;
+ align: 0.5 0.0;
+ }
+ }
+ part { name: "pop"; type: RECT; mouse_events: 1;
+ repeat_events:1;
+ description { state: "default" 0.0;
+ rel1.to: "elm.swallow.slot.middle";
+ rel1.offset: 0 0;
+ rel2.to: "elm.swallow.slot.middle";
+ rel1.relative: 0.0 1.0;
+ rel2.offset: -1 0;
+ visible: 0;
+ }
+ }
+ part { name: "shine"; mouse_events: 0;
+ clip_to: "bottomclip";
+ description { state: "default" 0.0;
+ rel1.to: "bottom";
+ rel1.offset: 0 -2;
+ rel2.to: "bottom";
+ rel2.relative: 1.0 0.0;
+ rel2.offset: -1 2;
+ image.normal: "shine.png";
+ FIXED_SIZE(69, 5)
+ }
+ }
+ part { name: "elm.swallow.slot.middle"; type: SWALLOW;
+ repeat_events:1;
+ description { state: "default" 0.0;
+ rel1.to: "elm.swallow.size";
+ rel2.to: "elm.swallow.size";
+ }
+ }
+ }
+ programs {
+ program { name: "end";
+ signal: "mouse,up,1"; source: "base";
+ action: SIGNAL_EMIT "elm,action,dismiss" "elm";
+ }
+ program { name: "show";
+ signal: "elm,action,show"; source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "base";
+ }
+ program { name: "hide";
+ signal: "elm,action,hide"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ }
+ program { name: "bottomshow";
+ signal: "elm,action,slot,bottom,show"; source: "elm";
+ action: STATE_SET "visible" 0.0;
+ transition: DECELERATE 0.3;
+ target: "bottom";
+ target: "elm.swallow.slot.bottom";
+ }
+ program { name: "bottomhide";
+ signal: "elm,action,slot,bottom,hide"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: DECELERATE 0.5;
+ target: "bottom";
+ target: "elm.swallow.slot.bottom";
+ }
+ }
+}
+
+group { name: "elm/hover/base/hoversel_vertical/default";
+ alias: "elm/hover/base/hoversel_vertical/entry";
+ images.image: "button_normal.png" COMP;
+ images.image: "vertical_separated_bar_glow.png" COMP;
+ parts {
+ part { name: "elm.swallow.offset"; type: SWALLOW;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 0.0 0.0;
+ }
+ }
+ part { name: "elm.swallow.size"; type: SWALLOW;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ rel1.to: "elm.swallow.offset";
+ rel1.relative: 1.0 1.0;
+ rel2.to: "elm.swallow.offset";
+ rel2.relative: 1.0 1.0;
+ }
+ }
+ part { name: "button_image"; mouse_events: 1;
+ description { state: "default" 0.0;
+ rel1.to_x: "limit0";
+ rel1.to_y: "elm.swallow.slot.top";
+ rel1.offset: -10 -6;
+ rel2.to_x: "limit1";
+ rel2.to_y: "elm.swallow.slot.middle";
+ rel2.relative: 1.0 0.0;
+ rel2.offset: 9 5;
+ image {
+ normal: "button_normal.png";
+ border: 7 7 7 7;
+ }
+ image.middle: SOLID;
+ }
+ description { state: "bottom" 0.0;
+ rel1.to_x: "limit0";
+ rel1.to_y: "elm.swallow.slot.middle";
+ rel1.relative: 0.0 1.0;
+ rel1.offset: -10 -4;
+ rel2.to_x: "limit1";
+ rel2.to_y: "elm.swallow.slot.bottom";
+ rel2.offset: 9 5;
+ image {
+ normal: "button_normal.png";
+ border: 7 7 7 7;
+ }
+ image.middle: SOLID;
+ }
+ }
+ part { name: "limit0"; type: SPACER;
+ description { state: "default" 0.0;
+ rel1.to_x: "elm.swallow.slot.top";
+ rel1.offset: 1 0;
+ rel2.to_x: "elm.swallow.slot.middle";
+ rel2.offset: 0 0;
+ rel2.relative: 0.0 1.0;
+ align: 0.0 0.5;
+ min: 1 1;
+ max: 1 99999;
+ }
+ description { state: "bottom" 0.0;
+ inherit: "default" 0.0;
+ rel1.to_x: "elm.swallow.slot.bottom";
+ }
+ }
+ part { name: "limit1"; type: SPACER;
+ description { state: "default" 0.0;
+ rel1.to_x: "elm.swallow.slot.middle";
+ rel1.offset: -1 0;
+ rel1.relative: 1.0 0.0;
+ rel2.to_x: "elm.swallow.slot.top";
+ rel2.offset: -2 0;
+ align: 1.0 0.5;
+ min: 1 1;
+ max: 1 99999;
+ }
+ description { state: "bottom" 0.0;
+ inherit: "default" 0.0;
+ rel2.to_x: "elm.swallow.slot.bottom";
+ }
+ }
+ part { name: "select_line"; mouse_events: 0;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ align: 1.0 0.5;
+ min: 15 10;
+ rel1.to: "button_image";
+ rel1.relative: 1.0 0.0;
+ rel1.offset: 1 -3;
+ rel2.to: "button_image";
+ rel2.offset: 1 0;
+ image.normal: "vertical_separated_bar_glow.png";
+ image.border: 7 7 7 7;
+ fill.smooth : 0;
+ }
+ }
+ part { name: "base"; type: RECT;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "topclip"; type: RECT;
+ description { state: "default" 0.0;
+ rel2.to_y: "button_image";
+ rel2.offset: -1 -6;
+ }
+ }
+ part { name: "elm.swallow.slot.top"; type: SWALLOW;
+ clip_to: "topclip";
+ description { state: "default" 0.0;
+ visible: 1;
+ align: 0.5 0.0;
+ rel1.to: "elm.swallow.slot.middle";
+ rel1.relative: 0.0 0.0;
+ rel1.offset: 0 -1;
+ rel2.to: "elm.swallow.slot.middle";
+ rel2.relative: 1.0 0.0;
+ rel2.offset: -1 -1;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ align: 0.5 1.0;
+ }
+ }
+ part { name: "bottomclip"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.to_y: "button_image";
+ rel1.offset: 0 3;
+ }
+ }
+ part { name: "elm.swallow.slot.bottom"; type: SWALLOW;
+ clip_to: "bottomclip";
+ description { state: "default" 0.0;
+ align: 0.5 1.0;
+ rel1.to: "elm.swallow.slot.middle";
+ rel1.relative: 0.0 1.0;
+ rel1.offset: 0 2;
+ rel2.to: "elm.swallow.slot.middle";
+ rel2.relative: 1.0 1.0;
+ rel2.offset: -1 2;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ align: 0.5 0.0;
+ }
+ }
+ part { name: "elm.swallow.slot.middle";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ rel1.to: "elm.swallow.size";
+ rel2.to: "elm.swallow.size";
+ }
+ }
+ }
+ programs {
+ program { name: "end";
+ signal: "mouse,up,1"; source: "base";
+ action: SIGNAL_EMIT "elm,action,dismiss" "elm";
+ }
+ program { name: "show";
+ signal: "elm,action,show"; source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "base";
+ }
+ program { name: "hide";
+ signal: "elm,action,hide"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ }
+
+ program { name: "topshow";
+ signal: "elm,action,slot,top,show"; source: "elm";
+ action: STATE_SET "visible" 0.0;
+ transition: DECELERATE 0.5;
+ target: "elm.swallow.slot.top";
+ }
+ program { name: "topshow3";
+ signal: "elm,action,slot,top,show"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "button_image";
+ target: "limit0";
+ target: "limit1";
+ }
+ program { name: "tophide";
+ signal: "elm,action,slot,top,hide"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: DECELERATE 0.5;
+ target: "elm.swallow.slot.top";
+ }
+
+ program { name: "bottomshow";
+ signal: "elm,action,slot,bottom,show"; source: "elm";
+ action: STATE_SET "visible" 0.0;
+ transition: DECELERATE 0.5;
+ target: "elm.swallow.slot.bottom";
+ }
+ program { name: "bottomshow3";
+ signal: "elm,action,slot,bottom,show"; source: "elm";
+ action: STATE_SET "bottom" 0.0;
+ target: "button_image";
+ target: "limit0";
+ target: "limit1";
+ }
+ program { name: "bottomhide";
+ signal: "elm,action,slot,bottom,hide"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: DECELERATE 0.5;
+ target: "elm.swallow.slot.bottom";
+ }
+ }
+}
+
+group { name: "elm/hover/base/hoversel_horizontal/default";
+ alias: "elm/hover/base/hoversel_horizontal/entry";
+ images.image: "button_normal.png" COMP;
+ parts {
+ part { name: "elm.swallow.offset"; type: SWALLOW;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 0.0 0.0;
+ }
+ }
+ part { name: "elm.swallow.size"; type: SWALLOW;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ rel1.to: "elm.swallow.offset";
+ rel1.relative: 1.0 1.0;
+ rel2.to: "elm.swallow.offset";
+ rel2.relative: 1.0 1.0;
+ }
+ }
+ part { name: "base"; type: RECT;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "button_image"; mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.to_x: "elm.swallow.slot.left";
+ rel1.to_y: "elm.swallow.slot.middle";
+ rel1.offset: -6 0;
+ rel2.to_x: "elm.swallow.slot.middle";
+ rel2.to_y: "elm.swallow.slot.middle";
+ rel2.relative: 0.0 1.0;
+ rel2.offset: 4 1;
+ image {
+ normal: "button_normal.png";
+ border: 7 7 7 7;
+ }
+ image.middle: SOLID;
+ }
+ description { state: "right" 0.0;
+ rel1.to_x: "elm.swallow.slot.middle";
+ rel1.to_y: "elm.swallow.slot.middle";
+ rel1.relative: 1.0 0.0;
+ rel1.offset: -5 0;
+ rel2.to_x: "elm.swallow.slot.right";
+ rel2.to_y: "elm.swallow.slot.middle";
+ rel2.offset: 5 1;
+ image {
+ normal: "button_normal.png";
+ border: 7 7 7 7;
+ }
+ image.middle: SOLID;
+ }
+ }
+
+ part { name: "leftclip"; type: RECT;
+ description { state: "default" 0.0;
+ rel2.to_x: "elm.swallow.slot.middle";
+ rel2.relative: 0.0 1.0;
+ }
+ }
+ part { name: "elm.swallow.slot.left"; type: SWALLOW;
+ clip_to: "leftclip";
+ description { state: "default" 0.0;
+ align: 0.0 0.5;
+ rel1.to: "elm.swallow.slot.middle";
+ rel1.relative: 0.0 0.0;
+ rel1.offset: -1 0;
+ rel2.to: "elm.swallow.slot.middle";
+ rel2.relative: 0.0 1.0;
+ rel2.offset: -1 -1;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ rel1.offset: -7 0;
+ rel2.offset: -7 -1;
+ align: 1.0 0.5;
+ }
+ }
+ part { name: "rightclip"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.to_x: "elm.swallow.slot.middle";
+ rel1.relative: 1.0 0.0;
+ }
+ }
+ part { name: "elm.swallow.slot.right"; type: SWALLOW;
+ clip_to: "rightclip";
+ description { state: "default" 0.0;
+ align: 1.0 0.5;
+ rel1.to: "elm.swallow.slot.middle";
+ rel1.relative: 1.0 0.0;
+ rel1.offset: 0 0;
+ rel2.to: "elm.swallow.slot.middle";
+ rel2.relative: 1.0 1.0;
+ rel2.offset: 0 -1;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ rel1.offset: 6 0;
+ rel2.offset: -6 -1;
+ align: 0.0 0.5;
+ }
+ }
+ part { name: "elm.swallow.slot.middle"; type: SWALLOW;
+ description { state: "default" 0.0;
+ rel1.to: "elm.swallow.size";
+ rel2.to: "elm.swallow.size";
+ }
+ }
+ }
+ programs {
+ program { name: "end";
+ signal: "mouse,up,1"; source: "base";
+ action: SIGNAL_EMIT "elm,action,dismiss" "elm";
+ }
+ program { name: "show";
+ signal: "elm,action,show"; source: "elm";
+ action: STATE_SET "visible" 0.0;
+ transition: DECELERATE 0.5;
+ target: "base";
+ }
+ program { name: "hide";
+ signal: "elm,action,hide"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: DECELERATE 0.5;
+ target: "base";
+ }
+
+ program { name: "leftshow";
+ signal: "elm,action,slot,left,show"; source: "elm";
+ action: STATE_SET "visible" 0.0;
+ transition: DECELERATE 0.5;
+ target: "elm.swallow.slot.left";
+ }
+ program { name: "leftshow3";
+ signal: "elm,action,slot,left,show"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: DECELERATE 0.5;
+ target: "button_image";
+ }
+ program { name: "lefthide";
+ signal: "elm,action,slot,left,hide"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: DECELERATE 0.5;
+ target: "elm.swallow.slot.left";
+ }
+
+ program { name: "rightshow";
+ signal: "elm,action,slot,right,show"; source: "elm";
+ action: STATE_SET "visible" 0.0;
+ transition: DECELERATE 0.5;
+ target: "elm.swallow.slot.right";
+ }
+ program { name: "rightshow3";
+ signal: "elm,action,slot,right,show"; source: "elm";
+ action: STATE_SET "right" 0.0;
+ transition: DECELERATE 0.5;
+ target: "button_image";
+ }
+ program { name: "righthide";
+ signal: "elm,action,slot,right,hide"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: DECELERATE 0.5;
+ target: "elm.swallow.slot.right";
+ }
+ }
+}
diff --git a/data/themes/edc/elm/icon.edc b/data/themes/edc/elm/icon.edc
new file mode 100644
index 000000000..755119054
--- /dev/null
+++ b/data/themes/edc/elm/icon.edc
@@ -0,0 +1,89 @@
+#define IC(Name, Alias, File, Min, Max) \
+ group { name: "elm/icon/"##Name##"/default"; min: Min Min; max: Max Max; \
+ alias: "elm/icon/"##Alias##"/default"; \
+ images.image: File COMP; parts { part { name: "base"; \
+ description { aspect: 1.0 1.0; aspect_preference: BOTH; \
+ image.normal: File; } } } }
+IC("home", "toolbar/home", "icon_home.png", 16, 0);
+IC("close", "toolbar/close", "icon_close.png", 16, 0);
+IC("apps", "toolbar/apps", "icon_apps.png", 16, 0);
+IC("arrow_up", "toolbar/arrow_up", "icon_arrow_up.png", 16, 0);
+IC("arrow_down", "toolbar/arrow_down", "icon_arrow_down.png", 16, 0);
+IC("arrow_left", "toolbar/arrow_left", "icon_arrow_left.png", 16, 0);
+IC("arrow_right", "toolbar/arrow_right", "icon_arrow_right.png", 16, 0);
+IC("chat", "toolbar/chat", "icon_chat.png", 16, 0);
+IC("clock", "toolbar/clock", "icon_clock.png", 16, 0);
+IC("delete", "toolbar/delete", "icon_delete.png", 16, 0);
+IC("edit", "toolbar/edit", "icon_edit.png", 16, 0);
+IC("refresh", "toolbar/refresh", "icon_refresh.png", 16, 0);
+IC("folder", "toolbar/folder", "icon_folder.png", 16, 0);
+IC("file", "toolbar/file", "icon_file.png", 16, 0);
+IC("no_photo", "photo/no_photo", "icon_head.png", 16, 0);
+#undef IC
+
+#define IC(Name, File, Min, Max) \
+ group { name: "elm/icon/"##Name##"/default"; min: Min Min; max: Max Max; \
+ images.image: File COMP; parts { part { name: "base"; \
+ description { aspect: 1.0 1.0; aspect_preference: BOTH; \
+ image.normal: File; } } } }
+
+IC("toolbar/more_menu", "icon_arrow_down.png", 16, 0);
+
+IC("arrow_up_left", "icon_arrow_up_left.png", 16, 0);
+IC("arrow_up_right", "icon_arrow_up_right.png", 16, 0);
+IC("arrow_down_left", "icon_arrow_down_left.png", 16, 0);
+IC("arrow_down_right", "icon_arrow_down_right.png", 16, 0);
+
+IC("menu/home", "icon_home.png", 16, 0);
+IC("menu/close", "icon_close.png", 16, 0);
+IC("menu/apps", "icon_apps.png", 16, 0);
+IC("menu/arrow_up", "icon_arrow_up.png", 16, 0);
+IC("menu/arrow_down", "icon_arrow_down.png", 16, 0);
+IC("menu/arrow_left", "icon_arrow_left.png", 16, 0);
+IC("menu/arrow_right", "icon_arrow_right.png", 16, 0);
+IC("menu/chat", "icon_chat.png", 16, 0);
+IC("menu/clock", "icon_clock.png", 16, 0);
+IC("menu/delete", "icon_delete.png", 16, 0);
+IC("menu/edit", "icon_edit.png", 16, 0);
+IC("menu/refresh", "icon_refresh.png", 16, 0);
+IC("menu/folder", "icon_folder.png", 16, 0);
+IC("menu/file", "icon_file.png", 16, 0);
+
+IC("media_player/forward", "icon_forward.png", 16, 0);
+IC("media_player/info", "icon_info.png", 16, 0);
+IC("media_player/next", "icon_next.png", 16, 0);
+IC("media_player/pause", "icon_pause.png", 16, 0);
+IC("media_player/play", "icon_play.png", 16, 0);
+IC("media_player/prev", "icon_prev.png", 16, 0);
+IC("media_player/rewind", "icon_rewind.png", 16, 0);
+IC("media_player/stop", "icon_stop.png", 16, 0);
+IC("media_player/eject", "icon_eject.png", 16, 0);
+IC("media_player/volume", "icon_volume.png", 16, 0);
+IC("media_player/mute", "icon_mute.png", 16, 0);
+#undef IC
+
+#define IC(Name, File, Min, Max) \
+ group { name: "elm/icon/"##Name##"/default/default"; min: Min Min; max: Max Max; \
+ alias: "elm/icon/"##Name##"/default/flush"; \
+ images.image: File COMP; parts { \
+ part { name: "hi"; \
+ description { \
+ rel1.to: "base"; rel1.offset: 0 1; rel2.to: "base"; rel2.offset: -1 0; \
+ image.normal: File; color: 255 255 255 25;} } \
+ part { name: "base"; \
+ description { aspect: 1.0 1.0; aspect_preference: BOTH; \
+ image.normal: File; color: 21 21 21 255;} } \
+ } }
+IC("media_player/forward", "icon_forward_mono.png", 16, 0);
+IC("media_player/info", "icon_info_mono.png", 16, 0);
+IC("media_player/next", "icon_next_mono.png", 16, 0);
+IC("media_player/pause", "icon_pause_mono.png", 16, 0);
+IC("media_player/play", "icon_play_mono.png", 16, 0);
+IC("media_player/prev", "icon_prev_mono.png", 16, 0);
+IC("media_player/rewind", "icon_rewind_mono.png", 16, 0);
+IC("media_player/stop", "icon_stop_mono.png", 16, 0);
+IC("media_player/eject", "icon_eject_mono.png", 16, 0);
+IC("media_player/volume", "icon_volume_mono.png", 16, 0);
+IC("media_player/mute", "icon_mute_mono.png", 16, 0);
+#undef IC
+
diff --git a/data/themes/edc/elm/index.edc b/data/themes/edc/elm/index.edc
new file mode 100644
index 000000000..c6522b693
--- /dev/null
+++ b/data/themes/edc/elm/index.edc
@@ -0,0 +1,680 @@
+group { name: "elm/index/base/vertical/default";
+ parts {
+ part { name: "clip"; type: RECT; mouse_events: 0;
+ description { state: "default" 0.0;
+ visible: 0;
+ color: 255 255 255 0;
+ }
+ description { state: "active" 0.0;
+ visible: 1;
+ color: 255 255 255 255;
+ }
+ }
+ part { name: "clip2"; type: RECT; mouse_events: 0;
+ clip_to: "clip";
+ description { state: "default" 0.0;
+ visible: 0;
+ color: 255 255 255 0;
+ }
+ description { state: "active" 0.0;
+ visible: 1;
+ color: 255 255 255 255;
+ }
+ }
+ part { name: "elm.swallow.index.0"; type: SWALLOW;
+ clip_to: "clip";
+ description { state: "default" 0.0;
+ align: 1.0 0.5;
+ fixed: 1 1;
+ rel1 {
+ relative: 1.0 0.5;
+ offset: -1 5;
+ }
+ rel2 {
+ relative: 1.0 0.5;
+ offset: -1 -6;
+ }
+ }
+ }
+ part { name: "elm.text"; type: TEXT; mouse_events: 0;
+ scale: 1;
+ clip_to: "clip2";
+ effect: GLOW;
+ description { state: "default" 0.0;
+ align: 1.0 0.5;
+ fixed: 1 1;
+ rel1 {
+ to_x: "elm.swallow.event.0";
+ to_y: "elm.dragable.pointer";
+ relative: 0.0 0.5;
+ offset: -16 0;
+ }
+ rel2 {
+ to_x: "elm.swallow.event.0";
+ to_y: "elm.dragable.pointer";
+ relative: 0.0 0.5;
+ offset: -16 -1;
+ }
+ color: FN_COL_HIGHLIGHT;
+ text {
+ font: FN;
+ size: 20;
+ min: 1 1;
+ align: 1.0 0.5;
+ }
+ }
+ }
+ part { name: "elm.dragable.pointer"; type: RECT; mouse_events: 0;
+ clip_to: "clip";
+ dragable {
+ x: 1 1 0;
+ y: 1 1 0;
+ }
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ min: 8 8;
+ max: 8 8;
+ visible: 0;
+ rel1 {
+ relative: 0.0 0.0;
+ offset: 0 0;
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ offset: 0 0;
+ }
+ }
+ }
+ part { name: "elm.swallow.event.0"; type: SWALLOW;
+ description { state: "default" 0.0;
+ align: 1.0 0.5;
+ fixed: 1 1;
+ rel1 {
+ relative: 1.0 0.0;
+ offset: -1 0;
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ offset: -1 -1;
+ }
+ }
+ }
+ part { name: "access"; type: RECT;
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ rel1.to:"elm.swallow.event.0";
+ rel2.to:"elm.swallow.event.0";
+ color: 0 0 0 0;
+ }
+ }
+ }
+ programs {
+ program { name: "active";
+ signal: "elm,state,active"; source: "elm";
+ action: STATE_SET "active" 0.0;
+ transition: DECELERATE 0.5;
+ target: "clip";
+ }
+ program { name: "inactive";
+ signal: "elm,state,inactive"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: DECELERATE 0.5;
+ target: "clip";
+ }
+ program { name: "active2";
+ signal: "elm,indicator,state,active"; source: "elm";
+ action: STATE_SET "active" 0.0;
+ transition: DECELERATE 0.5;
+ target: "clip2";
+ }
+ program { name: "inactive2";
+ signal: "elm,indicator,state,inactive"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: DECELERATE 0.5;
+ target: "clip2";
+ }
+ }
+}
+
+group { name: "elm/index/item/vertical/default";
+ data.item: "stacking" "below";
+ images {
+ image: "darken_rounded_square_half.png" COMP;
+ }
+ parts {
+ part { name: "base"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image {
+ normal: "darken_rounded_square_half.png";
+ border: 7 0 6 8;
+ }
+ fill.smooth: 0;
+ }
+ description { state: "active" 0.0;
+ inherit: "default" 0.0;
+ rel1.offset: -16 0;
+ }
+ }
+ part { name: "elm.text"; type: TEXT; mouse_events: 0;
+ scale: 1;
+ effect: SHADOW BOTTOM;
+ description {
+ state: "default" 0.0;
+ rel1 {
+ to: "base";
+ relative: 0.0 0.0;
+ offset: 4 4;
+ }
+ rel2 {
+ to: "base";
+ relative: 0.5 1.0;
+ offset: -1 -1;
+ }
+ color: FN_COL_DEFAULT;
+ text {