summaryrefslogtreecommitdiffstats
path: root/data/themes/default/edc/elm
diff options
context:
space:
mode:
authorOlliver Schinagl <o.schinagl@ultimaker.com>2015-04-10 05:39:58 (GMT)
committerOlliver Schinagl <o.schinagl@ultimaker.com>2015-04-28 05:07:14 (GMT)
commit539c1473d54e3d401ff7c2ccc91ac4d38f5b19b7 (patch)
treed85d92ffa5be43b3bae6854138a6172916394d1f /data/themes/default/edc/elm
parent49f37de8842ffdb9bf51261b5937d8ebcfe3f9f4 (diff)
downloadeulogium-539c1473d54e3d401ff7c2ccc91ac4d38f5b19b7.zip
eulogium-539c1473d54e3d401ff7c2ccc91ac4d38f5b19b7.tar.gz
eulogium-539c1473d54e3d401ff7c2ccc91ac4d38f5b19b7.tar.bz2
Add default elementary skeleton theme, with non-elm stuff removed
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
Diffstat (limited to 'data/themes/default/edc/elm')
-rw-r--r--data/themes/default/edc/elm/access.edc60
-rw-r--r--data/themes/default/edc/elm/actionslider.edc292
-rw-r--r--data/themes/default/edc/elm/bg.edc39
-rw-r--r--data/themes/default/edc/elm/border.edc1666
-rw-r--r--data/themes/default/edc/elm/bubble.edc738
-rw-r--r--data/themes/default/edc/elm/button.edc1324
-rw-r--r--data/themes/default/edc/elm/calendar.edc535
-rw-r--r--data/themes/default/edc/elm/check.edc938
-rw-r--r--data/themes/default/edc/elm/clock.edc397
-rw-r--r--data/themes/default/edc/elm/colorsel.edc629
-rw-r--r--data/themes/default/edc/elm/conform.edc53
-rw-r--r--data/themes/default/edc/elm/ctxpopup.edc263
-rw-r--r--data/themes/default/edc/elm/cursor.edc112
-rw-r--r--data/themes/default/edc/elm/datetime.edc200
-rw-r--r--data/themes/default/edc/elm/dayselector.edc489
-rw-r--r--data/themes/default/edc/elm/diskselector.edc389
-rw-r--r--data/themes/default/edc/elm/entry.edc1216
-rw-r--r--data/themes/default/edc/elm/fileselector.edc221
-rw-r--r--data/themes/default/edc/elm/flipselector.edc558
-rw-r--r--data/themes/default/edc/elm/focus.edc304
-rw-r--r--data/themes/default/edc/elm/frame.edc285
-rw-r--r--data/themes/default/edc/elm/gengrid.edc976
-rw-r--r--data/themes/default/edc/elm/genlist.edc5197
-rw-r--r--data/themes/default/edc/elm/hover.edc815
-rw-r--r--data/themes/default/edc/elm/icon.edc159
-rw-r--r--data/themes/default/edc/elm/index.edc686
-rw-r--r--data/themes/default/edc/elm/inwin.edc79
-rw-r--r--data/themes/default/edc/elm/label.edc399
-rw-r--r--data/themes/default/edc/elm/layout.edc532
-rw-r--r--data/themes/default/edc/elm/list.edc703
-rw-r--r--data/themes/default/edc/elm/map.edc208
-rw-r--r--data/themes/default/edc/elm/menu.edc1162
-rw-r--r--data/themes/default/edc/elm/multibuttonentry.edc262
-rw-r--r--data/themes/default/edc/elm/naviframe.edc677
-rw-r--r--data/themes/default/edc/elm/notify.edc188
-rw-r--r--data/themes/default/edc/elm/panel.edc736
-rw-r--r--data/themes/default/edc/elm/panes.edc745
-rw-r--r--data/themes/default/edc/elm/photo.edc91
-rw-r--r--data/themes/default/edc/elm/photocam.edc100
-rw-r--r--data/themes/default/edc/elm/player.edc639
-rw-r--r--data/themes/default/edc/elm/pointer.edc50
-rw-r--r--data/themes/default/edc/elm/popup.edc499
-rw-r--r--data/themes/default/edc/elm/progress.edc1396
-rw-r--r--data/themes/default/edc/elm/radio.edc291
-rw-r--r--data/themes/default/edc/elm/scroller.edc1254
-rw-r--r--data/themes/default/edc/elm/segment_control.edc436
-rw-r--r--data/themes/default/edc/elm/separator.edc27
-rw-r--r--data/themes/default/edc/elm/slider.edc1443
-rw-r--r--data/themes/default/edc/elm/slideshow.edc349
-rw-r--r--data/themes/default/edc/elm/spinner.edc303
-rw-r--r--data/themes/default/edc/elm/thumb.edc134
-rw-r--r--data/themes/default/edc/elm/toolbar.edc1400
-rw-r--r--data/themes/default/edc/elm/tooltip.edc429
-rw-r--r--data/themes/default/edc/elm/video.edc43
-rw-r--r--data/themes/default/edc/elm/win.edc70
55 files changed, 33186 insertions, 0 deletions
diff --git a/data/themes/default/edc/elm/access.edc b/data/themes/default/edc/elm/access.edc
new file mode 100644
index 0000000..3b0dcc0
--- /dev/null
+++ b/data/themes/default/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/default/edc/elm/actionslider.edc b/data/themes/default/edc/elm/actionslider.edc
new file mode 100644
index 0000000..dc382c2
--- /dev/null
+++ b/data/themes/default/edc/elm/actionslider.edc
@@ -0,0 +1,292 @@
+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;
+ 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;
+ ellipsis: -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;
+ 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;
+ ellipsis: -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;
+ 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;
+ ellipsis: -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,action,up,drag_button" "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,action,down,drag_button" "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,action,move,drag_button" "elm";
+ }
+ program {
+ signal: "mouse,down,1*"; source: "elm.text.right";
+ action: SIGNAL_EMIT "elm,action,down,right" "elm";
+ }
+ program {
+ signal: "mouse,down,1*"; source: "elm.text.left";
+ action: SIGNAL_EMIT "elm,action,down,left" "elm";
+ }
+ program {
+ signal: "mouse,down,1*"; source: "elm.text.center";
+ action: SIGNAL_EMIT "elm,action,down,center" "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/default/edc/elm/bg.edc b/data/themes/default/edc/elm/bg.edc
new file mode 100644
index 0000000..2a0edc3
--- /dev/null
+++ b/data/themes/default/edc/elm/bg.edc
@@ -0,0 +1,39 @@
+/* bg widget style information
+
+ [SWALLOW]
+ elm.swallow.rectangle: Used for elm_bg_color_set()
+ elm.swallow.background: Used for elm_bg_file_set()
+ elm.swallow.content: Used for elm_layout_part_content_set(bg, "overlay", content).
+*/
+
+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/default/edc/elm/border.edc b/data/themes/default/edc/elm/border.edc
new file mode 100644
index 0000000..8d296ff
--- /dev/null
+++ b/data/themes/default/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 0;
+ 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; nomouse;
+ effect: SHADOW BOTTOM;
+ description { state: "default" 0.0;
+ color_class: "border_title";
+ rel1.relative: 1.0 0.0;
+ rel1.offset: 1 -3;
+ rel1.to_x: "e.event.icon";
+ rel2.relative: 0.0 0.0;
+ rel2.offset: -2 -3;
+ rel2.to_x: "e.event.minimize";
+ align: 0.5 0.0;
+ color_class: "border_title";
+ color3: 255 255 255 255;
+ 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; nomouse;
+ effect: SOFT_SHADOW BOTTOM;
+ description { state: "default" 0.0;
+ color_class: "border_title_active";
+ rel1.relative: 1.0 0.0;
+ rel1.offset: 1 2;
+ rel1.to_x: "e.event.icon";
+ rel2.relative: 0.0 0.0;
+ rel2.offset: -1 2;
+ rel2.to_x: "e.event.minimize";
+ align: 0.5 0.0;
+ color_class: "border_title_active";
+ color3: 255 255 255 255;
+ 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; nomouse;
+ 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"; nomouse;
+ 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"; nomouse;
+ 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"; nomouse;
+ 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"; nomouse;
+ 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"; nomouse;
+ 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"; nomouse;
+ 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"; nomouse;
+ 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 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; nomouse;
+ 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_class: "border_title";
+ color3: 255 255 255 255;
+ 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; nomouse;
+ 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_class: "border_title_active";
+ color3: 255 255 255 255;
+ 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; nomouse;
+ 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"; nomouse;
+ 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"; nomouse;
+ 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"; nomouse;
+ 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"; nomouse;
+ 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"; nomouse;
+ 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"; nomouse;
+ 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"; nomouse;
+ 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/default/edc/elm/bubble.edc b/data/themes/default/edc/elm/bubble.edc
new file mode 100644
index 0000000..4fd5a28
--- /dev/null
+++ b/data/themes/default/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;
+ ellipsis: -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: FN_COL_DEFAULT;
+ 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: FN_COL_DISABLE;
+ color_class: "bubble_info";
+ text { font: FNBD; size: 10;
+ min: 1 1;
+ ellipsis: -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;
+ ellipsis: -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: FN_COL_DEFAULT;
+ 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: FN_COL_DISABLE;
+ color_class: "bubble_info";
+ text { font: FNBD; size: 10;
+ min: 1 1;
+ ellipsis: -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;
+ ellipsis: -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: FN_COL_DEFAULT;
+ 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: FN_COL_DISABLE;
+ color_class: "bubble_info";
+ text { font: FNBD; size: 10;
+ min: 1 1;
+ ellipsis: -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;
+ ellipsis: -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: FN_COL_DEFAULT;
+ 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: FN_COL_DISABLE;
+ color_class: "bubble_info";
+ text { font: FNBD; size: 10;
+ min: 1 1;
+ ellipsis: -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/default/edc/elm/button.edc b/data/themes/default/edc/elm/button.edc
new file mode 100644
index 0000000..097ce85
--- /dev/null
+++ b/data/themes/default/edc/elm/button.edc
@@ -0,0 +1,1324 @@
+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 {
+ if (!d) {
+ set_state(PART:"elm.swallow.content", "default", 0.0);
+ set_state(PART:"sizer.content", "default", 0.0);
+ set_state(PART:"elm.text", "icononly", 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", "icononly", 0.0);
+ set_state(PART:"icon_clip", "disabled", 0.0);
+ set_state(PART:"event", "disabled", 0.0);
+ }
+ }
+ }
+ }
+ parts {
+ image { "base"; nomouse;
+ desc { "default";
+ 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;
+ }
+ desc { "clicked";
+ inherit: "default";
+ image.normal: "button_clicked.png";
+ image.border: 5 5 4 6;
+ }
+ }
+ rect { "icon_clip";
+ desc { "default";
+ }
+ desc { "disabled";
+ inherit: "default";
+ color: 255 255 255 64;
+ }
+ }
+ swallow { "elm.swallow.content"; nomouse;
+ clip_to: "icon_clip";
+ desc { "default";
+ 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;
+ }
+ desc { "visible";
+ inherit: "default";
+ fixed: 1 0;
+ aspect: 1.0 1.0;
+ visible: 1;
+ }
+ desc { "icononly";
+ inherit: "default";
+ fixed: 0 0;
+ align: 0.5 0.5;
+ rel2.relative: 1.0 1.0;
+ rel2.offset: -7 -8;
+ visible: 1;
+ }
+ }
+ text { "sizer.content"; nomouse;
+ scale: 1;
+ desc { "default";
+// fixed: 1 1;
+ visible: 0;
+ text { font: FN; size: 10;
+ min: 0 0;
+ text_class: "button_text";
+ }
+ }
+ desc { "visible";
+ inherit: "default";
+ rel1.to: "elm.swallow.content";
+ rel2.to: "elm.swallow.content";
+ text {
+ min: 1 1;
+ ellipsis: -1;
+ text: "M";
+ }
+ }
+ desc { "icononly";
+ inherit: "default";
+ rel1.to: "elm.swallow.content";
+ rel2.to: "elm.swallow.content";
+ text {
+ min: 1 1;
+ ellipsis: -1;
+ text: "M";
+ }
+ }
+ }
+ text { "elm.text"; nomouse;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ desc { "default";
+ rel1.offset: 0 5;
+ rel1.relative: 1.0 0.0;
+ rel1.to_x: "elm.swallow.content";
+ rel1.to_y: "base";
+ rel2.offset: -8 -8;
+ rel2.to: "base";
+ color_class: "button_text";
+ color3: 255 255 255 255;
+ text { font: FN; size: 10;
+ align: 0.5 0.5;
+ min: 0 0;
+ text_class: "button";
+ }
+ visible: 0;
+ fixed: 1 1;
+ }
+ desc { "visible";
+ inherit: "default";
+ rel1.offset: 2 5;
+ text.min: 1 1;
+ text.ellipsis: -1;
+ visible: 1;
+ fixed: 0 0;
+ }
+ desc { "textonly";
+ inherit: "default";
+ text.min: 1 1;
+ text.ellipsis: -1;
+ visible: 1;
+ fixed: 0 0;
+ }
+ desc { "disabled_visible";
+ inherit: "default";
+ rel1.offset: 2 5;
+ color_class: "button_text_disabled";
+ color3: 255 255 255 255;
+ text.min: 1 1;
+ text.ellipsis: -1;
+ visible: 1;
+ fixed: 0 0;
+ }
+ desc { "disabled_textonly";
+ inherit: "default";
+ color_class: "button_text_disabled";
+ color3: 255 255 255 255;
+ text.min: 1 1;
+ text.ellipsis: -1;
+ visible: 1;
+ fixed: 0 0;
+ }
+ }
+ rect { "event";
+ desc { "default";
+ color: 0 0 0 0;
+ }
+ desc { "disabled";
+ inherit: "default";
+ 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 {
+ if (!d) {
+ set_state(PART:"elm.swallow.content", "default", 0.0);
+ set_state(PART:"sizer.content", "default", 0.0);
+ set_state(PART:"elm.text", "icononly", 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", "icononly", 0.0);
+ set_state(PART:"icon_clip", "disabled", 0.0);
+ set_state(PART:"bar", "disabled", 0.0);
+ set_state(PART:"event", "disabled", 0.0);
+ }
+ }
+ }
+ }
+ parts {
+ spacer { "base";
+ desc { "default";
+ rel1.offset: 0 0;
+ rel2.offset: 0 0;
+ }
+ }
+ rect { "icon_clip";
+ desc { "default";
+ }
+ desc { "disabled";
+ inherit: "default";
+ color: 255 255 255 64;
+ }
+ }
+ swallow { "elm.swallow.content"; nomouse;
+ clip_to: "icon_clip";
+ desc { "default";
+ 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;
+ }
+ desc { "visible";
+ inherit: "default";
+ fixed: 1 0;
+ aspect: 1.0 1.0;
+ visible: 1;
+ }
+ desc { "icononly";
+ inherit: "default";
+ fixed: 0 0;
+ align: 0.5 0.5;
+ rel2.relative: 1.0 1.0;
+ rel2.offset: -1 -5;
+ visible: 1;
+ }
+ }
+ text { "sizer.content"; nomouse;
+ scale: 1;
+ desc { "default";
+ visible: 0;
+ text { font: FN; size: 10;
+ min: 0 0;
+ text_class: "button_text";
+ }
+ }
+ desc { "visible";
+ inherit: "default";
+ rel1.to: "elm.swallow.content";
+ rel2.to: "elm.swallow.content";
+ text {
+ min: 1 1;
+ ellipsis: -1;
+ text: "M";
+ }
+ }
+ desc { "icononly";
+ inherit: "default";
+ rel1.to: "elm.swallow.content";
+ rel2.to: "elm.swallow.content";
+ text {
+ min: 1 1;
+ ellipsis: -1;
+ text: "M";
+ }
+ }
+ }
+ text { "elm.text"; nomouse;
+ effect: GLOW;
+ scale: 1;
+ desc { "default";
+ 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_class: "button_text_anchor";
+ color2: 255 255 255 255;
+ color3: 255 255 255 255;
+ text { font: FN; size: 10;
+ align: 0.5 0.5;
+ min: 0 0;
+ text_class: "button_anchor";
+ }
+ visible: 0;
+ }
+ desc { "visible";
+ inherit: "default";
+ rel1.offset: 0 0;
+ text.min: 1 1;
+ text.ellipsis: -1;
+ visible: 1;
+ }
+ desc { "textonly";
+ inherit: "default";
+ text.min: 1 1;
+ text.ellipsis: -1;
+ visible: 1;
+ }
+ desc { "disabled_visible";
+ inherit: "default";
+ rel1.offset: 0 0;
+ color_class: "button_text_anchor_disabled";
+ text.min: 1 1;
+ text.ellipsis: -1;
+ visible: 1;
+ }
+ desc { "disabled_textonly";
+ inherit: "default";
+ color_class: "button_text_anchor_disabled";
+ text.min: 1 1;
+ text.ellipsis: -1;
+ visible: 1;
+ }
+ }
+ text { "text2"; nomouse;
+ effect: GLOW;
+ scale: 1;
+ desc { "default";
+ fixed: 1 1;
+ rel1.to: "elm.text";
+ rel2.to: "elm.text";
+ color_class: "button_text_anchor";
+ color2: 255 255 255 255;
+ color3: 255 255 255 255;
+ text { font: FN; size: 10;
+ text_source: "elm.text";
+ min: 1 1;
+ ellipsis: -1;
+ text_class: "button_anchor";
+ }
+ visible: 0;
+ }
+ desc { "clicked";
+ inherit: "default";
+ visible: 1;
+ }
+ }
+ image { "bar"; nomouse;
+ desc { "default";
+ 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;
+ }
+ desc { "disabled";
+ inherit: "default";
+ color: 255 255 255 64;
+ }
+ }
+ image { "bar2"; nomouse;
+ desc { "default";
+ 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;
+ }
+ desc { "clicked";
+ inherit: "default";
+ color: 255 255 255 255;
+ visible: 1;
+ }
+ }
+ rect { "event";
+ desc { "default";
+ color: 0 0 0 0;
+ }
+ desc { "disabled";
+ inherit: "default";
+ 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 {
+ image { "ic"; nomouse;
+ desc { "default";
+ 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 {
+ image { "ic"; nomouse;
+ desc { "default";
+ 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 {
+ rect { "clip";
+ desc { "default";
+ }
+ }
+ image { "shadow1"; nomouse;
+ clip_to: "clip";
+ desc { "default";
+ rel2.offset: -1 0;
+ image.normal: "shadow_inset_bevels.png";
+ image.border: 2 2 0 1;
+ visible: 0;
+ }
+ desc { "selected";
+ inherit: "default";
+ visible: 1;
+ }
+ }
+ image { "shadow2"; nomouse;
+ clip_to: "clip";
+ desc { "default";
+ 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;
+ }
+ desc { "selected";
+ inherit: "default";
+ visible: 1;
+ }
+ }
+ swallow { "elm.swallow.content"; nomouse;
+ desc { "default";
+ rel1.offset: 3 1;
+ rel2.offset: -4 -2;
+ }
+ }
+ rect { "event";
+ ignore_flags: ON_HOLD;
+ desc { "default";
+ 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 {
+ text { "elm.text";
+ desc { "default";
+ 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: -3 -8;
+ rel2.relative: 0.0 1.0;
+ text.text_class: "hoversel";
+ text.ellipsis: -1;
+ color3: 255 255 255 255;
+ fixed: 1 1;
+ }
+ desc { "visible";
+ inherit: "default";
+ rel1.offset: 2 5;
+ text.min: 1 1;
+ text.ellipsis: -1;
+ visible: 1;
+ fixed: 0 0;
+ }
+ desc { "textonly";
+ inherit: "default";
+ text.min: 1 1;
+ text.ellipsis: -1;
+ visible: 1;
+ fixed: 0 0;
+ }
+ desc { "disabled_visible";
+ inherit: "default";
+ rel1.offset: 2 5;
+ color_class: "hoversel_text_disabled";
+ text.min: 1 1;
+ text.ellipsis: -1;
+ visible: 1;
+ fixed: 0 0;
+ }
+ desc { "disabled_textonly";
+ inherit: "default";
+ color_class: "hoversel_text_disabled";
+ text.min: 1 1;
+ text.ellipsis: -1;
+ visible: 1;
+ fixed: 0 0;
+ }
+ }
+ image { "select_line"; nomouse;
+ desc { "default";
+ 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;
+ }
+ desc { "clicked";
+ inherit: "default";
+ 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 {
+ if (!d) {
+ set_state(PART:"elm.swallow.content", "default", 0.0);
+ set_state(PART:"sizer.content", "default", 0.0);
+ set_state(PART:"elm.text", "icononly", 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", "icononly", 0.0);
+ set_state(PART:"icon_clip", "disabled", 0.0);
+ set_state(PART:"event", "disabled", 0.0);
+ }
+ }
+ }
+ }
+ parts {
+ image { "shadow"; nomouse;
+ desc { "default";
+ 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;
+ }
+ desc { "clicked";
+ inherit: "default";
+ visible: 1;
+ }
+ }
+ image { "base"; nomouse;
+ desc { "default";
+ fixed: 1 1;
+ rel1.offset: -6 0;
+ image.normal: "vgrad_med_dark.png";
+ fill.smooth: 0;
+ TILED_HORIZ(120)
+ visible: 0;
+ }
+ desc { "clicked";
+ inherit: "default";
+ visible: 1;
+ }
+ }
+ rect { "icon_clip";
+ desc { "default";
+ }
+ desc { "disabled";
+ inherit: "default";
+ color: 255 255 255 64;
+ }
+ }
+ swallow { "elm.swallow.content"; nomouse;
+ clip_to: "icon_clip";
+ desc { "default";
+ 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;
+ }
+ desc { "visible";
+ inherit: "default";
+ fixed: 1 0;
+ aspect: 1.0 1.0;
+ visible: 1;
+ }
+ desc { "icononly";
+ inherit: "default";
+ fixed: 0 0;
+ align: 0.5 0.5;
+ rel2.relative: 1.0 1.0;
+ rel2.offset: -7 -8;
+ visible: 1;
+ }
+ }
+ text { "sizer.content"; nomouse;
+ scale: 1;
+ desc { "default";
+ fixed: 1 1;
+ visible: 0;
+ text { font: FN; size: 10;
+ min: 0 0;
+ text_class: "button_text";
+ }
+ }
+ desc { "visible";
+ inherit: "default";
+ rel1.to: "elm.swallow.content";
+ rel2.to: "elm.swallow.content";
+ text {
+ min: 1 1;
+ ellipsis: -1;
+ text: "M";
+ }
+ }
+ desc { "icononly";
+ inherit: "default";
+ rel1.to: "elm.swallow.content";
+ rel2.to: "elm.swallow.content";
+ text {
+ min: 1 1;
+ ellipsis: -1;
+ text: "M";
+ }
+ }
+ }
+ rect { "click_clip";
+ desc { "default";
+ }
+ desc { "clicked";
+ inherit: "default";
+ visible: 0;
+ }
+ }
+ text { "elm.text"; nomouse;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ clip_to: "click_clip";
+ desc { "default";
+ rel1.offset: 0 5;
+ rel1.relative: 1.0 0.0;
+ rel1.to_x: "elm.swallow.content";
+ rel1.to_y: "base";
+ rel2.offset: -8 -8;
+ rel2.to: "base";
+ color_class: "hoversel_text";
+ color3: 255 255 255 255;
+ text { font: FN; size: 10;
+ align: 0.0 0.5;
+ min: 0 0;
+ text_class: "button";
+ }
+ visible: 0;
+ }
+ desc { "visible";
+ inherit: "default";
+ rel1.offset: 2 5;
+ text.min: 1 1;
+ text.ellipsis: -1;
+ visible: 1;
+ }
+ desc { "textonly";
+ inherit: "default";
+ text.min: 1 1;
+ text.ellipsis: -1;
+ visible: 1;
+ }
+ desc { "disabled_visible";
+ inherit: "default";
+ rel1.offset: 2 5;
+ color_class: "hoversel_text_disabled";
+ text.min: 1 1;
+ text.ellipsis: -1;
+ visible: 1;
+ }
+ desc { "disabled_textonly";
+ inherit: "default";
+ color_class: "hoversel_text_disabled";
+ text.min: 1 1;
+ text.ellipsis: -1;
+ visible: 1;
+ }
+ }
+ text { "label3"; nomouse;
+ effect: GLOW;
+ scale: 1;
+ desc { "default";
+ fixed: 1 1;
+ rel1.offset: -2 -3;
+ rel1.to: "elm.text";
+ rel2.offset: 2 1;
+ rel2.to: "elm.text";
+ color_class: "hoversel_item_active";
+ color2: 255 255 255 255;
+ color3: 255 255 255 255;
+ text { font: FN; size: 10;
+ text_source: "elm.text";
+ align: 0.0 0.5;
+ text_class: "hoversel_item";
+ }
+ visible: 0;
+ }
+ desc { "clicked";
+ inherit: "default";
+ visible: 1;
+ }
+ }
+ image { "bevel"; nomouse;
+ insert_after: "elm.text";
+ desc { "default";
+ fixed: 1 1;
+ image.normal: "bevel_horiz_out.png";
+ image.border: 0 0 2 2;
+ image.middle: 0;
+ fill.smooth: 0;
+ visible: 0;
+ }
+ desc { "clicked";
+ inherit: "default";
+ visible: 1;
+ }
+ }
+ image { "shine"; nomouse;
+ insert_before: "event";
+ desc { "default";
+ 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)
+ }
+ desc { "clicked";
+ inherit: "default";
+ visible: 1;
+ }
+ }
+ rect { name: "event";
+ desc { "default";
+ color: 0 0 0 0;
+ }
+ desc { "disabled";
+ inherit: "default";
+ 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 {
+ image { "base";
+ desc { "default";
+ rel1.offset: 0 0;
+ }
+ desc { "clicked";
+ inherit: "default";
+ visible: 1;
+ }
+ }
+ }
+}
diff --git a/data/themes/default/edc/elm/calendar.edc b/data/themes/default/edc/elm/calendar.edc
new file mode 100644
index 0000000..b1b15c8
--- /dev/null
+++ b/data/themes/default/edc/elm/calendar.edc
@@ -0,0 +1,535 @@
+#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: FN_COL_DISABLE;\
+ text { font: FN; size: 8; \
+ min: 1 1; \
+ ellipsis: -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; \
+ text.ellipsis: -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/default/edc/elm/check.edc b/data/themes/default/edc/elm/check.edc
new file mode 100644
index 0000000..431cdc7
--- /dev/null
+++ b/data/themes/default/edc/elm/check.edc
@@ -0,0 +1,938 @@
+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);
+ }
+ } else {
+ if (!d) {
+ 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:"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", "default", 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;
+ ellipsis: -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;
+ ellipsis: -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: FN_COL_DEFAULT;
+ 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_class: "check_text_disabled";
+ color3: 255 255 255 255;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ text.min: 1 1;
+ text.ellipsis: -1;
+ }
+ description { state: "disabled_visible" 0.0;
+ inherit: "default" 0.0;
+ color_class: "check_text_disabled";
+ color3: 255 255 255 255;
+ visible: 1;
+ text.min: 1 1;
+ text.ellipsis: -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);
+ }
+ } else {
+ if (!d) {
+ 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:"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", "default", 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: FN_COL_DEFAULT;
+ 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_class: "check_off_text_disabled";
+ color3: 255 255 255 255;
+ }
+ }
+ 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_class: "check_on_text";
+ color2: 255 255 255 255;
+ color3: 255 255 255 255;
+ 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_class: "check_on_text_disabled";
+ color3: 255 255 255 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: "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: 0 0 0 0;
+ }
+ }
+ 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;
+ ellipsis: -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;
+ ellipsis: -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: FN_COL_DEFAULT;
+ 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_class: "check_text_disabled";
+ color3: 255 255 255 255;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ text.min: 1 1;
+ text.ellipsis: -1;
+ }
+ description { state: "disabled_visible" 0.0;
+ inherit: "default" 0.0;
+ color_class: "check_text_disabled";
+ color3: 255 255 255 255;
+ visible: 1;
+ text.min: 1 1;
+ text.ellipsis: -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", "elm");
+ } else {
+ emit("elm,action,check,on", "elm");
+ }
+ }
+ }
+ }
+ 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", "elm");
+ } else {
+ emit("elm,action,check,off", "elm");
+ }
+ 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/default/edc/elm/clock.edc b/data/themes/default/edc/elm/clock.edc
new file mode 100644
index 0000000..60d8c38
--- /dev/null
+++ b/data/themes/default/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/default/edc/elm/colorsel.edc b/data/themes/default/edc/elm/colorsel.edc
new file mode 100644
index 0000000..e8721ba
--- /dev/null
+++ b/data/themes/default/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/default/edc/elm/conform.edc b/data/themes/default/edc/elm/conform.edc
new file mode 100644
index 0000000..373d41d
--- /dev/null
+++ b/data/themes/default/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/default/edc/elm/ctxpopup.edc b/data/themes/default/edc/elm/ctxpopup.edc
new file mode 100644
index 0000000..c7e8553
--- /dev/null
+++ b/data/themes/default/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,*"; 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/default/edc/elm/cursor.edc b/data/themes/default/edc/elm/cursor.edc
new file mode 100644
index 0000000..c756b85
--- /dev/null
+++ b/data/themes/default/edc/elm/cursor.edc
@@ -0,0 +1,112 @@
+// cursors available:
+//
+// "x"
+// "arrow"
+// "based_arrow_down"
+// "based_arrow_up"
+// "boat"
+// "bogosity"
+// "bottom_left_corner"
+// "bottom_right_corner"
+// "bottom_side"
+// "bottom_tee"
+// "box_spiral"
+// "center_ptr"
+// "circle"
+// "clock"
+// "coffee_mug"
+// "cross"
+// "cross_reverse"
+// "crosshair"
+// "diamond_cross"
+// "dot"
+// "dot_box_mask"
+// "double_arrow"
+// "draft_large"
+// "draft_small"
+// "draped_box"
+// "exchange"
+// "fleur"
+// "gobbler"
+// "gumby"
+// "hand1" *DONE*
+// "hand2"
+// "heart"
+// "icon"
+// "iron_cross"
+// "left_ptr"
+// "left_side"
+// "left_tee"
+// "leftbutton"
+// "ll_angle"
+// "lr_angle"
+// "man"
+// "middlebutton"
+// "mouse"
+// "pencil"
+// "pirate"
+// "plus"
+// "question_arrow"
+// "right_ptr"
+// "right_side"
+// "right_tee"
+// "rightbutton"
+// "rtl_logo"
+// "sailboat"
+// "sb_down_arrow"
+// "sb_h_double_arrow"
+// "sb_left_arrow"
+// "sb_right_arrow"
+// "sb_up_arrow"
+// "sb_v_double_arrow"
+// "shuttle"
+// "sizing"
+// "spider"
+// "spraycan"
+// "star"
+// "target"
+// "tcross"
+// "top_left_arrow"
+// "top_left_corner"
+// "top_right_corner"
+// "top_side"
+// "top_tee"
+// "trek"
+// "ul_angle"
+// "umbrella"
+// "ur_angle"
+// "watch"
+// "xterm"
+
+group { name: "elm/cursor/hand1/default";
+ images.image: "pointer_hand1.png" COMP;
+ parts {
+ part { name: "base"; mouse_events: 0; scale: 1;
+ description { state: "default" 0.0;
+ FIXED_SIZE(32, 32)
+ image.normal: "pointer_hand1.png";
+ }
+ }
+ part { name: "elm.content.hotspot"; type: SWALLOW;
+ description { state: "default" 0.0;
+ visible: 0;
+ rel1.relative: (26/32) (9/32);
+ rel1.to: "base";
+ rel2.to: "base";
+ rel2.relative: (26/32) (9/32);
+ rel2.offset: 0 0;
+ }
+ }
+ }
+}
+
+group { name: "elm/cursor/blank/default";
+ parts {
+ part { name: "elm.content.hotspot"; type: SWALLOW;
+ description { state: "default" 0.0;
+ visible: 0;
+ max: 1 1;
+ }
+ }
+ }
+}
diff --git a/data/themes/default/edc/elm/datetime.edc b/data/themes/default/edc/elm/datetime.edc
new file mode 100644
index 0000000..a628a76
--- /dev/null
+++ b/data/themes/default/edc/elm/datetime.edc
@@ -0,0 +1,200 @@
+#define DATETIME_FIELD(_pos) \
+ part { \
+ name: "field"#_pos; type: SWALLOW; \
+ scale: 1; \
+ clip_to: "clip"; \
+ description { state: "default" 0.0; \
+ visible: 0; \
+ min: 0 0; \
+ align: 0.0 0.5; \
+ fixed: 1 1; \
+ 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: FN_COL_DEFAULT; \
+ color_class: "datetime_text"; \
+ text { \
+ font: "Sans"; size: 10; \
+ min: 1 0; \
+ ellipsis: -1; \
+ 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: FN_COL_DISABLE; \
+ 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: "clip"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.to: "separator0";
+ rel2.to: "separator7";
+ }
+ }
+ part { name: "disclip"; type: RECT;
+ clip_to: "clip";
+ 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;
+ clip_to: "clip";
+ 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/default/edc/elm/dayselector.edc b/data/themes/default/edc/elm/dayselector.edc
new file mode 100644
index 0000000..8c83ae5
--- /dev/null
+++ b/data/themes/default/edc/elm/dayselector.edc
@@ -0,0 +1,489 @@
+#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;
+ ellipsis: -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;
+ ellipsis: -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/default/edc/elm/diskselector.edc b/data/themes/default/edc/elm/diskselector.edc
new file mode 100644
index 0000000..a9003e7
--- /dev/null
+++ b/data/themes/default/edc/elm/diskselector.edc
@@ -0,0 +1,389 @@
+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: FN_COL_GREY_152;
+ text.size: 8;
+ visible: 1;
+ text.align: 0.2 0.5;
+ }
+ description { state: "right_side" 0.0;
+ inherit: "default" 0.0;
+ color: FN_COL_GREY_152;
+ 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: FN_COL_GREY_172;
+ visible: 1;
+ text {
+ font: "Sans,Edje-Vera";
+ size: 10;
+ min: 1 1;
+ ellipsis: -1;
+ }
+ }
+ description { state: "center_sel" 0.0;
+ inherit: "default" 0.0;
+ color: FN_COL_WHITE;
+ }
+ description { state: "left_side" 0.0;
+ inherit: "default" 0.0;
+ color: FN_COL_GREY_152;
+ text.align: 0.2 0.5;
+ }
+ description { state: "left_side_sel" 0.0;
+ inherit: "default" 0.0;
+ color: FN_COL_WHITE;
+ text.align: 0.2 0.5;
+ }
+ description { state: "right_side" 0.0;
+ inherit: "default" 0.0;
+ color: FN_COL_GREY_152;
+ text.align: 0.8 0.5;
+ }
+ description { state: "right_side_sel" 0.0;
+ inherit: "default" 0.0;
+ color: FN_COL_WHITE;
+ 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/default/edc/elm/entry.edc b/data/themes/default/edc/elm/entry.edc
new file mode 100644
index 0000000..f82b84e
--- /dev/null
+++ b/data/themes/default/edc/elm/entry.edc
@@ -0,0 +1,1216 @@
+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.to: "clipper";
+ rel1.offset: 1 1;
+ rel2.to: "clipper";
+ 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.to: "clipper";
+ rel1.offset: -2 1;
+ rel1.relative: 1.0 0.0;
+ rel2.to: "clipper";
+ 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;
+ clip_to: "clipper";
+ 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;
+ }
+ }
+ part { name: "clipper"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.to: "cursor";
+ rel2.to: "cursor";
+ fixed: 1 1;
+ }
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ }
+ programs {
+ program {
+ signal: "selection,start"; source: "elm.text";
+ action: STATE_SET "hidden" 0.0;
+ target: "clipper";
+ }
+ program {
+ signal: "selection,cleared"; source: "elm.text";
+ action: STATE_SET "default" 0.0;
+ target: "clipper";
+ }
+ 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 {
+ signal: "elm,action,show,cursor"; source: "elm";
+ action: ACTION_STOP;
+ target: "cursor_show";
+ target: "cursor_hide";
+ target: "cursor_show_timer";
+ target: "cursor_hide_timer";
+ after: "cursor_show";
+ }
+ 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";
+ ENABLED_TEXTBLOCK_TAGS
+ }
+ style { name: "entry_nowrap_style";
+ base: "font="FN" font_size=10 color=#ffffff style=shadow,bottom shadow_color=#00000080 text_class=entry color_class=entry left_margin=2 right_margin=2";
+ ENABLED_TEXTBLOCK_TAGS
+ }
+ 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";
+ DISABLED_TEXTBLOCK_TAGS
+ }
+ style { name: "entry_nowrap_disabled_style";
+ base: "font="FN" font_size=10 color=#151515 style=shadow,bottom shadow_color=#ffffff19 text_class=entry color_class=entry_disabled left_margin=2 right_margin=2";
+ DISABLED_TEXTBLOCK_TAGS
+ }
+ 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";
+ DISABLED_TEXTBLOCK_TAGS
+ }
+ }
+// 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;
+// 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
+ 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";
+ ENABLED_TEXTBLOCK_TAGS
+ }
+ 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";
+ DISABLED_TEXTBLOCK_TAGS
+ }
+ 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";
+ DISABLED_TEXTBLOCK_TAGS
+ }
+ }
+ 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";
+ ENABLED_TEXTBLOCK_TAGS
+ }
+ 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";
+ DISABLED_TEXTBLOCK_TAGS
+ }
+ 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";
+ DISABLED_TEXTBLOCK_TAGS
+ }
+ }
+ 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_nowrap_style";
+ min: 1 1;
+ ellipsis: -1;
+ align: 0.0 0.0;
+ }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ text { style: "entry_nowrap_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";
+ ENABLED_TEXTBLOCK_TAGS
+ }
+ 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";
+ DISABLED_TEXTBLOCK_TAGS
+ }
+ 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";
+ DISABLED_TEXTBLOCK_TAGS
+ }
+ }
+ 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;
+ ellipsis: -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;
+ ellipsis: -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;
+ ellipsis: -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;
+ ellipsis: -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;
+ align: 0 0;
+ 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: "elm,handler,show"; source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "base";
+ target: "event";
+ }
+ program {
+ signal: "elm,handler,hide"; source: "elm";
+ 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: "elm,handler,show"; source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "base";
+ target: "event";
+ }
+ program {
+ signal: "elm,handler,hide"; source: "elm";
+ 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/default/edc/elm/fileselector.edc b/data/themes/default/edc/elm/fileselector.edc
new file mode 100644
index 0000000..0e1fa50
--- /dev/null
+++ b/data/themes/default/edc/elm/fileselector.edc
@@ -0,0 +1,221 @@
+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.swallow.search"; type: SWALLOW;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1 {
+ to: "elm.swallow.home";
+ relative: 1.0 0.0;
+ offset: 3 0;
+ }
+ rel2 {
+ to_y: "elm.swallow.home";
+ relative: 1.0 1.0;
+ offset: -4 0;
+ }
+ }
+ }
+ 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;
+ scale: 1;
+ description { state: "default" 0.0;
+ align: 0.0 0.5;
+ min: 50 4;
+ rel2 { to_x: "elm.swallow.button";
+ relative: 0.0 1.0;
+ offset: -1 -1;
+ }
+ }
+ }
+ part { name: "elm.swallow.button"; type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ align: 1.0 0.0;
+ fixed: 1 0;
+ min: 40 4;
+ rel1 {
+ relative: 1.0 0.0;
+ offset: -1 0;
+ }
+ }
+ }
+ }
+}
diff --git a/data/themes/default/edc/elm/flipselector.edc b/data/themes/default/edc/elm/flipselector.edc
new file mode 100644
index 0000000..d0c72e0
--- /dev/null
+++ b/data/themes/default/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;
+ ellipsis: -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;
+ ellipsis: -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;
+ ellipsis: -1;
+ align: 0.5 0.5;
+ source: "elm.top";
+ }
+ color: FN_COL_GREY_192;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: FN_COL_GREY_16;
+ }
+ }
+ 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;
+ ellipsis: -1;
+ align: 0.5 0.5;
+ }
+ color: FN_COL_GREY_192;
+ }
+ 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: FN_COL_GREY_16;
+ }
+ }
+ 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/default/edc/elm/focus.edc b/data/themes/default/edc/elm/focus.edc
new file mode 100644
index 0000000..5c06179
--- /dev/null
+++ b/data/themes/default/edc/elm/focus.edc
@@ -0,0 +1,304 @@
+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: RECT;
+ clip_to: "clip";
+ description { state: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "move_down" 0.0;
+ inherit: "default" 0.0;
+ rel1.relative: 0 1;
+ rel2.relative: 1 2;
+ }
+ description { state: "move_up" 0.0;
+ inherit: "default" 0.0;
+ rel1.relative: 0 -1;
+ rel2.relative: 1 0;
+ }
+ description { state: "move_left" 0.0;
+ inherit: "default" 0.0;
+ rel1.relative: -1 0;
+ rel2.relative: 0 1;
+ }
+ description { state: "move_right" 0.0;
+ inherit: "default" 0.0;
+ rel1.relative: 1 0;
+ rel2.relative: 2 1;
+ }
+ }
+ part { name: "clip"; type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ color: 255 255 255 255;
+ rel1.relative: -1 -1;
+ rel2.relative: 2 2;
+ }
+ description { state: "move_down" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 0;
+ }
+ description { state: "move_up" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 0 ;
+ }
+ description { state: "move_left" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 0;
+ }
+ description { state: "move_right" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 0 ;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ }
+ description { state: "invisible" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 0;
+ }
+ }
+ 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 "invisible" 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";
+ }
+ program {
+ signal: "elm,state,anim,stop"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ }
+ program { name: "move_down";
+ signal: "elm,action,focus,move,down";
+ source: "elm";
+ transition: LIN 0.3;
+ action: STATE_SET "move_down" 0.0;
+ target: "base";
+ target: "clip";
+ after: "move_down_end";
+ }
+ program { name: "move_down_end";
+ action: SIGNAL_EMIT "elm,focus,move,down,end" "elm";
+ }
+ program { name: "move_up";
+ signal: "elm,action,focus,move,up";
+ source: "elm";
+ transition: LIN 0.3;
+ action: STATE_SET "move_up" 0.0;
+ target: "base";
+ target: "clip";
+ after: "move_up_end";
+ }
+ program { name: "move_up_end";
+ action: SIGNAL_EMIT "elm,focus,move,up,end" "elm";
+ }
+ program { name: "move_home_from_up";
+ signal: "elm,action,focus,move,home,up";
+ source: "elm";
+ action: STATE_SET "move_up" 0.0;
+ target: "base";
+ target: "clip";
+ after: "move_home_from_up2";
+ }
+ program { name: "move_home_from_up2";
+ action: STATE_SET "default" 0.0;
+ transition: LIN 0.3;
+ target: "base";
+ target: "clip";
+ }
+ program { name: "move_home_from_down";
+ signal: "elm,action,focus,move,home,down";
+ source: "elm";
+ action: STATE_SET "move_down" 0.0;
+ target: "base";
+ target: "clip";
+ after: "move_home_from_down2";
+ }
+ program { name: "move_home_from_down2";
+ action: STATE_SET "default" 0.0;
+ transition: LIN 0.3;
+ target: "base";
+ target: "clip";
+ }
+ program { name: "move_left";
+ signal: "elm,action,focus,move,left";
+ source: "elm";
+ transition: LIN 0.3;
+ action: STATE_SET "move_left" 0.0;
+ target: "base";
+ target: "clip";
+ after: "move_left_end";
+ }
+ program { name: "move_left_end";
+ action: SIGNAL_EMIT "elm,focus,move,left,end" "elm";
+ }
+ program { name: "move_right";
+ signal: "elm,action,focus,move,right";
+ source: "elm";
+ transition: LIN 0.3;
+ action: STATE_SET "move_right" 0.0;
+ target: "base";
+ target: "clip";
+ after: "move_right_end";
+ }
+ program { name: "move_right_end";
+ action: SIGNAL_EMIT "elm,focus,move,right,end" "elm";
+ }
+ program { name: "move_home_from_right";
+ signal: "elm,action,focus,move,home,right";
+ source: "elm";
+ action: STATE_SET "move_right" 0.0;
+ target: "base";
+ target: "clip";
+ after: "move_home_from_right2";
+ }
+ program { name: "move_home_from_right2";
+ action: STATE_SET "default" 0.0;
+ transition: LIN 0.3;
+ target: "base";
+ target: "clip";
+ }
+ program { name: "move_home_from_left";
+ signal: "elm,action,focus,move,home,left";
+ source: "elm";
+ action: STATE_SET "move_left" 0.0;
+ target: "base";
+ target: "clip";
+ after: "move_home_from_left2";
+ }
+ program { name: "move_home_from_left2";
+ action: STATE_SET "default" 0.0;
+ transition: LIN 0.3;
+ target: "base";
+ target: "clip";
+ }
+ }
+}
diff --git a/data/themes/default/edc/elm/frame.edc b/data/themes/default/edc/elm/frame.edc
new file mode 100644
index 0000000..e6ce022
--- /dev/null
+++ b/data/themes/default/edc/elm/frame.edc
@@ -0,0 +1,285 @@
+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: -3 1;
+ rel2.to_x: "edge2";
+ align: 0.0 0.0;
+ color: FN_COL_DISABLE;
+ 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: -7 -7;
+ }
+ }
+ 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: -7 -7;
+ }
+ 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/default/edc/elm/gengrid.edc b/data/themes/default/edc/elm/gengrid.edc
new file mode 100644
index 0000000..bb21ae5
--- /dev/null
+++ b/data/themes/default/edc/elm/gengrid.edc
@@ -0,0 +1,976 @@
+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: "focusraise" "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: FN_COL_DEFAULT;
+ 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: FN_COL_DISABLE;
+ 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: FN_COL_HIGHLIGHT;
+ 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: "focusraise" "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: "focusraise" "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: FN_COL_DEFAULT;
+ 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: FN_COL_DISABLE;
+ 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: FN_COL_HIGHLIGHT;
+ 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: "focusraise" "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: FN_COL_DEFAULT;
+ 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: FN_COL_DISABLE;
+ 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: FN_COL_HIGHLIGHT;
+ 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/default/edc/elm/genlist.edc b/data/themes/default/edc/elm/genlist.edc
new file mode 100644
index 0000000..75b6909
--- /dev/null
+++ b/data/themes/default/edc/elm/genlist.edc
@@ -0,0 +1,5197 @@
+#define ODD(_NAME, _SRC) \
+ group { _NAME; \
+ inherit: _SRC; \
+ parts { \
+ rect { "base"; \
+ desc { "default"; \
+ color: 56 56 56 255; \
+ color_class: "list_item_base_odd"; \
+ } \
+ } \
+ } \
+ }
+#define COMPRESS(_NAME, _SRC) \
+ group { _NAME; \
+ inherit: _SRC; \
+ parts { \
+ text { "elm.text"; \
+ desc { "default"; \
+ text.min: 0 1; \
+ } \
+ desc { "selected"; \
+ text.min: 0 1; \
+ } \
+ desc { "disabled"; \
+ text.min: 0 1; \
+ } \
+ desc { "flip_enabled"; \
+ text.min: 0 1; \
+ } \
+ } \
+ text { "label2"; \
+ desc { "default"; \
+ text.min: 0 1; \
+ } \
+ desc { "selected"; \
+ text.min: 0 1; \
+ } \
+ desc { "disabled"; \
+ text.min: 0 1; \
+ } \
+ desc { "flip_enabled"; \
+ text.min: 0 1; \
+ } \
+ } \
+ text { "label3"; \
+ desc { "default"; \
+ text.min: 0 1; \
+ } \
+ desc { "selected"; \
+ text.min: 0 1; \
+ } \
+ desc { "disabled"; \
+ text.min: 0 1; \
+ } \
+ desc { "flip_enabled"; \
+ text.min: 0 1; \
+ } \
+ } \
+ } \
+ }
+#define COMPRESS_ODD(_NAME, _SRC) \
+ group { name: _NAME; \
+ inherit: _SRC; \
+ parts { \
+ text { "elm.text"; \
+ desc { "default"; \
+ text.min: 0 1; \
+ } \
+ desc { "selected"; \
+ text.min: 0 1; \
+ } \
+ desc { "disabled"; \
+ text.min: 0 1; \
+ } \
+ desc { "flip_enabled"; \
+ text.min: 0 1; \
+ } \
+ } \
+ text { "label2"; \
+ desc { "default"; \
+ text.min: 0 1; \
+ } \
+ desc { "selected"; \
+ text.min: 0 1; \
+ } \
+ desc { "disabled"; \
+ text.min: 0 1; \
+ } \
+ desc { "flip_enabled"; \
+ text.min: 0 1; \
+ } \
+ } \
+ text { "label3"; \
+ desc { "default"; \
+ text.min: 0 1; \
+ } \
+ desc { "selected"; \
+ text.min: 0 1; \
+ } \
+ desc { "disabled"; \
+ text.min: 0 1; \
+ } \
+ desc { "flip_enabled"; \
+ text.min: 0 1; \
+ } \
+ } \
+ rect { "base"; \
+ desc { "default"; \
+ color: 56 56 56 255; \
+ color_class: "list_item_base_odd"; \
+ } \
+ } \
+ } \
+ }
+
+#define TREEPAD 19
+
+group { "elm/genlist/item/group_index/default"; nomouse; program_source: "elm";
+ 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 {
+ image { "shadow_vbar";
+ desc { "default";
+ 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;
+ }
+ }
+ image { "base_vbar";
+ desc { "default";
+ image.normal: "vgrad_med_lighter.png";
+ fill.smooth: 0;
+ min: 5 13;
+ TILED_HORIZ(120)
+ }
+ }
+ image { "bevel_vbar";
+ desc { "default";
+ 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;
+ }
+ }
+
+ text { "elm.text";
+ effect: SHADOW BOTTOM;
+ scale;
+ desc { "default";
+ 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: FN_COL_DEFAULT;
+ color_class: "list_group_item";
+ text { font: FNBD; size: 10;
+ min: 1 1;
+ ellipsis: -1;
+ align: 0.0 0.5;
+ text_class: "list_group_item";
+ }
+ link.base: "elm,state,enabled";
+ }
+ desc { "disabled";
+ inherit: "default";
+ color: FN_COL_DISABLE;
+ color_class: "list_group_item_disabled";
+ link.base: "elm,state,disabled";
+ }
+ }
+ swallow { "elm.swallow.pad"; mouse;
+ desc { "default";
+ fixed: 1 0;
+ align: 0.0 0.5;
+ rel1.offset: 2 2;
+ rel2.relative: 0.0 1.0;
+ rel2.offset: 2 -3;
+ }
+ }
+ swallow { "elm.swallow.icon"; mouse;
+ desc { "default";
+ 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;
+ }
+ }
+ swallow { "elm.swallow.end"; mouse;
+ desc { "default";
+ fixed: 1 0;
+ align: 1.0 0.5;
+ rel1.offset: -3 2;
+ rel1.relative: 1.0 0.0;
+ rel2.offset: -3 -3;
+ }
+ }
+ image { "bar";
+ desc { "default";
+ 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;
+ link.base: "elm,state,enabled";
+ }
+ desc { "disabled";
+ inherit: "default";
+ color: 255 255 255 64;
+ link.base: "elm,state,disabled";
+ }
+ }
+ }
+}
+group { "elm/genlist/item_compress/group_index/default"; nomouse;
+ inherit: "elm/genlist/item/group_index/default";
+ parts {
+ text { "elm.text";
+ desc { "default";
+ text.min: 0 1;
+ }
+ desc { "selected";
+ text.min: 0 1;
+ }
+ desc { "disabled";
+ text.min: 0 1;
+ }
+ desc { "flip_enabled";
+ text.min: 0 1;
+ }
+ }
+ }
+}
+
+group { "genlist_base"; inherit_only: 1; nomouse; program_source: "elm";
+ 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;
+ target_group: "default" "elm.text" "label2" "label3";
+ parts {
+ rect { "event"; mouse;
+ desc { "default";
+ color: 0 0 0 0;
+ link.base: "elm,state,enabled";
+ }
+ desc { "disabled";
+ inherit: "default";
+ hid;
+ link.base: "elm,state,disabled";
+ }
+ }
+ rect { "base";
+ desc { "default";
+ color: 64 64 64 255;
+ color_class: "list_item_base";
+ link.base: "elm,state,even";
+ }
+ desc { "odd";
+ color: 56 56 56 255;
+ color_class: "list_item_base_odd";
+ link.base: "elm,state,odd";
+ }
+ }
+ image { "bevel";
+ desc { "default";
+ image.normal: "bevel_curved_horiz_out.png";
+ image.border: 0 0 2 2;
+ image.middle: 0;
+ fill.smooth: 0;
+ }
+ }
+ image { "sel_shadow";
+ desc { "default";
+ image.normal: "shadow_rounded_horiz.png";
+ image.border: 0 0 9 9;
+ rel1.offset: 0 -4;
+ rel2.offset: -1 5;
+ fill.smooth: 0;
+ link.base: "elm,state,unselected";
+ hid;
+ }
+ desc { "selected";
+ inherit: "default";
+ link.base: "elm,state,selected";
+ vis;
+ }
+ }
+ image { "sel_base";
+ desc { "default";
+ image.normal: "vgrad_med_dark.png";
+ fill.smooth: 0;
+ hid;
+ TILED_HORIZ(120)
+ link.base: "elm,state,unselected";
+ }
+ desc { "selected";
+ inherit: "default";
+ link.base: "elm,state,selected";
+ vis;
+ }
+ }
+ image { "sel_bevel";
+ desc { "default";
+ image.normal: "bevel_horiz_out.png";
+ image.border: 0 0 2 2;
+ image.middle: 0;
+ fill.smooth: 0;
+ link.base: "elm,state,unselected";
+ hid;
+ }
+ desc { "selected";
+ inherit: "default";
+ link.base: "elm,state,selected";
+ vis;
+ }
+ }
+ }
+}
+
+group { "genlist_top"; inherit_only: 1; nomouse; program_source: "elm";
+ images.image: "shine.png" COMP;
+ parts {
+ image { "sel_shine";
+ desc { "default";
+ 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";
+ hid;
+ FIXED_SIZE(69, 5)
+ link.base: "elm,state,unselected";
+ }
+ desc { "selected";
+ inherit: "default";
+ vis;
+ link.base: "elm,state,selected";
+ }
+ }
+ rect { "event_block"; mouse;
+ desc { "default";
+ color: 0 0 0 0;
+ hid;
+ link.base: "elm,state,enabled";
+ }
+ desc { "disabled";
+ inherit: "default";
+ vis;
+ link.base: "elm,state,disabled";
+ }
+ }
+ }
+}
+
+group { "elm/genlist/item/default/default"; nomouse;
+ data.item: "selectraise" "on";
+ data.item: "focusraise" "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";
+ inherit: "genlist_base";
+ parts {
+ //##//
+ text { "elm.text";
+ effect: SHADOW BOTTOM;
+ scale;
+ desc { "default";
+ 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: FN_COL_DEFAULT;
+ color_class: "list_item";
+ text { font: FN; size: 10;
+ min: 1 1;
+ ellipsis: -1;
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ }
+ desc { "selected";
+ inherit: "default";
+ hid;
+ }
+ desc { "disabled";
+ inherit: "default";
+ hid;
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ hid;
+ }
+ }
+ text { "label2";
+ effect: SHADOW BOTTOM;
+ scale;
+ desc { "default";
+ rel1.to: "elm.text";
+ rel2.to: "elm.text";
+ color: FN_COL_DISABLE;
+ color_class: "list_item_disabled";
+ text { font: FN; size: 10;
+ text_source: "elm.text";
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ hid;
+ }
+ desc { "selected";
+ inherit: "default";
+ hid;
+ }
+ desc { "disabled";
+ inherit: "default";
+ vis;
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ hid;
+ }
+ }
+ text { "label3"; inherit: "label2";
+ effect: GLOW;
+ desc { "default";
+ rel1.offset: -2 -3;
+ rel2.offset: -1 1;
+ color: FN_COL_HIGHLIGHT;
+ color_class: "list_item_selected";
+ }
+ desc { "selected";
+ inherit: "default";
+ vis;
+ }
+ desc { "disabled";
+ inherit: "default";
+ hid;
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ hid;
+ }
+ }
+ swallow { "elm.text.flip"; mouse;
+ scale;
+ desc { "default";
+ hid;
+ rel1.to_y: "elm.text";
+ rel2.to_y: "elm.text";
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ vis;
+ }
+ }
+ program {
+ signal: "elm,state,selected";
+ action: STATE_SET "selected";
+ groups: "default";
+ }
+ program {
+ signal: "elm,state,unselected";
+ action: STATE_SET "default";
+ target_groups: "default";
+ }
+ program {
+ signal: "elm,state,disabled";
+ action: STATE_SET "disabled";
+ groups: "default";
+ }
+ program {
+ signal: "elm,state,enabled";
+ action: STATE_SET "default";
+ groups: "default";
+ }
+ program {
+ signal: "elm,state,flip,enabled";
+ action: STATE_SET "flip_enabled";
+ groups: "default";
+ target: "elm.text.flip";
+ }
+ program {
+ signal: "elm,state,flip,disabled";
+ action: STATE_SET "default";
+ groups: "default";
+ target: "elm.text.flip";
+ }
+ //##//
+ swallow { "elm.swallow.pad"; mouse;
+ desc { "default";
+ fixed: 1 0;
+ align: 0.0 0.5;
+ rel1.offset: 2 2;
+ rel2.relative: 0.0 1.0;
+ rel2.offset: 2 -3;
+ }
+ }
+ swallow { "elm.swallow.icon"; mouse;
+ desc { "default";
+ 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;
+ link.base: "elm,state,flip,disabled";
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ hid;
+ link.base: "elm,state,flip,enabled";
+ }
+ }
+ swallow { "elm.swallow.end"; mouse;
+ desc { "default";
+ 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;
+ link.base: "elm,state,flip,disabled";
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ hid;
+ link.base: "elm,state,flip,enabled";
+ }
+ }
+ //##//
+ }
+ inherit: "genlist_top";
+}
+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 { "elm/genlist/item/default_style/default"; nomouse;
+ data.item: "selectraise" "on";
+ data.item: "focusraise" "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 { "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 { "genlist_style_selected";
+ base: "font="FN" font_size=10 align=left valign=0.5 color=#3399ffff style=shadow,bottom shadow_color=#00000080 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 { "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";
+ }
+
+ inherit: "genlist_base";
+ parts {
+
+ //##//
+ textblock { "elm.text";
+ scale;
+ desc { "default";
+ 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;
+ ellipsis: -1;
+ align: 0.0 0.5;
+ text_class: "list_item";
+ style: "genlist_style";
+ }
+ }
+ desc { "selected";
+ inherit: "default";
+ hid;
+ }
+ desc { "disabled";
+ inherit: "default";
+ hid;
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ hid;
+ }
+ }
+ textblock { "label2";
+ scale;
+ desc { "default";
+ 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";
+ }
+ hid;
+ }
+ desc { "selected";
+ inherit: "default";
+ hid;
+ }
+ desc { "disabled";
+ inherit: "default";
+ vis;
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ hid;
+ }
+ }
+ textblock { "label3"; inherit: "label2";
+ desc { "default";
+ color_class: "list_item_selected";
+ text.style: "genlist_style_selected";
+ }
+ desc { "selected";
+ inherit: "default";
+ vis;
+ }
+ desc { "disabled";
+ inherit: "default";
+ hid;
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ hid;
+ }
+ }
+ swallow { "elm.text.flip"; mouse;
+ scale;
+ desc { "default";
+ hid;
+ rel1.to_y: "elm.text";
+ rel2.to_y: "elm.text";
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ vis;
+ }
+ }
+ program {
+ signal: "elm,state,selected";
+ action: STATE_SET "selected";
+ groups: "default";
+ }
+ program {
+ signal: "elm,state,unselected";
+ action: STATE_SET "default";
+ groups: "default";
+ }
+ program {
+ signal: "elm,state,disabled";
+ action: STATE_SET "disabled";
+ groups: "default";
+ }
+ program {
+ signal: "elm,state,enabled";
+ action: STATE_SET "default";
+ groups: "default";
+ }
+ program {
+ signal: "elm,state,flip,enabled";
+ action: STATE_SET "flip_enabled";
+ groups: "default";
+ target: "elm.text.flip";
+ }
+ program {
+ signal: "elm,state,flip,disabled";
+ action: STATE_SET "default";
+ groups: "default";
+ target: "elm.text.flip";
+ }
+ //##//
+ swallow { "elm.swallow.pad"; mouse;
+ desc { "default";
+ fixed: 1 0;
+ align: 0.0 0.5;
+ rel1.offset: 2 2;
+ rel2.relative: 0.0 1.0;
+ rel2.offset: 2 -3;
+ }
+ }
+ swallow { "elm.swallow.icon"; mouse;
+ desc { "default";
+ 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;
+ link.base: "elm,state,flip,disabled";
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ hid;
+ link.base: "elm,state,flip,enabled";
+ }
+ }
+ swallow { "elm.swallow.end"; mouse;
+ desc { "default";
+ 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;
+ link.base: "elm,state,flip,disabled";
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ hid;
+ link.base: "elm,state,flip,enabled";
+ }
+ }
+ //##//
+
+ }
+ inherit: "genlist_top";
+}
+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 { "elm/genlist/item/one_icon/default"; nomouse;
+ data.item: "selectraise" "on";
+ data.item: "focusraise" "on";
+ data.item: "texts" "elm.text";
+ data.item: "contents" "elm.swallow.icon";
+ data.item: "treesize" TREEPAD;
+ data.item: "flips" "elm.text.flip";
+ inherit: "genlist_base";
+ parts {
+
+ //##//
+ text { "elm.text";
+ effect: SHADOW BOTTOM;
+ scale;
+ desc { "default";
+ rel1.offset: 2 3;
+ rel1.relative: 1.0 0.0;
+ rel1.to_x: "elm.swallow.icon";
+ rel2.offset: -3 -3;
+ color: FN_COL_DEFAULT;
+ color_class: "list_item";
+ text { font: FN; size: 10;
+ min: 0 1;
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ }
+ desc { "selected";
+ inherit: "default";
+ hid;
+ }
+ desc { "disabled";
+ inherit: "default";
+ hid;
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ hid;
+ }
+ }
+ text { "label2";
+ effect: SHADOW BOTTOM;
+ scale;
+ desc { "default";
+ rel1.to: "elm.text";
+ rel2.to: "elm.text";
+ color: FN_COL_DISABLE;
+ color_class: "list_item_disabled";
+ text { font: FN; size: 10;
+ text_source: "elm.text";
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ hid;
+ }
+ desc { "selected";
+ inherit: "default";
+ hid;
+ }
+ desc { "disabled";
+ inherit: "default";
+ vis;
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ hid;
+ }
+ }
+ text { "label3"; inherit: "label2";
+ effect: GLOW;
+ desc { "default";
+ rel1.offset: -2 -3;
+ rel2.offset: -1 1;
+ color: FN_COL_HIGHLIGHT;
+ color_class: "list_item_selected";
+ }
+ desc { "selected";
+ inherit: "default";
+ vis;
+ }
+ desc { "disabled";
+ inherit: "default";
+ hid;
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ hid;
+ }
+ }
+ swallow { "elm.text.flip"; mouse;
+ scale;
+ desc { "default";
+ hid;
+ rel1.to_y: "elm.text";
+ rel2.to_y: "elm.text";
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ vis;
+ }
+ }
+ program {
+ signal: "elm,state,selected";
+ action: STATE_SET "selected";
+ groups: "default";
+ }
+ program {
+ signal: "elm,state,unselected";
+ action: STATE_SET "default";
+ target_groups: "default";
+ }
+ program {
+ signal: "elm,state,disabled";
+ action: STATE_SET "disabled";
+ groups: "default";
+ }
+ program {
+ signal: "elm,state,enabled";
+ action: STATE_SET "default";
+ target_groups: "default";
+ }
+ program {
+ signal: "elm,state,flip,enabled";
+ action: STATE_SET "flip_enabled";
+ groups: "default";
+ target: "elm.text.flip";
+ }
+ program {
+ signal: "elm,state,flip,disabled";
+ action: STATE_SET "default";
+ target_groups: "default";
+ target: "elm.text.flip";
+ }
+ //##//
+ swallow { "elm.swallow.pad"; mouse;
+ desc { "default";
+ fixed: 1 0;
+ align: 0.0 0.5;
+ rel1.offset: 2 2;
+ rel2.relative: 0.0 1.0;
+ rel2.offset: 2 -3;
+ }
+ }
+ swallow { "elm.swallow.icon"; mouse;
+ desc { "default";
+ 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;
+ link.base: "elm,state,flip,disabled";
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ hid;
+ link.base: "elm,state,flip,enabled";
+ }
+ }
+ //##//
+
+ }
+ inherit: "genlist_top";
+}
+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 { "elm/genlist/item/end_icon/default"; nomouse;
+ data.item: "selectraise" "on";
+ data.item: "focusraise" "on";
+ data.item: "texts" "elm.text";
+ data.item: "contents" "elm.swallow.icon";
+ data.item: "treesize" TREEPAD;
+ data.item: "flips" "elm.text.flip";
+ inherit: "genlist_base";
+ parts {
+
+ //##//
+ text { "elm.text";
+ effect: SHADOW BOTTOM;
+ scale;
+ desc { "default";
+ 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: FN_COL_DEFAULT;
+ color_class: "list_item";
+ text { font: FN; size: 10;
+ min: 1 1;
+ ellipsis: -1;
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ }
+ desc { "selected";
+ inherit: "default";
+ hid;
+ }
+ desc { "disabled";
+ inherit: "default";
+ hid;
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ hid;
+ }
+ }
+ text { "label2";
+ effect: SHADOW BOTTOM;
+ scale;
+ desc { "default";
+ rel1.to: "elm.text";
+ rel2.to: "elm.text";
+ color: FN_COL_DISABLE;
+ color_class: "list_item_disabled";
+ text { font: FN; size: 10;
+ text_source: "elm.text";
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ hid;
+ }
+ desc { "selected";
+ inherit: "default";
+ hid;
+ }
+ desc { "disabled";
+ inherit: "default";
+ vis;
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ hid;
+ }
+ }
+ text { "label3";
+ effect: GLOW;
+ scale;
+ desc { "default";
+ rel1.offset: -2 -3;
+ rel1.to: "elm.text";
+ rel2.offset: -1 1;
+ rel2.to: "elm.text";
+ color: FN_COL_HIGHLIGHT;
+ color_class: "list_item_selected";
+ text { font: FN; size: 10;
+ text_source: "elm.text";
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ hid;
+ }
+ desc { "selected";
+ inherit: "default";
+ vis;
+ }
+ desc { "disabled";
+ inherit: "default";
+ hid;
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ hid;
+ }
+ }
+ swallow { "elm.text.flip"; mouse;
+ scale;
+ desc { "default";
+ hid;
+ rel1.to_y: "elm.text";
+ rel2.to_y: "elm.text";
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ vis;
+ }
+ }
+ program {
+ signal: "elm,state,selected";
+ action: STATE_SET "selected";
+ groups: "default";
+ }
+ program {
+ signal: "elm,state,unselected";
+ action: STATE_SET "default";
+ groups: "default";
+ }
+ program {
+ signal: "elm,state,disabled";
+ action: STATE_SET "disabled";
+ groups: "default";
+ }
+ program {
+ signal: "elm,state,enabled";
+ action: STATE_SET "default";
+ groups: "default";
+ }
+ program {
+ signal: "elm,state,flip,enabled";
+ action: STATE_SET "flip_enabled";
+ groups: "default";
+ target: "elm.text.flip";
+ }
+ program {
+ signal: "elm,state,flip,disabled";
+ action: STATE_SET "default";
+ groups: "default";
+ target: "elm.text.flip";
+ }
+ //##//
+ swallow { "elm.swallow.pad"; mouse;
+ desc { "default";
+ fixed: 1 0;
+ align: 0.0 0.5;
+ rel1.offset: 2 2;
+ rel2.relative: 0.0 1.0;
+ rel2.offset: 2 -3;
+ }
+ }
+ swallow { "elm.swallow.icon"; mouse;
+ desc { "default";
+ 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;
+ link.base: "elm,state,flip,disabled";
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ hid;
+ link.base: "elm,state,flip,enabled";
+ }
+ }
+ //##//
+
+ }
+ inherit: "genlist_top";
+}
+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 { "elm/genlist/item/no_icon/default"; nomouse;
+ data.item: "selectraise" "on";
+ data.item: "focusraise" "on";
+ data.item: "texts" "elm.text";
+ data.item: "treesize" TREEPAD;
+ data.item: "flips" "elm.text.flip";
+ inherit: "genlist_base";
+ parts {
+
+ //##//
+ text { "elm.text";
+ effect: SHADOW BOTTOM;
+ scale;
+ desc { "default";
+ rel1.offset: 2 3;
+ rel1.relative: 1.0 0.0;
+ rel1.to_x: "elm.swallow.pad";
+ rel2.offset: -3 -3;
+ color: FN_COL_DEFAULT;
+ color_class: "list_item";
+ text { font: FN; size: 10;
+ min: 1 1;
+ ellipsis: -1;
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ }
+ desc { "selected";
+ inherit: "default";
+ hid;
+ }
+ desc { "disabled";
+ inherit: "default";
+ hid;
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ hid;
+ }
+ }
+ text { "label2";
+ effect: SHADOW BOTTOM;
+ scale;
+ desc { "default";
+ rel1.to: "elm.text";
+ rel2.to: "elm.text";
+ color: FN_COL_DISABLE;
+ color_class: "list_item_disabled";
+ text { font: FN; size: 10;
+ text_source: "elm.text";
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ hid;
+ }
+ desc { "selected";
+ inherit: "default";
+ hid;
+ }
+ desc { "disabled";
+ inherit: "default";
+ vis;
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ hid;
+ }
+ }
+ text { "label3";
+ effect: GLOW;
+ scale;
+ desc { "default";
+ rel1.offset: -2 -3;
+ rel1.to: "elm.text";
+ rel2.offset: -1 1;
+ rel2.to: "elm.text";
+ color: FN_COL_HIGHLIGHT;
+ color_class: "list_item_selected";
+ text { font: FN; size: 10;
+ text_source: "elm.text";
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ hid;
+ }
+ desc { "selected";
+ inherit: "default";
+ vis;
+ }
+ desc { "disabled";
+ inherit: "default";
+ hid;
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ hid;
+ }
+ }
+ swallow { "elm.text.flip"; mouse;
+ scale;
+ desc { "default";
+ hid;
+ rel1.to_y: "elm.text";
+ rel2.to_y: "elm.text";
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ vis;
+ }
+ }
+ program {
+ signal: "elm,state,selected";
+ action: STATE_SET "selected";
+ groups: "default";
+ }
+ program {
+ signal: "elm,state,unselected";
+ action: STATE_SET "default";
+ groups: "default";
+ }
+ program {
+ signal: "elm,state,disabled";
+ action: STATE_SET "disabled";
+ groups: "default";
+ }
+ program {
+ signal: "elm,state,enabled";
+ action: STATE_SET "default";
+ groups: "default";
+ }
+ program {
+ signal: "elm,state,flip,enabled";
+ action: STATE_SET "flip_enabled";
+ groups: "default";
+ target: "elm.text.flip";
+ }
+ program {
+ signal: "elm,state,flip,disabled";
+ action: STATE_SET "default";
+ groups: "default";
+ target: "elm.text.flip";
+ }
+ //##//
+ swallow { "elm.swallow.pad"; mouse;
+ desc { "default";
+ fixed: 1 0;
+ align: 0.0 0.5;
+ rel1.offset: 2 2;
+ rel2.relative: 0.0 1.0;
+ rel2.offset: 2 -3;
+ }
+ }
+ //##//
+
+ }
+ inherit: "genlist_top";
+}
+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 { "elm/genlist/item/full/default"; nomouse;
+ data.item: "selectraise" "on";
+ data.item: "focusraise" "on";
+ data.item: "contents" "elm.swallow.content";
+ data.item: "treesize" TREEPAD;
+ data.item: "flips" "elm.text.flip";
+ inherit: "genlist_base";
+ parts {
+
+ //##//
+ swallow { "elm.swallow.content"; mouse;
+ scale;
+ desc { "default";
+ min: 19 19;
+ rel1.offset: -1 2;
+ rel1.relative: 1.0 0.0;
+ rel1.to_x: "elm.swallow.pad";
+ rel2.offset: -3 -3;
+ }
+ }
+ //##//
+ swallow { "elm.swallow.pad"; mouse;
+ desc { "default";
+ fixed: 1 0;
+ align: 0.0 0.5;
+ rel1.offset: 2 2;
+ rel2.relative: 0.0 1.0;
+ rel2.offset: 2 -3;
+ }
+ }
+ //##//
+
+ }
+ inherit: "genlist_top";
+}
+ODD("elm/genlist/item_odd/full/default", "elm/genlist/item/full/default")
+group { "elm/genlist/item_compress/full/default";
+ inherit: "elm/genlist/item/full/default";
+}
+group { "elm/genlist/item_compress_odd/full/default";
+ inherit: "elm/genlist/item_odd/full/default";
+}
+
+group { "genlist_arrow"; inherit_only: 1; program_source: "elm";
+ 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;
+
+ parts {
+ image { "arrow_img_l"; insert_after: "sel_bevel";
+ clip_to: "arrow_clip_l";
+ scale;
+ ignore_flags: ON_HOLD;
+ desc { "default";
+ fixed: 1 1;
+ min: 15 15;
+ max: 15 15;
+ rel1.to: "arrow";
+ rel2.to: "arrow";
+ image.normal: "sym_right_light_normal.png";
+ }
+ desc { "selected";
+ inherit: "default";
+ image.normal: "sym_right_glow_normal.png";
+ }
+ desc { "disabled";
+ inherit: "default";
+ image.normal: "sym_right_dark_normal.png";
+ }
+ desc { "default" 1.0;
+ inherit: "default";
+ image.normal: "sym_down_light_normal.png";
+ }
+ desc { "selected" 1.0;
+ inherit: "default";
+ image.normal: "sym_down_glow_normal.png";
+ }
+ desc { "disabled" 1.0;
+ inherit: "default";
+ image.normal: "sym_down_dark_normal.png";
+ }
+ }
+ image { "arrow_img_r";
+ clip_to: "arrow_clip_r";
+ scale;
+ ignore_flags: ON_HOLD;
+ desc { "default";
+ fixed: 1 1;
+ min: 15 15;
+ max: 15 15;
+ rel1.to: "arrow";
+ rel2.to: "arrow";
+ image.normal: "sym_left_light_normal.png";
+ }
+ desc { "selected";
+ inherit: "default";
+ image.normal: "sym_left_glow_normal.png";
+ }
+ desc { "disabled";
+ inherit: "default";
+ image.normal: "sym_left_dark_normal.png";
+ }
+ desc { "default" 1.0;
+ inherit: "default";
+ image.normal: "sym_down_light_normal.png";
+ }
+ desc { "selected" 1.0;
+ inherit: "default";
+ image.normal: "sym_down_glow_normal.png";
+ }
+ desc { "disabled" 1.0;
+ inherit: "default";
+ image.normal: "sym_down_dark_normal.png";
+ }
+ }
+ rect { "arrow"; insert_before: "sel_shine"; mouse;
+ desc { "default";
+ 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;
+ }
+ }
+ rect { "arrow_clip_l";
+ desc { "default";
+ rel1.to: "arrow_img_l";
+ rel2.to: "arrow_img_l";
+ vis;
+ link.base: "edje,state,ltr" "edje";
+ }
+ desc { "rtl";
+ hid;
+ link.base: "edje,state,rtl" "edje";
+ }
+ }
+ rect { "arrow_clip_r";
+ desc { "default";
+ rel1.to: "arrow_img_r";
+ rel2.to: "arrow_img_r";
+ hid;
+ link.base: "edje,state,ltr" "edje";
+ }
+ desc { "rtl";
+ vis;
+ link.base: "edje,state,rtl" "edje";
+ }
+ }
+ program {
+ signal: "mouse,up,1"; source: "arrow";
+ action: SIGNAL_EMIT "elm,action,expand,toggle" "elm";
+ }
+ program { "arr1";
+ signal: "elm,state,expanded";
+ 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 { "arr2";
+ signal: "elm,state,contracted";
+ 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 { "arr3";
+ signal: "elm,state,selected";
+ 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 { "arr4";
+ signal: "elm,state,unselected";
+ 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 { "arr5";
+ signal: "elm,state,enabled";
+ 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 { "arr6";
+ signal: "elm,state,disabled";
+ 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);
+ }
+ }
+ }
+}
+
+/////////////////////////////////////////////////////////////////////////////
+//-- tree
+//-- tree_odd
+//-- tree_compress
+//-- tree_compress_odd
+group { "elm/genlist/tree/default/default"; nomouse;
+ 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";
+ parts {
+ swallow { "elm.swallow.icon";
+ desc { "default";
+ rel1.to_x: "arrow";
+ rel1.offset: 1 2;
+ rel2.to_x: "arrow";
+ rel2.offset: 1 -3;
+ }
+ desc { "flip_enabled";
+ rel1.to_x: "arrow";
+ rel1.offset: 1 2;
+ rel2.to_x: "arrow";
+ rel2.offset: 1 -3;
+ }
+ }
+ }
+ inherit: "genlist_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 { "elm/genlist/tree/default_style/default";
+ inherit: "elm/genlist/item/default_style/default";
+ parts {
+ swallow { "elm.swallow.icon";
+ desc { "default";
+ rel1.to_x: "arrow";
+ rel1.offset: 1 2;
+ rel2.to_x: "arrow";
+ rel2.offset: 1 -3;
+ }
+ desc { "flip_enabled";
+ rel1.to_x: "arrow";
+ rel1.offset: 1 2;
+ rel2.to_x: "arrow";
+ rel2.offset: 1 -3;
+ }
+ }
+ }
+ inherit: "genlist_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 { "elm/genlist/tree/one_icon/default";
+ inherit: "elm/genlist/item/one_icon/default";
+ parts {
+ swallow { "elm.swallow.icon";
+ desc { "default";
+ rel1.to_x: "arrow";
+ rel1.offset: 1 2;
+ rel2.to_x: "arrow";
+ rel2.offset: 1 -3;
+ }
+ desc { "flip_enabled";
+ rel1.to_x: "arrow";
+ rel1.offset: 1 2;
+ rel2.to_x: "arrow";
+ rel2.offset: 1 -3;
+ }
+ }
+ }
+ inherit: "genlist_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 { "elm/genlist/tree/end_icon/default";
+ inherit: "elm/genlist/item/end_icon/default";
+ parts {
+ text { "elm.text";
+ desc { "default";
+ rel1.to_x: "arrow";
+ rel1.offset: 1 2;
+ }
+ desc { "selected";
+ rel1.to_x: "arrow";
+ rel1.offset: 1 2;
+ }
+ desc { "disabled";
+ rel1.to_x: "arrow";
+ rel1.offset: 1 2;
+ }
+ desc { "flip_enabled";
+ rel1.to_x: "arrow";
+ rel1.offset: 1 2;
+ }
+ }
+ }
+ inherit: "genlist_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 { "elm/genlist/tree/no_icon/default";
+ inherit: "elm/genlist/item/no_icon/default";
+ parts {
+ text { "elm.text";
+ desc { "default";
+ rel1.to_x: "arrow";
+ rel1.offset: 1 2;
+ }
+ desc { "selected";
+ rel1.to_x: "arrow";
+ rel1.offset: 1 2;
+ }
+ desc { "disabled";
+ rel1.to_x: "arrow";
+ rel1.offset: 1 2;
+ }
+ desc { "flip_enabled";
+ rel1.to_x: "arrow";
+ rel1.offset: 1 2;
+ }
+ }
+ }
+ inherit: "genlist_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 { "elm/genlist/tree/full/default";
+ inherit: "elm/genlist/item/full/default";
+ parts {
+ swallow { "elm.swallow.content";
+ desc { "default";
+ rel1.to_x: "arrow";
+ rel1.offset: 1 2;
+ }
+ desc { "selected";
+ rel1.to_x: "arrow";
+ rel1.offset: 1 2;
+ }
+ desc { "disabled";
+ rel1.to_x: "arrow";
+ rel1.offset: 1 2;
+ }
+ desc { "flip_enabled";
+ rel1.to_x: "arrow";
+ rel1.offset: 1 2;
+ }
+ }
+ }
+ inherit: "genlist_arrow";
+}
+ODD("elm/genlist/tree_odd/full/default", "elm/genlist/tree/full/default")
+group { "elm/genlist/tree_compress/full/default";
+ inherit: "elm/genlist/tree/full/default";
+}
+group { "elm/genlist/tree_compress_odd/full/default";
+ inherit: "elm/genlist/tree_odd/full/default";
+}
+
+
+group { "elm/genlist/tree/tree_effect/default"; nomouse;
+ data.item: "selectraise" "on";
+ data.item: "focusraise" "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;
+ program_source: "elm";
+ 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";
+ rect { "point"; mouse;
+ scale;
+ desc { "default";
+ color: 0 0 0 0;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 1.0 0.0;
+ }
+ }
+ rect { "event"; mouse;
+ desc { color: 0 0 0 0; }
+ }
+ group { "group"; mouse;
+ source: "elm/genlist/tree/default/default";
+ desc { "default";
+ link.base: "elm,state,show";
+ }
+ desc { "hide";
+// hid;
+ link.base: "elm,state,hide";
+ }
+ desc { "map_transition";
+ color: 50 50 50 255;
+ map {
+ perspective: "point";
+ on: 1;
+ smooth: 1;
+ perspective_on: 1;
+ backface_cull: 1;
+ rotation {
+ center: "point";
+ x: -90;
+ y: 0;
+ z: 0;
+ }
+ }
+ link { base: "elm,action,flip_item";
+ after: "rot2";
+ }
+ }
+ desc { "map_rotate";
+ inherit: "map_transition";
+ map.rotation.x: 0;
+ link { base: "elm,state,contract_flip";
+ after: "rotb2";
+ }
+ }
+ }
+ }
+ programs {
+ program { "rot2";
+ action: STATE_SET "map_rotate";
+ transition: LINEAR 0.2;
+ target: "group";
+ after: "rot3";
+ }
+ program { "rot3";
+ action: STATE_SET "default";
+ target: "group";
+ }
+ program { "rotb2";
+ action: STATE_SET "map_transition";
+ transition: LINEAR 0.5;
+ target: "group";
+ after: "rotb3";
+ }
+ program { "rotb3";
+ action: STATE_SET "hide";
+ target: "group";
+ }
+ program {
+ signal: "mouse,up,1";
+ source: "group:arrow";
+ action: SIGNAL_EMIT "elm,action,expand,toggle" "elm";
+ }
+ }
+}
+
+group { "elm/genlist/item/tree_effect/default";
+ inherit: "elm/genlist/tree/tree_effect/default";
+ parts {
+ group { "group";
+ source: "elm/genlist/item/default/default";
+ }
+ }
+}
+
+group { "elm/genlist/item/icon_top_text_bottom/default"; nomouse;
+ data.item: "selectraise" "on";
+ data.item: "focusraise" "on";
+ data.item: "texts" "elm.text";
+ data.item: "contents" "elm.swallow.icon";
+ data.item: "treesize" TREEPAD;
+ data.item: "flips" "elm.text.flip";
+ inherit: "genlist_base";
+ parts {
+
+ //##//
+ text { "elm.text";
+ effect: SHADOW BOTTOM;
+ scale;
+ desc { "default";
+ 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: FN_COL_DEFAULT;
+ color_class: "list_item";
+ text { font: FN; size: 10;
+ min: 1 1;
+ ellipsis: -1;
+ align: 0.5 0.5;
+ text_class: "list_item";
+ }
+ }
+ desc { "selected";
+ inherit: "default";
+ hid;
+ }
+ desc { "disabled";
+ inherit: "default";
+ hid;
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ hid;
+ }
+ }
+ text { "label2";
+ effect: SHADOW BOTTOM;
+ scale;
+ desc { "default";
+ rel1.to: "elm.text";
+ rel2.to: "elm.text";
+ color: FN_COL_DISABLE;
+ color_class: "list_item_disabled";
+ text { font: FN; size: 10;
+ text_source: "elm.text";
+ align: 0.5 0.5;
+ text_class: "list_item";
+ }
+ hid;
+ }
+ desc { "selected";
+ inherit: "default";
+ hid;
+ }
+ desc { "disabled";
+ inherit: "default";
+ vis;
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ hid;
+ }
+ }
+ text { "label3";
+ effect: GLOW;
+ scale;
+ desc { "default";
+ rel1.offset: 0 -3;
+ rel1.to: "elm.text";
+ rel2.offset: -1 1;
+ rel2.to: "elm.text";
+ color: FN_COL_HIGHLIGHT;
+ color_class: "list_item_selected";
+ text { font: FN; size: 10;
+ text_source: "elm.text";
+ align: 0.5 0.5;
+ text_class: "list_item";
+ }
+ hid;
+ }
+ desc { "selected";
+ inherit: "default";
+ vis;
+ }
+ desc { "disabled";
+ inherit: "default";
+ hid;
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ hid;
+ }
+ }
+ swallow { "elm.text.flip"; mouse;
+ scale;
+ desc { "default";
+ hid;
+ rel1.to_y: "elm.text";
+ rel2.to_y: "elm.text";
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ vis;
+ }
+ }
+ program {
+ signal: "elm,state,selected";
+ action: STATE_SET "selected";
+ groups: "default";
+ }
+ program {
+ signal: "elm,state,unselected";
+ action: STATE_SET "default";
+ groups: "default";
+ }
+ program {
+ signal: "elm,state,disabled";
+ action: STATE_SET "disabled";
+ groups: "default";
+ }
+ program {
+ signal: "elm,state,enabled";
+ action: STATE_SET "default";
+ groups: "default";
+ }
+ program {
+ signal: "elm,state,flip,enabled";
+ action: STATE_SET "flip_enabled";
+ groups: "default";
+ target: "elm.text.flip";
+ }
+ program {
+ signal: "elm,state,flip,disabled";
+ action: STATE_SET "default";
+ groups: "default";
+ target: "elm.text.flip";
+ }
+ //##//
+ text { "sizer.content";
+ scale;
+ desc { "default";
+ 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;
+ ellipsis: -1;
+ align: 0.5 0.5;
+ text_class: "list_item";
+ text: "M";
+ }
+ hid;
+ }
+ }
+ swallow { "elm.swallow.pad"; mouse;
+ desc { "default";
+ fixed: 1 0;
+ align: 0.0 0.5;
+ rel1.offset: 2 2;
+ rel2.relative: 0.0 1.0;
+ rel2.offset: 2 -3;
+ }
+ }
+ swallow { "elm.swallow.icon"; mouse;
+ desc { "default";
+ fixed: 1 1;
+ aspect: 1.0 1.0;
+ rel1.to: "sizer.content";
+ rel2.to: "sizer.content";
+ link.base: "elm,state,flip,disabled";
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ hid;
+ link.base: "elm,state,flip,enabled";
+ }
+ }
+ //##//
+
+ }
+ inherit: "genlist_top";
+}
+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 { "elm/genlist/tree/icon_top_text_bottom/default";
+ inherit: "elm/genlist/item/icon_top_text_bottom/default";
+ parts {
+ image { "sizer.content";
+ desc { "default";
+ rel1.to_x: "arrow";
+ rel1.offset: 1 2;
+ }
+ }
+ text { "elm.text";
+ desc { "default";
+ rel1.to_x: "arrow";
+ rel1.offset: 1 2;
+ }
+ desc { "flip_enabled";
+ rel1.to_x: "arrow";
+ rel1.offset: 1 2;
+ }
+ }
+ }
+ inherit: "genlist_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 { \
+ text { "elm.text"; \
+ desc { "default"; \
+ text.min: 0 1; \
+ } \
+ desc { "selected"; \
+ text.min: 0 1; \
+ } \
+ desc { "disabled"; \
+ text.min: 0 1; \
+ } \
+ desc { "flip_enabled"; \
+ text.min: 0 1; \
+ } \
+ } \
+ text { "label2"; \
+ desc { "default"; \
+ text.min: 0 1; \
+ } \
+ desc { "selected"; \
+ text.min: 0 1; \
+ } \
+ desc { "disabled"; \
+ text.min: 0 1; \
+ } \
+ desc { "flip_enabled"; \
+ text.min: 0 1; \
+ } \
+ } \
+ text { "label3"; \
+ desc { "default"; \
+ text.min: 0 1; \
+ } \
+ desc { "selected"; \
+ text.min: 0 1; \
+ } \
+ desc { "disabled"; \
+ text.min: 0 1; \
+ } \
+ desc { "flip_enabled"; \
+ text.min: 0 1; \
+ } \
+ } \
+ text { "elm.text.sub"; \
+ desc { "default"; \
+ text.min: 0 1; \
+ } \
+ desc { "selected"; \
+ text.min: 0 1; \
+ } \
+ desc { "disabled"; \
+ text.min: 0 1; \
+ } \
+ desc { "flip_enabled"; \
+ text.min: 0 1; \
+ } \
+ } \
+ text { "label4"; \
+ desc { "default"; \
+ text.min: 0 1; \
+ } \
+ desc { "selected"; \
+ text.min: 0 1; \
+ } \
+ desc { "disabled"; \
+ text.min: 0 1; \
+ } \
+ desc { "flip_enabled"; \
+ text.min: 0 1; \
+ } \
+ } \
+ text { "label5"; \
+ desc { "default"; \
+ fixed: 0 1; \
+ text.min: 0 1; \
+ } \
+ desc { "selected"; \
+ text.min: 0 1; \
+ } \
+ desc { "disabled"; \
+ text.min: 0 1; \
+ } \
+ desc { "flip_enabled"; \
+ text.min: 0 1; \
+ } \
+ } \
+ } \
+ }
+#define COMPRESS_SUB_ODD(_NAME, _SRC) \
+ group { name: _NAME; \
+ inherit: _SRC; \
+ parts { \
+ text { "elm.text"; \
+ desc { "default"; \
+ text.min: 0 1; \
+ } \
+ desc { "selected"; \
+ text.min: 0 1; \
+ } \
+ desc { "disabled"; \
+ text.min: 0 1; \
+ } \
+ desc { "flip_enabled"; \
+ text.min: 0 1; \
+ } \
+ } \
+ text { "label2"; \
+ desc { "default"; \
+ text.min: 0 1; \
+ } \
+ desc { "selected"; \
+ text.min: 0 1; \
+ } \
+ desc { "disabled"; \
+ text.min: 0 1; \
+ } \
+ desc { "flip_enabled"; \
+ text.min: 0 1; \
+ } \
+ } \
+ text { "label3"; \
+ desc { "default"; \
+ text.min: 0 1; \
+ } \
+ desc { "selected"; \
+ text.min: 0 1; \
+ } \
+ desc { "disabled"; \
+ text.min: 0 1; \
+ } \
+ desc { "flip_enabled"; \
+ text.min: 0 1; \
+ } \
+ } \
+ text { "elm.text.sub"; \
+ desc { "default"; \
+ text.min: 0 1; \
+ } \
+ desc { "selected"; \
+ text.min: 0 1; \
+ } \
+ desc { "disabled"; \
+ text.min: 0 1; \
+ } \
+ desc { "flip_enabled"; \
+ text.min: 0 1; \
+ } \
+ } \
+ text { "label4"; \
+ desc { "default"; \
+ text.min: 0 1; \
+ } \
+ desc { "selected"; \
+ text.min: 0 1; \
+ } \
+ desc { "disabled"; \
+ text.min: 0 1; \
+ } \
+ desc { "flip_enabled"; \
+ text.min: 0 1; \
+ } \
+ } \
+ text { "label5"; \
+ desc { "default"; \
+ text.min: 0 1; \
+ } \
+ desc { "selected"; \
+ text.min: 0 1; \
+ } \
+ desc { "disabled"; \
+ text.min: 0 1; \
+ } \
+ desc { "flip_enabled"; \
+ text.min: 0 1; \
+ } \
+ } \
+ rect { "base"; \
+ desc { "default"; \
+ color: 56 56 56 255; \
+ color_class: "list_item_base_odd"; \
+ } \
+ } \
+ } \
+ }
+group { "elm/genlist/item/double_label/default"; nomouse;
+ data.item: "selectraise" "on";
+ data.item: "focusraise" "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";
+ inherit: "genlist_base";
+ parts {
+
+ //##//
+ text { "elm.text";
+ effect: SHADOW BOTTOM;
+ scale;
+ desc { "default";
+ 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: FN_COL_DEFAULT;
+ color_class: "list_item";
+ align: 0.0 0.0;
+ text { font: FN; size: 10;
+ min: 1 1;
+ ellipsis: -1;
+ align: 0.0 0.0;
+ text_class: "list_item";
+ }
+ }
+ desc { "selected";
+ inherit: "default";
+ hid;
+ }
+ desc { "disabled";
+ inherit: "default";
+ hid;
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ hid;
+ }
+ }
+ text { "label2";
+ effect: SHADOW BOTTOM;
+ scale;
+ desc { "default";
+ rel1.to: "elm.text";
+ rel2.to: "elm.text";
+ color: FN_COL_DISABLE;
+ color_class: "list_item_disabled";
+ text { font: FN; size: 10;
+ text_source: "elm.text";
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ hid;
+ }
+ desc { "selected";
+ inherit: "default";
+ hid;
+ }
+ desc { "disabled";
+ inherit: "default";
+ vis;
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ hid;
+ }
+ }
+ text { "label3";
+ effect: GLOW;
+ scale;
+ desc { "default";
+ rel1.offset: -2 -3;
+ rel1.to: "elm.text";
+ rel2.offset: -1 1;
+ rel2.to: "elm.text";
+ color: FN_COL_HIGHLIGHT;
+ color_class: "list_item_selected";
+ text { font: FN; size: 10;
+ text_source: "elm.text";
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ hid;
+ }
+ desc { "selected";
+ inherit: "default";
+ vis;
+ }
+ desc { "disabled";
+ inherit: "default";
+ hid;
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ hid;
+ }
+ }
+ swallow { "elm.text.flip"; mouse;
+ scale;
+ desc { "default";
+ hid;
+ rel1.to_y: "elm.text";
+ rel2.to_y: "elm.text";
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ vis;
+ }
+ }
+ text { "elm.text.sub";
+ effect: SHADOW BOTTOM;
+ scale;
+ desc { "default";
+ 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: FN_COL_DEFAULT;
+ color_class: "list_item_sub";
+ align: 0.0 1.0;
+ text { font: FN; size: 8;
+ min: 1 1;
+ ellipsis: -1;
+ align: 0.0 1.0;
+ text_class: "list_item_sub";
+ }
+ }
+ desc { "selected";
+ inherit: "default";
+ hid;
+ }
+ desc { "disabled";
+ inherit: "default";
+ hid;
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ hid;
+ }
+ }
+ text { "label4";
+ effect: SHADOW BOTTOM;
+ scale;
+ desc { "default";
+ rel1.to: "elm.text.sub";
+ rel2.to: "elm.text.sub";
+ color: FN_COL_DISABLE;
+ 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";
+ }
+ hid;
+ }
+ desc { "selected";
+ inherit: "default";
+ hid;
+ }
+ desc { "disabled";
+ inherit: "default";
+ vis;
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ hid;
+ }
+ }
+ text { "label5";
+ effect: GLOW;
+ scale;
+ desc { "default";
+ rel1.offset: -2 -4;
+ rel1.to: "elm.text.sub";
+ rel2.offset: -1 0;
+ rel2.to: "elm.text.sub";
+ color: FN_COL_HIGHLIGHT;
+ 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";
+ }
+ hid;
+ }
+ desc { "selected";
+ inherit: "default";
+ vis;
+ }
+ desc { "disabled";
+ inherit: "default";
+ hid;
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ hid;
+ }
+ }
+ target_group: "subgroup" "elm.text.sub" "label4" "label5";
+ program {
+ signal: "elm,state,selected";
+ action: STATE_SET "selected";
+ groups: "default" "subgroup";
+ }
+ program {
+ signal: "elm,state,unselected";
+ action: STATE_SET "default";
+ groups: "default" "subgroup";
+ }
+ program {
+ signal: "elm,state,disabled";
+ action: STATE_SET "disabled";
+ groups: "default" "subgroup";
+ }
+ program {
+ signal: "elm,state,enabled";
+ action: STATE_SET "default";
+ groups: "default" "subgroup";
+ }
+ program {
+ signal: "elm,state,flip,enabled";
+ action: STATE_SET "flip_enabled";
+ groups: "default" "subgroup";
+ target: "elm.text.flip";
+ }
+ program {
+ signal: "elm,state,flip,disabled";
+ action: STATE_SET "default";
+ groups: "default" "subgroup";
+ target: "elm.text.flip";
+ }
+ //##//
+ swallow { "elm.swallow.pad"; mouse;
+ desc { "default";
+ fixed: 1 0;
+ align: 0.0 0.5;
+ rel1.offset: 2 2;
+ rel2.relative: 0.0 1.0;
+ rel2.offset: 2 -3;
+ }
+ }
+ swallow { "elm.swallow.icon"; mouse;
+ desc { "default";
+ 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;
+ link.base: "elm,state,flip,disabled";
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ hid;
+ link.base: "elm,state,flip,enabled";
+ }
+ }
+ swallow { "elm.swallow.end"; mouse;
+ desc { "default";
+ 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;
+ link.base: "elm,state,flip,disabled";
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ hid;
+ link.base: "elm,state,flip,enabled";
+ }
+ }
+ //##//
+
+ }
+ inherit: "genlist_top";
+}
+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 { "elm/genlist/tree/double_label/default";
+ inherit: "elm/genlist/item/double_label/default";
+ parts {
+ swallow { "elm.swallow.icon";
+ desc { "default";
+ rel1.to_x: "arrow";
+ rel1.offset: 1 2;
+ rel2.to_x: "arrow";
+ rel2.offset: 1 -3;
+ }
+ desc { "flip_enabled";
+ rel1.to_x: "arrow";
+ rel1.offset: 1 2;
+ rel2.to_x: "arrow";
+ rel2.offset: 1 -3;
+ }
+ }
+ }
+ inherit: "genlist_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 { \
+ text { "elm.text"; \
+ desc { "default"; \
+ text.min: 0 1; \
+ } \
+ desc { "selected"; \
+ text.min: 0 1; \
+ } \
+ desc { "disabled"; \
+ text.min: 0 1; \
+ } \
+ desc { "flip_enabled"; \
+ text.min: 0 1; \
+ } \
+ } \
+ text { "label2"; \
+ desc { "default"; \
+ text.min: 0 1; \
+ } \
+ desc { "selected"; \
+ text.min: 0 1; \
+ } \
+ desc { "disabled"; \
+ text.min: 0 1; \
+ } \
+ desc { "flip_enabled"; \
+ text.min: 0 1; \
+ } \
+ } \
+ text { "label3"; \
+ desc { "default"; \
+ text.min: 0 1; \
+ } \
+ desc { "selected"; \
+ text.min: 0 1; \
+ } \
+ desc { "disabled"; \
+ text.min: 0 1; \
+ } \
+ desc { "flip_enabled"; \
+ text.min: 0 1; \
+ } \
+ } \
+ text { "elm.title.1"; \
+ desc { "default"; \
+ text.min: 0 1; \
+ } \
+ desc { "selected"; \
+ text.min: 0 1; \
+ } \
+ desc { "disabled"; \
+ text.min: 0 1; \
+ } \
+ desc { "flip_enabled"; \
+ text.min: 0 1; \
+ } \
+ } \
+ text { "label4"; \
+ desc { "default"; \
+ text.min: 0 1; \
+ } \
+ desc { "selected"; \
+ text.min: 0 1; \
+ } \
+ desc { "disabled"; \
+ text.min: 0 1; \
+ } \
+ desc { "flip_enabled"; \
+ text.min: 0 1; \
+ } \
+ } \
+ text { "label5"; \
+ desc { "default"; \
+ text.min: 0 1; \
+ } \
+ desc { "selected"; \
+ text.min: 0 1; \
+ } \
+ desc { "disabled"; \
+ text.min: 0 1; \
+ } \
+ desc { "flip_enabled"; \
+ text.min: 0 1; \
+ } \
+ } \
+ text { "elm.title.2"; \
+ desc { "default"; \
+ text.min: 0 1; \
+ } \
+ desc { "selected"; \
+ text.min: 0 1; \
+ } \
+ desc { "disabled"; \
+ text.min: 0 1; \
+ } \
+ desc { "flip_enabled"; \
+ text.min: 0 1; \
+ } \
+ } \
+ text { "label6"; \
+ desc { "default"; \
+ text.min: 0 1; \
+ } \
+ desc { "selected"; \
+ text.min: 0 1; \
+ } \
+ desc { "disabled"; \
+ text.min: 0 1; \
+ } \
+ desc { "flip_enabled"; \
+ text.min: 0 1; \
+ } \
+ } \
+ text { "label7"; \
+ desc { "default"; \
+ text.min: 0 1; \
+ } \
+ desc { "selected"; \
+ text.min: 0 1; \
+ } \
+ desc { "disabled"; \
+ text.min: 0 1; \
+ } \
+ desc { "flip_enabled"; \
+ text.min: 0 1; \
+ } \
+ } \
+ } \
+ }
+#define COMPRESS_T1T2_ODD(_NAME, _SRC) \
+ group { name: _NAME; \
+ inherit: _SRC; \
+ parts { \
+ text { "elm.text"; \
+ desc { "default"; \
+ text.min: 0 1; \
+ } \
+ desc { "selected"; \
+ text.min: 0 1; \
+ } \
+ desc { "disabled"; \
+ text.min: 0 1; \
+ } \
+ desc { "flip_enabled"; \
+ text.min: 0 1; \
+ } \
+ } \
+ text { "label2"; \
+ desc { "default"; \
+ text.min: 0 1; \
+ } \
+ desc { "selected"; \
+ text.min: 0 1; \
+ } \
+ desc { "disabled"; \
+ text.min: 0 1; \
+ } \
+ desc { "flip_enabled"; \
+ text.min: 0 1; \
+ } \
+ } \
+ text { "label3"; \
+ desc { "default"; \
+ text.min: 0 1; \
+ } \
+ desc { "selected"; \
+ text.min: 0 1; \
+ } \
+ desc { "disabled"; \
+ text.min: 0 1; \
+ } \
+ desc { "flip_enabled"; \
+ text.min: 0 1; \
+ } \
+ } \
+ text { "elm.title.1"; \
+ desc { "default"; \
+ text.min: 0 1; \
+ } \
+ desc { "selected"; \
+ text.min: 0 1; \
+ } \
+ desc { "disabled"; \
+ text.min: 0 1; \
+ } \
+ desc { "flip_enabled"; \
+ text.min: 0 1; \
+ } \
+ } \
+ text { "label4"; \
+ desc { "default"; \
+ text.min: 0 1; \
+ } \
+ desc { "selected"; \
+ text.min: 0 1; \
+ } \
+ desc { "disabled"; \
+ text.min: 0 1; \
+ } \
+ desc { "flip_enabled"; \
+ text.min: 0 1; \
+ } \
+ } \
+ text { "label5"; \
+ desc { "default"; \
+ text.min: 0 1; \
+ } \
+ desc { "selected"; \
+ text.min: 0 1; \
+ } \
+ desc { "disabled"; \
+ text.min: 0 1; \
+ } \
+ desc { "flip_enabled"; \
+ text.min: 0 1; \
+ } \
+ } \
+ text { "elm.title.2"; \
+ desc { "default"; \
+ text.min: 0 1; \
+ } \
+ desc { "selected"; \
+ text.min: 0 1; \
+ } \
+ desc { "disabled"; \
+ text.min: 0 1; \
+ } \
+ desc { "flip_enabled"; \
+ text.min: 0 1; \
+ } \
+ } \
+ text { "label6"; \
+ desc { "default"; \
+ text.min: 0 1; \
+ } \
+ desc { "selected"; \
+ text.min: 0 1; \
+ } \
+ desc { "disabled"; \
+ text.min: 0 1; \
+ } \
+ desc { "flip_enabled"; \
+ text.min: 0 1; \
+ } \
+ } \
+ text { "label7"; \
+ desc { "default"; \
+ text.min: 0 1; \
+ } \
+ desc { "selected"; \
+ text.min: 0 1; \
+ } \
+ desc { "disabled"; \
+ text.min: 0 1; \
+ } \
+ desc { "flip_enabled"; \
+ text.min: 0 1; \
+ } \
+ } \
+ rect { "base"; \
+ desc { "default"; \
+ color: 56 56 56 255; \
+ color_class: "list_item_base_odd"; \
+ } \
+ } \
+ } \
+ }
+group { "elm/genlist/item/message/default"; nomouse;
+ data.item: "selectraise" "on";
+ data.item: "focusraise" "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";
+ inherit: "genlist_base";
+ parts {
+
+ //##//
+ text { "elm.text";
+ effect: SHADOW BOTTOM;
+ scale;
+ desc { "default";
+ 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: FN_COL_DEFAULT;
+ color_class: "list_item";
+ align: 0.0 0.0;
+ text { font: FN; size: 10;
+ min: 1 1;
+ ellipsis: -1;
+ align: 0.0 0.0;
+ text_class: "list_item";
+ }
+ fixed: 0 1;
+ }
+ desc { "selected";
+ inherit: "default";
+ hid;
+ }
+ desc { "disabled";
+ inherit: "default";
+ hid;
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ hid;
+ }
+ }
+ text { "label2";
+ effect: SHADOW BOTTOM;
+ scale;
+ desc { "default";
+ fixed: 1 1;
+ rel1.to: "elm.text";
+ rel2.to: "elm.text";
+ color: FN_COL_DISABLE;
+ color_class: "list_item_disabled";
+ text { font: FN; size: 10;
+ text_source: "elm.text";
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ hid;
+ }
+ desc { "selected";
+ inherit: "default";
+ hid;
+ }
+ desc { "disabled";
+ inherit: "default";
+ vis;
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ hid;
+ }
+ }
+ text { "label3";
+ effect: GLOW;
+ scale;
+ desc { "default";
+ fixed: 1 1;
+ rel1.offset: -2 -3;
+ rel1.to: "elm.text";
+ rel2.offset: -1 1;
+ rel2.to: "elm.text";
+ color: FN_COL_HIGHLIGHT;
+ color_class: "list_item_selected";
+ text { font: FN; size: 10;
+ text_source: "elm.text";
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ hid;
+ }
+ desc { "selected";
+ inherit: "default";
+ vis;
+ }
+ desc { "disabled";
+ inherit: "default";
+ hid;
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ hid;
+ }
+ }
+ swallow { "elm.text.flip"; mouse;
+ scale;
+ desc { "default";
+ hid;
+ rel1.to_y: "elm.text";
+ rel2.to_y: "elm.text";
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ vis;
+ }
+ }
+ //##//
+ text { "elm.title.1";
+ effect: SHADOW BOTTOM;
+ scale;
+ desc { "default";
+ 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: FN_COL_DEFAULT;
+ color_class: "list_item";
+ text { font: FN; size: 10;
+ min: 1 1;
+ ellipsis: -1;
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ }
+ desc { "selected";
+ inherit: "default";
+ hid;
+ }
+ desc { "disabled";
+ inherit: "default";
+ hid;
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ hid;
+ }
+ }
+ text { "label4";
+ effect: SHADOW BOTTOM;
+ scale;
+ desc { "default";
+ rel1.to: "elm.title.1";
+ rel2.to: "elm.title.1";
+ color: FN_COL_DISABLE;
+ color_class: "list_item_disabled";
+ text { font: FN; size: 10;
+ text_source: "elm.title.1";
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ hid;
+ }
+ desc { "selected";
+ inherit: "default";
+ hid;
+ }
+ desc { "disabled";
+ inherit: "default";
+ vis;
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ hid;
+ }
+ }
+ text { "label5";
+ effect: GLOW;
+ scale;
+ desc { "default";
+ rel1.offset: -2 -3;
+ rel1.to: "elm.title.1";
+ rel2.offset: -1 1;
+ rel2.to: "elm.title.1";
+ color: FN_COL_HIGHLIGHT;
+ color_class: "list_item_selected";
+ text { font: FN; size: 10;
+ text_source: "elm.title.1";
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ hid;
+ }
+ desc { "selected";
+ inherit: "default";
+ vis;
+ }
+ desc { "disabled";
+ inherit: "default";
+ hid;
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ hid;
+ }
+ }
+ //##//
+ text { "elm.title.2";
+ effect: SHADOW BOTTOM;
+ scale;
+ desc { "default";
+ rel1.offset: 2 -3;
+ rel1.relative: 1.0 1.0;
+ rel1.to_x: "elm.swallow.pad";
+ rel2.offset: -3 -3;
+ color: FN_COL_DEFAULT;
+ color_class: "list_item";
+ align: 0.0 1.0;
+ text { font: FN; size: 10;
+ min: 1 1;
+ ellipsis: -1;
+ align: 0.0 1.0;
+ text_class: "list_item";
+ }
+ fixed: 0 1;
+ }
+ desc { "selected";
+ inherit: "default";
+ hid;
+ }
+ desc { "disabled";
+ inherit: "default";
+ hid;
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ hid;
+ }
+ }
+ text { "label6";
+ effect: SHADOW BOTTOM;
+ scale;
+ desc { "default";
+ rel1.to: "elm.title.2";
+ rel2.to: "elm.title.2";
+ color: FN_COL_DISABLE;
+ color_class: "list_item_disabled";
+ text { font: FN; size: 10;
+ text_source: "elm.title.2";
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ hid;
+ }
+ desc { "selected";
+ inherit: "default";
+ hid;
+ }
+ desc { "disabled";
+ inherit: "default";
+ vis;
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ hid;
+ }
+ }
+ text { "label7";
+ effect: GLOW;
+ scale;
+ desc { "default";
+ rel1.offset: -2 -3;
+ rel1.to: "elm.title.2";
+ rel2.offset: -1 2;
+ rel2.to: "elm.title.2";
+ color: FN_COL_HIGHLIGHT;
+ color_class: "list_item_selected";
+ text { font: FN; size: 10;
+ text_source: "elm.title.2";
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ hid;
+ }
+ desc { "selected";
+ inherit: "default";
+ vis;
+ }
+ desc { "disabled";
+ inherit: "default";
+ hid;
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ hid;
+ }
+ }
+ target_group: "message" "elm.title.1" "elm.title.2" "label4" "label5" "label6" "label7";
+ program {
+ signal: "elm,state,selected";
+ action: STATE_SET "selected";
+ groups: "default" "message";
+ }
+ program {
+ signal: "elm,state,unselected";
+ action: STATE_SET "default";
+ groups: "default" "message";
+ }
+ program {
+ signal: "elm,state,disabled";
+ action: STATE_SET "disabled";
+ groups: "default" "message";
+ }
+ program {
+ signal: "elm,state,enabled";
+ action: STATE_SET "default";
+ groups: "default" "message";
+ }
+ program {
+ signal: "elm,state,flip,enabled";
+ action: STATE_SET "flip_enabled";
+ groups: "default" "message";
+ target: "elm.text.flip";
+ }
+ program {
+ signal: "elm,state,flip,disabled";
+ action: STATE_SET "default";
+ groups: "default" "message";
+ target: "elm.text.flip";
+ }
+ //##//
+ swallow { "elm.swallow.pad"; mouse;
+ desc { "default";
+ fixed: 1 0;
+ align: 0.0 0.5;
+ rel1.offset: 2 2;
+ rel2.relative: 0.0 1.0;
+ rel2.offset: 2 -3;
+ }
+ }
+ //##//
+
+ }
+ inherit: "genlist_top";
+}
+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 { "elm/genlist/item/media/default"; nomouse;
+ data.item: "selectraise" "on";
+ data.item: "focusraise" "on";
+ data.item: "texts" "elm.text.title elm.text.album-artist";
+ data.item: "treesize" TREEPAD;
+ data.item: "flips" "elm.text.flip";
+ inherit: "genlist_base";
+ parts {
+
+ //##//
+ text { "elm.text.title";
+ effect: SHADOW BOTTOM;
+ scale;
+ desc { "default";
+ 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: FN_COL_DEFAULT;
+ color_class: "list_item";
+ align: 0.0 0.0;
+ text { font: FN; size: 10;
+ min: 1 1;
+ ellipsis: -1;
+ align: 0.0 0.0;
+ text_class: "list_item";
+ }
+ }
+ desc { "selected";
+ inherit: "default";
+ hid;
+ }
+ desc { "disabled";
+ inherit: "default";
+ hid;
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ hid;
+ }
+ }
+ text { "label2";
+ effect: SHADOW BOTTOM;
+ scale;
+ desc { "default";
+ rel1.to: "elm.text.title";
+ rel2.to: "elm.text.title";
+ color: FN_COL_DISABLE;
+ color_class: "list_item_disabled";
+ text { font: FN; size: 10;
+ text_source: "elm.text.title";
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ hid;
+ }
+ desc { "selected";
+ inherit: "default";
+ hid;
+ }
+ desc { "disabled";
+ inherit: "default";
+ vis;
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ hid;
+ }
+ }
+ text { "label3";
+ effect: GLOW;
+ scale;
+ desc { "default";
+ rel1.offset: -2 -3;
+ rel1.to: "elm.text.title";
+ rel2.offset: -1 1;
+ rel2.to: "elm.text.title";
+ color: FN_COL_HIGHLIGHT;
+ color_class: "list_item_selected";
+ text { font: FN; size: 10;
+ text_source: "elm.text.title";
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ hid;
+ }
+ desc { "selected";
+ inherit: "default";
+ vis;
+ }
+ desc { "disabled";
+ inherit: "default";
+ hid;
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ hid;
+ }
+ }
+ swallow { "elm.text.flip"; mouse;
+ scale;
+ desc { "default";
+ hid;
+ rel1.to_y: "elm.text.title";
+ rel2.to_y: "elm.text.title";
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ vis;
+ }
+ }
+ text { "elm.text.album-artist";
+ effect: SHADOW BOTTOM;
+ scale;
+ desc { "default";
+ 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: FN_COL_DEFAULT;
+ color_class: "list_item_sub";
+ align: 0.0 1.0;
+ text { font: FN; size: 8;
+ min: 1 1;
+ ellipsis: -1;
+ align: 0.0 1.0;
+ text_class: "list_item_sub";
+ }
+ }
+ desc { "selected";
+ inherit: "default";
+ hid;
+ }
+ desc { "disabled";
+ inherit: "default";
+ hid;
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ hid;
+ }
+ }
+ text { "label4";
+ effect: SHADOW BOTTOM;
+ scale;
+ desc { "default";
+ rel1.to: "elm.text.album-artist";
+ rel2.to: "elm.text.album-artist";
+ color: FN_COL_DISABLE;
+ 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";
+ }
+ hid;
+ }
+ desc { "selected";
+ inherit: "default";
+ hid;
+ }
+ desc { "disabled";
+ inherit: "default";
+ vis;
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ hid;
+ }
+ }
+ text { "label5";
+ effect: GLOW;
+ scale;
+ desc { "default";
+ rel1.offset: -2 -4;
+ rel1.to: "elm.text.album-artist";
+ rel2.offset: -1 0;
+ rel2.to: "elm.text.album-artist";
+ color: FN_COL_HIGHLIGHT;
+ 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";
+ }
+ hid;
+ }
+ desc { "selected";
+ inherit: "default";
+ vis;
+ }
+ desc { "disabled";
+ inherit: "default";
+ hid;
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ hid;
+ }
+ }
+ target_group: "media" "elm.text.title" "label2" "label3" "elm.text.album-artist" "label4" "label5";
+ program {
+ signal: "elm,state,selected";
+ action: STATE_SET "selected";
+ groups: "media";
+ }
+ program {
+ signal: "elm,state,unselected";
+ action: STATE_SET "default";
+ groups: "media";
+ }
+ program {
+ signal: "elm,state,disabled";
+ action: STATE_SET "disabled";
+ groups: "media";
+ }
+ program {
+ signal: "elm,state,enabled";
+ action: STATE_SET "default";
+ groups: "media";
+ }
+ program {
+ signal: "elm,state,flip,enabled";
+ action: STATE_SET "flip_enabled";
+ groups: "media";
+ target: "elm.text.flip";
+ }
+ program {
+ signal: "elm,state,flip,disabled";
+ action: STATE_SET "default";
+ groups: "media";
+ target: "elm.text.flip";
+ }
+ //##//
+ swallow { "elm.swallow.pad"; mouse;
+ desc { "default";
+ fixed: 1 0;
+ align: 0.0 0.5;
+ rel1.offset: 2 2;
+ rel2.relative: 0.0 1.0;
+ rel2.offset: 2 -3;
+ }
+ }
+ //##//
+
+ }
+ inherit: "genlist_top";
+}
+#define COMPRESS_MEDIA(_NAME, _SRC) \
+ group { name: _NAME; \
+ inherit: _SRC; \
+ parts { \
+ text { "elm.text.title"; \
+ desc { "default"; \
+ text.min: 0 1; \
+ } \
+ desc { "selected"; \
+ text.min: 0 1; \
+ } \
+ desc { "disabled"; \
+ text.min: 0 1; \
+ } \
+ desc { "flip_enabled"; \
+ text.min: 0 1; \
+ } \
+ } \
+ text { "label2"; \
+ desc { "default"; \
+ text.min: 0 1; \
+ } \
+ desc { "selected"; \
+ text.min: 0 1; \
+ } \
+ desc { "disabled"; \
+ text.min: 0 1; \
+ } \
+ desc { "flip_enabled"; \
+ text.min: 0 1; \
+ } \
+ } \
+ text { "label3"; \
+ desc { "default"; \
+ text.min: 0 1; \
+ } \
+ desc { "selected"; \
+ text.min: 0 1; \
+ } \
+ desc { "disabled"; \
+ text.min: 0 1; \
+ } \
+ desc { "flip_enabled"; \
+ text.min: 0 1; \
+ } \
+ } \
+ text { "elm.text.album-artist"; \
+ desc { "default"; \
+ text.min: 0 1; \
+ } \
+ desc { "selected"; \
+ text.min: 0 1; \
+ } \
+ desc { "disabled"; \
+ text.min: 0 1; \
+ } \
+ desc { "flip_enabled"; \
+ text.min: 0 1; \
+ } \
+ } \
+ text { "label4"; \
+ desc { "default"; \
+ text.min: 0 1; \
+ } \
+ desc { "selected"; \
+ text.min: 0 1; \
+ } \
+ desc { "disabled"; \
+ text.min: 0 1; \
+ } \
+ desc { "flip_enabled"; \
+ text.min: 0 1; \
+ } \
+ } \
+ text { "label5"; \
+ desc { "default"; \
+ text.min: 0 1; \
+ } \
+ desc { "selected"; \
+ text.min: 0 1; \
+ } \
+ desc { "disabled"; \
+ text.min: 0 1; \
+ } \
+ desc { "flip_enabled"; \
+ text.min: 0 1; \
+ } \
+ } \
+ } \
+ }
+#define COMPRESS_MEDIA_ODD(_NAME, _SRC) \
+ group { name: _NAME; \
+ inherit: _SRC; \
+ parts { \
+ text { "elm.text.title"; \
+ desc { "default"; \
+ text.min: 0 1; \
+ } \
+ desc { "selected"; \
+ text.min: 0 1; \
+ } \
+ desc { "disabled"; \
+ text.min: 0 1; \
+ } \
+ desc { "flip_enabled"; \
+ text.min: 0 1; \
+ } \
+ } \
+ text { "label2"; \
+ desc { "default"; \
+ text.min: 0 1; \
+ } \
+ desc { "selected"; \
+ text.min: 0 1; \
+ } \
+ desc { "disabled"; \
+ text.min: 0 1; \
+ } \
+ desc { "flip_enabled"; \
+ text.min: 0 1; \
+ } \
+ } \
+ text { "label3"; \
+ desc { "default"; \
+ text.min: 0 1; \
+ } \
+ desc { "selected"; \
+ text.min: 0 1; \
+ } \
+ desc { "disabled"; \
+ text.min: 0 1; \
+ } \
+ desc { "flip_enabled"; \
+ text.min: 0 1; \
+ } \
+ } \
+ text { "elm.text.album-artist"; \
+ desc { "default"; \
+ text.min: 0 1; \
+ } \
+ desc { "selected"; \
+ text.min: 0 1; \
+ } \
+ desc { "disabled"; \
+ text.min: 0 1; \
+ } \
+ desc { "flip_enabled"; \
+ text.min: 0 1; \
+ } \
+ } \
+ text { "label4"; \
+ desc { "default"; \
+ text.min: 0 1; \
+ } \
+ desc { "selected"; \
+ text.min: 0 1; \
+ } \
+ desc { "disabled"; \
+ text.min: 0 1; \
+ } \
+ desc { "flip_enabled"; \
+ text.min: 0 1; \
+ } \
+ } \
+ text { "label5"; \
+ desc { "default"; \
+ text.min: 0 1; \
+ } \
+ desc { "selected"; \
+ text.min: 0 1; \
+ } \
+ desc { "disabled"; \
+ text.min: 0 1; \
+ } \
+ desc { "flip_enabled"; \
+ text.min: 0 1; \
+ } \
+ } \
+ rect { "base"; \
+ desc { "default"; \
+ 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 { "elm/genlist/item/media-album/default"; nomouse;
+ data.item: "selectraise" "on";
+ data.item: "focusraise" "on";
+ data.item: "texts" "elm.text.title elm.text.trackno elm.text.length";
+ data.item: "treesize" TREEPAD;
+ data.item: "flips" "elm.text.flip";
+ inherit: "genlist_base";
+ parts {
+
+ //##//
+ text { "elm.text.trackno";
+ effect: SHADOW BOTTOM;
+ scale;
+ desc { "default";
+ 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: FN_COL_DEFAULT;
+ color_class: "list_item";
+ align: 0.0 0.0;
+ text { font: FN; size: 10;
+ min: 1 1;
+ ellipsis: -1;
+ align: 0.0 0.0;
+ text_class: "list_item";
+ }
+ fixed: 1 0;
+ }
+ desc { "selected";
+ inherit: "default";
+ hid;
+ }
+ desc { "disabled";
+ inherit: "default";
+ hid;
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ hid;
+ }
+ }
+ text { "label2";
+ effect: SHADOW BOTTOM;
+ scale;
+ desc { "default";
+ rel1.to: "elm.text.trackno";
+ rel2.to: "elm.text.trackno";
+ color: FN_COL_DISABLE;
+ color_class: "list_item_disabled";
+ text { font: FN; size: 10;
+ text_source: "elm.text.trackno";
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ hid;
+ }
+ desc { "selected";
+ inherit: "default";
+ hid;
+ }
+ desc { "disabled";
+ inherit: "default";
+ vis;
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ hid;
+ }
+ }
+ text { "label3";
+ effect: GLOW;
+ scale;
+ desc { "default";
+ rel1.offset: -2 -3;
+ rel1.to: "elm.text.trackno";
+ rel2.offset: -1 1;
+ rel2.to: "elm.text.trackno";
+ color: FN_COL_HIGHLIGHT;
+ color_class: "list_item_selected";
+ text { font: FN; size: 10;
+ text_source: "elm.text.trackno";
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ hid;
+ }
+ desc { "selected";
+ inherit: "default";
+ vis;
+ }
+ desc { "disabled";
+ inherit: "default";
+ hid;
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ hid;
+ }
+ }
+ swallow { "elm.text.flip"; mouse;
+ scale;
+ desc { "default";
+ hid;
+ rel1.to_y: "elm.text.trackno";
+ rel2.to_y: "elm.text.trackno";
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ vis;
+ }
+ }
+ text { "dot";
+ scale;
+ desc { "default";
+ hid;
+ 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;
+ ellipsis: -1;
+ align: 0.0 0.5;
+ text: ":";
+ }
+ }
+ desc { "visible";
+ inherit: "default";
+ }
+ }
+ text { "elm.text.title";
+ effect: SHADOW BOTTOM;
+ scale;
+ desc { "default";
+ 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: FN_COL_DEFAULT;
+ color_class: "list_item";
+ align: 0.0 0.0;
+ text { font: FN; size: 10;
+ min: 1 1;
+ ellipsis: -1;
+ align: 0.0 0.0;
+ text_class: "list_item";
+ }
+ }
+ desc { "selected";
+ inherit: "default";
+ hid;
+ }
+ desc { "disabled";
+ inherit: "default";
+ hid;
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ hid;
+ }
+ }
+ text { "label6";
+ effect: SHADOW BOTTOM;
+ scale;
+ desc { "default";
+ rel1.to: "elm.text.title";
+ rel2.to: "elm.text.title";
+ color: FN_COL_DISABLE;
+ color_class: "list_item_disabled";
+ text { font: FN; size: 10;
+ text_source: "elm.text.title";
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ hid;
+ }
+ desc { "selected";
+ inherit: "default";
+ hid;
+ }
+ desc { "disabled";
+ inherit: "default";
+ vis;
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ hid;
+ }
+ }
+ text { "label7";
+ effect: GLOW;
+ scale;
+ desc { "default";
+ rel1.offset: -2 -3;
+ rel1.to: "elm.text.title";
+ rel2.offset: -1 1;
+ rel2.to: "elm.text.title";
+ color: FN_COL_HIGHLIGHT;
+ color_class: "list_item_selected";
+ text { font: FN; size: 10;
+ text_source: "elm.text.title";
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ hid;
+ }
+ desc { "selected";
+ inherit: "default";
+ vis;
+ }
+ desc { "disabled";
+ inherit: "default";
+ hid;
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ hid;
+ }
+ }
+
+ text { "elm.text.length";
+ effect: SHADOW BOTTOM;
+ scale;
+ desc { "default";
+ 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: FN_COL_DEFAULT;
+ color_class: "list_item_sub";
+ align: 0.0 1.0;
+ text { font: FN; size: 8;
+ min: 1 1;
+ ellipsis: -1;
+ align: 0.0 1.0;
+ text_class: "list_item_sub";
+ }
+ }
+ desc { "selected";
+ inherit: "default";
+ hid;
+ }
+ desc { "disabled";
+ inherit: "default";
+ hid;
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ hid;
+ }
+ }
+ text { "label4";
+ effect: SHADOW BOTTOM;
+ scale;
+ desc { "default";
+ rel1.to: "elm.text.length";
+ rel2.to: "elm.text.length";
+ color: FN_COL_DISABLE;
+ 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";
+ }
+ hid;
+ }
+ desc { "selected";
+ inherit: "default";
+ hid;
+ }
+ desc { "disabled";
+ inherit: "default";
+ vis;
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ hid;
+ }
+ }
+ text { "label5";
+ effect: GLOW;
+ scale;
+ desc { "default";
+ rel1.offset: -2 -4;
+ rel1.to: "elm.text.length";
+ rel2.offset: -1 0;
+ rel2.to: "elm.text.length";
+ color: FN_COL_HIGHLIGHT;
+ 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";
+ }
+ hid;
+ }
+ desc { "selected";
+ inherit: "default";
+ vis;
+ }
+ desc { "disabled";
+ inherit: "default";
+ hid;
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ hid;
+ }
+ }
+ target_group: "media-album" "elm.text.trackno" "label2" "label3" "elm.text.title" "label6" "label7" "elm.text.length" "label4" "label5";
+ program {
+ signal: "elm,state,selected";
+ action: STATE_SET "selected";
+ groups: "media-album";
+ }
+ program {
+ signal: "elm,state,unselected";
+ action: STATE_SET "default";
+ groups: "media-album";
+ }
+ program {
+ signal: "elm,state,disabled";
+ action: STATE_SET "disabled";
+ groups: "media-album";
+ }
+ program {
+ signal: "elm,state,enabled";
+ action: STATE_SET "default";
+ groups: "media-album";
+ }
+ program {
+ signal: "elm,state,flip,enabled";
+ action: STATE_SET "flip_enabled";
+ groups: "media-album";
+ target: "elm.text.flip";
+ }
+ program {
+ signal: "elm,state,flip,disabled";
+ action: STATE_SET "default";
+ groups: "media-album";
+ target: "elm.text.flip";
+ }
+ //##//
+ swallow { "elm.swallow.pad"; mouse;
+ desc { "default";
+ fixed: 1 0;
+ align: 0.0 0.5;
+ rel1.offset: 2 2;
+ rel2.relative: 0.0 1.0;
+ rel2.offset: 2 -3;
+ }
+ }
+ //##//
+
+ }
+ inherit: "genlist_top";
+}
+ODD("elm/genlist/item_odd/media-album/default", "elm/genlist/item/media-album/default")
+group { "elm/genlist/item_compress/media-album/default";
+ inherit: "elm/genlist/item/media-album/default";
+ parts {
+ text { "elm.text.title";
+ desc { "default";
+ text.min: 0 1;
+ }
+ desc { "selected";
+ text.min: 0 1;
+ }
+ desc { "disabled";
+ text.min: 0 1;
+ }
+ desc { "flip_enabled";
+ text.min: 0 1;
+ }
+ }
+ text { "label2";
+ desc { "default";
+ text.min: 0 1;
+ }
+ desc { "selected";
+ text.min: 0 1;
+ }
+ desc { "disabled";
+ text.min: 0 1;
+ }
+ desc { "flip_enabled";
+ text.min: 0 1;
+ }
+ }
+ text { "label3";
+ desc { "default";
+ text.min: 0 1;
+ }
+ desc { "selected";
+ text.min: 0 1;
+ }
+ desc { "disabled";
+ text.min: 0 1;
+ }
+ desc { "flip_enabled";
+ text.min: 0 1;
+ }
+ }
+ text { "elm.text.length";
+ desc { "default";
+ text.min: 0 1;
+ }
+ desc { "selected";
+ text.min: 0 1;
+ }
+ desc { "disabled";
+ text.min: 0 1;
+ }
+ desc { "flip_enabled";
+ text.min: 0 1;
+ }
+ }
+ text { "label4";
+ desc { "default";
+ text.min: 0 1;
+ }
+ desc { "selected";
+ text.min: 0 1;
+ }
+ desc { "disabled";
+ text.min: 0 1;
+ }
+ desc { "flip_enabled";
+ text.min: 0 1;
+ }
+ }
+ text { "label5";
+ desc { "default";
+ text.min: 0 1;
+ }
+ desc { "selected";
+ text.min: 0 1;
+ }
+ desc { "disabled";
+ text.min: 0 1;
+ }
+ desc { "flip_enabled";
+ text.min: 0 1;
+ }
+ }
+ }
+}
+group { "elm/genlist/item_compress_odd/media-album/default";
+ inherit: "elm/genlist/item_odd/media-album/default";
+ parts {
+ text { "elm.text.title";
+ desc { "default";
+ text.min: 0 1;
+ }
+ desc { "selected";
+ text.min: 0 1;
+ }
+ desc { "disabled";
+ text.min: 0 1;
+ }
+ desc { "flip_enabled";
+ text.min: 0 1;
+ }
+ }
+ text { "label2";
+ desc { "default";
+ text.min: 0 1;
+ }
+ desc { "selected";
+ text.min: 0 1;
+ }
+ desc { "disabled";
+ text.min: 0 1;
+ }
+ desc { "flip_enabled";
+ text.min: 0 1;
+ }
+ }
+ text { "label3";
+ desc { "default";
+ text.min: 0 1;
+ }
+ desc { "selected";
+ text.min: 0 1;
+ }
+ desc { "disabled";
+ text.min: 0 1;
+ }
+ desc { "flip_enabled";
+ text.min: 0 1;
+ }
+ }
+ text { "elm.text.length";
+ desc { "default";
+ text.min: 0 1;
+ }
+ desc { "selected";
+ text.min: 0 1;
+ }
+ desc { "disabled";
+ text.min: 0 1;
+ }
+ desc { "flip_enabled";
+ text.min: 0 1;
+ }
+ }
+ text { "label4";
+ desc { "default";
+ text.min: 0 1;
+ }
+ desc { "selected";
+ text.min: 0 1;
+ }
+ desc { "disabled";
+ text.min: 0 1;
+ }
+ desc { "flip_enabled";
+ text.min: 0 1;
+ }
+ }
+ text { "label5";
+ desc { "default";
+ text.min: 0 1;
+ }
+ desc { "selected";
+ text.min: 0 1;
+ }
+ desc { "disabled";
+ text.min: 0 1;
+ }
+ desc { "flip_enabled";
+ text.min: 0 1;
+ }
+ }
+ }
+}
+
+group { "elm/genlist/item/media-preview/default"; nomouse;
+ data.item: "selectraise" "on";
+ data.item: "focusraise" "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";
+ inherit: "genlist_base";
+ parts {
+
+ //##//
+ text { "elm.text";
+ effect: SHADOW BOTTOM;
+ scale;
+ desc { "default";
+ 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: FN_COL_DEFAULT;
+ color_class: "list_item";
+ align: 0.0 0.0;
+ text { font: FN; size: 10;
+ min: 1 1;
+ ellipsis: -1;
+ align: 0.0 0.0;
+ text_class: "list_item";
+ }
+ }
+ desc { "selected";
+ inherit: "default";
+ hid;
+ }
+ desc { "disabled";
+ inherit: "default";
+ hid;
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ hid;
+ }
+ }
+ text { "label2";
+ effect: SHADOW BOTTOM;
+ scale;
+ desc { "default";
+ rel1.to: "elm.text";
+ rel2.to: "elm.text";
+ color: FN_COL_DISABLE;
+ color_class: "list_item_disabled";
+ text { font: FN; size: 10;
+ text_source: "elm.text";
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ hid;
+ }
+ desc { "selected";
+ inherit: "default";
+ hid;
+ }
+ desc { "disabled";
+ inherit: "default";
+ vis;
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ hid;
+ }
+ }
+ text { "label3";
+ effect: GLOW;
+ scale;
+ desc { "default";
+ rel1.offset: -2 -3;
+ rel1.to: "elm.text";
+ rel2.offset: -1 1;
+ rel2.to: "elm.text";
+ color: FN_COL_HIGHLIGHT;
+ color_class: "list_item_selected";
+ text { font: FN; size: 10;
+ text_source: "elm.text";
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ hid;
+ }
+ desc { "selected";
+ inherit: "default";
+ vis;
+ }
+ desc { "disabled";
+ inherit: "default";
+ hid;
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ hid;
+ }
+ }
+ swallow { "elm.text.flip"; mouse;
+ scale;
+ desc { "default";
+ hid;
+ rel1.to_y: "elm.text";
+ rel2.to_y: "elm.text";
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ vis;
+ }
+ }
+ text { "elm.text.artist";
+ effect: SHADOW BOTTOM;
+ scale;
+ desc { "default";
+ 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: FN_COL_DEFAULT;
+ color_class: "list_item_sub";
+ align: 0.0 1.0;
+ text { font: FN; size: 8;
+ min: 1 1;
+ ellipsis: -1;
+ align: 0.0 1.0;
+ text_class: "list_item_sub";
+ }
+ }
+ desc { "selected";
+ inherit: "default";
+ hid;
+ }
+ desc { "disabled";
+ inherit: "default";
+ hid;
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ hid;
+ }
+ }
+ text { "label4";
+ effect: SHADOW BOTTOM;
+ scale;
+ desc { "default";
+ rel1.to: "elm.text.artist";
+ rel2.to: "elm.text.artist";
+ color: FN_COL_DISABLE;
+ 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";
+ }
+ hid;
+ }
+ desc { "selected";
+ inherit: "default";
+ hid;
+ }
+ desc { "disabled";
+ inherit: "default";
+ vis;
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ hid;
+ }
+ }
+ text { "label5";
+ effect: GLOW;
+ scale;
+ desc { "default";
+ rel1.offset: -2 -4;
+ rel1.to: "elm.text.artist";
+ rel2.offset: -1 0;
+ rel2.to: "elm.text.artist";
+ color: FN_COL_HIGHLIGHT;
+ 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";
+ }
+ hid;
+ }
+ desc { "selected";
+ inherit: "default";
+ vis;
+ }
+ desc { "disabled";
+ inherit: "default";
+ hid;
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ hid;
+ }
+ }
+ target_group: "media-preview" "elm.text.artist" "label4" "label5";
+ program {
+ signal: "elm,state,selected";
+ action: STATE_SET "selected";
+ groups: "default" "media-preview";
+ }
+ program {
+ signal: "elm,state,unselected";
+ action: STATE_SET "default";
+ groups: "default" "media-preview";
+ }
+ program {
+ signal: "elm,state,disabled";
+ action: STATE_SET "disabled";
+ groups: "default" "media-preview";
+ }
+ program {
+ signal: "elm,state,enabled";
+ action: STATE_SET "default";
+ groups: "default" "media-preview";
+ }
+ program {
+ signal: "elm,state,flip,enabled";
+ action: STATE_SET "flip_enabled";
+ groups: "default" "media-preview";
+ target: "elm.text.flip";
+ }
+ program {
+ signal: "elm,state,flip,disabled";
+ action: STATE_SET "default";
+ groups: "default" "media-preview";
+ target: "elm.text.flip";
+ }
+ //##//
+ swallow { "elm.swallow.pad"; mouse;
+ desc { "default";
+ fixed: 1 0;
+ align: 0.0 0.5;
+ rel1.offset: 2 2;
+ rel2.relative: 0.0 1.0;
+ rel2.offset: 2 -3;
+ }
+ }
+ swallow { "elm.swallow.preview"; mouse;
+ desc { "default";
+ 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;
+ link.base: "elm,state,flip,disabled";
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ hid;
+ link.base: "elm,state,flip,enabled";
+ }
+ }
+ //##//
+
+ }
+ inherit: "genlist_top";
+}
+ODD("elm/genlist/item_odd/media-preview/default", "elm/genlist/item/media-preview/default")
+group { "elm/genlist/item_compress/media-preview/default";
+ inherit: "elm/genlist/item/media-preview/default";
+ parts {
+ text { "elm.text";
+ desc { "default";
+ text.min: 0 1;
+ }
+ desc { "selected";
+ text.min: 0 1;
+ }
+ desc { "disabled";
+ text.min: 0 1;
+ }
+ desc { "flip_enabled";
+ text.min: 0 1;
+ }
+ }
+ text { "label2";
+ desc { "default";
+ text.min: 0 1;
+ }
+ desc { "selected";
+ text.min: 0 1;
+ }
+ desc { "disabled";
+ text.min: 0 1;
+ }
+ desc { "flip_enabled";
+ text.min: 0 1;
+ }
+ }
+ text { "label3";
+ desc { "default";
+ text.min: 0 1;
+ }
+ desc { "selected";
+ text.min: 0 1;
+ }
+ desc { "disabled";
+ text.min: 0 1;
+ }
+ desc { "flip_enabled";
+ text.min: 0 1;
+ }
+ }
+ text { "elm.text.artist";
+ desc { "default";
+ text.min: 0 1;
+ }
+ desc { "selected";
+ text.min: 0 1;
+ }
+ desc { "disabled";
+ text.min: 0 1;
+ }
+ desc { "flip_enabled";
+ text.min: 0 1;
+ }
+ }
+ text { "label4";
+ desc { "default";
+ text.min: 0 1;
+ }
+ desc { "selected";
+ text.min: 0 1;
+ }
+ desc { "disabled";
+ text.min: 0 1;
+ }
+ desc { "flip_enabled";
+ text.min: 0 1;
+ }
+ }
+ text { "label5";
+ desc { "default";
+ text.min: 0 1;
+ }
+ desc { "selected";
+ text.min: 0 1;
+ }
+ desc { "disabled";
+ text.min: 0 1;
+ }
+ desc { "flip_enabled";
+ text.min: 0 1;
+ }
+ }
+ }
+}
+group { "elm/genlist/item_odd_compress/media-preview/default";
+ inherit: "elm/genlist/item_odd/media-preview/default";
+ parts {
+ text { "elm.text";
+ desc { "default";
+ text.min: 0 1;
+ }
+ desc { "selected";
+ text.min: 0 1;
+ }
+ desc { "disabled";
+ text.min: 0 1;
+ }
+ desc { "flip_enabled";
+ text.min: 0 1;
+ }
+ }
+ text { "label2";
+ desc { "default";
+ text.min: 0 1;
+ }
+ desc { "selected";
+ text.min: 0 1;
+ }
+ desc { "disabled";
+ text.min: 0 1;
+ }
+ desc { "flip_enabled";
+ text.min: 0 1;
+ }
+ }
+ text { "label3";
+ desc { "default";
+ text.min: 0 1;
+ }
+ desc { "selected";
+ text.min: 0 1;
+ }
+ desc { "disabled";
+ text.min: 0 1;
+ }
+ desc { "flip_enabled";
+ text.min: 0 1;
+ }
+ }
+ text { "elm.text.artist";
+ desc { "default";
+ text.min: 0 1;
+ }
+ desc { "selected";
+ text.min: 0 1;
+ }
+ desc { "disabled";
+ text.min: 0 1;
+ }
+ desc { "flip_enabled";
+ text.min: 0 1;
+ }
+ }
+ text { "label4";
+ desc { "default";
+ text.min: 0 1;
+ }
+ desc { "selected";
+ text.min: 0 1;
+ }
+ desc { "disabled";
+ text.min: 0 1;
+ }
+ desc { "flip_enabled";
+ text.min: 0 1;
+ }
+ }
+ text { "label5";
+ desc { "default";
+ text.min: 0 1;
+ }
+ desc { "selected";
+ text.min: 0 1;
+ }
+ desc { "disabled";
+ text.min: 0 1;
+ }
+ desc { "flip_enabled";
+ text.min: 0 1;
+ }
+ }
+ }
+}
+
+#define COMPRESS_MODE(_NAME, _SRC) \
+ group { name: _NAME; \
+ inherit: _SRC; \
+ parts { \
+ text { "elm.text.mode"; \
+ desc { "default"; \
+ text.min: 0 1; \
+ } \
+ desc { "selected"; \
+ text.min: 0 1; \
+ } \
+ desc { "disabled"; \
+ text.min: 0 1; \
+ } \
+ desc { "flip_enabled"; \
+ text.min: 0 1; \
+ } \
+ } \
+ text { "label2"; \
+ desc { "default"; \
+ text.min: 0 1; \
+ } \
+ desc { "selected"; \
+ text.min: 0 1; \
+ } \
+ desc { "disabled"; \
+ text.min: 0 1; \
+ } \
+ desc { "flip_enabled"; \
+ text.min: 0 1; \
+ } \
+ } \
+ text { "label3"; \
+ desc { "default"; \
+ text.min: 0 1; \
+ } \
+ desc { "selected"; \
+ text.min: 0 1; \
+ } \
+ desc { "disabled"; \
+ text.min: 0 1; \
+ } \
+ desc { "flip_enabled"; \
+ text.min: 0 1; \
+ } \
+ } \
+ } \
+ }
+#define COMPRESS_MODE_ODD(_NAME, _SRC) \
+ group { name: _NAME; \
+ inherit: _SRC; \
+ parts { \
+ text { "elm.text.mode"; \
+ desc { "default"; \
+ text.min: 0 1; \
+ } \
+ desc { "selected"; \
+ text.min: 0 1; \
+ } \
+ desc { "disabled"; \
+ text.min: 0 1; \
+ } \
+ desc { "flip_enabled"; \
+ text.min: 0 1; \
+ } \
+ } \
+ text { "label2"; \
+ desc { "default"; \
+ text.min: 0 1; \
+ } \
+ desc { "selected"; \
+ text.min: 0 1; \
+ } \
+ desc { "disabled"; \
+ text.min: 0 1; \
+ } \
+ desc { "flip_enabled"; \
+ text.min: 0 1; \
+ } \
+ } \
+ text { "label3"; \
+ desc { "default"; \
+ text.min: 0 1; \
+ } \
+ desc { "selected"; \
+ text.min: 0 1; \
+ } \
+ desc { "disabled"; \
+ text.min: 0 1; \
+ } \
+ desc { "flip_enabled"; \
+ text.min: 0 1; \
+ } \
+ } \
+ rect { "base"; \
+ desc { "default"; \
+ color: 56 56 56 255; \
+ color_class: "list_item_base_odd"; \
+ } \
+ } \
+ } \
+ }
+group { "elm/genlist/item/mode/default"; nomouse;
+ data.item: "selectraise" "on";
+ data.item: "focusraise" "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";
+ inherit: "genlist_base";
+ parts {
+
+ //##//
+ text { "elm.text.mode";
+ effect: SHADOW BOTTOM;
+ scale;
+ desc { "default";
+ rel1.offset: 2 3;
+ rel1.relative: 1.0 0.0;
+ rel1.to_x: "elm.swallow.pad";
+ rel2.offset: -3 -3;
+ color: FN_COL_DEFAULT;
+ color_class: "list_item";
+ text { font: FN; size: 10;
+ min: 1 1;
+ ellipsis: -1;
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ }
+ desc { "selected";
+ inherit: "default";
+ hid;
+ }
+ desc { "disabled";
+ inherit: "default";
+ hid;
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ hid;
+ }
+ }
+ text { "label2";
+ effect: SHADOW BOTTOM;
+ scale;
+ desc { "default";
+ rel1.to: "elm.text.mode";
+ rel2.to: "elm.text.mode";
+ color: FN_COL_DISABLE;
+ color_class: "list_item_disabled";
+ text { font: FN; size: 10;
+ text_source: "elm.text.mode";
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ hid;
+ }
+ desc { "selected";
+ inherit: "default";
+ hid;
+ }
+ desc { "disabled";
+ inherit: "default";
+ vis;
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ hid;
+ }
+ }
+ text { "label3";
+ effect: GLOW;
+ scale;
+ desc { "default";
+ rel1.offset: -2 -3;
+ rel1.to: "elm.text.mode";
+ rel2.offset: -1 1;
+ rel2.to: "elm.text.mode";
+ color: FN_COL_HIGHLIGHT;
+ color_class: "list_item_selected";
+ text { font: FN; size: 10;
+ text_source: "elm.text.mode";
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ hid;
+ }
+ desc { "selected";
+ inherit: "default";
+ vis;
+ }
+ desc { "disabled";
+ inherit: "default";
+ hid;
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ hid;
+ }
+ }
+ swallow { "elm.text.mode.flip"; mouse;
+ scale;
+ desc { "default";
+ hid;
+ rel1.to_y: "elm.text.mode";
+ rel2.to_y: "elm.text.mode";
+ }
+ desc { "flip_enabled";
+ inherit: "default";
+ vis;
+ }
+ }
+ target_group: "mode" "elm.text.mode" "label2" "label3";
+ program {
+ signal: "elm,state,selected";
+ action: STATE_SET "selected";
+ groups: "mode";
+ }
+ program {
+ signal: "elm,state,unselected";
+ action: STATE_SET "default";
+ groups: "mode";
+ }
+ program {
+ signal: "elm,state,disabled";
+ action: STATE_SET "disabled";
+ groups: "mode";
+ }
+ program {
+ signal: "elm,state,enabled";
+ action: STATE_SET "default";
+ groups: "mode";
+ }
+ program {
+ signal: "elm,state,flip,enabled";
+ action: STATE_SET "flip_enabled";
+ groups: "mode";
+ target: "elm.text.mode.flip";
+ }
+ program {
+ signal: "elm,state,flip,disabled";
+ action: STATE_SET "default";
+ groups: "mode";
+ target: "elm.text.mode.flip";
+ }
+ //##//
+ swallow { "elm.swallow.pad"; mouse;
+ desc { "default";
+ fixed: 1 0;
+ align: 0.0 0.5;
+ rel1.offset: 2 2;
+ rel2.relative: 0.0 1.0;
+ rel2.offset: 2 -3;
+ }
+ }
+ //##//
+ rect { "event_block_layer"; mouse;
+ desc { "default";
+ rel1.to: "base";
+ rel2.to: "base";
+ color: 0 0 0 0;
+ }
+ desc { "repeat_events";
+ inherit: "default";
+ hid;
+ }
+ }
+ spacer { "pers";
+ desc { "default";
+ rel1.relative: 0.0 1.0;
+ }
+ }
+ swallow { "elm.swallow.original"; mouse;
+ desc { "default";
+ fixed: 1 0;
+ align: 0.0 0.5;
+ }
+ desc { "slide";
+ inherit: "default";
+ rel1.relative: 1.0 0.0;
+ rel2.relative: 2.0 1.0;
+ }
+ desc { "rotate";
+ inherit: "default";
+ map {
+ perspective: "pers";
+ on: 1;
+ smooth: 1;
+ perspective_on: 1;
+ backface_cull: 1;
+ rotation {
+ center: "pers";
+ }
+ }
+ }
+ desc { "rotate2";
+ inherit: "rotate";
+ map.rotation.x: 90.0;
+ }
+ }
+ program {
+ signal: "elm,state,slide,active";
+ action: STATE_SET "slide";
+ target: "elm.swallow.original";
+ transition: ACCELERATE 0.5 CURRENT;
+ after: "unblock_event";
+ }
+ program { "unblock_event";
+ action: STATE_SET "repeat_events";
+ target: "event_block_layer";
+ }
+ program {
+ signal: "elm,state,slide,passive";
+ action: STATE_SET "default";
+ target: "event_block_layer";
+ after: "slide_left2";
+ }
+ program { "slide_left2";
+ action: STATE_SET "default";
+ target: "elm.swallow.original";
+ transition: DECELERATE 0.5 CURRENT;
+ after: "slide_left_finished";
+ }
+ program { "slide_left_finished";
+ action: SIGNAL_EMIT "elm,state,slide,passive,finished" "elm";
+ }
+ program {
+ signal: "elm,state,rotate,active";
+ action: STATE_SET "rotate";
+ target: "elm.swallow.original";
+ after: "rotate_on2";
+ }
+ program { "rotate_on2";
+ action: STATE_SET "rotate2";
+ target: "elm.swallow.original";
+ transition: LINEAR 0.5;
+ after: "unblock_event";
+ }
+ program {
+ signal: "elm,state,rotate,passive";
+ action: STATE_SET "default";
+ target: "event_block_layer";
+ after: "rotate_off2";
+ }
+ program { "rotate_off2";
+ action: STATE_SET "rotate";
+ transition: LINEAR 0.5;
+ target: "elm.swallow.original";
+ after: "rotate_off3";
+ }
+ program { "rotate_off3";
+ action: STATE_SET "default";
+ target: "elm.swallow.original";
+ after: "rotate_off_finished";
+ }
+ program { "rotate_off_finished";
+ action: SIGNAL_EMIT "elm,state,rotate,passive,finished" "elm";
+ }
+
+ }
+ inherit: "genlist_top";
+}
+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 { "elm/genlist/tree/mode/default";
+ inherit: "elm/genlist/item/mode/default";
+ parts {
+ text { "elm.text.mode";
+ desc { "default";
+ rel1.to_x: "arrow";
+ rel1.offset: 1 2;
+ }
+ desc { "flip_enabled";
+ rel1.to_x: "arrow";
+ rel1.offset: 1 2;
+ }
+ }
+ }
+ inherit: "genlist_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 { \
+ rect { "base"; \
+ desc { "default"; \
+ color: 56 56 56 255; \
+ color_class: "list_item_base_odd"; \
+ } \
+ } \
+ } \
+ }
+group { "elm/genlist/item/edit/default"; nomouse;
+ data.item: "contents" "elm.edit.icon.1 elm.edit.icon.2";
+ data.item: "selectraise" "on";
+ data.item: "focusraise" "on";
+ images.image: "vgrad_med_dark.png" COMP;
+ images.image: "bevel_horiz_out.png" COMP;
+ images.image: "shadow_horiz.png" COMP;
+ program_source: "elm";
+ parts {
+ rect { "base";
+ desc { "default";
+ color: 64 64 64 255;
+ color_class: "list_item_base";
+ }
+ desc { "odd";
+ color: 56 56 56 255;
+ color_class: "list_item_base_odd";
+ }
+ }
+ program {
+ signal: "elm,state,odd";
+ action: STATE_SET "odd" 1.0;
+ target: "base";
+ }
+ program {
+ signal: "elm,state,even";
+ action: STATE_SET "default";
+ target: "base";
+ }
+
+ image { "sel_shadow1";
+ desc { "default";
+ 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;
+ hid;
+ }
+ desc { "selected";
+ inherit: "default";
+ vis;
+ }
+ }
+ image { "sel_shadow2";
+ desc { "default";
+ 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;
+ hid;
+ }
+ desc { "selected";
+ inherit: "default";
+ vis;
+ }
+ }
+ image { "sel_base";
+ desc { "default";
+ image.normal: "vgrad_med_dark.png";
+ fill.smooth: 0;
+ hid;
+ TILED_HORIZ(120)
+ }
+ desc { "selected";
+ inherit: "default";
+ vis;
+ }
+ }
+ image { "sel_bevel";
+ desc { "default";
+ image.normal: "bevel_horiz_out.png";
+ image.border: 0 0 2 2;
+ image.middle: 0;
+ fill.smooth: 0;
+ hid;
+ }
+ desc { "selected";
+ inherit: "default";
+ vis;
+ }
+ }
+ target_group: "edit" "sel_base" "sel_bevel" "sel_shadow1" "sel_shadow2";
+ program {
+ signal: "elm,state,selected";
+ action: STATE_SET "selected";
+ groups: "edit";
+ }
+ program {
+ signal: "elm,state,unselected";
+ action: STATE_SET "default";
+ groups: "edit";
+ }
+
+ swallow { "elm.edit.icon.1"; mouse;
+ desc { "default";
+ fixed: 1 0;
+ align: 1.0 0.5;
+ rel2.relative: 0.0 1.0;
+ rel1.offset: -1 2;
+ rel2.offset: -1 -3;
+ }
+ desc { "on";
+ inherit: "default";
+ align: 0.0 0.5;
+ rel1.offset: 2 2;
+ rel2.offset: 2 -3;
+ }
+ desc { "disabled";
+ inherit: "default";
+ hid;
+ }
+ }
+ swallow { "elm.edit.icon.2"; mouse;
+ desc { "default";
+ fixed: 1 0;
+ align: 0.0 0.5;
+ rel1.relative: 1.0 0.0;
+ rel1.offset: 1 2;
+ rel2.offset: 1 -3;
+ }
+ desc { "on";
+ inherit: "default";
+ align: 1.0 0.5;
+ rel1.offset: -3 2;
+ rel2.offset: -3 -3;
+ }
+ desc { "disabled";
+ inherit: "default";
+ hid;
+ }
+ }
+
+ swallow { "elm.swallow.decorate.content"; mouse;
+ desc { "default";
+ }
+ desc { "on";
+ inherit: "default";
+ 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;
+ }
+ }
+ target_group: "decorate" "elm.swallow.decorate.content" "elm.edit.icon.1" "elm.edit.icon.2";
+ program {
+ signal: "elm,state,decorate,enabled,effect";
+ action: STATE_SET "on";
+ groups: "decorate";
+ transition: DECELERATE 0.5;
+ }
+ program {
+ signal: "elm,state,decorate,disabled,effect";
+ action: STATE_SET "default";
+ groups: "decorate";
+ transition: ACCELERATE 0.5;
+ }
+ program {
+ signal: "elm,state,decorate,enabled";
+ action: STATE_SET "on";
+ groups: "decorate";
+ }
+ program {
+ signal: "elm,state,decorate,disabled";
+ action: STATE_SET "default";
+ groups: "decorate";
+ }
+ }
+}
+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 { "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 TREEPAD
+#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/default/edc/elm/hover.edc b/data/themes/default/edc/elm/hover.edc
new file mode 100644
index 0000000..19c3bd5
--- /dev/null
+++ b/data/themes/default/edc/elm/hover.edc
@@ -0,0 +1,815 @@
+/* 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,*"; 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,*"; 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";
+ }
+ }
+}
+
+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,*"; 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,*"; 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/default/edc/elm/icon.edc b/data/themes/default/edc/elm/icon.edc
new file mode 100644
index 0000000..41cd654
--- /dev/null
+++ b/data/themes/default/edc/elm/icon.edc
@@ -0,0 +1,159 @@
+
+
+/*
+ * Standard FreeDesktop icons:
+ *
+ * WARNING: When you add new icons you MUST ensure to use standard names as per:
+ * http://standards.freedesktop.org/icon-naming-spec/icon-naming-spec-latest.html
+ * If you can't find the name in the spec then you MUST search in the Tango
+ * and/or the Oxigen theme to find a suitable name. IF you really cannot find
+ * anything try at least to be consistent with other existing names.
+ * NOTE: icons marked with an empty comment are names that I cannot
+ * find anywhere else, so they are not really standard.
+ */
+#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("folder", "icon_folder.png", 16, 0);
+IC("user-home", "icon_home.png", 16, 0);
+IC("user-trash", "icon_delete.png", 16, 0);
+
+IC("view-close", "icon_close.png", 16, 0);
+IC("view-refresh", "icon_refresh.png", 16, 0);
+
+IC("window-close", "icon_close.png", 16, 0);
+
+IC("document-close", "icon_close.png", 16, 0);
+IC("document-edit", "icon_edit.png", 16, 0);
+
+IC("dialog-info", "icon_info.png", 16, 0);
+IC("dialog-close", "icon_close.png", 16, 0);
+
+IC("arrow-up", "icon_arrow_up.png", 16, 0);
+IC("arrow-down", "icon_arrow_down.png", 16, 0);
+IC("arrow-left", "icon_arrow_left.png", 16, 0);
+IC("arrow-right", "icon_arrow_right.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("edit-delete", "icon_delete.png", 16, 0);
+IC("edit-find", "icon_search.png", 16, 0);
+
+IC("application-chat", "icon_chat.png", 16, 0); /* */
+IC("application-clock", "icon_clock.png", 16, 0); /* */
+
+IC("media-seek-forward", "icon_forward.png", 16, 0);
+IC("media-seek-backward", "icon_rewind.png", 16, 0);
+IC("media-skip-forward", "icon_next.png", 16, 0);
+IC("media-skip-backward", "icon_prev.png", 16, 0);
+IC("media-playback-pause", "icon_pause.png", 16, 0);
+IC("media-playback-start", "icon_play.png", 16, 0);
+IC("media-playback-stop", "icon_stop.png", 16, 0);
+IC("media-eject", "icon_eject.png", 16, 0);
+
+IC("audio-volume", "icon_volume.png", 16, 0); /* */
+IC("audio-volume-muted", "icon_mute.png", 16, 0);
+
+/// TODO emoticons, file, no_photo
+#undef IC
+
+
+/*
+ * All the icons below this point are not standard and are to be considered
+ * deprecated or at least just for internal usage only.
+ */
+
+#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("file", "toolbar/file", "icon_file.png", 16, 0);
+IC("no_photo", "photo/no_photo", "icon_head.png", 16, 0);
+IC("search", "toolbar/search", "icon_search.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("toolbar/folder", "icon_folder.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/default/edc/elm/index.edc b/data/themes/default/edc/elm/index.edc
new file mode 100644
index 0000000..0f88ef6
--- /dev/null
+++ b/data/themes/default/edc/elm/index.edc
@@ -0,0 +1,686 @@
+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;
+ ellipsis: -1;
+ align: 1.0 0.5;
+ }
+ }
+ }
+ part { name: "elm.dragable.pointer"; type: RECT; mouse_events: 0;
+ clip_to: "clip";
+ dragable {
+ x: 1 1 0;
+ y: 1 1 0;
+ }
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ min: 8 8;
+ max: 8 8;
+ visible: 0;
+ rel1 {
+ relative: 0.0 0.0;
+ offset: 0 0;
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ offset: 0 0;
+ }
+ }
+ }
+ part { name: "elm.swallow.event.0"; type: SWALLOW;
+ description { state: "default" 0.0;
+ align: 1.0 0.5;
+ fixed: 1 1;
+ rel1 {
+ relative: 1.0 0.0;
+ offset: -1 0;
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ offset: -1 -1;
+ }
+ }
+ }
+ part { name: "access"; type: RECT;
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ rel1.to:"elm.swallow.event.0";
+ rel2.to:"elm.swallow.event.0";
+ color: 0 0 0 0;
+ }
+ }
+ }
+ programs {
+ program { name: "active";
+ signal: "elm,state,active"; source: "elm";
+ action: STATE_SET "active" 0.0;
+ transition: DECELERATE 0.5;
+ target: "clip";
+ }
+ program { name: "inactive";
+ signal: "elm,state,inactive"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: DECELERATE 0.5;
+ target: "clip";
+ }
+ program { name: "active2";
+ signal: "elm,indicator,state,active"; source: "elm";
+ action: STATE_SET "active" 0.0;
+ transition: DECELERATE 0.5;
+ target: "clip2";
+ }
+ program { name: "inactive2";
+ signal: "elm,indicator,state,inactive"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: DECELERATE 0.5;
+ target: "clip2";
+ }
+ }
+}
+
+group { name: "elm/index/item/vertical/default";
+ data.item: "stacking" "below";
+ images {
+ image: "darken_rounded_square_half.png" COMP;
+ }
+ parts {
+ part { name: "base"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image {
+ normal: "darken_rounded_square_half.png";
+ border: 7 0 6 8;
+ }
+ fill.smooth: 0;
+ }
+ description { state: "active" 0.0;
+ inherit: "default" 0.0;
+ rel1.offset: -16 0;
+ }
+ }
+ part { name: "elm.text"; type: TEXT; mouse_events: 0;
+ scale: 1;
+ effect: SHADOW BOTTOM;
+ description {
+ state: "default" 0.0;
+ rel1 {
+ to: "base";
+ relative: 0.0 0.0;
+ offset: 4 4;
+ }
+ rel2 {
+ to: "base";
+ relative: 0.5 1.0;
+ offset: -1 -1;
+ }
+ color: FN_COL_DEFAULT;
+ text {
+ font: FN;
+ size: 10;
+ min: 1 1;
+ ellipsis: -1;
+ align: 0.5 0.5;
+ }
+ }
+ description { state: "active" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.text2"; type: TEXT; mouse_events: 0;
+ scale: 1;
+ effect: GLOW;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ rel1 {
+ to: "base";
+ relative: 0.0 0.0;
+ offset: 4 4;
+ }
+ rel2 {
+ to: "base";
+ relative: 0.5 1.0;
+ offset: -1 -1;
+ }
+ color: FN_COL_HIGHLIGHT;
+ text {
+ font: FN;
+ size: 10;
+ min: 0 0;
+ align: 0.5 0.5;
+ text_source: "elm.text";
+ }
+ }
+ description { state: "active" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ program { name: "active";
+ signal: "elm,state,active"; source: "elm";
+ action: STATE_SET "active" 0.0;
+ target: "elm.text";
+ target: "elm.text2";
+ after: "active_base";
+ }
+ program { name: "active_base";
+ action: STATE_SET "active" 0.0;
+ target: "base";
+ transition: DECELERATE 0.5;
+ }
+ program { name: "inactive";
+ signal: "elm,state,inactive"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ target: "elm.text2";
+ after: "inactive_base";
+ }
+ program { name: "inactive_base";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ transition: DECELERATE 0.5;
+ }
+ }
+}
+
+group { name: "elm/index/item_odd/vertical/default";
+ data.item: "stacking" "above";
+ data.item: "selectraise" "on";
+ parts {
+ part { name: "base"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image {
+ normal: "darken_rounded_square_half.png";
+ border: 7 0 6 8;
+ }
+ fill.smooth: 0;
+ }
+ description { state: "active" 0.0;
+ inherit: "default" 0.0;
+ rel1.offset: -16 0;
+ }
+ }
+ part { name: "elm.text"; type: TEXT; mouse_events: 0;
+ scale: 1;
+ effect: SHADOW BOTTOM;
+ description {
+ state: "default" 0.0;
+ rel1 {
+ to: "base";
+ relative: 0.0 0.0;
+ offset: 4 4;
+ }
+ rel2 {
+ to: "base";
+ relative: 0.5 1.0;
+ offset: -1 -1;
+ }
+ color: FN_COL_DEFAULT;
+ text {
+ font: FN;
+ size: 10;
+ min: 1 1;
+ ellipsis: -1;
+ align: 0.5 0.5;
+ }
+ }
+ description { state: "active" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.text2"; type: TEXT; mouse_events: 0;
+ scale: 1;
+ effect: GLOW;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ rel1 {
+ to: "base";
+ relative: 0.0 0.0;
+ offset: 4 4;
+ }
+ rel2 {
+ to: "base";
+ relative: 0.5 1.0;
+ offset: -1 -1;
+ }
+ color: FN_COL_HIGHLIGHT;
+ text {
+ font: FN;
+ size: 10;
+ min: 0 0;
+ align: 0.5 0.5;
+ text_source: "elm.text";
+ }
+ }
+ description { state: "active" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ program { name: "active";
+ signal: "elm,state,active"; source: "elm";
+ action: STATE_SET "active" 0.0;
+ target: "elm.text";
+ target: "elm.text2";
+ after: "active_base";
+ }
+ program { name: "active_base";
+ action: STATE_SET "active" 0.0;
+ target: "base";
+ transition: DECELERATE 0.5;
+ }
+ program { name: "inactive";
+ signal: "elm,state,inactive"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ target: "elm.text2";
+ after: "inactive_base";
+ }
+ program { name: "inactive_base";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ transition: DECELERATE 0.5;
+ }
+ }
+}
+
+group { name: "elm/index/base/horizontal/default";
+ parts {
+ part { name: "clip"; type: RECT; mouse_events: 0;
+ description { state: "default" 0.0;
+ visible: 0;
+ color: 255 255 255 0;
+ }
+ description { state: "active" 0.0;
+ visible: 1;
+ color: 255 255 255 255;
+ }
+ }
+ part { name: "clip2"; type: RECT; mouse_events: 0;
+ clip_to: "clip";
+ description { state: "default" 0.0;
+ visible: 0;
+ color: 255 255 255 0;
+ }
+ description { state: "active" 0.0;
+ visible: 1;
+ color: 255 255 255 255;
+ }
+ }
+ part { name: "elm.swallow.index.0"; type: SWALLOW;
+ clip_to: "clip";
+ description { state: "default" 0.0;
+ align: 0.5 1.0;
+ fixed: 1 1;
+ rel1 {
+ relative: 0.5 1;
+ offset: 0 0;
+ }
+ rel2 {
+ relative: 0.5 1;
+ offset: -1 -1;
+ }
+ }
+ }
+ part { name: "elm.text"; type: TEXT; mouse_events: 0;
+ scale: 1;
+ clip_to: "clip2";
+ effect: GLOW;
+ description { state: "default" 0.0;
+ align: 0.5 1;
+ fixed: 1 1;
+ rel1 {
+ to_x: "elm.dragable.pointer";
+ to_y: "elm.swallow.event.0";
+ relative: 0.5 0;
+ offset: 0 -16;
+ }
+ rel2 {
+ to_x: "elm.dragable.pointer";
+ to_y: "elm.swallow.event.0";
+ relative: 0.5 0;
+ offset: -1 -16;
+ }
+ color: FN_COL_HIGHLIGHT;
+ text {
+ font: FN;
+ size: 20;
+ min: 1 1;
+ ellipsis: -1;
+ align: 0.5 1;
+ }
+ }
+ }
+ part { name: "elm.dragable.pointer"; type: RECT; mouse_events: 0;
+ clip_to: "clip";
+ dragable {
+ x: 1 1 0;
+ y: 1 1 0;
+ }
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ min: 8 8;
+ max: 8 8;
+ visible: 0;
+ rel1 {
+ relative: 0.0 0.0;
+ offset: 0 0;
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ offset: 0 0;
+ }
+ }
+ }
+ part { name: "elm.swallow.event.0"; type: SWALLOW;
+ description { state: "default" 0.0;
+ align: 0.5 1;
+ fixed: 1 1;
+ rel1 {
+ relative: 0.0 1.0;
+ offset: -1 0;
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ offset: -1 -1;
+ }
+ }
+ }
+ }
+ programs {
+ program { name: "active";
+ signal: "elm,state,active"; source: "elm";
+ action: STATE_SET "active" 0.0;
+ transition: DECELERATE 0.5;
+ target: "clip";
+ }
+ program { name: "inactive";
+ signal: "elm,state,inactive"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: DECELERATE 0.5;
+ target: "clip";
+ }
+ program { name: "active2";
+ signal: "elm,indicator,state,active"; source: "elm";
+ action: STATE_SET "active" 0.0;
+ transition: DECELERATE 0.5;
+ target: "clip2";
+ }
+ program { name: "inactive2";
+ signal: "elm,indicator,state,inactive"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: DECELERATE 0.5;
+ target: "clip2";
+ }
+ }
+}
+
+group { name: "elm/index/item/horizontal/default";
+ data.item: "stacking" "below";
+ images {
+ image: "darken_rounded_square_half_h.png" COMP;
+ }
+ parts {
+ part { name: "base"; mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ image {
+ normal: "darken_rounded_square_half_h.png";
+ border: 6 8 7 0;
+ }
+ fill.smooth: 0;
+ }
+ description { state: "active" 0.0;
+ inherit: "default" 0.0;
+ rel1.offset: 0 -16;
+ }
+ }
+ part { name: "elm.text"; type: TEXT; mouse_events: 0;
+ scale: 1;
+ effect: SHADOW BOTTOM;
+ description { state: "default" 0.0;
+ rel1 {
+ to: "base";
+ relative: 0.25 0.0;
+ }
+ rel2 {
+ to: "base";
+ relative: 0.75 1.0;
+ }
+ color: FN_COL_DEFAULT;
+ text {
+ font: FN;
+ size: 10;
+ min: 1 1;
+ ellipsis: -1;
+ align: 0.5 0.5;
+ }
+ }
+ description { state: "active" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.text2"; type: TEXT; mouse_events: 0;
+ scale: 1;
+ effect: GLOW;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ rel1 {
+ to: "base";
+ relative: 0.25 0.0;
+ }
+ rel2 {
+ to: "base";
+ relative: 0.75 1.0;
+ }
+ color: FN_COL_HIGHLIGHT;
+ text {
+ font: FN;
+ size: 10;
+ min: 0 0;
+ align: 0.5 0.5;
+ text_source: "elm.text";
+ }
+ }
+ description { state: "active" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+
+ }
+ programs {
+ program { name: "active";
+ signal: "elm,state,active"; source: "elm";
+ action: STATE_SET "active" 0.0;
+ target: "elm.text";
+ target: "elm.text2";
+ after: "active_base";
+ }
+ program { name: "active_base";
+ action: STATE_SET "active" 0.0;
+ target: "base";
+ transition: DECELERATE 0.5;
+ }
+ program { name: "inactive";
+ signal: "elm,state,inactive"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ target: "elm.text2";
+ after: "inactive_base";
+ }
+ program { name: "inactive_base";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ transition: DECELERATE 0.5;
+ }
+ }
+}
+
+group { name: "elm/index/item_odd/horizontal/default";
+ data.item: "stacking" "above";
+ data.item: "selectraise" "on";
+ parts {
+ part { name: "base"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image {
+ normal: "darken_rounded_square_half_h.png";
+ border: 6 8 7 0;
+ }
+ fill.smooth: 0;
+ }
+ description { state: "active" 0.0;
+ inherit: "default" 0.0;
+ rel1.offset: 0 -16;
+ }
+ }
+ part { name: "elm.text"; type: TEXT; mouse_events: 0;
+ scale: 1;
+ effect: SHADOW BOTTOM;
+ description { state: "default" 0.0;
+ rel1 {
+ to: "base";
+ relative: 0.25 0.0;
+ }
+ rel2 {
+ to: "base";
+ relative: 0.75 1.0;
+ }
+ color: FN_COL_DEFAULT;
+ text {
+ font: FN;
+ size: 10;
+ min: 1 1;
+ ellipsis: -1;
+ align: 0.5 0.5;
+ }
+ }
+ description { state: "active" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.text2"; type: TEXT; mouse_events: 0;
+ scale: 1;
+ effect: GLOW;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ rel1 {
+ to: "base";
+ relative: 0.25 0.0;
+ }
+ rel2 {
+ to: "base";
+ relative: 0.75 1.0;
+ }
+ color: FN_COL_HIGHLIGHT;
+ text {
+ font: FN;
+ size: 10;
+ min: 0 0;
+ align: 0.5 0.5;
+ text_source: "elm.text";
+ }
+ }
+ description { state: "active" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+
+ }
+ programs {
+ program { name: "active";
+ signal: "elm,state,active"; source: "elm";
+ action: STATE_SET "active" 0.0;
+ target: "elm.text";
+ target: "elm.text2";
+ after: "active_base";
+ }
+ program { name: "active_base";
+ action: STATE_SET "active" 0.0;
+ target: "base";
+ transition: DECELERATE 0.5;
+ }
+ program { name: "inactive";
+ signal: "elm,state,inactive"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ target: "elm.text2";
+ after: "inactive_base";
+ }
+ program { name: "inactive_base";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ transition: DECELERATE 0.5;
+ }
+ }
+}
diff --git a/data/themes/default/edc/elm/inwin.edc b/data/themes/default/edc/elm/inwin.edc
new file mode 100644
index 0000000..99e596b
--- /dev/null
+++ b/data/themes/default/edc/elm/inwin.edc
@@ -0,0 +1,79 @@
+group { name: "elm/win/inwin/default";
+ images {
+ image: "button_normal.png" COMP;
+ }
+ parts {
+ part { name: "base"; type: RECT; mouse_events: 1;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ color: 0 0 0 128;
+ }
+ }
+ part { name: "pop"; mouse_events: 1;
+ description { state: "default" 0.0;
+ rel1.to: "elm.swallow.content";
+ rel1.offset: -5 -5;
+ rel2.to: "elm.swallow.content";
+ rel2.offset: 4 4;
+ image {
+ normal: "button_normal.png";
+ border: 4 4 3 5;
+ middle: SOLID;
+ }
+ }
+ }
+ part { name: "elm.swallow.content"; type: SWALLOW;
+ description { state: "default" 0.0;
+ rel1.relative: 0.1 0.1;
+ rel2.relative: 0.9 0.9;
+ }
+ }
+ }
+ programs {
+ program { name: "show";
+ signal: "elm,action,show";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ transition: DECELERATE 0.5;
+ target: "base";
+ }
+ program { name: "hide";
+ signal: "elm,action,hide";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: DECELERATE 0.5;
+ target: "base";
+ }
+ }
+}
+
+group { name: "elm/win/inwin/minimal";
+ inherit: "elm/win/inwin/default";
+ parts {
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.relative: 0.5 0.5;
+ rel2.relative: 0.5 0.5;
+ }
+ }
+ }
+}
+
+group { name: "elm/win/inwin/minimal_vertical";
+ inherit: "elm/win/inwin/default";
+ parts {
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.relative: 0.1 0.5;
+ rel2.relative: 0.9 0.5;
+ }
+ }
+ }
+}
diff --git a/data/themes/default/edc/elm/label.edc b/data/themes/default/edc/elm/label.edc
new file mode 100644
index 0000000..214aa12
--- /dev/null
+++ b/data/themes/default/edc/elm/label.edc
@@ -0,0 +1,399 @@
+group { name: "elm/label/base/default";
+ styles {
+ style { name: "label_style";
+ base: "font="FN" font_size=10 text_class=tb_plain align=center color=#ffffffff style=shadow,bottom shadow_color=#00000080";
+ tag: "br" "\n";
+ tag: "hilight" "+ font="FNBD" text_class=tb_light";
+ tag: "b" "+ font="FNBD" text_class=tb_light";
+ }
+ }
+ parts {
+ part { name: "label.text.clip"; type: RECT;
+ description { state: "default" 0.0;
+ }
+ }
+ part { name: "elm.text"; type: TEXTBLOCK;
+ clip_to: "label.text.clip";
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 1.0 1.0;
+ text {
+ style: "label_style";
+ min: 0 1;
+ }
+ }
+ }
+ }
+}
+
+group { name: "elm/label/base/marker";
+ styles {
+ style { name: "label_style2";
+ base: "font="FNBD" font_size=10 text_class=tb_plain align=center color=#ffffffff style=shadow,bottom shadow_color=#00000080";
+ tag: "br" "\n";
+ tag: "hilight" "+ font="FNBD" color=#3399ff text_class=tb_light";
+ tag: "b" "+ font="FNBD" color=#3399ff text_class=tb_light";
+ }
+ }
+ parts {
+ part { name: "elm.text"; type: TEXTBLOCK;
+ scale: 1;
+ description { state: "default" 0.0;
+ text { style: "label_style2";
+ min: 1 1;
+ ellipsis: -1;
+ }
+ }
+ }
+ }
+}
+
+group { name: "elm/label/base/slide_long";
+ script {
+ public g_duration, g_stopslide, g_timer_id, g_anim_id;
+
+ public message(Msg_Type:type, id, ...) {
+ if ((type == MSG_FLOAT_SET) && (id == 0)) {
+ new Float:duration;
+ duration = getfarg(2);
+ set_float(g_duration, duration);
+ }
+ }
+ public slide_to_end_anim(val, Float:pos) {
+ new stopflag;
+ new id;
+ stopflag = get_int(g_stopslide);
+ if (stopflag == 1) return;
+ set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0);
+ if (pos >= 1.0) {
+ id = timer(0.5, "slide_to_begin", 1);
+ set_int(g_timer_id, id);
+ emit("elm,state,slide,end","elm");
+ }
+ }
+ public slide_to_end() {
+ new stopflag;
+ new id;
+ new Float:duration;
+ stopflag = get_int(g_stopslide);
+ if (stopflag == 1) return;
+ duration = get_float(g_duration);
+ id = anim(duration, "slide_to_end_anim", 1);
+ set_int(g_anim_id, id);
+ }
+ public slide_to_begin() {
+ new stopflag;
+ new id;
+ stopflag = get_int(g_stopslide);
+ if (stopflag == 1) return;
+ set_state(PART:"elm.text", "slide_begin", 0.0);
+ id = timer(0.5, "slide_to_end", 1);
+ set_int(g_timer_id, id);
+ }
+ public start_slide() {
+ set_int(g_stopslide, 0);
+ set_state(PART:"elm.text", "slide_begin", 0.0);
+ slide_to_end();
+ }
+ public stop_slide() {
+ new id;
+ set_int(g_stopslide, 1);
+ id = get_int(g_anim_id);
+ cancel_anim(id);
+ id = get_int(g_timer_id);
+ cancel_timer(id);
+ set_state(PART:"elm.text", "default", 0.0);
+ }
+ }
+ parts {
+ part { name: "label.text.clip"; type: RECT;
+ description { state: "default" 0.0;
+ }
+ }
+ part { name: "elm.text"; type: TEXTBLOCK;
+ scale: 1;
+ clip_to: "label.text.clip";
+ description { state: "default" 0.0;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 1.0 1.0;
+ align: 0.0 0.0;
+ text {
+ style: "label_style";
+ min: 0 1;
+ }
+ }
+ description { state: "slide_end" 0.0;
+ inherit: "default" 0.0;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 0.0 1.0;
+ align: 1.0 0.0;
+ text {
+ style: "label_style";
+ min: 1 1;
+ ellipsis: -1;
+ }
+ }
+ description { state: "slide_begin" 0.0;
+ inherit: "default" 0.0;
+ rel1.relative: 1.0 0.0;
+ rel2.relative: 1.0 1.0;
+ align: 0.0 0.0;
+ text {
+ style: "label_style";
+ min: 1 1;
+ ellipsis: -1;
+ }
+ }
+ }
+ }
+ programs {
+ program { name: "start_slide";
+ signal: "elm,state,slide,start"; source: "elm";
+ script {
+ start_slide();
+ }
+ }
+ program { name: "stop_slide";
+ signal: "elm,state,slide,stop"; source: "elm";
+ script {
+ stop_slide();
+ }
+ }
+ }
+}
+
+
+group { name: "elm/label/base/slide_short";
+ script {
+ public g_duration, g_stopslide, g_timer_id, g_anim_id;
+
+ public message(Msg_Type:type, id, ...) {
+ if ((type == MSG_FLOAT_SET) && (id == 0)) {
+ new Float:duration;
+ duration = getfarg(2);
+ set_float(g_duration, duration);
+ }
+ }
+ public slide_to_end_anim(val, Float:pos) {
+ new stopflag;
+ new id;
+ stopflag = get_int(g_stopslide);
+ if (stopflag == 1) return;
+ set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0);
+ if (pos >= 1.0) {
+ id = timer(0.5, "slide_to_begin", 1);
+ set_int(g_timer_id, id);
+ emit("elm,state,slide,end","elm");
+ }
+ }
+ public slide_to_end() {
+ new stopflag;
+ new id;
+ new Float:duration;
+ stopflag = get_int(g_stopslide);
+ if (stopflag == 1) return;
+ duration = get_float(g_duration);
+ id = anim(duration, "slide_to_end_anim", 1);
+ set_int(g_anim_id, id);
+ }
+ public slide_to_begin() {
+ new stopflag;
+ new id;
+ stopflag = get_int(g_stopslide);
+ if (stopflag == 1) return;
+ set_state(PART:"elm.text", "slide_begin", 0.0);
+ id = timer(0.5, "slide_to_end", 1);
+ set_int(g_timer_id, id);
+ }
+ public start_slide() {
+ set_int(g_stopslide, 0);
+ set_state(PART:"elm.text", "slide_begin", 0.0);
+ slide_to_end();
+ }
+ public stop_slide() {
+ new id;
+ set_int(g_stopslide, 1);
+ id = get_int(g_anim_id);
+ cancel_anim(id);
+ id = get_int(g_timer_id);
+ cancel_timer(id);
+ set_state(PART:"elm.text", "default", 0.0);
+ }
+ }
+ parts {
+ part { name: "label.text.clip"; type: RECT;
+ description { state: "default" 0.0;
+ }
+ }
+ part { name: "elm.text"; type: TEXTBLOCK;
+ scale: 1;
+ clip_to: "label.text.clip";
+ description { state: "default" 0.0;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 1.0 1.0;
+ align: 0.0 0.0;
+ text { style: "label_style";
+ min: 0 1;
+ }
+ }
+ description { state: "slide_end" 0.0;
+ inherit: "default" 0.0;
+ rel1.relative: 1.0 0.0;
+ rel2.relative: 1.0 1.0;
+ align: 1.0 0.0;
+ text { style: "label_style";
+ min: 1 1;
+ ellipsis: -1;
+ }
+ }
+ description { state: "slide_begin" 0.0;
+ inherit: "default" 0.0;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 0.0 1.0;
+ align: 0.0 0.0;
+ text { style: "label_style";
+ min: 1 1;
+ ellipsis: -1;
+ }
+ }
+ }
+ }
+ programs {
+ program { name: "start_slide";
+ signal: "elm,state,slide,start"; source: "elm";
+ script {
+ start_slide();
+ }
+ }
+ program { name: "stop_slide";
+ signal: "elm,state,slide,stop"; source: "elm";
+ script {
+ stop_slide();
+ }
+ }
+ }
+}
+
+group { name: "elm/label/base/slide_bounce";
+ script {
+ public g_duration, g_stopslide, g_timer_id, g_anim_id;
+
+ public message(Msg_Type:type, id, ...) {
+ if ((type == MSG_FLOAT_SET) && (id == 0)) {
+ new Float:duration;
+ duration = getfarg(2);
+ set_float(g_duration, duration);
+ }
+ }
+ public slide_to_end_anim(val, Float:pos) {
+ new stopflag;
+ new id;
+ stopflag = get_int(g_stopslide);
+ if (stopflag == 1) return;
+ set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0);
+ if (pos >= 1.0) {
+ id = timer(0.5, "slide_to_begin", 1);
+ set_int(g_timer_id, id);
+ }
+ }
+ public slide_to_end() {
+ new stopflag;
+ new id;
+ new Float:duration;
+ stopflag = get_int(g_stopslide);
+ if (stopflag == 1) return;
+ duration = get_float(g_duration);
+ id = anim(duration, "slide_to_end_anim", 1);
+ set_int(g_anim_id, id);
+ }
+ public slide_to_begin_anim(val, Float:pos) {
+ new stopflag;
+ new id;
+ stopflag = get_int(g_stopslide);
+ if (stopflag == 1) return;
+ set_tween_state(PART:"elm.text", pos, "slide_end", 0.0, "slide_begin", 0.0);
+ if (pos >= 1.0) {
+ id = timer(0.5, "slide_to_end", 1);
+ set_int(g_timer_id, id);
+ emit("elm,state,slide,end","elm");
+ }
+ }
+ public slide_to_begin() {
+ new stopflag;
+ new id;
+ new Float:duration;
+ stopflag = get_int(g_stopslide);
+ if (stopflag == 1) return;
+ duration = get_float(g_duration);
+ id = anim(duration, "slide_to_begin_anim", 1);
+ set_int(g_anim_id, id);
+ }
+ public start_slide() {
+ set_int(g_stopslide, 0);
+ set_state(PART:"elm.text", "slide_begin", 0.0);
+ slide_to_end();
+ }
+ public stop_slide() {
+ new id;
+ set_int(g_stopslide, 1);
+ id = get_int(g_anim_id);
+ cancel_anim(id);
+ id = get_int(g_timer_id);
+ cancel_timer(id);
+ set_state(PART:"elm.text", "default", 0.0);
+ }
+ }
+ parts {
+ part { name: "label.text.clip"; type: RECT;
+ description { state: "default" 0.0;
+ }
+ }
+ part { name: "elm.text"; type: TEXTBLOCK;
+ scale: 1;
+ clip_to: "label.text.clip";
+ description { state: "default" 0.0;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 1.0 1.0;
+ align: 0.0 0.0;
+ text { style: "label_style";
+ min: 0 1;
+ }
+ }
+ description { state: "slide_end" 0.0;
+ inherit: "default" 0.0;
+ rel1.relative: 1.0 0.0;
+ rel2.relative: 1.0 1.0;
+ align: 1.0 0.0;
+ text { style: "label_style";
+ min: 1 1;
+ ellipsis: -1;
+ }
+ }
+ description { state: "slide_begin" 0.0;
+ inherit: "default" 0.0;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 0.0 1.0;
+ align: 0.0 0.0;
+ text { style: "label_style";
+ min: 1 1;
+ ellipsis: -1;
+ }
+ }
+ }
+ }
+ programs {
+ program { name: "start_slide";
+ signal: "elm,state,slide,start"; source: "elm";
+ script {
+ start_slide();
+ }
+ }
+ program { name: "stop_slide";
+ signal: "elm,state,slide,stop"; source: "elm";
+ script {
+ stop_slide();
+ }
+ }
+ }
+}
diff --git a/data/themes/default/edc/elm/layout.edc b/data/themes/default/edc/elm/layout.edc
new file mode 100644
index 0000000..a2e0fec
--- /dev/null
+++ b/data/themes/default/edc/elm/layout.edc
@@ -0,0 +1,532 @@
+/* application with a main content area with a back button and title area */
+group { name: "elm/layout/application/content-back";
+ parts {
+ part { name: "elm.swallow.content"; type: SWALLOW;
+ description { state: "default" 0.0;
+ rel1 {
+ to_y: "title_clipper";
+ relative: 0.0 1.0;
+ offset: -1 1;
+ }
+ }
+ }
+ part { name: "title_clipper"; type: RECT;
+ description { state: "default" 0.0;
+ visible: 1;
+ rel1.to_y: "back";
+ rel2.to_y: "back";
+ }
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ rel2.relative: 1.0 0.0;
+ }
+ }
+ part { name: "back_clipper"; type: RECT;
+ clip_to: "title_clipper";
+ description { state: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "hidden" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "back"; type: EXTERNAL;
+ source: "elm/button";
+ clip_to: "back_clipper";
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ fixed: 1 1;
+ rel1 {
+ relative: 0.0 0.0;
+ offset: 0 1;
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ offset: 50 32;
+ }
+ params.string: "label" "Back";
+ }
+ }
+ programs {
+ program {
+ signal: "clicked"; source: "back";
+ action: SIGNAL_EMIT "elm,action,back" "elm";
+ }
+ program {
+ signal: "elm,back,hide"; source: "elm";
+ action: STATE_SET "hidden" 0.0;
+ target: "back_clipper";
+ }
+ program {
+ signal: "elm,back,show"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "back_clipper";
+ }
+ program {
+ signal: "elm,title,hide"; source: "elm";
+ action: STATE_SET "hidden" 0.0;
+ transition: LINEAR 0.1;
+ target: "title_clipper";
+ }
+ program {
+ signal: "elm,title,show"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "title_clipper";
+ }
+ }
+ part { name: "elm.swallow.end"; type: SWALLOW;
+ description { state: "default" 0.0;
+ align: 1.0 0.0;
+ fixed: 1 1;
+ rel1 {
+ relative: 1.0 0.0;
+ offset: -2 1;
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ offset: -1 32;
+ }
+ }
+ }
+ part { name: "elm.text.title"; type: TEXT;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ clip_to: "title_clipper";
+ description { state: "default" 0.0;
+ rel1 {
+ to_x: "back";
+ relative: 1.0 0.0;
+ offset: 2 1;
+ }
+ rel2 {
+ to_y: "back";
+ to_x: "elm.swallow.end";
+ relative: 0.0 1.0;
+ offset: -3 -1;
+ }
+ color: FN_COL_DEFAULT;
+ text { font: FNBD; size: 10;
+ }
+ }
+ }
+ }
+}
+
+/* application with a main content area with a back and next buttons and title area */
+group { name: "elm/layout/application/content-back-next";
+ parts {
+ part { name: "elm.swallow.content"; type: SWALLOW;
+ description { state: "default" 0.0;
+ rel1 {
+ to_y: "title_clipper";
+ relative: 0.0 1.0;
+ offset: -1 1;
+ }
+ }
+ }
+ part { name: "title_clipper"; type: RECT;
+ description { state: "default" 0.0;
+ visible: 1;
+ rel1.to_y: "back";
+ rel2.to_y: "back";
+ }
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ rel2.relative: 1.0 0.0;
+ }
+ }
+ part { name: "back"; type: EXTERNAL;
+ source: "elm/button";
+ clip_to: "back_clipper";
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ fixed: 1 1;
+ rel1 {
+ relative: 0.0 0.0;
+ offset: 0 1;
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ offset: 50 32;
+ }
+ params.string: "label" "Back";
+ }
+ }
+ part { name: "back_clipper"; type: RECT;
+ clip_to: "title_clipper";
+ description { state: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "hidden" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "next"; type: EXTERNAL;
+ source: "elm/button";
+ clip_to: "next_clipper";
+ description { state: "default" 0.0;
+ align: 1.0 0.0;
+ fixed: 1 1;
+ rel1 {
+ relative: 1.0 0.0;
+ offset: -2 1;
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ offset: -1 32;
+ }
+ params.string: "label" "Next";
+ }
+ }
+ part { name: "next_clipper"; type: RECT;
+ clip_to: "title_clipper";
+ description { state: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "hidden" 0.0;
+ visible: 0;
+ }
+ }
+ programs {
+ program {
+ signal: "clicked"; source: "back";
+ action: SIGNAL_EMIT "elm,action,back" "elm";
+ }
+ program {
+ signal: "elm,title,hide"; source: "elm";
+ action: STATE_SET "hidden" 0.0;
+ transition: LINEAR 0.1;
+ target: "title_clipper";
+ }
+ program {
+ signal: "elm,title,show"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "title_clipper";
+ }
+ program {
+ signal: "elm,back,hide"; source: "elm";
+ action: STATE_SET "hidden" 0.0;
+ target: "back_clipper";
+ }
+ program {
+ signal: "elm,back,show"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "back_clipper";
+ }
+ program {
+ signal: "clicked"; source: "next";
+ action: SIGNAL_EMIT "elm,action,next" "elm";
+ }
+ program {
+ signal: "elm,next,hide"; source: "elm";
+ action: STATE_SET "hidden" 0.0;
+ target: "next_clipper";
+ }
+ program {
+ signal: "elm,next,show"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "next_clipper";
+ }
+ }
+ part { name: "elm.text.title"; type: TEXT;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ clip_to: "title_clipper";
+ description { state: "default" 0.0;
+ rel1 {
+ to_x: "back";
+ relative: 1.0 0.0;
+ offset: 2 1;
+ }
+ rel2 {
+ to_y: "back";
+ to_x: "next";
+ relative: 0.0 1.0;
+ offset: -3 -1;
+ }
+ color: FN_COL_DEFAULT;
+ text { font: FNBD; size: 10;
+ }
+ }
+ }
+ }
+}
+
+/* application with toolbar and main content area */
+group { name: "elm/layout/application/toolbar-content";
+ parts {
+ part { name: "elm.swallow.content"; type: SWALLOW;
+ description { state: "default" 0.0;
+ rel1 {
+ to_y: "elm.external.toolbar";
+ relative: 0.0 1.0;
+ offset: -1 1;
+ }
+ }
+ }
+ part { name: "elm.external.toolbar"; type: EXTERNAL;
+ source: "elm/toolbar";
+ description { state: "default" 0.0;
+ align: 0.5 0.0;
+ fixed: 0 1;
+ rel2 {
+ relative: 1.0 0.0;
+ offset: -1 0;
+ }
+ }
+ }
+ }
+}
+
+/* application with toolbar and main content area with a back button and title area */
+group { name: "elm/layout/application/toolbar-content-back";
+ inherit: "elm/layout/application/content-back";
+ parts {
+ part { name: "elm.external.toolbar"; type: EXTERNAL;
+ insert_after: "elm.swallow.content";
+ source: "elm/toolbar";
+ description { state: "default" 0.0;
+ fixed: 0 1;
+ align: 0.5 0.0;
+ rel2 {
+ relative: 1.0 0.0;
+ offset: -1 0;
+ }
+ }
+ }
+ part { name: "back";
+ description { state: "default" 0.0;
+ rel1 {
+ to_y: "elm.external.toolbar";
+ relative: 0.0 1.0;
+ }
+ rel2 {
+ to_y: "elm.external.toolbar";
+ relative: 0.0 1.0;
+ }
+ }
+ }
+ part { name: "elm.swallow.end";
+ description { state: "default" 0.0;
+ rel1 {
+ to_y: "elm.external.toolbar";
+ relative: 1.0 1.0;
+ }
+ rel2 {
+ to_y: "elm.external.toolbar";
+ relative: 1.0 1.0;
+ }
+ }
+ }
+ part { name: "elm.text.title";
+ description { state: "default" 0.0;
+ rel1 {
+ to_y: "elm.external.toolbar";
+ relative: 1.0 1.0;
+ }
+ }
+ }
+ }
+}
+
+/* application with toolbar and main content area with a back and next buttons and title area */
+group { name: "elm/layout/application/toolbar-content-back-next";
+ inherit: "elm/layout/application/content-back-next";
+ parts {
+ part { name: "elm.external.toolbar"; type: EXTERNAL;
+ source: "elm/toolbar";
+ description { state: "default" 0.0;
+ fixed: 0 1;
+ align: 0.5 0.0;
+ rel2 {
+ relative: 1.0 0.0;
+ offset: -1 0;
+ }
+ }
+ }
+ part { name: "back";
+ description { state: "default" 0.0;
+ rel1 {
+ to_y: "elm.external.toolbar";
+ relative: 0.0 1.0;
+ }
+ rel2 {
+ to_y: "elm.external.toolbar";
+ relative: 0.0 1.0;
+ }
+ }
+ }
+ part { name: "next";
+ description { state: "default" 0.0;
+ rel1 {
+ to_y: "elm.external.toolbar";
+ relative: 1.0 1.0;
+ }
+ rel2 {
+ to_y: "elm.external.toolbar";
+ relative: 1.0 1.0;
+ }
+ }
+ }
+ part { name: "elm.text.title";
+ description { state: "default" 0.0;
+ rel1 {
+ to_y: "elm.external.toolbar";
+ relative: 1.0 1.0;
+ }
+ }
+ }
+ }
+}
+
+/* application with toolbar and main content area as a vertical box */
+group { name: "elm/layout/application/toolbar-vbox";
+ parts {
+ part { name: "elm.box.content"; type: BOX;
+ description { state: "default" 0.0;
+ rel1 {
+ to_y: "elm.external.toolbar";
+ relative: 0.0 1.0;
+ offset: -1 0;
+ }
+ box.layout: "vertical";
+ }
+ }
+ part { name: "elm.external.toolbar"; type: EXTERNAL;
+ source: "elm/toolbar";
+ description { state: "default" 0.0;
+ align: 0.5 0.0;
+ fixed: 0 1;
+ rel2 {
+ relative: 1.0 0.0;
+ offset: -1 0;
+ }
+ }
+ }
+ }
+}
+
+/* application with toolbar and main content area as a table */
+group { name: "elm/layout/application/toolbar-table";
+ parts {
+ part { name: "elm.table.content"; type: TABLE;
+ description { state: "default" 0.0;
+ rel1 {
+ to_y: "elm.external.toolbar";
+ relative: 0.0 1.0;
+ offset: -1 0;
+ }
+ }
+ }
+ part { name: "elm.external.toolbar"; type: EXTERNAL;
+ source: "elm/toolbar";
+ description { state: "default" 0.0;
+ align: 0.5 0.0;
+ fixed: 0 1;
+ rel2 {
+ relative: 1.0 0.0;
+ offset: -1 0;
+ }
+ }
+ }
+ }
+}
+
+/* a simple title layout, with a label and two icons */
+group { name: "elm/layout/application/titlebar";
+ parts {
+ part { name: "elm.swallow.content"; type: SWALLOW;
+ description { state: "default" 0.0;
+ rel1 {
+ to_y: "elm.swallow.icon";
+ relative: 0.0 1.0;
+ offset: -1 0;
+ }
+ }
+ }
+ part { name: "elm.swallow.icon"; type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ align: 0.0 0.0;
+ min: 24 24;
+ rel1 {
+ relative: 0.0 0.0;
+ offset: 2 2;
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ offset: 2 2;
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "elm.swallow.end"; type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ align: 1.0 0.0;
+ min: 24 24;
+ rel1 {
+ relative: 1.0 0.0;
+ offset: -3 2;
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ offset: -3 2;
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ programs {
+ program {
+ signal: "elm,state,icon,visible"; source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.swallow.icon";
+ }
+ program {
+ signal: "elm,state,icon,hidden"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.icon";
+ }
+ program {
+ signal: "elm,state,end,visible"; source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.swallow.end";
+ }
+ program {
+ signal: "elm,state,end,hidden"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.end";
+ }
+ }
+ part { name: "elm.text"; type: TEXT;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 {
+ to: "elm.swallow.icon";
+ relative: 1.0 0.0;
+ }
+ rel2 {
+ to: "elm.swallow.end";
+ relative: 0.0 1.0;
+ }
+ color: FN_COL_DEFAULT;
+ text { font: FNBD; size: 10;
+ }
+ }
+ }
+ }
+}
+
diff --git a/data/themes/default/edc/elm/list.edc b/data/themes/default/edc/elm/list.edc
new file mode 100644
index 0000000..aa836d4
--- /dev/null
+++ b/data/themes/default/edc/elm/list.edc
@@ -0,0 +1,703 @@
+#define ODD(_NAME, _SRC) \
+ group { name: _NAME; \
+ inherit: _SRC; \
+ parts { \
+ part { name: "base"; \
+ description { state: "default" 0.0; \
+ color: 56 56 56 255; \
+ color_class: "list_item_base_odd"; \
+ } \
+ } \
+ } \
+ }
+#define COMPRESS(_NAME, _SRC) \
+ group { name: _NAME; \
+ inherit: _SRC; \
+ parts { \
+ part { name: "elm.text"; \
+ description { state: "default" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "selected" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "disabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ } \
+ part { name: "label2"; \
+ description { state: "default" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "selected" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "disabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ } \
+ part { name: "label3"; \
+ description { state: "default" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "selected" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "disabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ } \
+ } \
+ }
+#define COMPRESS_ODD(_NAME, _SRC) \
+ group { name: _NAME; \
+ inherit: _SRC; \
+ parts { \
+ part { name: "elm.text"; \
+ description { state: "default" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "selected" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "disabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ } \
+ part { name: "label2"; \
+ description { state: "default" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "selected" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "disabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ } \
+ part { name: "label3"; \
+ description { state: "default" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "selected" 0.0; \
+ text.min: 0 1; \
+ } \
+ description { state: "disabled" 0.0; \
+ text.min: 0 1; \
+ } \
+ } \
+ part { name: "base"; \
+ description { state: "default" 0.0; \
+ color: 56 56 56 255; \
+ color_class: "list_item_base_odd"; \
+ } \
+ } \
+ } \
+ }
+
+group { name: "elm/list/item/default";
+ data.item: "selectraise" "on";
+ data.item: "focusraise" "on";
+ images.image: "bevel_curved_horiz_out.png" COMP;
+ images.image: "shadow_rounded_horiz.png" COMP;
+ images.image: "vgrad_med_dark.png" COMP;
+ images.image: "bevel_horiz_out.png" COMP;
+ images.image: "shine.png" COMP;
+ parts {
+ part { name: "event"; type: RECT;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "base"; type: RECT; mouse_events: 0;
+ description { state: "default" 0.0;
+ color: 64 64 64 255;
+ color_class: "list_item_base";
+ }
+ description { state: "odd" 0.0;
+ color: 56 56 56 255;
+ color_class: "list_item_base_odd";
+ }
+ }
+ program {
+ signal: "elm,state,odd"; source: "elm";
+ action: STATE_SET "odd" 1.0;
+ target: "base";
+ }
+ program {
+ signal: "elm,state,even"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ }
+ part { name: "bevel"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "bevel_curved_horiz_out.png";
+ image.border: 0 0 2 2;
+ image.middle: 0;
+ fill.smooth: 0;
+ }
+ }
+ part { name: "sel_shadow"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "shadow_rounded_horiz.png";
+ image.border: 0 0 9 9;
+ rel1.offset: 0 -4;
+ rel2.offset: -1 5;
+ fill.smooth: 0;
+ visible: 0;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "sel_base"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "vgrad_med_dark.png";
+ fill.smooth: 0;
+ visible: 0;
+ TILED_HORIZ(120)
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "sel_bevel"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "bevel_horiz_out.png";
+ image.border: 0 0 2 2;
+ image.middle: 0;
+ fill.smooth: 0;
+ visible: 0;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ program {
+ signal: "elm,state,selected"; source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "sel_shadow";
+ target: "sel_base";
+ target: "sel_bevel";
+ }
+ program {
+ signal: "elm,state,unselected"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "sel_shadow";
+ target: "sel_base";
+ target: "sel_bevel";
+ }
+ program {
+ signal: "elm,state,disabled"; source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "event";
+ }
+ program {
+ signal: "elm,state,enabled"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "event";
+ }
+
+ //##//
+ part { name: "elm.text"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.offset: 2 3;
+ rel1.relative: 1.0 0.0;
+ rel1.to_x: "elm.swallow.icon";
+ rel2.offset: -3 -3;
+ rel2.relative: 0.0 1.0;
+ rel2.to_x: "elm.swallow.end";
+ color: FN_COL_DEFAULT;
+ color_class: "list_item";
+ text { font: FN; size: 10;
+ min: 1 1;
+ ellipsis: -1;
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "label2"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "elm.text";
+ rel2.to: "elm.text";
+ color: FN_COL_DISABLE;
+ color_class: "list_item_disabled";
+ text { font: FN; size: 10;
+ text_source: "elm.text";
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ visible: 0;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "label3"; type: TEXT; mouse_events: 0;
+ effect: GLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.offset: -2 -3;
+ rel1.to: "elm.text";
+ rel2.offset: 1 1;
+ rel2.to: "elm.text";
+ color: FN_COL_HIGHLIGHT;
+ color_class: "list_item_selected";
+ text { font: FN; size: 10;
+ text_source: "elm.text";
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ visible: 0;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ program {
+ signal: "elm,state,selected"; source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ }
+ program {
+ signal: "elm,state,unselected"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ }
+ program {
+ signal: "elm,state,disabled"; source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ }
+ program {
+ signal: "elm,state,enabled"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ }
+ //##//
+ part { name: "elm.swallow.icon"; type: SWALLOW;
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ align: 0.0 0.5;
+ aspect: 1.0 1.0;
+ rel1.offset: 2 2;
+ rel2.relative: 0.0 1.0;
+ rel2.offset: 2 -3;
+ }
+ }
+ part { name: "elm.swallow.end"; type: SWALLOW;
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ align: 1.0 0.5;
+ aspect: 1.0 1.0;
+ rel1.offset: -3 2;
+ rel1.relative: 1.0 0.0;
+ rel2.offset: -3 -3;
+ }
+ }
+ //##//
+
+ part { name: "sel_shine"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "shine.png";
+ rel1.offset: 0 -2;
+ rel1.to: "sel_base";
+ rel2.relative: 1.0 0.0;
+ rel2.offset: -1 2;
+ rel2.to: "sel_base";
+ visible: 0;
+ FIXED_SIZE(69, 5)
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "event_block"; type: RECT;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ program {
+ signal: "elm,state,selected"; source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "sel_shine";
+ }
+ program {
+ signal: "elm,state,unselected"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "sel_shine";
+ }
+ program {
+ signal: "elm,state,disabled"; source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "event_block";
+ }
+ program {
+ signal: "elm,state,enabled"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "event_block";
+ }
+ }
+}
+ODD("elm/list/item_odd/default", "elm/list/item/default")
+COMPRESS("elm/list/item_compress/default", "elm/list/item/default")
+COMPRESS_ODD("elm/list/item_compress_odd/default", "elm/list/item/default")
+
+// XXX: DO:
+// elm/list/h_item/default
+// elm/list/h_item_odd/default
+// elm/list/h_item_compress/default
+// elm/list/h_item_compress_odd/default
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+group { name: "elm/list/h_item/default";
+ data.item: "selectraise" "on";
+ data.item: "focusraise" "on";
+ images.image: "bevel_curved_vert_out.png" COMP;
+ images.image: "shadow_rounded_vert.png" COMP;
+ images.image: "vgrad_med_dark.png" COMP;
+ images.image: "bevel_out.png" COMP;
+ images.image: "shine.png" COMP;
+ parts {
+ part { name: "event"; type: RECT;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "base"; type: RECT; mouse_events: 0;
+ description { state: "default" 0.0;
+ color: 64 64 64 255;
+ color_class: "list_item_base";
+ }
+ description { state: "odd" 0.0;
+ color: 56 56 56 255;
+ color_class: "list_item_base_odd";
+ }
+ }
+ program {
+ signal: "elm,state,odd"; source: "elm";
+ action: STATE_SET "odd" 1.0;
+ target: "base";
+ }
+ program {
+ signal: "elm,state,even"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ }
+ part { name: "bevel"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "bevel_curved_vert_out.png";
+ image.border: 2 2 0 0;
+ image.middle: 0;
+ fill.smooth: 0;
+ }
+ }
+ part { name: "sel_shadow"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "shadow_rounded_vert.png";
+ image.border: 9 9 0 0;
+ rel1.offset: -6 0;
+ rel2.offset: 5 -1;
+ fill.smooth: 0;
+ visible: 0;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "sel_base"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "vgrad_med_dark.png";
+ fill.smooth: 0;
+ visible: 0;
+ TILED_HORIZ(120)
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "sel_bevel"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "bevel_out.png";
+ image.border: 2 2 2 2;
+ image.middle: 0;
+ fill.smooth: 0;
+ visible: 0;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ program {
+ signal: "elm,state,selected"; source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "sel_shadow";
+ target: "sel_base";
+ target: "sel_bevel";
+ }
+ program {
+ signal: "elm,state,unselected"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "sel_shadow";
+ target: "sel_base";
+ target: "sel_bevel";
+ }
+ program {
+ signal: "elm,state,disabled"; source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "event";
+ }
+ program {
+ signal: "elm,state,enabled"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "event";
+ }
+
+ //##//
+ part { name: "elm.text"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.offset: 2 2;
+ rel1.relative: 0.0 1.0;
+ rel1.to_y: "elm.swallow.icon";
+ rel2.offset: -3 -3;
+ rel2.relative: 1.0 0.0;
+ rel2.to_y: "elm.swallow.end";
+ color: FN_COL_DEFAULT;
+ color_class: "list_item";
+ text { font: FN; size: 10;
+ min: 1 1;
+ ellipsis: -1;
+ align: 0.5 0.5;
+ text_class: "list_item";
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "label2"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "elm.text";
+ rel2.to: "elm.text";
+ color: FN_COL_DISABLE;
+ color_class: "list_item_disabled";
+ text { font: FN; size: 10;
+ text_source: "elm.text";
+ align: 0.5 0.5;
+ text_class: "list_item";
+ }
+ visible: 0;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "label3"; type: TEXT; mouse_events: 0;
+ effect: GLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.offset: -2 -3;
+ rel1.to: "elm.text";
+ rel2.offset: 1 1;
+ rel2.to: "elm.text";
+ color: FN_COL_HIGHLIGHT;
+ color_class: "list_item_selected";
+ text { font: FN; size: 10;
+ text_source: "elm.text";
+ align: 0.5 0.5;
+ text_class: "list_item";
+ }
+ visible: 0;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ program {
+ signal: "elm,state,selected"; source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ }
+ program {
+ signal: "elm,state,unselected"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ }
+ program {
+ signal: "elm,state,disabled"; source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ }
+ program {
+ signal: "elm,state,enabled"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ }
+ //##//
+ part { name: "elm.swallow.icon"; type: SWALLOW;
+ description { state: "default" 0.0;
+ fixed: 0 1;
+ aspect: 1.0 1.0;
+ align: 0.5 0.0;
+ rel1.offset: 2 2;
+ rel2.relative: 1.0 0.0;
+ rel2.offset: -3 2;
+ }
+ }
+ part { name: "elm.swallow.end"; type: SWALLOW;
+ description { state: "default" 0.0;
+ fixed: 0 1;
+ aspect: 1.0 1.0;
+ align: 0.5 1.0;
+ rel1.offset: 2 -3;
+ rel1.relative: 0.0 1.0;
+ rel2.offset: -3 -3;
+ }
+ }
+ //##//
+
+ part { name: "sel_shine"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "shine.png";
+ rel1.offset: 0 -2;
+ rel1.to: "sel_base";
+ rel2.relative: 1.0 0.0;
+ rel2.offset: -1 2;
+ rel2.to: "sel_base";
+ visible: 0;
+ FIXED_SIZE(69, 5)
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "event_block"; type: RECT;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ program {
+ signal: "elm,state,selected"; source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "sel_shine";
+ }
+ program {
+ signal: "elm,state,unselected"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "sel_shine";
+ }
+ program {
+ signal: "elm,state,disabled"; source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "event_block";
+ }
+ program {
+ signal: "elm,state,enabled"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "event_block";
+ }
+ }
+}
+ODD("elm/list/h_item_odd/default", "elm/list/h_item/default")
+COMPRESS("elm/list/h_item_compress/default", "elm/list/h_item/default")
+COMPRESS_ODD("elm/list/h_item_compress_odd/default", "elm/list/h_item/default")
+
+#undef ODD
+#undef COMPRESS
+#undef COMPRESS_ODD
diff --git a/data/themes/default/edc/elm/map.edc b/data/themes/default/edc/elm/map.edc
new file mode 100644
index 0000000..c84533e
--- /dev/null
+++ b/data/themes/default/edc/elm/map.edc
@@ -0,0 +1,208 @@
+group { name: "elm/map/base/default";
+ inherit: "elm/photocam/base/default";
+}
+
+group { name: "elm/map/marker/radio/default";
+ data.item: "size_w" 35;
+ data.item: "size_h" 35;
+ data.item: "size_max_w" 35;
+ data.item: "size_max_h" 35;
+ images.image: "map_marker.png" COMP;
+ parts {
+ part { name: "mark";
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.relative: 0.5 0.5;
+ rel1.offset: 0 3;
+ rel2.relative: 0.5 0.5;
+ rel2.offset: 0 3;
+ align: 0.5 1.0;
+ min: 65 35;
+ max: 65 35;
+ image.normal: "map_marker.png";
+ }
+ }
+ part { name: "elm.icon"; type: SWALLOW; mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.to: "mark";
+ rel1.relative: (25/65) (5/35);
+ rel2.to: "mark";
+ rel2.relative: (40/65) (20/35);
+ rel2.offset: 0 0;
+ }
+ }
+ part { name: "elm.text"; type: TEXT;
+ effect: SHADOW BOTTOM;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.to: "elm.icon";
+ rel2.to: "elm.icon";
+ color_class: "map_radio";
+ color: FN_COL_DISABLE_SHADOW;
+ text { font: FNBD; size: 10;
+ text_class: "map_radio";
+ min: 1 1;
+ ellipsis: -1;
+ }
+ }
+ }
+ }
+}
+
+group { name: "elm/map/marker/empty/default";
+ data.item: "size_w" 16;
+ data.item: "size_h" 16;
+ data.item: "size_max_w" 24;
+ data.item: "size_max_h" 24;
+ parts {
+ part { name: "knob"; type: SPACER;
+ description { state: "default" 0.0;
+ min: 16 16;
+ max: 24 24;
+ }
+ }
+ part { name: "elm.icon"; type: SWALLOW; mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.to: "knob";
+ rel2.to: "knob";
+ }
+ }
+ part { name: "elm.text"; type: TEXT;
+ effect: SHADOW BOTTOM;
+ description { state: "default" 0.0;
+ rel1.to: "knob";
+ rel2.to: "knob";
+ color_class: "map_empty";
+ color: FN_COL_DEFAULT;
+ text { font: FNBD; size: 10;
+ text_class: "map_empty";
+ min: 1 1;
+ ellipsis: -1;
+ }
+ }
+ }
+ }
+}
+
+group { name: "elm/map/circle/base/default";
+ images.image: "map_circle.png" COMP;
+ parts {
+ part { name: "base";
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ image.normal: "map_circle.png";
+ }
+ }
+ }
+}
+
+group { name: "elm/map/scale/base/default";
+ data.item: "size_w" 100;
+ data.item: "size_h" 22;
+ images.image: "map_scale.png" COMP;
+ parts {
+ part { name: "scale";
+ description { state: "default" 0.0;
+ min: 16 16;
+ image.border: 6 6 5 5;
+ image.normal: "map_scale.png";
+ }
+ }
+ part { name: "elm.text"; type: TEXT;
+ effect: SHADOW BOTTOM;
+ description { state: "default" 0.0;
+ rel1.offset: 6 5;
+ rel2.offset: -7 -5;
+ color_class: "map_scale";
+ color: FN_COL_DEFAULT;
+ text { font: FNBD; size: 10;
+ text_class: "map_scale";
+ min: 1 1;
+ ellipsis: -1;
+ align: 0.0 0.0;
+ }
+ }
+ }
+ }
+}
+
+group { name: "elm/map/marker_bubble/default";
+ data.item: "size_w" 320;
+ data.item: "size_h" 160;
+ images.image: "bub_base_b0.png" COMP;
+ images.image: "bub_base_b1.png" COMP;
+ images.image: "bub_base_b2.png" COMP;
+ images.image: "bub_over_bot.png" COMP;
+ images.image: "shine.png" COMP;
+ parts {
+ part { name: "base0";
+ description { state: "default" 0.0;
+ image.normal: "bub_base_b0.png";
+ image.border: 12 0 8 13;
+ image.middle: SOLID;
+ fill.smooth: 0;
+ rel2.relative: 0.0 1.0;
+ rel2.to: "base1";
+ }
+ }
+ part { name: "base1";
+ description { state: "default" 0.0;
+ image.normal: "bub_base_b1.png";
+ image.border: 0 0 8 13;
+ image.middle: SOLID;
+ fill.smooth: 0;
+ max: 17 99999;
+ min: 17 22;
+ }
+ }
+ part { name: "base2";
+ description { state: "default" 0.0;
+ image.normal: "bub_base_b2.png";
+ image.border: 0 12 8 13;
+ image.middle: SOLID;
+ fill.smooth: 0;
+ rel1.relative: 1.0 0.0;
+ rel1.to: "base1";
+ }
+ }
+ part { name: "elm.swallow.content"; type: SWALLOW;
+ description { state: "default" 0.0;
+ rel1.to: "base0";
+ rel1.offset: 5 4;
+ rel2.to: "base2";
+ rel2.offset: -6 -12;
+ }
+ }
+ part { name: "over"; mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.to: "base0";
+ rel1.offset: 2 1;
+ rel2.to: "base2";
+ rel2.offset: -3 1;
+ rel2.relative: 1.0 0.4;
+ image.normal: "bub_over_bot.png";
+ fill.smooth: 0;
+ }
+ }
+ part { name: "shine_clip"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.to: "over";
+ rel1.offset: 0 -10;
+ rel2.to: "over";
+ }
+ }
+ part { name: "shine"; mouse_events: 0;
+ clip_to: "shine_clip";
+ description { state: "default" 0.0;
+ image.normal: "shine.png";
+ rel1.offset: 0 -2;
+ rel1.to: "over";
+ rel2.relative: 1.0 0.0;
+ rel2.offset: -1 2;
+ rel2.to: "over";
+ FIXED_SIZE(69, 5)
+ }
+ }
+ }
+}
+
diff --git a/data/themes/default/edc/elm/menu.edc b/data/themes/default/edc/elm/menu.edc
new file mode 100644
index 0000000..d7a7161
--- /dev/null
+++ b/data/themes/default/edc/elm/menu.edc
@@ -0,0 +1,1162 @@
+group { name: "elm/menu/item/default";
+ images.image: "vgrad_med_dark.png" COMP;
+ images.image: "bevel_horiz_out.png" COMP;
+ images.image: "shadow_rounded_horiz.png" COMP;
+ images.image: "shine.png" COMP;
+ script {
+ public menu_text_visible; //0:hide (default), 1:visible
+ public menu_disable; //0:enable, 1:disable
+ }
+ parts {
+ part { name: "shadow"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "shadow_rounded_horiz.png";
+ image.border: 0 0 9 9;
+ rel1.offset: 0 -4;
+ rel2.offset: -1 5;
+ fill.smooth: 0;
+ visible: 0;
+ }
+ description { state: "active" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ }
+ }
+ part { name: "base"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "vgrad_med_dark.png";
+ fill.smooth: 0;
+ TILED_HORIZ(120)
+ visible: 0;
+ }
+ description { state: "active" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ }
+ }
+ part { name: "elm.swallow.content"; type: SWALLOW; mouse_events: 0;
+ clip_to: "disabler";
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 16 16;
+ fixed: 1 0;
+ align: 0.0 0.5;
+ rel1.offset: 3 3;
+ rel2.offset: 3 -5;
+ rel2.relative: 0.0 1.0;
+ }
+ description { state: "noicon" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ // XXX: check/radio goes next (right of) content, no radio/check handle
+ // XXX: need to handle no text?
+ // XXX: need arrowspace on/off based on submenus in menu
+ part { name: "arrowspace"; type: SPACER;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ min: 15 15;
+ max: 15 15;
+ rel1.offset: -2 0;
+ rel1.relative: 1.0 0.0;
+ rel2.offset: -2 -1;
+ align: 1.0 0.5;
+ }
+ }
+ part { name: "elm.text"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to_x: "elm.swallow.content";
+ rel1.relative: 1.0 0.0;
+ rel1.offset: 5 -1;
+ rel2.to_x: "arrowspace";
+ rel2.offset: -6 -1;
+ rel2.relative: 0.0 1.0;
+ color: FN_COL_DEFAULT;
+ text { font: FN; size: 10;
+ min: 1 1;
+ ellipsis: -1;
+ align: 0.0 0.5;
+ text_class: "menu_item";
+ }
+ }
+ description { state: "active" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "label2"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "elm.text";
+ rel2.to: "elm.text";
+ color: FN_COL_DISABLE;
+ color_class: "menu_item_disabled";
+ text { font: FN; size: 10;
+ text_source: "elm.text";
+ align: 0.0 0.5;
+ text_class: "menu_item";
+ }
+ visible: 0;
+ }
+ description { state: "active" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "label3"; type: TEXT; mouse_events: 0;
+ effect: GLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.offset: -2 -3;
+ rel1.to: "elm.text";
+ rel2.offset: 2 1;
+ rel2.to: "elm.text";
+ color: FN_COL_HIGHLIGHT;
+ color_class: "menu_item_active";
+ text { font: FN; size: 10;
+ text_source: "elm.text";
+ align: 0.0 0.5;
+ text_class: "menu_item";
+ }
+ visible: 0;
+ }
+ description { state: "active" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "bevel"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "bevel_horiz_out.png";
+ image.border: 0 0 2 2;
+ image.middle: 0;
+ fill.smooth: 0;
+ visible: 0;
+ }
+ description { state: "active" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ }
+ }
+ part { name: "shine";
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ rel1.to: "base";
+ rel1.offset: 0 -2;
+ rel2.to: "base";
+ rel2.relative: 1.0 0.0;
+ rel2.offset: -1 2;
+ image.normal: "shine.png";
+ visible: 0;
+ FIXED_SIZE(69, 5)
+ }
+ description { state: "active" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ }
+ }
+ part { name: "event"; type: RECT;
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ color: 255 255 255 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "disabler"; type: RECT;
+ description { state: "default" 0.0;
+ color: 255 255 255 255;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 128;
+ }
+ }
+ }
+ programs {
+ program {
+ signal: "mouse,in"; source: "event";
+ action: SIGNAL_EMIT "elm,action,activate" "elm";
+ after: "selected";
+ }
+ program {
+ signal: "mouse,out"; source: "event";
+// action: SIGNAL_EMIT "elm,action,inactivate" "elm";
+ after: "unselected";
+ }
+ program { signal: "mouse,down,1"; source: "event";
+ after: "selected";
+ }
+ program {
+ signal: "mouse,up,1"; source: "event";
+ action: SIGNAL_EMIT "elm,action,click" "elm";
+ }
+ program { name: "text_show";
+ signal: "elm,state,text,visible"; source: "elm";
+ script {
+ set_int(menu_text_visible, 1);
+// set_state(PART:"elm.text", "active", 0.0);
+// set_state(PART:"elm.text2", "active", 0.0);
+ }
+ }
+ program { name: "text_hide";
+ signal: "elm,state,text,hidden"; source: "elm";
+ script {
+ set_int(menu_text_visible, 0);
+// set_state(PART:"elm.text", "default", 0.0);
+// set_state(PART:"elm.text2", "default", 0.0);
+ }
+ }
+ program { name: "icon_show";
+ signal: "elm,state,icon,visible"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.content";
+ }
+ program { name: "icon_hide";
+ signal: "elm,state,icon,hidden"; source: "elm";
+ action: STATE_SET "noicon" 0.0;
+ target: "elm.swallow.content";
+ }
+ program { name: "selected";
+ signal: "elm,state,selected"; source: "elm";
+ action: STATE_SET "active" 0.0;
+ target: "shadow";
+ target: "base";
+ target: "bevel";
+ target: "shine";
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ }
+ program { name: "unselected";
+ signal: "elm,state,unselected"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "shadow";
+ target: "base";
+ target: "bevel";
+ target: "shine";
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ }
+ program {
+ signal: "elm,state,enabled"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "shadow";
+ target: "base";
+ target: "bevel";
+ target: "shine";
+ target: "event";
+ target: "disabler";
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ }
+ program {
+ signal: "elm,state,disabled"; source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "shadow";
+ target: "base";
+ target: "bevel";
+ target: "shine";
+ target: "event";
+ target: "disabler";
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ }
+ }
+}
+
+group { name: "elm/menu/item_with_submenu/default";
+ inherit: "elm/menu/item/default";
+// alias: "elm/menu/main_menu_submenu/default";
+ images {
+ image: "sym_right_light_normal.png" COMP;
+ image: "sym_right_glow_normal.png" COMP;
+ image: "vertical_separated_bar_glow.png" COMP;
+ }
+ parts {
+ part { name: "arrow";
+ insert_after: "item_image_disabled";
+ description { state: "default" 0.0;
+ rel1.to: "arrowspace";
+ rel2.to: "arrowspace";
+ image.normal: "sym_right_light_normal.png";
+ }
+ description { state: "active" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "sym_right_glow_normal.png";
+ }
+ }
+ part { name: "select_line";
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ rel1.relative: 1.0 0.0;
+ rel1.offset: -10 -5;
+ rel2.offset: 4 4;
+ image {
+ normal: "vertical_separated_bar_glow.png";
+ border: 7 7 7 7;
+ }
+ fill.smooth : 0;
+ }
+ description { state: "active" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ program { name: "selected";
+ target: "arrow";
+ target: "select_line";
+ }
+ program { name: "unselected";
+ target: "arrow";
+ target: "select_line";
+ }
+ program {
+ signal: "mouse,in"; source: "event";
+ action: SIGNAL_EMIT "elm,action,open" "elm";
+ }
+// program {
+// signal: "mouse,up,1"; source: "event";
+// action: SIGNAL_EMIT "elm,action,open" "elm";
+// }
+ }
+}
+
+group { name: "elm/menu/separator/default";
+ images {
+ image: "separator_horiz.png" COMP;
+ }
+ parts {
+ part { name: "separator";
+ description { state: "default" 0.0;
+ min: 2 2;
+ rel1.offset: 0 2;
+ rel2.offset: -1 -3;
+ image.normal: "separator_horiz.png";
+ fill.smooth: 0;
+ }
+ }
+ }
+}
+
+group { name: "elm/menu/main_menu_submenu/default";
+ images.image: "vgrad_med_dark.png" COMP;
+ images.image: "bevel_out.png" COMP;
+ images.image: "bevel_in.png" COMP;
+ images.image: "shadow_rounded_horiz.png" COMP;
+ images.image: "shine.png" COMP;
+ script {
+ public menu_text_visible; //0:hide (default), 1:visible
+ public menu_disable; //0:enable, 1:disable
+ }
+ parts {
+ part { name: "shadow"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "shadow_rounded_horiz.png";
+ image.border: 0 0 9 9;
+ rel1.offset: 0 -4;
+ rel2.offset: -1 5;
+ fill.smooth: 0;
+ visible: 0;
+ }
+ description { state: "active" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ }
+ }
+ part { name: "base"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "vgrad_med_dark.png";
+ fill.smooth: 0;
+ TILED_HORIZ(120)
+ visible: 0;
+ }
+ description { state: "active" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ }
+ }
+ part { name: "elm.swallow.content"; type: SWALLOW; mouse_events: 0;
+ clip_to: "disabler";
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 16 16;
+ fixed: 1 0;
+ align: 0.0 0.5;
+ rel1.offset: 3 3;
+ rel2.offset: 3 -5;
+ rel2.relative: 0.0 1.0;
+ }
+ description { state: "noicon" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ // XXX: check/radio goes next (right of) content, no radio/check handle
+ // XXX: need to handle no text?
+ // XXX: need arrowspace on/off based on submenus in menu
+ part { name: "arrowspace"; type: SPACER;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ min: 15 15;
+ max: 15 15;
+ rel1.offset: -2 0;
+ rel1.relative: 1.0 0.0;
+ rel2.offset: -2 -1;
+ align: 1.0 0.5;
+ }
+ }
+ part { name: "elm.text"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to_x: "elm.swallow.content";
+ rel1.relative: 1.0 0.0;
+ rel1.offset: 5 -1;
+ rel2.to_x: "arrowspace";
+ rel2.offset: -6 -1;
+ rel2.relative: 0.0 1.0;
+ color: FN_COL_DEFAULT;
+ text { font: FN; size: 10;
+ min: 1 1;
+ ellipsis: -1;
+ align: 0.0 0.5;
+ text_class: "menu_item";
+ }
+ }
+ description { state: "active" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "label2"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "elm.text";
+ rel2.to: "elm.text";
+ color: FN_COL_DISABLE;
+ color_class: "menu_item_disabled";
+ text { font: FN; size: 10;
+ text_source: "elm.text";
+ align: 0.0 0.5;
+ text_class: "menu_item";
+ }
+ visible: 0;
+ }
+ description { state: "active" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "label3"; type: TEXT; mouse_events: 0;
+ effect: GLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.offset: -2 -3;
+ rel1.to: "elm.text";
+ rel2.offset: 2 1;
+ rel2.to: "elm.text";
+ color: FN_COL_HIGHLIGHT;
+ color_class: "menu_item_active";
+ text { font: FN; size: 10;
+ text_source: "elm.text";
+ align: 0.0 0.5;
+ text_class: "menu_item";
+ }
+ visible: 0;
+ }
+ description { state: "active" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "bevel0"; mouse_events: 0;
+ clip_to: "bevelc";
+ description { state: "default" 0.0;
+ rel1.to: "bevel";
+ rel1.offset: -1 -1;
+ rel2.to: "bevel";
+ rel2.offset: 0 0;
+ image.normal: "bevel_in.png";
+ image.border: 2 2 2 2;
+ image.middle: 0;
+ fill.smooth: 0;
+ visible: 0;
+ }
+ description { state: "active" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ }
+ }
+ part { name: "bevelc"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.to: "bevel";
+ rel1.offset: -1 0;
+ rel2.to: "bevel";
+ rel2.offset: 0 -1;
+ }
+ }
+ part { name: "bevel"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "bevel_out.png";
+ image.border: 2 2 2 2;
+ image.middle: 0;
+ fill.smooth: 0;
+ visible: 0;
+ }
+ description { state: "active" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ }
+ }
+ part { name: "shine";
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ rel1.to: "base";
+ rel1.offset: 0 -2;
+ rel2.to: "base";
+ rel2.relative: 1.0 0.0;
+ rel2.offset: -1 2;
+ image.normal: "shine.png";
+ visible: 0;
+ FIXED_SIZE(69, 5)
+ }
+ description { state: "active" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ }
+ }
+ part { name: "event"; type: RECT;
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ color: 255 255 255 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "disabler"; type: RECT;
+ description { state: "default" 0.0;
+ color: 255 255 255 255;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 128;
+ }
+ }
+ }
+ programs {
+ program {
+ signal: "mouse,in"; source: "event";
+ action: SIGNAL_EMIT "elm,action,activate" "elm";
+ after: "selected";
+ }
+ program {
+ signal: "mouse,out"; source: "event";
+// action: SIGNAL_EMIT "elm,action,inactivate" "elm";
+ after: "unselected";
+ }
+ program { signal: "mouse,down,1"; source: "event";
+ after: "selected";
+ }
+ program {
+ signal: "mouse,down,1"; source: "event";
+ action: SIGNAL_EMIT "elm,action,click" "elm";
+ }
+ program { name: "text_show";
+ signal: "elm,state,text,visible"; source: "elm";
+ script {
+ set_int(menu_text_visible, 1);
+// set_state(PART:"elm.text", "active", 0.0);
+// set_state(PART:"elm.text2", "active", 0.0);
+ }
+ }
+ program { name: "text_hide";
+ signal: "elm,state,text,hidden"; source: "elm";
+ script {
+ set_int(menu_text_visible, 0);
+// set_state(PART:"elm.text", "default", 0.0);
+// set_state(PART:"elm.text2", "default", 0.0);
+ }
+ }
+ program { name: "icon_show";
+ signal: "elm,state,icon,visible"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.content";
+ }
+ program { name: "icon_hide";
+ signal: "elm,state,icon,hidden"; source: "elm";
+ action: STATE_SET "noicon" 0.0;
+ target: "elm.swallow.content";
+ }
+ program { name: "selected";
+ signal: "elm,state,selected"; source: "elm";
+ action: STATE_SET "active" 0.0;
+ target: "shadow";
+ target: "base";
+ target: "bevel0";
+ target: "bevel";
+ target: "shine";
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ }
+ program { name: "unselected";
+ signal: "elm,state,unselected"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "shadow";
+ target: "base";
+ target: "bevel0";
+ target: "bevel";
+ target: "shine";
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ }
+ program {
+ signal: "elm,state,enabled"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "shadow";
+ target: "base";
+ target: "bevel0";
+ target: "bevel";
+ target: "shine";
+ target: "event";
+ target: "disabler";
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ }
+ program {
+ signal: "elm,state,disabled"; source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "shadow";
+ target: "base";
+ target: "bevel0";
+ target: "bevel";
+ target: "shine";
+ target: "event";
+ target: "disabler";
+ target: "elm.text";
+ target: "label2";
+ target: "label3";
+ }
+ }
+}
+
+//In the hover used by the menu only the bottom part is used.
+group { name: "elm/hover/base/menu/default";
+ 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,*"; 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/default";
+ inherit: "elm/hover/base/menu/default";
+ 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/default";
+ 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/default";
+ 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,*"; 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";
+ }
+ }
+}
+
diff --git a/data/themes/default/edc/elm/multibuttonentry.edc b/data/themes/default/edc/elm/multibuttonentry.edc
new file mode 100644
index 0000000..764296a
--- /dev/null
+++ b/data/themes/default/edc/elm/multibuttonentry.edc
@@ -0,0 +1,262 @@
+group { name: "elm/multibuttonentry/base/default";
+ data.item: "closed_height" 0;
+ parts {
+ part { name: "box.swallow"; type: SWALLOW;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ }
+ }
+ }
+}
+
+group { name: "elm/multibuttonentry/label/default";
+ parts {
+ part { name: "elm.text"; type: TEXT; mouse_events: 0;
+ effect: GLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ color: FN_COL_HIGHLIGHT;
+ color_class: "multibuttonentry_label";
+ text { font: FNBD; size: 10;
+ min: 1 1;
+ ellipsis: -1;
+ align: 0.5 0.5;
+ text_class: "multibuttonentry_label";
+ }
+ rel1.offset: 2 2;
+ rel2.offset: -5 -5;
+ }
+ description { state: "no_text" 0.0;
+ inherit: "default" 0.0;
+ text.min: 0 1;
+ rel1.offset: 0 0;
+ rel2.offset: -1 -1;
+ visible: 0;
+ }
+ }
+ }
+ programs {
+ program {
+ signal: "elm,mbe,set_text"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ }
+ program {
+ signal: "elm,mbe,clear_text"; source: "elm";
+ action: STATE_SET "no_text" 0.0;
+ target: "elm.text";
+ }
+ }
+}
+
+group { name: "elm/multibuttonentry/guidetext/default";
+ parts {
+ part { name: "elm.text"; type: TEXT;
+ scale: 1;
+ effect: SHADOW BOTTOM;
+ description { state: "default" 0.0;
+ rel1.offset: 2 2;
+ rel2.offset: -4 -4;
+ color: FN_COL_DISABLE;
+ text { font: FNBD; size: 10;
+ min: 0 1;
+ align: 0.0 0.5;
+ }
+ }
+ }
+ }
+}
+
+group { name: "elm/multibuttonentry/btn/default";
+ images.image: "button_normal.png" COMP;
+ images.image: "button_clicked.png" COMP;
+ images.image: "sym_close_dark_normal.png" COMP;
+ images.image: "sym_close_dark_selected.png" COMP;
+ images.image: "win_glow.png" COMP;
+ data.item: "button_max_size" 130;
+ styles {
+ style { name: "multibuttonentry_textblock_style";
+ base: "font="FN" align=0.5 font_size=10 color=#ffffffff style=shadow,bottom shadow_color=#00000080 text_class=multibuttonentry_item ellipsis=1.0";
+ tag: "br" "\n";
+ tag: "ps" "ps";
+ tag: "hilight" "+ font="FNBD;
+ tag: "b" "+ font="FNBD;
+ tag: "tab" "\t";
+ }
+ }
+ parts {
+ part { name: "base";
+ description { state: "default" 0.0;
+ image.normal: "button_normal.png";
+ image.border: 4 4 3 5;
+ image.middle: SOLID;
+ rel1.offset: -1 0;
+ rel2.offset: 0 1;
+ fill.smooth: 0;
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "button_clicked.png";
+ image.border: 5 5 4 6;
+ }
+ }
+ part { name: "glow"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "win_glow.png";
+ image.border: 9 9 9 9;
+ image.middle: 0;
+ rel1.offset: -2 -3;
+ rel1.to: "base";
+ rel2.offset: 1 0;
+ rel2.to: "base";
+ fill.smooth: 0;
+ color: 255 255 255 0;
+ visible: 0;
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 255;
+ visible: 1;
+ }
+ }
+ part { name: "close"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "sym_close_dark_normal.png";
+ rel1.to: "del";
+ rel2.to: "del";
+ min: 15 15;
+ max: 15 15;
+ fixed: 1 1;
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "sym_close_dark_selected.png";
+ }
+ }
+ part { name: "del"; type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ min: 4 4;
+ align: 1.0 0.5;
+ aspect: 1.0 1.0; aspect_preference: VERTICAL;
+ rel1.relative: 1.0 0.0;
+ rel1.to: "base";
+ rel1.offset: -6 5;
+ rel2.offset: -6 -7;
+ rel2.to: "base";
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "elm.btn.text"; type: TEXTBLOCK; mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ color_class: "multibuttonentry_label";
+ text { style: "multibuttonentry_textblock_style";
+ min: 1 1;
+ ellipsis: -1;
+ text_class: "multibuttonentry_label";
+ }
+ visible: 0;
+ rel1.offset: 5 5;
+ rel1.to: "base";
+ rel2.to_x: "del";
+ rel2.to_y: "base";
+ rel2.relative: 0.0 1.0;
+ rel2.offset: -3 -7;
+ }
+ }
+ part { name: "text"; type: TEXTBLOCK; mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ color_class: "multibuttonentry_label";
+ text { style: "multibuttonentry_textblock_style";
+ text_source: "elm.btn.text";
+ min: 0 1;
+ align: 0.0 0.5;
+ text_class: "multibuttonentry_label";
+ }
+ align: 0.0 0.5;
+ rel1.offset: 5 5;
+ rel1.to: "base";
+ rel2.to_x: "del";
+ rel2.to_y: "base";
+ rel2.relative: 0.0 1.0;
+ rel2.offset: -3 -7;
+ }
+ }
+ }
+ programs {
+ program {
+ signal: "mouse,clicked,1"; source: "base";
+ action: SIGNAL_EMIT "clicked" "elm";
+ }
+ program {
+ signal: "elm,state,default"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "glow";
+ }
+ program {
+ signal: "elm,state,focused"; source: "elm";
+ action: STATE_SET "focused" 0.0;
+ target: "glow";
+ }
+ program {
+ signal: "mouse,down,1"; source: "base";
+ action: STATE_SET "clicked" 0.0;
+ target: "base";
+ }
+ program {
+ signal: "mouse,up,1"; source: "base";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ }
+ program {
+ signal: "mouse,clicked,1"; source: "del";
+ action: SIGNAL_EMIT "elm,deleted" "elm";
+ }
+ program {
+ signal: "mouse,down,1"; source: "del";
+ action: STATE_SET "clicked" 0.0;
+ target: "close";
+ }
+ program {
+ signal: "mouse,up,1"; source: "del";
+ action: STATE_SET "default" 0.0;
+ target: "close";
+ }
+ }
+}
+
+group { name: "elm/multibuttonentry/closedbutton/default";
+ styles {
+ style { name: "textblock_style_multibuttonentry_default";
+ base: "font="FNBD" font_size=10 text_class=multibuttonentry_closed style=glow color=#3399ffff glow_color=#3399ff18 align=center glow2_color=#3399ff12 wrap=char";
+ tag: "br" "\n";
+ tag: "ps" "ps";
+ tag: "hilight" "+ font="FNBD;
+ tag: "b" "+ font="FNBD;
+ tag: "tab" "\t";
+ }
+ }
+ parts {
+ part { name: "bg"; type: RECT;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "elm.text"; type: TEXTBLOCK; mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.offset: 2 2;
+ rel1.to: "bg";
+ rel2.offset: -3 -3;
+ rel2.to: "bg";
+ text { style: "textblock_style_multibuttonentry_default";
+ min: 1 1;
+ ellipsis: -1;
+ }
+ }
+ }
+ }
+}
diff --git a/data/themes/default/edc/elm/naviframe.edc b/data/themes/default/edc/elm/naviframe.edc
new file mode 100644
index 0000000..8f4b233
--- /dev/null
+++ b/data/themes/default/edc/elm/naviframe.edc
@@ -0,0 +1,677 @@
+group { name: "elm/naviframe/item/basic/default";
+ images.image: "vgrad_med_dark.png" COMP;
+ images.image: "bevel_out.png" COMP;
+ images.image: "shine.png" COMP;
+ images.image: "shadow_vert.png" COMP;
+ parts {
+ // this set of limits and bottoms is evil - but it's a nasty construct
+ // allowing EITHER the title and subtitle texts OR the prev/next button
+ // swallows to control the lower bounds of the naviframe title, depending
+ // on which is taller
+#define BOTTOMMAX() \
+ part { name: "limit0"; type: SPACER; \
+ description { state: "default" 0.0; \
+ rel1.to_y: "title3"; \
+ rel1.relative: 0.0 1.0; \
+ rel2.to_y: "elm.swallow.next_btn"; \
+ rel2.offset: -1 0; \
+ align: 0.5 1.0; \
+ fixed: 0 1; \
+ limit: HEIGHT; \
+ } \
+ } \
+ part { name: "limit1"; type: SPACER; \
+ description { state: "default" 0.0; \
+ rel1.to_y: "elm.swallow.next_btn"; \
+ rel1.relative: 0.0 1.0; \
+ rel2.to_y: "title3"; \
+ rel2.offset: -1 0; \
+ align: 0.5 1.0; \
+ fixed: 0 1; \
+ limit: HEIGHT; \
+ } \
+ } \
+ part { name: "bottom0"; type: SPACER; \
+ description { state: "default" 0.0; \
+ rel1.to_y: "limit1"; \
+ rel1.relative: 0.0 1.0; \
+ rel2.to_y: "limit0"; \
+ rel2.offset: -1 0; \
+ align: 0.5 1.0; \
+ fixed: 0 1; \
+ limit: HEIGHT; \
+ } \
+ description { state: "other" 0.0; \
+ inherit: "default" 0.0; \
+ rel1.to_y: "limit0"; \
+ rel2.to_y: "limit1"; \
+ } \
+ } \
+ program { name: "pbot0"; \
+ signal: "limit,height,zero"; source: "bottom0"; \
+ script { \
+ new st[31], Float:vl; \
+ get_state(PART:"bottom0", st, 30, vl); \
+ if (st[0] == 'd') set_state(PART:"bottom0", "other", 1.0); \
+ else set_state(PART:"bottom0", "default", 1.0); \
+ } \
+ } \
+ part { name: "limit2"; type: SPACER; \
+ description { state: "default" 0.0; \
+ rel1.to_y: "title3"; \
+ rel1.relative: 0.0 1.0; \
+ rel2.to_y: "elm.swallow.prev_btn"; \
+ rel2.offset: -1 0; \
+ align: 0.5 1.0; \
+ fixed: 0 1; \
+ limit: HEIGHT; \
+ } \
+ } \
+ part { name: "limit3"; type: SPACER; \
+ description { state: "default" 0.0; \
+ rel1.to_y: "elm.swallow.prev_btn"; \
+ rel1.relative: 0.0 1.0; \
+ rel2.to_y: "title3"; \
+ rel2.offset: -1 0; \
+ align: 0.5 1.0; \
+ fixed: 0 1; \
+ limit: HEIGHT; \
+ } \
+ } \
+ part { name: "bottom1"; type: SPACER; \
+ description { state: "default" 0.0; \
+ rel1.to_y: "limit3"; \
+ rel1.relative: 0.0 1.0; \
+ rel2.to_y: "limit2"; \
+ rel2.offset: -1 0; \
+ align: 0.5 1.0; \
+ fixed: 0 1; \
+ limit: HEIGHT; \
+ } \
+ description { state: "other" 0.0; \
+ inherit: "default" 0.0; \
+ rel1.to_y: "limit2"; \
+ rel2.to_y: "limit3"; \
+ } \
+ } \
+ program { name: "pbot1"; \
+ signal: "limit,height,zero"; source: "bottom1"; \
+ script { \
+ new st[31], Float:vl; \
+ get_state(PART:"bottom1", st, 30, vl); \
+ if (st[0] == 'd') set_state(PART:"bottom1", "other", 1.0); \
+ else set_state(PART:"bottom1", "default", 1.0); \
+ } \
+ } \
+ part { name: "bottom"; type: SPACER; \
+ description { state: "default" 0.0; \
+ rel1.to_y: "bottom1"; \
+ rel1.offset: 0 -1; \
+ rel1.relative: 0.0 1.0; \
+ rel2.to_y: "bottom0"; \
+ align: 0.5 1.0; \
+ fixed: 0 1; \
+ limit: HEIGHT; \
+ } \
+ description { state: "other" 0.0; \
+ inherit: "default" 0.0; \
+ rel1.to_y: "bottom0"; \
+ rel2.to_y: "bottom1"; \
+ } \
+ } \
+ program { name: "pbot"; \
+ signal: "limit,height,zero"; source: "bottom"; \
+ script { \
+ new st[31], Float:vl; \
+ get_state(PART:"bottom", st, 30, vl); \
+ if (st[0] == 'd') set_state(PART:"bottom", "other", 1.0); \
+ else set_state(PART:"bottom", "default", 1.0); \
+ } \
+ }
+ BOTTOMMAX()
+
+ part { name: "title1"; type: TEXT;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.relative: 0.0 0.0;
+ rel1.offset: 0 2;
+ rel2.relative: 1.0 0.0;
+ rel2.offset: -1 2;
+ align: 0.5 0.0;
+ color: FN_COL_DEFAULT_SOFT_SHADOW;
+ text { font: FN; size: 8;
+ text: "X";
+ text_class: "title_bar_sub";
+ align: 0.5 0.0;
+ min: 0 1;
+ }
+ fixed: 0 1;
+ visible: 0;
+ }
+ }
+ part { name: "title2"; type: TEXT;
+ scale: 1;
+ effect: SOFT_SHADOW BOTTOM;
+ description { state: "default" 0.0;
+ color_class: "border_title_active";
+ rel1.to_y: "title1";
+ rel1.relative: 0.0 1.0;
+ rel1.offset: 0 -1;
+ rel2.to_y: "title1";
+ rel2.offset: -1 -1;
+ align: 0.5 0.0;
+ color: FN_COL_DEFAULT_SOFT_SHADOW;
+ text { font: FNBD; size: 10;
+ text: "X";
+ text_class: "title_bar";
+ align: 0.5 0.0;
+ min: 0 1;
+ }
+ fixed: 0 1;
+ visible: 0;
+ }
+ }
+ part { name: "title3"; type: TEXT;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to_y: "title2";
+ rel1.relative: 0.0 1.0;
+ rel1.offset: 0 -3;
+ rel2.to_y: "title2";
+ rel2.offset: -1 -3;
+ align: 0.5 0.0;
+ color: FN_COL_DEFAULT_SOFT_SHADOW;
+ text { font: FN; size: 8;
+ text: "X";
+ text_class: "title_bar_sub";
+ align: 0.5 0.0;
+ min: 0 1;
+ }
+ fixed: 0 1;
+ visible: 0;
+ }
+ }
+
+
+ part { name: "clip"; type: RECT;
+ description { state: "default" 0.0;
+ }
+ }
+ part { name: "base"; type: SPACER;
+ description { state: "default" 0.0;
+ }
+ description { state: "prev" 0.0;
+ inherit: "default" 0.0;
+ rel1.relative: -1.0 0.0;
+ rel2.relative: 0.0 1.0;
+ }
+ description { state: "next" 0.0;
+ inherit: "default" 0.0;
+ rel1.relative: 1.0 0.0;
+ rel2.relative: 2.0 1.0;
+ }
+ }
+ part { name: "elm.swallow.content"; type: SWALLOW;
+ clip_to: "clip";
+ description { state: "default" 0.0;
+ rel1.to: "top";
+ rel1.relative: 0.0 1.0;
+ rel2.to: "base";
+ }
+ description { state: "title-hidden" 0.0;
+ inherit: "default" 0.0;
+ rel1.to: "base";
+ rel1.relative: 0.0 0.0;
+ }
+ }
+ part { name: "shadow"; mouse_events: 0;
+ clip_to: "clip";
+ description { state: "default" 0.0;
+ image.normal: "shadow_vert.png";
+ rel1.to: "top";
+ rel1.relative: 0.0 1.0;
+ rel2.to: "top";
+ rel2.offset: -1 0;
+ fill.smooth: 0;
+ min: 0 20;
+ align: 0.5 0.0;
+ fixed: 1 1;
+ }
+ description { state: "title-hidden" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 0;
+ visible: 0;
+ }
+ }
+ part { name: "tophide0"; type: SPACER;
+ description { state: "default" 0.0;
+ rel1.to: "base";
+ rel2.to_x: "base";
+ rel2.to_y: "bottom";
+ }
+ }
+ part { name: "tophide1"; type: SPACER;
+ description { state: "default" 0.0;
+ rel1.to: "tophide0";
+ rel1.relative: 0.0 -1.0;
+ rel2.to: "tophide0";
+ }
+ }
+ part { name: "top";
+ clip_to: "clip";
+ description { state: "default" 0.0;
+ color_class: "border_top";
+ image.normal: "vgrad_med_dark.png";
+ rel1.to: "base";
+ rel2.to_x: "base";
+ rel2.to_y: "bottom";
+ fill.smooth: 0;
+ TILED_HORIZ(120)
+ }
+ description { state: "title-hidden" 0.0;
+ inherit: "default" 0.0;
+ rel1.to: "tophide1";
+ rel2.to: "base";
+ rel2.relative: 1.0 0.0;
+ }
+ }
+ part { name: "access.title"; type: RECT; repeat_events: 1;
+ clip_to: "clip";
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ color: 0 0 0 0;
+ rel1.to: "top";
+ rel2.to: "top";
+ }
+ }
+ part { name: "bevel"; mouse_events: 0;
+ clip_to: "clip";
+ description { state: "default" 0.0;
+ image.normal: "bevel_out.png";
+ image.border: 1 1 1 1;
+ image.middle: 0;
+ rel1.to: "top";
+ rel2.to: "top";
+ fill.smooth: 0;
+ }
+ }
+ part { name: "elm.text.title"; type: TEXT; mouse_events: 0;
+ scale: 1;
+ effect: SOFT_SHADOW BOTTOM;
+ clip_to: "elements_clip";
+ description { state: "default" 0.0;
+ color_class: "border_title_active_sub";
+ rel1.to_x: "base";
+ rel1.to_y: "top";
+ rel1.relative: 0.0 0.5;
+ rel2.offset: 0 -1;
+ rel2.to_x: "base";
+ rel2.to_y: "top";
+ rel2.relative: 1.0 0.5;
+ align: 0.5 0.5;
+ color: FN_COL_DEFAULT_SOFT_SHADOW;
+ text { font: FNBD; size: 10;
+ text_class: "title_bar";
+ align: 0.5 0.5;
+ min: 0 1;
+ }
+ fixed: 0 1;
+ }
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.text.subtitle"; type: TEXT; mouse_events: 0;
+ scale: 1;
+ effect: SHADOW BOTTOM;
+ clip_to: "elements_clip";
+ description { state: "default" 0.0;
+ rel1.to_x: "base";
+ rel1.to_y: "elm.text.title";
+ rel1.relative: 0.0 1.0;
+ rel1.offset: 0 -3;
+ rel2.to_x: "base";
+ rel2.to_y: "elm.text.title";
+ rel2.offset: -1 -3;
+ align: 0.5 0.0;
+ color: FN_COL_DEFAULT;
+ text { font: FN; size: 8;
+ text_class: "title_bar_sub";
+ align: 0.5 0.0;
+ min: 0 1;
+ }
+ fixed: 0 1;
+ }
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "buttons_clip"; type: RECT;
+ clip_to: "elements_clip";
+ description { state: "default" 0.0;
+ rel1.to: "base";
+ rel2.to: "base";
+ }
+ description { state: "title-hidden" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.swallow.next_btn"; type: SWALLOW;
+ scale: 1;
+ clip_to: "buttons_clip";
+ description { state: "default" 0.0;
+ rel1.to_x: "base";
+// rel1.to_y: "top";
+ rel1.relative: 1.0 0.0;
+ rel1.offset: -3 2;
+ rel2.to_x: "base";
+ rel2.to_y: "title3";
+ rel2.offset: -3 -1;
+ align: 1.0 0.5;
+ min: 26 26;
+ max: 1 1;
+ fixed: 1 1;
+ }
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.swallow.prev_btn"; type: SWALLOW;
+ scale: 1;
+ clip_to: "buttons_clip";
+ description { state: "default" 0.0;
+ rel1.to_x: "base";
+// rel1.to_y: "top";
+ rel1.offset: 2 2;
+ rel2.relative: 0.0 1.0;
+ rel2.offset: 2 -1;
+ rel2.to_x: "base";
+ rel2.to_y: "title3";
+ align: 0.0 0.5;
+ min: 26 26;
+ max: 1 1;
+ fixed: 1 1;
+ }
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.swallow.icon"; type: SWALLOW;
+ clip_to: "elements_clip";
+ description { state: "default" 0.0;
+ rel1.to_x: "elm.swallow.prev_btn";
+ rel1.to_y: "top";
+ rel1.relative: 1.0 0.0;
+ rel1.offset: 2 2;
+ rel2.to_x: "elm.swallow.prev_btn";
+ rel2.to_y: "top";
+ rel2.offset: 2 -3;
+ aspect: 1.0 1.0; aspect_preference: VERTICAL;
+ align: 0.0 0.5;
+ }
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ rel1.to_x: "top";
+ rel1.relative: 0.0 0.0;
+ rel2.to_x: "top";
+ rel2.offset: -3 -3;
+ align: 0.5 0.5;
+ }
+ }
+ part { name: "shine"; mouse_events: 0;
+ clip_to: "elements_clip";
+ description { state: "default" 0.0;
+ image.normal: "shine.png";
+ rel1.offset: 0 -2;
+ rel1.to: "top";
+ rel2.relative: 1.0 0.0;
+ rel2.offset: -1 2;
+ rel2.to: "top";
+ FIXED_SIZE(69, 5)
+ }
+ }
+ part { name: "elements_clip"; type: RECT;
+ clip_to: "clip";
+ description { state: "default" 0.0;
+ rel1.to: "base";
+ rel2.to: "base";
+ }
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 0;
+ visible: 0;
+ }
+ description { state: "next" 0.0;
+ inherit: "hidden" 0.0;
+ }
+ description { state: "prev" 0.0;
+ inherit: "hidden" 0.0;
+ }
+ }
+ }
+ programs {
+ program {
+ signal: "elm,state,title,show"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "top";
+ target: "shadow";
+ target: "elm.swallow.content";
+ target: "buttons_clip";
+ }
+ program {
+ signal: "elm,action,title,show"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: DECELERATE 0.5;
+ target: "top";
+ target: "shadow";
+ target: "elm.swallow.content";
+ after: "titleshow2";
+ }
+ program { name: "titleshow2";
+ action: STATE_SET "default" 0.0;
+ target: "buttons_clip";
+ after: "title_transition_finished";
+ }
+ program {
+ signal: "elm,state,title,hide"; source: "elm";
+ action: STATE_SET "title-hidden" 0.0;
+ target: "buttons_clip";
+ target: "top";
+ target: "shadow";
+ target: "elm.swallow.content";
+ }
+ program {
+ signal: "elm,action,title,hide"; source: "elm";
+ action: STATE_SET "title-hidden" 0.0;
+ target: "buttons_clip";
+ after: "titlehide2";
+ }
+ program { name: "titlehide2";
+ action: STATE_SET "title-hidden" 0.0;
+ transition: DECEL 0.5;
+ target: "top";
+ target: "shadow";
+ target: "elm.swallow.content";
+ after: "title_transition_finished";
+ }
+ program { name: "title_transition_finished";
+ action: SIGNAL_EMIT "elm,action,title,transition,finished" "elm";
+ }
+ program {
+ signal: "elm,state,prev_btn,show"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.prev_btn";
+ }
+ program {
+ signal: "elm,state,prev_btn,hide"; source: "elm";
+ action: STATE_SET "hidden" 0.0;
+ target: "elm.swallow.prev_btn";
+ }
+ program {
+ signal: "elm,state,next_btn,show"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.next_btn";
+ }
+ program {
+ signal: "elm,state,next_btn,hide"; source: "elm";
+ action: STATE_SET "hidden" 0.0;
+ target: "elm.swallow.next_btn";
+ }
+ program {
+ signal: "mouse,clicked,1"; source: "top";
+ action: SIGNAL_EMIT "elm,action,title,clicked" "elm";
+ }
+ program {
+ signal: "elm,state,title_label,show"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.icon";
+ target: "elm.text.title";
+ target: "elm.text.subtitle";
+ }
+ program {
+ signal: "elm,state,title_label,hide"; source: "elm";
+ action: STATE_SET "hidden" 0.0;
+ target: "elm.swallow.icon";
+ target: "elm.text.title";
+ target: "elm.text.subtitle";
+ }
+ program {
+ signal: "elm,state,visible"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.content";
+ target: "elements_clip";
+ }
+
+ /* current page is being pushed: [previous]<----[current] */
+ program {
+ signal: "elm,state,cur,pushed"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ target: "elements_clip";
+ after: "pushed2";
+ }
+ program { name: "pushed2";
+ action: STATE_SET "prev" 0.0;
+ transition: DECEL 0.5;
+ target: "base";
+ target: "elements_clip";
+ after: "pushed3";
+ }
+ program { name: "pushed3";
+ action: SIGNAL_EMIT "elm,action,pushed,finished" "elm";
+ }
+
+ /* current page is being popped: [current]---->[next] */
+ program {
+ signal: "elm,state,cur,popped"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ target: "elements_clip";
+ after: "popped2";
+ }
+ program { name: "popped2";
+ action: STATE_SET "next" 0.0;
+ transition: DECEL 0.5;
+ target: "base";
+ target: "elements_clip";
+ after: "popped3";
+ }
+ program { name: "popped3";
+ action: SIGNAL_EMIT "elm,action,popped,finished" "elm";
+ }
+
+ /* new page is being pushed: [current]<----[next] */
+ program {
+ signal: "elm,state,new,pushed"; source: "elm";
+ action: STATE_SET "next" 0.0;
+ target: "base";
+ target: "elements_clip";
+ after: "pushedb2";
+ }
+ program { name: "pushedb2";
+ action: STATE_SET "default" 0.0;
+ transition: DECELERATE 0.5;
+ target: "base";
+ target: "elements_clip";
+ after: "pushedb3";
+ }
+ program { name: "pushedb3";
+ action: SIGNAL_EMIT "elm,action,show,finished" "elm";
+ }
+
+ /* previous page is being pushed: [previous]---->[current] */
+ program {
+ signal: "elm,state,prev,popped"; source: "elm";
+ action: STATE_SET "prev" 0.0;
+ target: "base";
+ target: "elements_clip";
+ after: "poppedb2";
+ }
+ program { name: "poppedb2";
+ action: STATE_SET "default" 0.0;
+ transition: DECELERATE 0.5;
+ target: "base";
+ target: "elements_clip";
+ after: "poppedb3";
+ }
+ program { name: "poppedb3";
+ action: SIGNAL_EMIT "elm,action,show,finished" "elm";
+ }
+ }
+}
+
+group { name: "elm/naviframe/item/overlap/default";
+ inherit: "elm/naviframe/item/basic/default";
+ alias: "elm/naviframe/item/overlap/pager";
+ parts {
+ // this is a hack around an edje_cc inherit bug - group doesnt seem
+ // to inherit properly with limits etc.
+ BOTTOMMAX()
+
+ part { name: "elm.swallow.content";
+ description { state: "default" 0.0;
+ rel1.to: "base";
+ rel1.relative: 0.0 0.0;
+ }
+ }
+ part { name: "top";
+ description { state: "default" 0.0;
+ color: 255 255 255 224;
+ }
+ description { state: "title-hidden" 0.0;
+ color: 255 255 255 224;
+ }
+ }
+ }
+ programs {
+ /* current page is being pushed: [previous]<----[current] */
+ program {
+ signal: "elm,state,cur,pushed"; source: "elm";
+ action: SIGNAL_EMIT "elm,action,pushed,finished" "elm";
+ }
+
+ /* current page is being popped: [current]---->[next] */
+ program {
+ signal: "elm,state,cur,popped"; source: "elm";
+ action: SIGNAL_EMIT "elm,action,popped,finished" "elm";
+ }
+
+ /* new page is being pushed: [current]<----[next] */
+ program {
+ signal: "elm,state,new,pushed"; source: "elm";
+ action: SIGNAL_EMIT "elm,action,show,finished" "elm";
+ }
+
+ /* previous page is being pushed: [previous]---->[current] */
+ program {
+ signal: "elm,state,prev,popped"; source: "elm";
+ action: SIGNAL_EMIT "elm,action,show,finished" "elm";
+ }
+ }
+}
+#undef BOTTOMMAX
diff --git a/data/themes/default/edc/elm/notify.edc b/data/themes/default/edc/elm/notify.edc
new file mode 100644
index 0000000..14f9ec1
--- /dev/null
+++ b/data/themes/default/edc/elm/notify.edc
@@ -0,0 +1,188 @@
+group { name: "elm/notify/block_events/default";
+ parts {
+ part { name: "block_events"; type: RECT;
+ description { state: "default" 0.0;
+ color: 0 0 0 64;
+ }
+ }
+ program {
+ signal: "mouse,clicked,1"; source: "block_events";
+ action: SIGNAL_EMIT "elm,action,click" "elm";
+ }
+ }
+}
+
+group { name: "elm/notify/top/default";
+ images.image: "darken_rounded_square.png" COMP;
+ parts {
+ part { name: "clip"; type: RECT;
+ description { state: "default" 0.0;
+ color: 255 255 255 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 255;
+ }
+ }
+ part { name: "base";
+ clip_to: "clip";
+ description { state: "default" 0.0;
+ image.normal: "darken_rounded_square.png";
+ image.border: 15 15 15 15;
+ rel1.offset: 10 10;
+ rel2.offset: -10 -10;
+ rel1.relative: 0.0 -1.0;
+ rel2.relative: 1.0 0.0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 1.0 1.0;
+ }
+ }
+ part { name: "elm.swallow.content"; type: SWALLOW;
+ clip_to: "clip";
+ description { state: "default" 0.0;
+ rel1.to: "base";
+ rel1.offset: 12 12;
+ rel2.to: "base";
+ rel2.offset: -13 -13;
+ }
+ }
+ }
+ programs {
+ program {
+ signal: "show"; source: "";
+ action: STATE_SET "visible" 0.0;
+ target: "clip";
+ target: "base";
+ transition: DECELERATE 0.5;
+ }
+ program {
+ signal: "hide"; source: "";
+ action: STATE_SET "default" 0.0;
+ target: "clip";
+ target: "base";
+ }
+ program {
+ signal: "elm,hide"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "clip";
+ target: "base";
+ transition: DECELERATE 0.5;
+ }
+ }
+}
+
+group { name: "elm/notify/bottom/default";
+ inherit: "elm/notify/top/default";
+ parts {
+ part { name: "base";
+ description { state: "default" 0.0;
+ rel1.offset: 10 10;
+ rel2.offset: -10 -10;
+ rel1.relative: 0.0 1.0;
+ rel2.relative: 1.0 2.0;
+ }
+ }
+ }
+}
+
+group { name: "elm/notify/left/default";
+ inherit: "elm/notify/top/default";
+ parts {
+ part { name: "base";
+ description { state: "default" 0.0;
+ rel1.offset: 10 10;
+ rel2.offset: -10 -10;
+ rel1.relative: -1.0 0.0;
+ rel2.relative: 0.0 1.0;
+ }
+ }
+ }
+}
+
+group { name: "elm/notify/right/default";
+ inherit: "elm/notify/top/default";
+ parts {
+ part { name: "base";
+ description { state: "default" 0.0;
+ rel1.offset: 10 10;
+ rel2.offset: -10 -10;
+ rel1.relative: 1.0 0.0;
+ rel2.relative: 2.0 1.0;
+ }
+ }
+ }
+}
+
+group { name: "elm/notify/top_left/default";
+ inherit: "elm/notify/top/default";
+ parts {
+ part { name: "base";
+ description { state: "default" 0.0;
+ rel1.offset: 10 10;
+ rel2.offset: -10 -10;
+ rel1.relative: 0.0 -1.0;
+ rel2.relative: 1.0 0.0;
+ }
+ }
+ }
+}
+
+group { name: "elm/notify/top_right/default";
+ inherit: "elm/notify/top/default";
+ parts {
+ part { name: "base";
+ description { state: "default" 0.0;
+ rel1.offset: 10 10;
+ rel2.offset: -10 -10;
+ rel1.relative: 0.0 -1.0;
+ rel2.relative: 1.0 0.0;
+ }
+ }
+ }
+}
+
+group { name: "elm/notify/bottom_left/default";
+ inherit: "elm/notify/top/default";
+ parts {
+ part { name: "base";
+ description { state: "default" 0.0;
+ rel1.offset: 10 10;
+ rel2.offset: -10 -10;
+ rel1.relative: 0.0 1.0;
+ rel2.relative: 1.0 2.0;
+ }
+ }
+ }
+}
+
+group { name: "elm/notify/bottom_right/default";
+ inherit: "elm/notify/top/default";
+ parts {
+ part { name: "base";
+ description { state: "default" 0.0;
+ rel1.offset: 10 10;
+ rel2.offset: -10 -10;
+ rel1.relative: 0.0 1.0;
+ rel2.relative: 1.0 2.0;
+ }
+ }
+ }
+}
+
+group { name: "elm/notify/center/default";
+ inherit: "elm/notify/top/default";
+ parts {
+ part { name: "base";
+ description { state: "default" 0.0;
+ rel1.offset: 10 10;
+ rel2.offset: -10 -10;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 1.0 1.0;
+ }
+ }
+ }
+}
+
diff --git a/data/themes/default/edc/elm/panel.edc b/data/themes/default/edc/elm/panel.edc
new file mode 100644
index 0000000..7a99dbb
--- /dev/null
+++ b/data/themes/default/edc/elm/panel.edc
@@ -0,0 +1,736 @@
+group { name: "elm/scroller/panel/default";
+ data {
+ item: "handler_size" "30";
+ }
+ parts {
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ }
+ }
+ }
+}
+
+group { name: "elm/scroller/panel/left/default";
+ parts {
+ part { name: "panel_area";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ rel2.relative: 0.0 1.0;
+ align: 0.0 0.5;
+ fixed: 1 1;
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "event_area";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 1.0 0.0;
+ to: "panel_area";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to: "panel_area";
+ }
+ align: 0.0 0.5;
+ fixed: 1 1;
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "access.outline";
+ type: RECT;
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ rel1.to: "panel_area";
+ rel2.to: "panel_area";
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "bg";
+ type: RECT;
+ description { state: "default" 0.0;
+ rel1.to: "panel_area";
+ rel2.to: "panel_area";
+ color: 64 64 64 255;
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ rel1.to: "panel_area";
+ rel2.to: "panel_area";
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ program { name: "active";
+ signal: "elm,state,content,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "panel_area";
+ target: "event_area";
+ target: "bg";
+ target: "elm.swallow.content";
+ }
+ program { name: "inactive";
+ signal: "elm,state,content,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "panel_area";
+ target: "event_area";
+ target: "bg";
+ target: "elm.swallow.content";
+ }
+ }
+}
+
+group { name: "elm/scroller/panel/right/default";
+ parts {
+ part { name: "event_area";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ rel2.relative: 0.0 1.0;
+ align: 0.0 0.5;
+ fixed: 1 1;
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "panel_area";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 1.0 0.0;
+ to: "event_area";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to: "event_area";
+ }
+ align: 0.0 0.5;
+ fixed: 1 1;
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "access.outline";
+ type: RECT;
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ rel1.to: "panel_area";
+ rel2.to: "panel_area";
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "bg";
+ type: RECT;
+ description { state: "default" 0.0;
+ rel1.to: "panel_area";
+ rel2.to: "panel_area";
+ color: 64 64 64 255;
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ rel1.to: "panel_area";
+ rel2.to: "panel_area";
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ program { name: "active";
+ signal: "elm,state,content,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "panel_area";
+ target: "event_area";
+ target: "bg";
+ target: "elm.swallow.content";
+ }
+ program { name: "inactive";
+ signal: "elm,state,content,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "panel_area";
+ target: "event_area";
+ target: "bg";
+ target: "elm.swallow.content";
+ }
+ }
+}
+
+group { name: "elm/scroller/panel/top/default";
+ parts {
+ part { name: "panel_area";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ rel2.relative: 1.0 0.0;
+ align: 0.5 0.0;
+ fixed: 1 1;
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "event_area";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 0.0 1.0;
+ to: "panel_area";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to: "panel_area";
+ }
+ align: 0.5 0.0;
+ fixed: 1 1;
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "access.outline";
+ type: RECT;
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ rel1.to: "panel_area";
+ rel2.to: "panel_area";
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "bg";
+ type: RECT;
+ description { state: "default" 0.0;
+ rel1.to: "panel_area";
+ rel2.to: "panel_area";
+ color: 64 64 64 255;
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ rel1.to: "panel_area";
+ rel2.to: "panel_area";
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ program { name: "active";
+ signal: "elm,state,content,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "panel_area";
+ target: "event_area";
+ target: "bg";
+ target: "elm.swallow.content";
+ }
+ program { name: "inactive";
+ signal: "elm,state,content,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "panel_area";
+ target: "event_area";
+ target: "bg";
+ target: "elm.swallow.content";
+ }
+ }
+}
+
+group { name: "elm/scroller/panel/bottom/default";
+ parts {
+ part { name: "event_area";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ rel2.relative: 1.0 0.0;
+ align: 0.5 0.0;
+ fixed: 1 1;
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "panel_area";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 0.0 1.0;
+ to: "event_area";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to: "event_area";
+ }
+ align: 0.5 0.0;
+ fixed: 1 1;
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "access.outline";
+ type: RECT;
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ rel1.to: "panel_area";
+ rel2.to: "panel_area";
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "bg";
+ type: RECT;
+ description { state: "default" 0.0;
+ rel1.to: "panel_area";
+ rel2.to: "panel_area";
+ color: 64 64 64 255;
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ rel1.to: "panel_area";
+ rel2.to: "panel_area";
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ program { name: "active";
+ signal: "elm,state,content,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "panel_area";
+ target: "event_area";
+ target: "bg";
+ target: "elm.swallow.content";
+ }
+ program { name: "inactive";
+ signal: "elm,state,content,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "panel_area";
+ target: "event_area";
+ target: "bg";
+ target: "elm.swallow.content";
+ }
+ }
+}
+
+group { name: "elm/panel/left/default";
+ images.image: "bevel_out.png" COMP;
+ images.image: "shine.png" COMP;
+ images.image: "shadow_square_tiny.png" COMP;
+ images.image: "holes_tiny_glow_vert.png" COMP;
+ images.image: "holes_tiny_glow_horiz.png" COMP;
+ images.image: "win_glow.png" COMP;
+ images.image: "icon_arrow_right.png" COMP;
+ images.image: "icon_arrow_left.png" COMP;
+ images.image: "icon_arrow_up.png" COMP;
+ images.image: "icon_arrow_down.png" COMP;
+ data.item: "focus_highlight" "on";
+ parts {
+ part { name: "shadow"; mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.offset: -3 -2;
+ rel1.to: "base";
+ rel2.offset: 2 4;
+ rel2.to: "base";
+ image.normal: "shadow_square_tiny.png";
+ image.border: 6 6 6 6;
+ fill.smooth: 0;
+ }
+ }
+ part { name: "glow"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "win_glow.png";
+ image.border: 9 9 9 9;
+ image.middle: 0;
+ rel1.offset: -5 -5;
+ rel1.to: "base";
+ rel2.offset: 4 4;
+ rel2.to: "base";
+ fill.smooth: 0;
+ color: 255 255 255 0;
+ visible: 0;
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 255;
+ visible: 1;
+ }
+ }
+ part { name: "all"; type: SPACER;
+ description { state: "default" 0.0;
+ }
+ }
+ part { name: "base"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.to_x: "all";
+ rel2.to_x: "elm.swallow.event";
+ rel2.relative: 0.0 1.0;
+ rel2.offset: -4 -1;
+ color: 64 64 64 255;
+ }
+ }
+ part { name: "elm.swallow.content"; type: SWALLOW;
+ description { state: "default" 0.0;
+ rel1.offset: 4 4;
+ rel1.to: "base";
+ rel2.offset: -5 -5;
+ rel2.to: "base";
+ }
+ }
+ part { name: "bevel"; mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.to: "base";
+ rel2.to: "base";
+ image.normal: "bevel_out.png";
+ image.border: 1 1 1 1;
+ image.middle: 0;
+ fill.smooth: 0;
+ }
+ }
+ part { name: "shine"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "shine.png";
+ rel1.offset: 0 -2;
+ rel1.to: "base";
+ rel2.relative: 1.0 0.0;
+ rel2.offset: -1 2;
+ rel2.to: "base";
+ FIXED_SIZE(69, 5)
+ }
+ }
+ part { name: "elm.swallow.event"; type: SWALLOW;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ min: 20 20;
+ max: 20 20;
+ align: 1.0 0.5;
+ rel1.relative: 1.0 0.0;
+ rel2.relative: 1.0 1.0;
+ color: 0 0 0 0;
+ }
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ align: 0.0 0.5;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 0.0 1.0;
+ }
+ }
+ part { name: "btn"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.to: "elm.swallow.event";
+ rel2.to: "elm.swallow.event";
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "dots"; mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.to: "icn";
+ rel2.to: "icn";
+ align: 0.0 0.5;
+ image.normal: "holes_tiny_glow_vert.png";
+ FIXED_SIZE(11, 17)
+ }
+ }
+ part { name: "icn"; mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ min: 20 20;
+ max: 20 20;
+ rel1.to: "btn";
+ rel2.to: "btn";
+ image.normal: "icon_arrow_left.png";
+ }
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "icon_arrow_right.png";
+ }
+ }
+ }
+ programs {
+ program {
+ signal: "mouse,clicked,1"; source: "btn";
+ action: SIGNAL_EMIT "elm,action,panel,toggle" "elm";
+ }
+ program {
+ signal: "elm,action,show"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: DECELERATE 0.3;
+ target: "elm.swallow.event";
+ target: "base";
+ target: "icn";
+ }
+ program {
+ signal: "elm,action,hide"; source: "elm";
+ action: STATE_SET "hidden" 0.0;
+ transition: ACCELERATE 0.3;
+ target: "elm.swallow.event";
+ target: "icn";
+ }
+ program { name: "hide1";
+ signal: "elm,action,hide"; source: "elm";
+ script {
+ new x, y, w, h;
+
+ custom_state(PART:"base", "default", 0.0);
+ set_state_val(PART:"base", STATE_REL1, -1.0, 0.0);
+ get_geometry(PART:"elm.swallow.event", x, y, w, h);
+ set_state_val(PART:"base", STATE_REL1_OFFSET, w, 0);
+ }
+ after: "hide2";
+ }
+ program { name: "hide2";
+ action: STATE_SET "custom" 0.0;
+ transition: ACCELERATE 0.3;
+ target: "base";
+ }
+ program {
+ signal: "elm,action,focus_highlight,show"; source: "elm";
+ action: STATE_SET "focused" 0.0;
+ transition: ACCELERATE 0.2;
+ target: "glow";
+ }
+ program {
+ signal: "elm,action,focus_highlight,hide"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: DECELERATE 0.5;
+ target: "glow";
+ }
+ }
+}
+
+group { name: "elm/panel/right/default";
+ inherit: "elm/panel/left/default";
+ parts {
+ part { name: "base";
+ description { state: "default" 0.0;
+ rel1.relative: 1.0 0.0;
+ rel1.to_x: "elm.swallow.event";
+ rel1.offset: 3 0;
+ rel2.relative: 1.0 1.0;
+ rel2.to_x: "all";
+ rel2.offset: -1 -1;
+ }
+ }
+ part { name: "elm.swallow.event";
+ description { state: "default" 0.0;
+ align: 0.0 0.5;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 0.0 1.0;
+ }
+ description { state: "hidden" 0.0;
+ align: 1.0 0.5;
+ rel1.relative: 1.0 0.0;
+ rel2.relative: 1.0 1.0;
+ }
+ }
+ part { name: "dots";
+ description { state: "default" 0.0;
+ align: 1.0 0.5;
+ }
+ }
+ part { name: "icn";
+ description { state: "default" 0.0;
+ image.normal: "icon_arrow_right.png";
+ }
+ description { state: "hidden" 0.0;
+ image.normal: "icon_arrow_left.png";
+ }
+ }
+ }
+ programs {
+ program { name: "hide1";
+ script {
+ new x, y, w, h;
+
+ custom_state(PART:"base", "default", 0.0);
+ set_state_val(PART:"base", STATE_REL1, 1.0, 0.0);
+ set_state_val(PART:"base", STATE_REL2, 2.0, 1.0);
+ get_geometry(PART:"elm.swallow.event", x, y, w, h);
+ set_state_val(PART:"base", STATE_REL2_OFFSET, -w, 0);
+ }
+ }
+ }
+}
+
+group { name: "elm/panel/top/default";
+ inherit: "elm/panel/left/default";
+ parts {
+ part { name: "base";
+ description { state: "default" 0.0;
+ rel1.relative: 0.0 0.0;
+ rel1.to_x: "all";
+ rel1.to_y: "all";
+ rel1.offset: 0 0;
+ rel2.relative: 1.0 0.0;
+ rel2.to_x: "all";
+ rel2.to_y: "elm.swallow.event";
+ rel2.offset: -1 -4;
+ }
+ }
+ part { name: "elm.swallow.event";
+ description { state: "default" 0.0;
+ align: 0.5 1.0;
+ rel1.relative: 0.0 1.0;
+ rel2.relative: 1.0 1.0;
+ }
+ description { state: "hidden" 0.0;
+ align: 0.5 0.0;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 1.0 0.0;
+ }
+ }
+ part { name: "dots";
+ description { state: "default" 0.0;
+ align: 0.5 0.0;
+ image.normal: "holes_tiny_glow_horiz.png";
+ FIXED_SIZE(17, 11)
+ }
+ }
+ part { name: "icn";
+ description { state: "default" 0.0;
+ image.normal: "icon_arrow_up.png";
+ }
+ description { state: "hidden" 0.0;
+ image.normal: "icon_arrow_down.png";
+ }
+ }
+ }
+ programs {
+ program { name: "hide1";
+ script {
+ new x, y, w, h;
+
+ custom_state(PART:"base", "default", 0.0);
+ set_state_val(PART:"base", STATE_REL1, 0.0, -1.0);
+ set_state_val(PART:"base", STATE_REL2, 1.0, 0.0);
+ get_geometry(PART:"elm.swallow.event", x, y, w, h);
+ set_state_val(PART:"base", STATE_REL1_OFFSET, 0, h);
+ }
+ }
+ }
+}
+
+group { name: "elm/panel/bottom/default";
+ inherit: "elm/panel/left/default";
+ parts {
+ part { name: "base";
+ description { state: "default" 0.0;
+ rel1.relative: 0.0 1.0;
+ rel1.to_x: "all";
+ rel1.to_y: "elm.swallow.event";
+ rel1.offset: 0 3;
+ rel2.relative: 1.0 1.0;
+ rel2.to_x: "all";
+ rel2.to_y: "all";
+ rel2.offset: -1 -1;
+ }
+ }
+ part { name: "elm.swallow.event";
+ description { state: "default" 0.0;
+ align: 0.5 0.0;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 1.0 0.0;
+ }
+ description { state: "hidden" 0.0;
+ align: 0.5 1.0;
+ rel1.relative: 0.0 1.0;
+ rel2.relative: 1.0 1.0;
+ }
+ }
+ part { name: "dots";
+ description { state: "default" 0.0;
+ align: 0.5 0.0;
+ image.normal: "holes_tiny_glow_horiz.png";
+ FIXED_SIZE(17, 11)
+ }
+ }
+ part { name: "icn";
+ description { state: "default" 0.0;
+ image.normal: "icon_arrow_down.png";
+ }
+ description { state: "hidden" 0.0;
+ image.normal: "icon_arrow_up.png";
+ }
+ }
+ }
+ programs {
+ program { name: "hide1";
+ script {
+ new x, y, w, h;
+
+ custom_state(PART:"base", "default", 0.0);
+ set_state_val(PART:"base", STATE_REL1, 0.0, 1.0);
+ set_state_val(PART:"base", STATE_REL2, 1.0, 2.0);
+ get_geometry(PART:"elm.swallow.event", x, y, w, h);
+ set_state_val(PART:"base", STATE_REL2_OFFSET, 0, -h);
+ }
+ }
+ }
+}
diff --git a/data/themes/default/edc/elm/panes.edc b/data/themes/default/edc/elm/panes.edc
new file mode 100644
index 0000000..45b6d4a
--- /dev/null
+++ b/data/themes/default/edc/elm/panes.edc
@@ -0,0 +1,745 @@
+/* panes widget style information
+
+ [SIGNAL]
+ elm,panes,fixed: Used for elm_panes_fixed_set()
+ elm,panes,unfixed: Used for elm_panes_fixed_set()
+
+ [SIGNAL EMIT]
+ elm,action,click: Used for "clicked" smart callback.
+ elm,action,click,double: Used for "clicked,double" smart callback.
+ elm,action,press: Used for "press" smart callback.
+ elm,action,unpress: Used for "unpress" smart callback.
+*/
+
+#define PANEMIN 10
+#define PANEMIN2 16
+#define PANEWID 32
+
+group { name: "elm/panes/vertical/default";
+ images.image: "holes_vert.png" COMP;
+ parts {
+ part { name: "whole"; type: SPACER;
+ description { state: "default" 0.0;
+ }
+ }
+ part { name: "right_constraint"; type: SPACER;
+ dragable { confine: "whole";
+ x: 1 1 1;
+ y: 0 0 0;
+ }
+ description { state: "default" 0.0;
+ max: 0 0;
+ }
+ }
+ part { name: "left_constraint"; type: SPACER;
+ dragable { confine: "whole";
+ x: 1 1 1;
+ y: 0 0 0;
+ }
+ description { state: "default" 0.0;
+ max: 0 0;
+ }
+ }
+ part { name: "sub_whole"; type: SPACER;
+ description { state: "default" 0.0;
+ rel1.relative: 1.0 0.0;
+ rel1.to_x: "left_constraint";
+ rel2.relative: 0.0 1.0;
+ rel2.to_x: "right_constraint";
+ }
+ }
+ part { name: "whole_left"; type: RECT;
+ description { state: "default" 0.0;
+ rel2.to_x: "elm.bar";
+ rel2.relative: 1.0 1.0;
+ rel2.offset: -4 -1;
+ }
+ }
+ part { name: "whole_right"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.to_x: "elm.bar";
+ rel1.relative: 0.0 0.0;
+ rel1.offset: 3 0;
+ }
+ }
+ part { name: "elm.swallow.left"; type: SWALLOW;
+ clip_to: "whole_left";
+ description { state: "default" 0.0;
+ rel2.to_x: "elm.bar";
+ rel2.relative: 1.0 1.0;
+ rel2.offset: -4 -1;
+ }
+ }
+ part { name: "elm.swallow.right"; type: SWALLOW;
+ clip_to: "whole_right";
+ description { state: "default" 0.0;
+ rel1.to_x: "elm.bar";
+ rel1.relative: 0.0 0.0;
+ rel1.offset: 3 0;
+ }
+ }
+ part { name: "elm.bar"; type: SPACER;
+ dragable { confine: "sub_whole";
+ x: 1 1 1;
+ y: 0 0 0;
+ }
+ description { state: "default" 0.0;
+ max: 0 99999;
+ min: 0 14;
+ fixed: 1 1;
+ rel1.relative: 0.0 0.5;
+ rel2.relative: 1.0 0.5;
+ }
+ }
+ part { name: "dots"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "holes_vert.png";
+ rel1.to: "elm.bar";
+ rel2.to: "elm.bar";
+ FIXED_SIZE(4, 14)
+ }
+ }
+ part { name: "elm.swallow.event"; type: SWALLOW;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: PANEMIN PANEMIN2;
+ fixed: 1 1;
+ rel1.to: "elm.bar";
+ rel2.to: "elm.bar";
+ }
+ }
+ part { name: "bar"; type: RECT;
+ dragable.events: "elm.bar";
+ description { state: "default" 0.0;
+ min: PANEMIN PANEWID;
+ max: 99999 99999;
+ fixed: 1 1;
+ rel1.to_x: "elm.swallow.event";
+ rel2.to_x: "elm.swallow.event";
+ color: 0 0 0 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ }
+ programs {
+ program {signal: "mouse,down,1"; source: "bar"; // for "press" smart callback
+ action: SIGNAL_EMIT "elm,action,press" "elm";
+ }
+ program { signal: "mouse,up,1"; source: "bar"; // for "unpress" smart callback
+ action: SIGNAL_EMIT "elm,action,unpress" "elm";
+ }
+ program { signal: "mouse,clicked,1"; source: "bar"; // for "clicked" smart callback
+ action: SIGNAL_EMIT "elm,action,click" "elm";
+ }
+ program { signal: "mouse,down,1,double"; source: "bar"; // for "clicked,double" smart callback
+ action: SIGNAL_EMIT "elm,action,click,double" "elm";
+ }
+ program { // for elm_panes_fixed_set()
+ signal: "elm,panes,fixed"; source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "bar";
+ }
+ program { // for elm_panes_fixed_set()
+ signal: "elm,panes,unfixed"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "bar";
+ }
+ }
+}
+
+group { name: "elm/panes/horizontal/default";
+ images.image: "holes_horiz.png" COMP;
+ parts {
+ part { name: "whole"; type: SPACER;
+ description { state: "default" 0.0;
+ }
+ }
+ part { name: "right_constraint"; type: SPACER;
+ dragable { confine: "whole";
+ x: 0 0 0;
+ y: 1 1 1;
+ }
+ description { state: "default" 0.0;
+ max: 0 0;
+ }
+ }
+ part { name: "left_constraint"; type: SPACER;
+ dragable { confine: "whole";
+ x: 0 0 0;
+ y: 1 1 1;
+ }
+ description { state: "default" 0.0;
+ max: 0 0;
+ }
+ }
+ part { name: "sub_whole"; type: SPACER;
+ description { state: "default" 0.0;
+ rel1.relative: 0.0 1.0;
+ rel1.to_y: "left_constraint";
+ rel2.relative: 1.0 0.0;
+ rel2.to_y: "right_constraint";
+ }
+ }
+ part { name: "whole_left"; type: RECT;
+ description { state: "default" 0.0;
+ rel2.to_y: "elm.bar";
+ rel2.relative: 1.0 1.0;
+ rel2.offset: -1 -4;
+ }
+ }
+ part { name: "whole_right"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.to_y: "elm.bar";
+ rel1.relative: 0.0 0.0;
+ rel1.offset: 0 3;
+ }
+ }
+ part { name: "elm.swallow.left"; type: SWALLOW;
+ clip_to: "whole_left";
+ description { state: "default" 0.0;
+ rel2.to_y: "elm.bar";
+ rel2.relative: 1.0 1.0;
+ rel2.offset: -1 -4;
+ }
+ }
+ part { name: "elm.swallow.right"; type: SWALLOW;
+ clip_to: "whole_right";
+ description { state: "default" 0.0;
+ rel1.to_y: "elm.bar";
+ rel1.relative: 0.0 0.0;
+ rel1.offset: 0 3;
+ }
+ }
+ part { name: "elm.bar"; type: SPACER;
+ dragable { confine: "sub_whole";
+ x: 0 0 0;
+ y: 1 1 1;
+ }
+ description { state: "default" 0.0;
+ max: 99999 0;
+ min: 14 0;
+ fixed: 1 1;
+ rel1.relative: 0.5 0.0;
+ rel2.relative: 0.5 1.0;
+ }
+ }
+ part { name: "dots"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "holes_horiz.png";
+ rel1.to: "elm.bar";
+ rel2.to: "elm.bar";
+ FIXED_SIZE(14, 4)
+ }
+ }
+ part { name: "elm.swallow.event"; type: SWALLOW;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: PANEMIN2 PANEMIN;
+ fixed: 1 1;
+ rel1.to: "elm.bar";
+ rel2.to: "elm.bar";
+ }
+ }
+ part { name: "bar"; type: RECT;
+ dragable.events: "elm.bar";
+ description { state: "default" 0.0;
+ min: PANEWID PANEMIN;
+ max: 99999 99999;
+ fixed: 1 1;
+ rel1.to_y: "elm.swallow.event";
+ rel2.to_y: "elm.swallow.event";
+ color: 0 0 0 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ }
+ programs {
+ program {signal: "mouse,down,1"; source: "bar"; // for "press" smart callback
+ action: SIGNAL_EMIT "elm,action,press" "elm";
+ }
+ program { signal: "mouse,up,1"; source: "bar"; // for "unpress" smart callback
+ action: SIGNAL_EMIT "elm,action,unpress" "elm";
+ }
+ program { signal: "mouse,clicked,1"; source: "bar"; // for "clicked" smart callback
+ action: SIGNAL_EMIT "elm,action,click" "elm";
+ }
+ program { signal: "mouse,down,1,double"; source: "bar"; // for "clicked,double" smart callback
+ action: SIGNAL_EMIT "elm,action,click,double" "elm";
+ }
+ program { // for elm_panes_fixed_set()
+ signal: "elm,panes,fixed"; source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "bar";
+ }
+ program { // for elm_panes_fixed_set()
+ signal: "elm,panes,unfixed"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "bar";
+ }
+ }
+}
+
+////////////////////////////////////////////////////////////////////////////
+
+
+group { name: "elm/panes/vertical/flush";
+ images.image: "downlight_glow_left.png" COMP;
+ images.image: "downlight_glow_right.png" COMP;
+ parts {
+ part { name: "whole"; type: SPACER;
+ description { state: "default" 0.0;
+ }
+ }
+ part { name: "right_constraint"; type: SPACER;
+ dragable { confine: "whole";
+ x: 1 1 1;
+ y: 0 0 0;
+ }
+ description { state: "default" 0.0;
+ max: 0 0;
+ }
+ }
+ part { name: "left_constraint"; type: SPACER;
+ dragable { confine: "whole";
+ x: 1 1 1;
+ y: 0 0 0;
+ }
+ description { state: "default" 0.0;
+ max: 0 0;
+ }
+ }
+ part { name: "sub_whole"; type: SPACER;
+ description { state: "default" 0.0;
+ rel1.relative: 1.0 0.0;
+ rel1.to_x: "left_constraint";
+ rel2.relative: 0.0 1.0;
+ rel2.to_x: "right_constraint";
+ }
+ }
+ part { name: "whole_left"; type: RECT;
+ description { state: "default" 0.0;
+ rel2.to_x: "elm.bar";
+ rel2.relative: 1.0 1.0;
+ }
+ }
+ part { name: "whole_right"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.to_x: "elm.bar";
+ rel1.relative: 0.0 0.0;
+ }
+ }
+ part { name: "elm.swallow.left"; type: SWALLOW;
+ clip_to: "whole_left";
+ description { state: "default" 0.0;
+ rel2.to_x: "elm.bar";
+ rel2.relative: 1.0 1.0;
+ fixed: 1 0;
+ }
+ }
+ part { name: "elm.swallow.right"; type: SWALLOW;
+ clip_to: "whole_right";
+ description { state: "default" 0.0;
+ rel1.to_x: "elm.bar";
+ rel1.relative: 0.0 0.0;
+ fixed: 1 0;
+ }
+ }
+ part { name: "elm.bar"; type: SPACER;
+ dragable { confine: "sub_whole";
+ x: 1 1 1;
+ y: 0 0 0;
+ }
+ description { state: "default" 0.0;
+ max: 0 99999;
+ min: 0 14;
+ fixed: 1 1;
+ rel1.relative: 0.0 0.5;
+ rel2.relative: 1.0 0.5;
+ }
+ }
+ part { name: "elm.swallow.event"; type: SWALLOW;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: PANEMIN PANEMIN2;
+ fixed: 1 1;
+ rel1.to: "elm.bar";
+ rel2.to: "elm.bar";
+ }
+ }
+ part { name: "bar"; type: RECT;
+ dragable.events: "elm.bar";
+ description { state: "default" 0.0;
+ min: PANEMIN PANEWID;
+ max: 99999 99999;
+ fixed: 1 1;
+ rel1.to_x: "elm.swallow.event";
+ rel1.relative: 0.0 0.25;
+ rel2.to_x: "elm.swallow.event";
+ rel2.relative: 1.0 0.75;
+ color: 0 0 0 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "glow1a"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "downlight_glow_left.png";
+ image.border: 0 3 0 0;
+ max: 32 99999;
+ rel2.to_x: "elm.bar";
+ color: 255 255 255 0;
+ align: 1.0 0.5;
+ }
+ description { state: "active" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 255;
+ }
+ }
+ part { name: "glow1b"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "downlight_glow_right.png";
+ max: 4 99999;
+ rel1.to_x: "elm.bar";
+ color: 255 255 255 0;
+ align: 0.0 0.5;
+ }
+ description { state: "active" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 255;
+ }
+ }
+ part { name: "glow2a"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "downlight_glow_left.png";
+ max: 4 99999;
+ rel2.to_x: "elm.bar";
+ color: 255 255 255 0;
+ align: 1.0 0.5;
+ }
+ description { state: "active" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 255;
+ }
+ }
+ part { name: "glow2b"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "downlight_glow_right.png";
+ image.border: 3 0 0 0;
+ max: 32 99999;
+ rel1.to_x: "elm.bar";
+ color: 255 255 255 0;
+ align: 0.0 0.5;
+ }
+ description { state: "active" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 255;
+ }
+ }
+ part { name: "bar1"; type: RECT; repeat_events: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.to: "bar";
+ rel2.to: "bar";
+ rel2.relative: 0.5 1.0;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "bar2"; type: RECT; repeat_events: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.to: "bar";
+ rel1.relative: 0.5 0.0;
+ rel2.to: "bar";
+ color: 0 0 0 0;
+ }
+ }
+ }
+ programs {
+ program {signal: "mouse,down,1"; source: "bar"; // for "press" smart callback
+ action: SIGNAL_EMIT "elm,action,press" "elm";
+ }
+ program { signal: "mouse,up,1"; source: "bar"; // for "unpress" smart callback
+ action: SIGNAL_EMIT "elm,action,unpress" "elm";
+ }
+ program { signal: "mouse,clicked,1"; source: "bar"; // for "clicked" smart callback
+ action: SIGNAL_EMIT "elm,action,click" "elm";
+ }
+ program { signal: "mouse,down,1,double"; source: "bar"; // for "clicked,double" smart callback
+ action: SIGNAL_EMIT "elm,action,click,double" "elm";
+ }
+ program { // for elm_panes_fixed_set()
+ signal: "elm,panes,fixed"; source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "bar";
+ }
+ program { // for elm_panes_fixed_set()
+ signal: "elm,panes,unfixed"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "bar";
+ }
+ program {
+ signal: "mouse,in"; source: "bar1";
+ action: STATE_SET "active" 0.0;
+ transition: BOUNCE 0.4 0.5 4;
+ target: "glow1a";
+ target: "glow1b";
+ }
+ program {
+ signal: "mouse,out"; source: "bar1";
+ action: STATE_SET "default" 0.0;
+ transition: DECELERATE 0.5;
+ target: "glow1a";
+ target: "glow1b";
+ }
+ program {
+ signal: "mouse,in"; source: "bar2";
+ action: STATE_SET "active" 0.0;
+ transition: BOUNCE 0.4 0.5 4;
+ target: "glow2a";
+ target: "glow2b";
+ }
+ program {
+ signal: "mouse,out"; source: "bar2";
+ action: STATE_SET "default" 0.0;
+ transition: DECELERATE 0.5;
+ target: "glow2a";
+ target: "glow2b";
+ }
+ }
+}
+
+group { name: "elm/panes/horizontal/flush";
+ images.image: "downlight_glow.png" COMP;
+ images.image: "downlight_glow_up.png" COMP;
+ parts {
+ part { name: "whole"; type: SPACER;
+ description { state: "default" 0.0;
+ }
+ }
+ part { name: "right_constraint"; type: SPACER;
+ dragable { confine: "whole";
+ x: 0 0 0;
+ y: 1 1 1;
+ }
+ description { state: "default" 0.0;
+ max: 0 0;
+ }
+ }
+ part { name: "left_constraint"; type: SPACER;
+ dragable { confine: "whole";
+ x: 0 0 0;
+ y: 1 1 1;
+ }
+ description { state: "default" 0.0;
+ max: 0 0;
+ }
+ }
+ part { name: "sub_whole"; type: SPACER;
+ description { state: "default" 0.0;
+ rel1.relative: 0.0 1.0;
+ rel1.to_y: "left_constraint";
+ rel2.relative: 1.0 0.0;
+ rel2.to_y: "right_constraint";
+ }
+ }
+ part { name: "whole_left"; type: RECT;
+ description { state: "default" 0.0;
+ rel2.to_y: "elm.bar";
+ rel2.relative: 1.0 1.0;
+ }
+ }
+ part { name: "whole_right"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.to_y: "elm.bar";
+ rel1.relative: 0.0 0.0;
+ }
+ }
+ part { name: "elm.swallow.left"; type: SWALLOW;
+ clip_to: "whole_left";
+ description { state: "default" 0.0;
+ rel2.to_y: "elm.bar";
+ rel2.relative: 1.0 1.0;
+ fixed: 0 1;
+ }
+ }
+ part { name: "elm.swallow.right"; type: SWALLOW;
+ clip_to: "whole_right";
+ description { state: "default" 0.0;
+ rel1.to_y: "elm.bar";
+ rel1.relative: 0.0 0.0;
+ fixed: 0 1;
+ }
+ }
+ part { name: "elm.bar"; type: SPACER;
+ dragable { confine: "sub_whole";
+ x: 0 0 0;
+ y: 1 1 1;
+ }
+ description { state: "default" 0.0;
+ max: 99999 0;
+ min: 14 0;
+ fixed: 1 1;
+ rel1.relative: 0.5 0.0;
+ rel2.relative: 0.5 1.0;
+ }
+ }
+ part { name: "elm.swallow.event"; type: SWALLOW;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: PANEMIN2 PANEMIN;
+ fixed: 1 1;
+ rel1.to: "elm.bar";
+ rel2.to: "elm.bar";
+ }
+ }
+ part { name: "bar"; type: RECT;
+ dragable.events: "elm.bar";
+ description { state: "default" 0.0;
+ min: PANEWID PANEMIN;
+ max: 99999 99999;
+ fixed: 1 1;
+ rel1.to_y: "elm.swallow.event";
+ rel1.relative: 0.25 0.0;
+ rel2.to_y: "elm.swallow.event";
+ rel2.relative: 0.75 1.0;
+ color: 0 0 0 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "glow1a"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "downlight_glow_up.png";
+ image.border: 0 0 0 3;
+ max: 99999 32;
+ rel2.to_y: "elm.bar";
+ color: 255 255 255 0;
+ align: 0.5 1.0;
+ }
+ description { state: "active" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 255;
+ }
+ }
+ part { name: "glow1b"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "downlight_glow.png";
+ max: 99999 4;
+ rel1.to_y: "elm.bar";
+ color: 255 255 255 0;
+ align: 0.5 0.0;
+ }
+ description { state: "active" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 255;
+ }
+ }
+ part { name: "glow2a"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "downlight_glow_up.png";
+ max: 99999 4;
+ rel2.to_y: "elm.bar";
+ color: 255 255 255 0;
+ align: 0.5 1.0;
+ }
+ description { state: "active" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 255;
+ }
+ }
+ part { name: "glow2b"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "downlight_glow.png";
+ image.border: 0 0 3 0;
+ max: 99999 32;
+ rel1.to_y: "elm.bar";
+ color: 255 255 255 0;
+ align: 0.5 0.0;
+ }
+ description { state: "active" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 255;
+ }
+ }
+ part { name: "bar1"; type: RECT; repeat_events: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.to: "bar";
+ rel2.to: "bar";
+ rel2.relative: 1.0 0.5;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "bar2"; type: RECT; repeat_events: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.to: "bar";
+ rel1.relative: 0.0 0.5;
+ rel2.to: "bar";
+ color: 0 0 0 0;
+ }
+ }
+ }
+ programs {
+ program {
+ signal: "mouse,in"; source: "bar1";
+ action: STATE_SET "active" 0.0;
+ transition: BOUNCE 0.4 0.5 4;
+ target: "glow1a";
+ target: "glow1b";
+ }
+ program {
+ signal: "mouse,out"; source: "bar1";
+ action: STATE_SET "default" 0.0;
+ transition: DECELERATE 0.5;
+ target: "glow1a";
+ target: "glow1b";
+ }
+ program {
+ signal: "mouse,in"; source: "bar2";
+ action: STATE_SET "active" 0.0;
+ transition: BOUNCE 0.4 0.5 4;
+ target: "glow2a";
+ target: "glow2b";
+ }
+ program {
+ signal: "mouse,out"; source: "bar2";
+ action: STATE_SET "default" 0.0;
+ transition: DECELERATE 0.5;
+ target: "glow2a";
+ target: "glow2b";
+ }
+ program {signal: "mouse,down,1"; source: "bar"; // for "press" smart callback
+ action: SIGNAL_EMIT "elm,action,press" "elm";
+ }
+ program { signal: "mouse,up,1"; source: "bar"; // for "unpress" smart callback
+ action: SIGNAL_EMIT "elm,action,unpress" "elm";
+ }
+ program { signal: "mouse,clicked,1"; source: "bar"; // for "clicked" smart callback
+ action: SIGNAL_EMIT "elm,action,click" "elm";
+ }
+ program { signal: "mouse,down,1,double"; source: "bar"; // for "clicked,double" smart callback
+ action: SIGNAL_EMIT "elm,action,click,double" "elm";
+ }
+ program { // for elm_panes_fixed_set()
+ signal: "elm,panes,fixed"; source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "bar";
+ }
+ program { // for elm_panes_fixed_set()
+ signal: "elm,panes,unfixed"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "bar";
+ }
+ }
+}
diff --git a/data/themes/default/edc/elm/photo.edc b/data/themes/default/edc/elm/photo.edc
new file mode 100644
index 0000000..55dcfb7
--- /dev/null
+++ b/data/themes/default/edc/elm/photo.edc
@@ -0,0 +1,91 @@
+group { name: "elm/photo/base/default";
+ images.image: "win_shadow.png" COMP;
+ parts {
+ part { name: "shadow"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "win_shadow.png";
+ image.border: 14 14 14 14;
+ image.middle: 0;
+ rel1.to: "base";
+ rel1.offset: -7 -3;
+ rel2.to: "base";
+ rel2.offset: 6 11;
+ fill.smooth: 0;
+ }
+ }
+ part { name: "base"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.offset: 7 7;
+ rel2.offset: -8 -8;
+ color: 255 255 255 255;
+ }
+ }
+ part { name: "clip"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.to: "base";
+ rel1.offset: 4 4;
+ rel2.to: "base";
+ rel2.offset: -5 -5;
+ }
+ }
+ part { name: "bg"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.to: "clip";
+ rel2.to: "clip";
+ color: DARK_GREY_BG_COLOR;
+ }
+ }
+ part { name: "elm.swallow.content"; type: SWALLOW;
+ clip_to: "clip";
+ description { state: "default" 0.0;
+ rel1.to: "clip";
+ rel2.to: "clip";
+ }
+ }
+ }
+}
+
+group { name: "elm/photo/base/shadow";
+ inherit: "elm/photo/base/default";
+ script {
+ public message(Msg_Type:type, id, ...) {
+ if ((type == MSG_INT_SET) && (id == 0)) {
+ new w, h;
+ w = getarg(2); h = getarg(3);
+ if ((w > 0) && (h > 0)) {
+ custom_state(PART:"size", "default", 0.0);
+ set_state_val(PART:"size", STATE_MIN, w, h);
+ set_state_val(PART:"size", STATE_REL1, 0.5, 0.5);
+ set_state_val(PART:"size", STATE_REL2, 0.5, 0.5);
+ set_state_val(PART:"size", STATE_REL1_OFFSET, 0, 0);
+ set_state_val(PART:"size", STATE_REL2_OFFSET, -1, -1);
+ set_state(PART:"size", "custom", 0.0);
+ } else {
+ set_state(PART:"size", "default", 0.0);
+ }
+ }
+ }
+ }
+ parts {
+ part { name: "size"; type: SWALLOW;
+ description { state: "default" 0.0;
+ rel1.offset: 7 7;
+ rel2.offset: -8 -8;
+ }
+ }
+ part { name: "base"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.to: "size";
+ rel1.offset: 0 0;
+ rel2.to: "size";
+ rel2.offset: -1 -1;
+ }
+ }
+ part { name: "clip";
+ description { state: "default" 0.0;
+ rel1.offset: 0 0;
+ rel2.offset: -1 -1;
+ }
+ }
+ }
+}
diff --git a/data/themes/default/edc/elm/photocam.edc b/data/themes/default/edc/elm/photocam.edc
new file mode 100644
index 0000000..ccc2dc8
--- /dev/null
+++ b/data/themes/default/edc/elm/photocam.edc
@@ -0,0 +1,100 @@
+group { name: "elm/photocam/base/default";
+ inherit: "elm/scroller/base/default";
+ images.image: "knob_round_busy.png" COMP;
+ images.image: "glow_round_corners.png" COMP;
+ parts {
+ part { name: "busy_clip"; type: RECT;
+ description { state: "default" 0.0;
+ visible: 0;
+ color: 255 255 255 0;
+ }
+ description { state: "active" 0.0;
+ visible: 1;
+ color: 255 255 255 255;
+ }
+ }
+ part { name: "knob"; mouse_events: 0;
+ clip_to: "busy_clip";
+ scale: 1;
+ description { state: "default" 0.0;
+ image.normal: "knob_round_busy.png";
+ min: 40 40;
+ max: 40 40;
+ align: 0.0 0.0;
+ rel1.offset: 3 3;
+ rel2.offset: 3 3;
+ fixed: 1 1;
+ }
+ }
+ part { name: "knob_spinner"; mouse_events: 0;
+ clip_to: "busy_clip";
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.to: "knob";
+ rel2.to: "knob";
+ image.normal: "glow_round_corners.png";
+ map.on: 1;
+ map.smooth: 1;
+ map.rotation.center: "knob";
+ }
+ description { state: "spin" 0.0;
+ inherit: "default" 0.0;
+ map.rotation.z: 360;
+ }
+ }
+ }
+ programs {
+ program { name: "spin";
+ signal: "elm,state,busy,start"; source: "elm";
+ action: ACTION_STOP;
+ target: "spin";
+ target: "spin0";
+ target: "spin1";
+ target: "spin2";
+ target: "spin3";
+ target: "spin4";
+ after: "spin0";
+ }
+ program { name: "spin0";
+ action: STATE_SET "default" 0.0;
+ target: "knob_spinner";
+ after: "spin1";
+ }
+ program { name: "spin1";
+ action: STATE_SET "spin" 0.0;
+ transition: LINEAR 1.0;
+ target: "knob_spinner";
+ after: "spin2";
+ }
+ program { name: "spin2";
+ action: STATE_SET "default" 0.0;
+ target: "knob_spinner";
+ after: "spin1";
+ }
+
+ program {
+ signal: "elm,state,busy,start"; source: "elm";
+ action: STATE_SET "active" 0.0;
+ transition: SINUSOIDAL 0.25;
+ target: "busy_clip";
+ }
+
+ program {
+ signal: "elm,state,busy,stop"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: SINUSOIDAL 1.0;
+ target: "busy_clip";
+ after: "spin3";
+ }
+ program { name: "spin3";
+ action: ACTION_STOP;
+ target: "spin";
+ target: "spin2";
+ after: "spin4";
+ }
+ program { name: "spin4";
+ action: STATE_SET "default" 0.0;
+ target: "knob_spinner";
+ }
+ }
+}
diff --git a/data/themes/default/edc/elm/player.edc b/data/themes/default/edc/elm/player.edc
new file mode 100644
index 0000000..0a2b191
--- /dev/null
+++ b/data/themes/default/edc/elm/player.edc
@@ -0,0 +1,639 @@
+#define BSZ 20
+group { name: "elm/player/base/default";
+ images.image: "inset_shadow.png" COMP;
+ images.image: "shine.png" COMP;
+ images.image: "bevel_out.png" COMP;
+ images.image: "vgrad_med_lighter.png" COMP;
+ images.image: "bevel_out.png" COMP;
+ images.image: "shine.png" COMP;
+ images.image: "vgrad_shadow_bi.png" COMP;
+ images.image: "shadow_square_tiny.png" COMP;
+ script {
+ public in_control;
+ public in_volume;
+ public inside;
+
+ public eval_in() {
+ new v1 = get_int(in_control);
+ new v2 = get_int(in_volume);
+ new isin = get_int(inside);
+
+ if (isin) {
+ if ((!v1) && (!v2)) {
+ emit("conhide", "");
+ set_int(inside, 0);
+ }
+ } else {
+ if ((v1) || (v2)) {
+ emit("conshow", "");
+ set_int(inside, 1);
+ }
+ }
+ }
+ }
+ parts {
+ part { name: "bg"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.offset: 1 1;
+ rel2.offset: -2 -2;
+ color: 0 0 0 255;
+ }
+ }
+ part { name: "clipper"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.to: "bg";
+ rel2.to: "bg";
+ }
+ }
+ // video (elm_video) content here
+ part { name: "elm.swallow.content"; type: SWALLOW;
+ clip_to: "clipper";
+ description { state: "default" 0.0;
+ rel1.offset: 1 1;
+ rel2.offset: -2 -2;
+ }
+ }
+
+ part { name: "barshad";
+ clip_to: "clipper";
+ description { state: "default" 0.0;
+ image.normal: "vgrad_shadow_bi.png";
+ rel1.to: "bar";
+ rel1.relative: 0.0 -0.5;
+ rel2.to: "bar";
+ rel2.relative: 1.0 0.5;
+ color: 255 255 255 0;
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 128;
+ visible: 1;
+ }
+ }
+ part { name: "volpop_shadow"; mouse_events: 0;
+ clip_to: "volclip";
+ description { state: "default" 0.0;
+ rel1.offset: -3 -2;
+ rel1.to: "volpop";
+ rel2.offset: 3 4;
+ rel2.to: "volpop";
+ image.normal: "shadow_square_tiny.png";
+ image.border: 6 6 6 6;
+ fill.smooth: 0;
+ }
+ }
+
+ part { name: "bar";
+ clip_to: "clipper";
+ description { state: "default" 0.0;
+ color_class: "player_bar";
+ image.normal: "vgrad_med_lighter.png";
+ rel1.to_y: "elm.swallow.media_player.prev";
+ rel1.offset: 1 -1;
+ rel2.to_y: "elm.swallow.media_player.positionslider";
+ rel2.offset: -2 -1;
+ fill.smooth: 0;
+ TILED_HORIZ(120)
+ }
+ }
+ part { name: "barbevclip"; type: RECT;
+ clip_to: "clipper";
+ description { state: "default" 0.0;
+ rel1.to: "bar";
+ rel2.to: "bar";
+ rel2.relative: 1.0 0.0;
+ rel2.offset: -1 0;
+ color: 255 255 255 255;
+ }
+ }
+ part { name: "barbev";
+ clip_to: "barbevclip";
+ description { state: "default" 0.0;
+ rel1.to: "bar";
+ rel2.to: "bar";
+ image.normal: "bevel_out.png";
+ image.border: 2 2 2 2;
+ fill.smooth: 0;
+ }
+ }
+ part { name: "shine"; mouse_events: 0;
+ clip_to: "clipper";
+ description { state: "default" 0.0;
+ image.normal: "shine.png";
+ rel1.offset: 0 -2;
+ rel1.to: "bar";
+ rel2.relative: 1.0 0.0;
+ rel2.offset: -1 2;
+ rel2.to: "bar";
+ FIXED_SIZE(69, 5)
+ }
+ }
+
+ part { name: "volclip"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.to: "bg";
+ rel2.to: "bg";
+ color: 255 255 255 0;
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 255;
+ visible: 1;
+ }
+ }
+ part { name: "volpop";
+ clip_to: "volclip";
+ description { state: "default" 0.0;
+ color_class: "player_volume";
+ image.normal: "vgrad_med_lighter.png";
+ rel1.to: "elm.swallow.media_player.volumeslider";
+ rel1.offset: -1 -1;
+ rel2.to: "elm.swallow.media_player.volumeslider";
+ rel2.offset: 0 0;
+ fill.smooth: 0;
+ TILED_HORIZ(120)
+ }
+ }
+ part { name: "volpopclip"; type: RECT;
+ clip_to: "volclip";
+ description { state: "default" 0.0;
+ rel1.to: "volpop";
+ rel1.offset: 0 -5;
+ rel2.to: "volpop";
+ color: 255 255 255 255;
+ }
+ }
+ part { name: "volpopbev";
+ clip_to: "volpopclip";
+ description { state: "default" 0.0;
+ rel1.to: "volpop";
+ rel2.to: "volpop";
+ image.normal: "bevel_out.png";
+ image.border: 2 2 2 2;
+ fill.smooth: 0;
+ }
+ }
+ part { name: "volshine"; mouse_events: 0;
+ clip_to: "volpopclip";
+ description { state: "default" 0.0;
+ image.normal: "shine.png";
+ rel1.offset: 0 -2;
+ rel1.to: "volpop";
+ rel2.relative: 1.0 0.0;
+ rel2.offset: -1 2;
+ rel2.to: "volpop";
+ FIXED_SIZE(69, 5)
+ }
+ }
+
+ part { name: "elm.swallow.media_player.prev"; type: SWALLOW;
+ clip_to: "clipper";
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ min: BSZ BSZ;
+ align: 0.0 0.0;
+ rel1.relative: 0.0 1.0;
+ rel1.offset: 1 7;
+ rel2.relative: 0.0 1.0;
+ rel2.offset: 1 7;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ rel1.offset: 1 -2;
+ rel2.offset: 1 -2;
+ align: 0.0 1.0;
+ }
+ }
+ part { name: "elm.swallow.media_player.rewind"; type: SWALLOW;
+ clip_to: "clipper";
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ min: BSZ BSZ;
+ align: 0.0 1.0;
+ rel1.to: "elm.swallow.media_player.prev";
+ rel1.relative: 1.0 0.0;
+ rel1.offset: 0 0;
+ rel2.to: "elm.swallow.media_player.prev";
+ rel2.relative: 1.0 1.0;
+ rel2.offset: 0 -1;
+ }
+ }
+ part { name: "elm.swallow.media_player.play"; type: SWALLOW;
+ clip_to: "clipper";
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ min: BSZ BSZ;
+ align: 0.0 1.0;
+ rel1.to: "elm.swallow.media_player.rewind";
+ rel1.relative: 1.0 0.0;
+ rel1.offset: 0 0;
+ rel2.to: "elm.swallow.media_player.rewind";
+ rel2.relative: 1.0 1.0;
+ rel2.offset: 0 -1;
+ }
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.swallow.media_player.pause"; type: SWALLOW;
+ clip_to: "clipper";
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ min: BSZ BSZ;
+ rel1.to: "elm.swallow.media_player.play";
+ rel2.to: "elm.swallow.media_player.play";
+ }
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.swallow.media_player.forward"; type: SWALLOW;
+ clip_to: "clipper";
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ min: BSZ BSZ;
+ align: 0.0 1.0;
+ rel1.to: "elm.swallow.media_player.play";
+ rel1.relative: 1.0 0.0;
+ rel1.offset: 0 0;
+ rel2.to: "elm.swallow.media_player.play";
+ rel2.relative: 1.0 1.0;
+ rel2.offset: 0 -1;
+ }
+ }
+ part { name: "elm.swallow.media_player.next"; type: SWALLOW;
+ clip_to: "clipper";
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ min: BSZ BSZ;
+ align: 0.0 1.0;
+ rel1.to: "elm.swallow.media_player.forward";
+ rel1.relative: 1.0 0.0;
+ rel1.offset: 0 0;
+ rel2.to: "elm.swallow.media_player.forward";
+ rel2.relative: 1.0 1.0;
+ rel2.offset: 0 -1;
+ }
+ }
+ part { name: "elm.swallow.media_player.stop"; type: SWALLOW;
+ clip_to: "clipper";
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ min: BSZ BSZ;
+ align: 0.0 1.0;
+ rel1.to: "elm.swallow.media_player.next";
+ rel1.relative: 1.0 0.0;
+ rel1.offset: 0 0;
+ rel2.to: "elm.swallow.media_player.next";
+ rel2.relative: 1.0 1.0;
+ rel2.offset: 0 -1;
+ }
+ }
+ part { name: "elm.swallow.media_player.eject"; type: SWALLOW;
+ clip_to: "clipper";
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ min: BSZ BSZ;
+ align: 0.0 1.0;
+ rel1.to: "elm.swallow.media_player.stop";
+ rel1.relative: 1.0 0.0;
+ rel1.offset: 0 0;
+ rel2.to: "elm.swallow.media_player.stop";
+ rel2.relative: 1.0 1.0;
+ rel2.offset: 0 -1;
+ }
+ }
+ part { name: "elm.swallow.media_player.volume"; type: SWALLOW;
+ clip_to: "clipper";
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ min: BSZ BSZ;
+ align: 0.0 1.0;
+ rel1.to: "elm.swallow.media_player.eject";
+ rel1.relative: 1.0 0.0;
+ rel1.offset: 0 0;
+ rel2.to: "elm.swallow.media_player.eject";
+ rel2.relative: 1.0 1.0;
+ rel2.offset: 0 -1;
+ }
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.swallow.media_player.mute"; type: SWALLOW;
+ clip_to: "clipper";
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ min: BSZ BSZ;
+ rel1.to: "elm.swallow.media_player.volume";
+ rel2.to: "elm.swallow.media_player.volume";
+ }
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.swallow.media_player.info"; type: SWALLOW;
+ clip_to: "clipper";
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ min: BSZ BSZ;
+ align: 0.0 1.0;
+ rel1.to: "elm.swallow.media_player.volume";
+ rel1.relative: 1.0 0.0;
+ rel1.offset: 0 0;
+ rel2.to: "elm.swallow.media_player.volume";
+ rel2.relative: 1.0 1.0;
+ rel2.offset: 0 -1;
+ }
+ }
+ part { name: "elm.swallow.media_player.positionslider"; type: SWALLOW;
+ clip_to: "clipper";
+ description { state: "default" 0.0;
+ fixed: 0 1;
+ rel1.relative: 1.0 0.0;
+ rel1.to: "elm.swallow.media_player.info";
+ rel2.to_y: "elm.swallow.media_player.info";
+ rel2.offset: -2 -1;
+ }
+ }
+ part { name: "elm.swallow.media_player.volumeslider"; type: SWALLOW;
+ clip_to: "volclip";
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.to_x: "elm.swallow.media_player.volume";
+ rel1.offset: 0 1;
+ rel2.to: "elm.swallow.media_player.volume";
+ rel2.offset: -1 -3;
+ rel2.relative: 1.0 0.0;
+ align: 0.5 1.0;
+ max: 99999 100;
+ }
+ }
+
+ part { name: "shadow"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "inset_shadow.png";
+ image.border: 5 5 7 3;
+ image.middle: 0;
+ rel1.to: "bg";
+ rel2.to: "bg";
+ fill.smooth: 0;
+ color: 255 255 255 128;
+ }
+ }
+ part { name: "inset"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "bevel_in.png";
+ image.border: 1 1 1 1;
+ image.middle: 0;
+ rel1.to: "bg";
+ rel1.offset: -1 -1;
+ rel2.to: "bg";
+ rel2.offset: 0 0;
+ fill.smooth: 0;
+ }
+ }
+
+ part { name: "controls"; type: RECT; repeat_events: 1;
+ clip_to: "clipper";
+ scale: 1;
+ description { state: "default" 0.0;
+ min: BSZ BSZ;
+ align: 0.5 1.0;
+ rel1.relative: 0.0 0.8;
+ color: 0 0 0 0;
+ }
+ }
+
+ part { name: "volumetop"; type: SPACER;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.to_y: "elm.swallow.media_player.volumeslider";
+ rel1.relative: 0.0 0.0;
+ rel2.to_y: "controls";
+ rel2.relative: 1.0 0.0;
+ align: 0.5 0.0;
+ }
+ }
+ part { name: "volume"; type: RECT; repeat_events: 1;
+ clip_to: "clipper";
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.to_y: "volumetop";
+ rel1.to_x: "elm.swallow.media_player.volume";
+ rel1.relative: -1.0 0.0;
+ rel1.offset: 0 -20;
+ rel2.to: "elm.swallow.media_player.volume";
+ rel2.relative: 2.0 1.0;
+ align: 0.5 1.0;
+ color: 0 0 0 0;
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ program { name: "ci";
+ signal: "mouse,in"; source: "controls";
+ script {
+ set_int(in_control, 1);
+ eval_in();
+ }
+ }
+ program { name: "co";
+ signal: "mouse,out"; source: "controls";
+ script {
+ set_int(in_control, 0);
+ eval_in();
+ }
+ }
+ program { name: "vi";
+ signal: "mouse,in"; source: "volume";
+ script {
+ set_int(in_volume, 1);
+ eval_in();
+ }
+ }
+ program { name: "vo";
+ signal: "mouse,out"; source: "volume";
+ script {
+ set_int(in_volume, 0);
+ eval_in();
+ }
+ }
+ program {
+ signal: "conshow"; source: "";
+ action: STATE_SET "visible" 0.0;
+ transition: DECELERATE 0.2;
+ target: "elm.swallow.media_player.prev";
+ target: "barshad";
+ target: "volume";
+ }
+ program {
+ signal: "conhide"; source: "";
+ action: STATE_SET "default" 0.0;
+ transition: DECELERATE 0.5;
+ target: "elm.swallow.media_player.prev";
+ target: "barshad";
+ target: "volume";
+ }
+ program {
+ signal: "mouse,in"; source: "volume";
+ action: STATE_SET "visible" 0.0;
+ transition: DECELERATE 0.5;
+ target: "volclip";
+ }
+ program {
+ signal: "mouse,out"; source: "volume";
+ action: STATE_SET "default" 0.0;
+ transition: DECELERATE 0.5;
+ target: "volclip";
+ }
+
+ program {
+ signal: "load"; source: "";
+ after: "pause/0";
+ }
+ program {
+ signal: "elm,player,play"; source: "elm";
+ after: "play/0";
+ }
+ program {
+ signal: "elm,player,pause"; source: "elm";
+ after: "pause/0";
+ }
+ program { name: "play/0";
+ action: STATE_SET "hidden" 0.0;
+ target: "elm.swallow.media_player.play";
+ after: "play/1";
+ }
+ program { name: "play/1";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.media_player.pause";
+ }
+ program { name: "pause/0";
+ action: STATE_SET "hidden" 0.0;
+ target: "elm.swallow.media_player.pause";
+ after: "pause/1";
+ }
+ program { name: "pause/1";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.media_player.play";
+ }
+
+ program {
+ signal: "load"; source: "";
+ after: "unmute/0";
+ }
+ program {
+ signal: "elm,player,mute"; source: "elm";
+ after: "mute/0";
+ }
+ program {
+ signal: "elm,player,unmute"; source: "elm";
+ after: "unmute/0";
+ }
+ program { name: "mute/0";
+ action: STATE_SET "hidden" 0.0;
+ target: "elm.swallow.media_player.volume";
+ after: "mute/1";
+ }
+ program { name: "mute/1";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.media_player.mute";
+ }
+ program { name: "unmute/0";
+ action: STATE_SET "hidden" 0.0;
+ target: "elm.swallow.media_player.mute";
+ after: "unmute/1";
+ }
+ program { name: "unmute/1";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.media_player.volume";
+ }
+
+ }
+}
+
+group { name: "elm/player/base/flush";
+ inherit: "elm/player/base/default";
+ parts {
+ part { name: "bg";
+ description { state: "default" 0.0;
+ rel1.offset: 0 0;
+ rel2.offset: -1 -1;
+ }
+ }
+ part { name: "elm.swallow.content";
+ description { state: "default" 0.0;
+ rel1.offset: 0 0;
+ rel2.offset: -1 -1;
+ }
+ }
+ part { name: "bar";
+ description { state: "default" 0.0;
+ rel1.offset: 0 -1;
+ rel2.offset: -1 -1;
+ }
+ }
+ part { name: "barbevclip"; type: RECT;
+ description { state: "default" 0.0;
+ rel2.relative: 1.0 1.0;
+ rel2.offset: -1 -1;
+ }
+ }
+ part { name: "barbev";
+ description { state: "default" 0.0;
+ rel1.offset: -1 0;
+ rel2.offset: 0 -1;
+ }
+ }
+ part { name: "elm.swallow.media_player.prev";
+ description { state: "default" 0.0;
+ rel1.offset: 0 7;
+ rel2.offset: 0 7;
+ }
+ description { state: "visible" 0.0;
+ rel1.offset: 0 -1;
+ rel2.offset: 0 -1;
+ }
+ }
+ part { name: "elm.swallow.media_player.positionslider";
+ description { state: "default" 0.0;
+ rel2.offset: -1 -1;
+ }
+ }
+
+ part { name: "shadow"; mouse_events: 0;
+ description { state: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "inset"; mouse_events: 0;
+ description { state: "default" 0.0;
+ visible: 0;
+ }
+ }
+ }
+}
diff --git a/data/themes/default/edc/elm/pointer.edc b/data/themes/default/edc/elm/pointer.edc
new file mode 100644
index 0000000..e8252e6
--- /dev/null
+++ b/data/themes/default/edc/elm/pointer.edc
@@ -0,0 +1,50 @@
+group { name: "elm/pointer/base/default";
+ images {
+ image: "pointer.png" COMP;
+ }
+ parts {
+ part {
+ name: "base";
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ aspect: 1.0 1.0;
+ min: 32 32;
+ /* force a specific aspect ratio so
+ * when it gets scaled it wont squash
+ * or stretch */
+ aspect_preference: BOTH;
+ /* both axes control aspect - thus it
+ * will be WITHIN the bounds the axes
+ * of thre part describe */
+ image {
+ normal: "pointer.png";
+ }
+ }
+ }
+ part {
+ name: "elm.swallow.hotspot";
+ /* this is a "fake" swallow part
+ * that is used by e to determine
+ * the pointer hotspot - or where
+ * the actual mouse events get
+ * reported from on the cursor */
+ type: SWALLOW;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ rel1 {
+ /* the hotspot will scale with the cursor here */
+ to: "base";
+ relative: 0.1875 0.1875;
+ offset: 0 0;
+ }
+ rel2 {
+ to: "base";
+ relative: 0.1875 0.1875;
+ offset: 0 0;
+ }
+ }
+ }
+ }
+}
diff --git a/data/themes/default/edc/elm/popup.edc b/data/themes/default/edc/elm/popup.edc
new file mode 100644
index 0000000..8193189
--- /dev/null
+++ b/data/themes/default/edc/elm/popup.edc
@@ -0,0 +1,499 @@
+group { name: "elm/notify/block_events/popup/default";
+ parts {
+ part { name: "base"; type: RECT;
+ description { state: "default" 0.0;
+ color: 0 0 0 128;
+ }
+ }
+ program {
+ signal: "mouse,clicked,1"; source: "base";
+ action: SIGNAL_EMIT "elm,action,click" "elm";
+ }
+ }
+}
+
+group { name: "elm/notify/block_events/popup/transparent";
+ parts {
+ part { name: "base"; type: RECT;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ description { state: "clicked" 0.0;
+ color: 0 0 0 192;
+ }
+ }
+ program {
+ signal: "mouse,down,1"; source: "base";
+ action: SIGNAL_EMIT "elm,action,click" "elm";
+ after: "click1";
+ }
+ program { name: "click1";
+ action: STATE_SET "clicked" 0.0;
+ target: "base";
+ transition: SINUSOIDAL 0.2;
+ }
+ program {
+ signal: "mouse,up,1"; source: "base";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ transition: DECELERATE 0.5;
+ }
+ }
+}
+
+group { name: "elm/notify/top/popup/default";
+ inherit: "elm/notify/top/default";
+#define OVERRIDE_BASE() \
+ images.image: "rounded_square.png" COMP; \
+ parts { \
+ part { name: "base"; \
+ description { state: "default" 0.0; \
+ image.normal: "rounded_square.png"; \
+ } \
+ description { state: "visible" 0.0; \
+ image.normal: "rounded_square.png"; \
+ } \
+ } \
+ }
+ OVERRIDE_BASE()
+}
+
+group { name: "elm/notify/bottom/popup/default";
+ inherit: "elm/notify/bottom/default";
+ OVERRIDE_BASE()
+}
+
+group { name: "elm/notify/left/popup/default";
+ inherit: "elm/notify/left/default";
+ OVERRIDE_BASE()
+}
+
+group { name: "elm/notify/right/popup/default";
+ inherit: "elm/notify/right/default";
+ OVERRIDE_BASE()
+}
+
+group { name: "elm/notify/top_left/popup/default";
+ inherit: "elm/notify/top_left/default";
+ OVERRIDE_BASE()
+}
+
+group { name: "elm/notify/top_right/popup/default";
+ inherit: "elm/notify/top_right/default";
+ OVERRIDE_BASE()
+}
+
+group { name: "elm/notify/bottom_left/popup/default";
+ inherit: "elm/notify/bottom_left/default";
+ OVERRIDE_BASE()
+}
+
+group { name: "elm/notify/bottom_right/popup/default";
+ inherit: "elm/notify/bottom_right/default";
+ OVERRIDE_BASE()
+}
+
+group { name: "elm/notify/center/popup/default";
+ inherit: "elm/notify/center/default";
+ OVERRIDE_BASE()
+}
+#undef OVERRIDE_BASE
+
+group { name: "elm/notify/top/popup/transparent";
+ inherit: "elm/notify/top/default";
+}
+
+group { name: "elm/notify/bottom/popup/transparent";
+ inherit: "elm/notify/bottom/default";
+}
+
+group { name: "elm/notify/left/popup/transparent";
+ inherit: "elm/notify/left/default";
+}
+
+group { name: "elm/notify/right/popup/transparent";
+ inherit: "elm/notify/right/default";
+}
+
+group { name: "elm/notify/top_left/popup/transparent";
+ inherit: "elm/notify/top_left/default";
+}
+
+group { name: "elm/notify/top_right/popup/transparent";
+ inherit: "elm/notify/top_right/default";
+}
+
+group { name: "elm/notify/bottom_left/popup/transparent";
+ inherit: "elm/notify/bottom_left/default";
+}
+
+group { name: "elm/notify/bottom_right/popup/transparent";
+ inherit: "elm/notify/bottom_right/default";
+}
+
+group { name: "elm/notify/center/popup/transparent";
+ inherit: "elm/notify/center/default";
+}
+
+group { name: "elm/label/base/popup/default";
+ alias: "elm/label/base/popup/transparent";
+ styles {
+ style { name: "popup_desc_style";
+ base: "font="FN" font_size=10 text_class=label align=center color=#fff style=shadow,bottom shadow_color=#00000080 wrap=mixed";
+ tag: "br" "\n";
+ tag: "hilight" "+ font="FNBD" text_class=label_light";
+ tag: "b" "+ font="FNBD" text_class=label_light";
+ tag: "whitecolor" "+ color=#fff";
+ tag: "tab" "\t";
+ }
+ }
+ parts {
+ part { name: "elm.text"; type: TEXTBLOCK; mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ text {
+ style: "popup_desc_style";
+ min: 0 1;
+ max: 0 1;
+ }
+ rel1.offset: 2 2;
+ rel2.offset: -3 -3;
+ }
+ }
+ }
+}
+
+group { name: "elm/button/base/popup/default";
+ inherit: "elm/button/base/default";
+}
+
+group { name: "elm/button/base/popup/transparent";
+ inherit: "elm/button/base/anchor";
+}
+
+group { name: "elm/popup/base/default";
+ alias: "elm/popup/base/transparent";
+ styles {
+ style { name: "popup_title_style";
+ base: "font="FNBD" font_size=10 text_class=label align=center color=#fff style=shadow,bottom shadow_color=#00000080 wrap=mixed";
+ tag: "br" "\n";
+ tag: "hilight" "+ font="FNBD" text_class=label_light";
+ tag: "b" "+ font="FNBD" text_class=label_light";
+ tag: "whitecolor" "+ color=#fff";
+ tag: "tab" "\t";
+ }
+ }
+ parts {
+ part { name: "base"; type: SPACER;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 240 0;
+ }
+ }
+ part { name: "elm.bg.title"; type: RECT;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.to: "elm.text.title";
+ rel2.to: "elm.text.title";
+ visible: 0;
+ }
+ }
+ part { name: "elm.text.title"; type: TEXTBLOCK;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 0 1;
+ text {
+ style: "popup_title_style";
+ min: 1 1;
+ ellipsis: -1;
+ }
+ visible: 0;
+ rel1.offset: 2 2;
+ rel2.offset: -3 2;
+ rel2.relative: 1.0 0.0;
+ align: 0.5 0.0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "elm.swallow.title.icon"; type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ align: 0.0 0.5;
+ rel1.to_y: "elm.text.title";
+ rel2.to_y: "elm.text.title";
+ rel2.relative: 0.0 1.0;
+ aspect: 1.0 1.0; aspect_preference: VERTICAL;
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "elm.swallow.content"; type: SWALLOW;
+ description { state: "default" 0.0;
+ rel1.offset: 2 2;
+ rel2.offset: -3 -3;
+ }
+ description { state: "show_title_area" 0.0;
+ inherit: "default" 0.0;
+ rel1.relative: 0.0 1.0;
+ rel1.to_y: "elm.bg.title";
+ }
+ description { state: "show_action_area" 0.0;
+ inherit: "default" 0.0;
+ rel2.relative: 1.0 0.0;
+ rel2.to_y: "elm.swallow.action_area";
+ }
+ description { state: "show_action_title_area" 0.0;
+ inherit: "default" 0.0;
+ rel1.relative: 0.0 1.0;
+ rel1.to_y: "elm.bg.title";
+ rel2.relative: 1.0 0.0;
+ rel2.to_y: "elm.swallow.action_area";
+ }
+ }
+ part { name: "elm.swallow.action_area"; type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 0 1;
+ align: 0.5 1.0;
+ visible: 0;
+ rel1.relative: 0.0 1.0;
+ rel1.offset: 2 -3;
+ rel1.to: "base";
+ rel2.offset: -3 -3;
+ rel2.to: "base";
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+
+ part { name: "access.title"; type: RECT; repeat_events: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.to: "elm.bg.title";
+ rel2.to: "elm.bg.title";
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "access.body"; type: RECT; repeat_events: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.to: "elm.swallow.content";
+ rel2.to: "elm.swallow.content";
+ color: 0 0 0 0;
+ }
+ }
+ }
+ programs {
+ program {
+ signal: "elm,state,title,icon,visible"; source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.swallow.title.icon";
+ }
+ program {
+ signal: "elm,state,title,icon,hidden"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.title.icon";
+ }
+ program {
+ signal: "elm,state,title,text,visible"; source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.text.title";
+ }
+ program {
+ signal: "elm,state,title,text,hidden"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text.title";
+ }
+ program {
+ signal: "elm,state,title_area,visible"; source: "elm";
+ script {
+ new st[31], Float:vl;
+ get_state(PART:"elm.swallow.action_area", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ set_state(PART:"elm.swallow.content", "show_action_title_area", 0.0);
+ else
+ set_state(PART:"elm.swallow.content", "show_title_area", 0.0);
+ set_state(PART:"elm.text.title", "visible", 0.0);
+ }
+ }
+ program {
+ signal: "elm,state,title_area,hidden"; source: "elm";
+ script {
+ new st[31], Float:vl;
+ get_state(PART:"elm.swallow.action_area", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ set_state(PART:"elm.swallow.content", "show_action_area", 0.0);
+ else
+ set_state(PART:"elm.swallow.content", "default", 0.0);
+ set_state(PART:"elm.text.title", "default", 0.0);
+ }
+ }
+ program {
+ signal: "elm,state,action_area,visible"; source: "elm";
+ script {
+ new st[31], Float:vl;
+ get_state(PART:"elm.text.title", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ set_state(PART:"elm.swallow.content", "show_action_title_area", 0.0);
+ else
+ set_state(PART:"elm.swallow.content", "show_action_area", 0.0);
+ set_state(PART:"elm.swallow.action_area", "visible", 0.0);
+ }
+ }
+ program {
+ signal: "elm,state,action_area,hidden"; source: "elm";
+ script {
+ new st[31], Float:vl;
+ get_state(PART:"elm.text.title", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ set_state(PART:"elm.swallow.content", "show_title_area", 0.0);
+ else
+ set_state(PART:"elm.swallow.content", "default", 0.0);
+ set_state(PART:"elm.swallow.action_area", "default", 0.0);
+ }
+ }
+ }
+}
+
+group { name: "elm/popup/content/popup/default";
+ alias: "elm/popup/content/popup/transparent";
+ parts {
+ part { name:"elm.swallow.content"; type: SWALLOW;
+ description { state: "default" 0.0;
+ }
+ }
+ }
+}
+
+group { name: "elm/popup/buttons1/popup/default";
+ alias: "elm/popup/buttons1/popup/transparent";
+ data.item: "action_area_height" "80";
+ parts {
+ part { name:"elm.swallow.content.button1"; type: SWALLOW;
+ description { state: "default" 0.0;
+ }
+ }
+ }
+}
+
+group { name: "elm/popup/buttons2/popup/default";
+ alias: "elm/popup/buttons2/popup/transparent";
+ data.item: "action_area_height" "80";
+ parts{
+ part{ name:"elm.swallow.content.button1"; type: SWALLOW;
+ description { state: "default" 0.0;
+ rel2.relative: 0.5 1.0;
+ }
+ }
+ part{ name:"elm.swallow.content.button2"; type: SWALLOW;
+ description { state: "default" 0.0;
+ rel1.relative: 0.5 0.0;
+ }
+ }
+ }
+}
+
+group { name: "elm/popup/buttons3/popup/default";
+ alias: "elm/popup/buttons3/popup/transparent";
+ data.item: "action_area_height" "80";
+ parts{
+ part{ name:"elm.swallow.content.button1"; type: SWALLOW;
+ description { state: "default" 0.0;
+ rel2.relative: (1/3) 1.0;
+ }
+ }
+ part{ name:"elm.swallow.content.button2"; type: SWALLOW;
+ description { state: "default" 0.0;
+ rel1.relative: 1.0 0.0;
+ rel1.to: "elm.swallow.content.button1";
+ rel2.relative: 0.0 1.0;
+ rel2.to: "elm.swallow.content.button3";
+ }
+ }
+ part{ name:"elm.swallow.content.button3"; type: SWALLOW;
+ description { state: "default" 0.0;
+ rel1.relative: (2/3) 0.0;
+ }
+ }
+ }
+}
+
+group { name: "elm/popup/item/popup/default";
+ inherit: "elm/list/item/default";
+ parts {
+ part { name: "elm.swallow.content"; type: SWALLOW;
+ insert_after: "elm.swallow.icon";
+ description { state: "default" 0.0;
+ fixed: 0 1;
+ rel1.to: "elm.swallow.icon";
+ rel2.to: "elm.swallow.icon";
+ }
+ }
+ }
+ programs {
+ program {
+ signal: "mouse,down,1"; source: "event";
+ action: SIGNAL_EMIT "elm,state,selected" "elm";
+ }
+ program {
+ signal: "mouse,up,1"; source: "event";
+ action: SIGNAL_EMIT "elm,state,unselected" "elm";
+ }
+ program {
+ signal: "mouse,clicked,1"; source: "event";
+ action: SIGNAL_EMIT "elm,action,click" "elm";
+ }
+ }
+}
+
+group { name: "elm/popup/base/subpopup";
+ inherit: "elm/popup/base/default";
+ parts {
+ part { name: "pad.closebtn"; type: SPACER;
+ description { state: "default" 0.0;
+ rel1.to: "base";
+ rel1.relative: 1 0;
+ rel2.to: "base";
+ rel2.relative: 1 0;
+ min: 2 2;
+ max: 2 2;
+ fixed: 1 1;
+ align: 0 1;
+ }
+ }
+ part { name: "elm.swallow.closebtn"; type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "pad.closebtn";
+ rel1.relative: 1 0;
+ rel2.to: "pad.closebtn";
+ rel2.relative: 1 0;
+ align: 0 1;
+ fixed: 1 1;
+ }
+ }
+ }
+}
+
+group { name: "elm/popup/content/popup/subpopup";
+ inherit: "elm/popup/content/popup/default";
+}
+
+group { name: "elm/popup/buttons1/popup/subpopup";
+ inherit: "elm/popup/buttons1/popup/default";
+}
+group { name: "elm/popup/buttons2/popup/subpopup";
+ inherit: "elm/popup/buttons2/popup/default";
+}
+group { name: "elm/popup/buttons3/popup/subpopup";
+ inherit: "elm/popup/buttons3/popup/default";
+}
diff --git a/data/themes/default/edc/elm/progress.edc b/data/themes/default/edc/elm/progress.edc
new file mode 100644
index 0000000..981c3c4
--- /dev/null
+++ b/data/themes/default/edc/elm/progress.edc
@@ -0,0 +1,1396 @@
+group { name: "elm/progressbar/horizontal/default";
+ images.image: "inset_bar_horiz_base.png" COMP;
+ images.image: "inset_bar_horiz_light.png" COMP;
+ images.image: "inset_bar_horiz_inside_base.png" COMP;
+ images.image: "inset_bar_horiz_inside_light.png" COMP;
+ images.image: "inset_bar_horiz_glow_base.png" COMP;
+ images.image: "inset_bar_horiz_glow_light.png" COMP;
+ images.image: "inset_bar_horiz_glow_inv_base.png" COMP;
+ images.image: "inset_bar_horiz_glow_inv_light.png" COMP;
+ images.image: "inset_bar_horiz_glow_mid_base.png" COMP;
+ images.image: "inset_bar_horiz_glow_mid_light.png" COMP;
+#define ICON 1
+#define LABEL 2
+#define DISABLE 4
+ script {
+ public slmode;
+ public eval_mode(m) {
+ new ic = m & ICON;
+ new l = m & LABEL;
+ new d = m & DISABLE;
+ if (l) {
+ if (!d) {
+ set_state(PART:"elm.text", "visible", 0.0);
+ } else {
+ set_state(PART:"elm.text", "disabled_visible", 0.0);
+ }
+ } else {
+ set_state(PART:"elm.text", "default", 0.0);
+ }
+ if (ic) {
+ set_state(PART:"elm.swallow.content", "visible", 0.0);
+ set_state(PART:"sizer.content", "visible", 0.0);
+ } else {
+ set_state(PART:"elm.swallow.content", "default", 0.0);
+ set_state(PART:"sizer.content", "default", 0.0);
+ }
+ if (!d) {
+ set_state(PART:"dis_clip", "default", 0.0);
+ } else {
+ set_state(PART:"dis_clip", "disabled", 0.0);
+ }
+ }
+ }
+ parts {
+ part { name: "dis_clip"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.to: "elm.swallow.content";
+ rel2.to: "elm.swallow.content";
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 64;
+ }
+ }
+ part { name: "pulse_clip"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.relative: -2.0 -2.0;
+ rel2.relative: 3.0 3.0;
+ visible: 0;
+ }
+ description { state: "pulse" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "fract_clip"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.relative: -2.0 -2.0;
+ rel2.relative: 3.0 3.0;
+ }
+ description { state: "pulse" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.swallow.content"; type: SWALLOW;
+ clip_to: "dis_clip";
+ description { state: "default" 0.0;
+ visible: 0;
+ align: 0.0 0.5;
+ rel1.offset: 0 2;
+ rel2.offset: -1 -3;
+ rel2.relative: 0.0 1.0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ aspect: 1.0 1.0; aspect_preference: VERTICAL;
+ rel1.offset: 2 2;
+ rel2.offset: 2 -3;
+ }
+ }
+ part { name: "sizer.content"; type: TEXT; mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ visible: 0;
+ text { font: FN; size: 10;
+ min: 0 0;
+ text_class: "progressbar_text";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ rel1.to: "elm.swallow.content";
+ rel2.to: "elm.swallow.content";
+ text {
+ min: 1 1;
+ ellipsis: -1;
+ text: "M";
+ }
+ }
+ }
+ part { name: "elm.text"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ align: 0.0 0.5;
+ rel1.to_x: "elm.swallow.content";
+ rel1.relative: 1.0 0.0;
+ rel1.offset: -1 2;
+ rel2.to_x: "elm.swallow.content";
+ rel2.relative: 1.0 1.0;
+ rel2.offset: -1 -3;
+ color: FN_COL_DEFAULT;
+ color_class: "progressbar_text";
+ text { font: FN; size: 10;
+ text_class: "progressbar";
+ min: 0 0;
+ align: 0.0 0.5;
+ }
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ fixed: 1 0;
+ visible: 1;
+ rel1.offset: 2 2;
+ rel2.offset: 2 -3;
+ text.min: 1 1;
+ text.ellipsis: -1;
+ }
+ description { state: "disabled_visible" 0.0;
+ inherit: "visible" 0.0;
+ color_class: "progressbar_text_disabled";
+ color: FN_COL_DISABLE_LIGHTER_SHADOW;
+ }
+ }
+ part { name: "bg-hi";
+ description { state: "default" 0.0;
+ rel1.to: "bg";
+ rel1.offset: 0 1;
+ rel2.to: "bg";
+ rel2.offset: -1 0;
+ image.normal: "inset_bar_horiz_light.png";
+ image.border: 32 32 0 0;
+ image.border_scale_by: 0.25; image.border_scale: 1;
+ }
+ }
+ part { name: "bg";
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 16 16;
+ max: -1 16;
+ rel1.to_x: "elm.text";
+ rel1.relative: 1.0 0.0;
+ rel1.offset: 3 3;
+ rel2.offset: -4 -4;
+ image.normal: "inset_bar_horiz_base.png";
+ image.border: 32 32 0 0;
+ image.border_scale_by: 0.25; image.border_scale: 1;
+ }
+ }
+ part { name: "ins0"; type: SPACER;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ rel1.to: "bg";
+ rel2.to: "bg";
+ rel2.relative: 0.0 1.0;
+ min: 5 16;
+ align: 0.0 0.5;
+ }
+ }
+ part { name: "ins1"; type: SPACER;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ rel1.to: "bg";
+ rel1.relative: 1.0 0.0;
+ rel2.to: "bg";
+ min: 5 16;
+ align: 1.0 0.5;
+ }
+ }
+ part { name: "inside-hi";
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "inside";
+ rel1.offset: 0 1;
+ rel2.to: "inside";
+ rel2.offset: -1 0;
+ image.normal: "inset_bar_horiz_inside_light.png";
+ image.border: 8 8 0 0;
+ image.border_scale_by: 0.25; image.border_scale: 1;
+ }
+ }
+ part { name: "inside";
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 4 4;
+ rel1.to: "ins0";
+ rel1.relative: 1.0 (6/16);
+ rel2.to: "ins1";
+ rel2.relative: 0.0 (10/16);
+ image.normal: "inset_bar_horiz_inside_base.png";
+ image.border: 8 8 0 0;
+ image.border_scale_by: 0.25; image.border_scale: 1;
+ }
+ }
+ part { name: "elm.swallow.bar"; type: SWALLOW; mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.to: "inside";
+ rel2.to: "inside";
+ }
+ }
+ part { name: "elm.cur.progressbar"; mouse_events: 0; type: SPACER;
+ scale: 1;
+ dragable.confine: "inside";
+ dragable.x: 1 1 1;
+ dragable.y: 0 0 0;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ min: 8 4;
+ max: 8 4;
+ rel1.to: "inside";
+ rel2.to: "inside";
+ }
+ }
+ part { name: "barend"; type: SPACER;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ min: 14 16;
+ rel1.to_x: "elm.cur.progressbar";
+ rel1.relative: 1.0 0.0;
+ rel2.to_x: "elm.cur.progressbar";
+ rel2.relative: 1.0 1.0;
+ align: 0.0 0.5;
+ }
+ description { state: "inv" 0.0;
+ inherit: "default" 0.0;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 0.0 1.0;
+ align: 1.0 0.5;
+ }
+ }
+ part { name: "bar";
+ clip_to: "fract_clip";
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to_x: "ins0";
+ rel1.to_y: "bg";
+ rel1.relative: (12/16) -0.25;
+ rel2.to_x: "barend";
+ rel2.to_y: "bg";
+ rel2.relative: 1.0 1.25;
+ image.normal: "inset_bar_horiz_glow_base.png";
+ image.border: 0 72 0 0;
+ image.border_scale_by: 0.25; image.border_scale: 1;
+ }
+ description { state: "inv" 0.0;
+ inherit: "default" 0.0;
+ rel1.to_x: "barend";
+ rel1.relative: 0.0 -0.25;
+ rel2.to_x: "ins1";
+ rel2.relative: (4/16) 1.25;
+ image.normal: "inset_bar_horiz_glow_inv_base.png";
+ image.border: 72 0 0 0;
+ }
+ }
+ part { name: "insidep0"; type: SPACER;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ min: 20 16;
+ rel1.to_x: "inside";
+ rel1.relative: 0.0 0.0;
+ rel2.to_x: "inside";
+ rel2.relative: 0.0 1.0;
+ align: 1.0 0.5;
+ }
+ }
+ part { name: "insidep1"; type: SPACER;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ min: 20 16;
+ rel1.to_x: "inside";
+ rel1.relative: 1.0 0.0;
+ rel2.to_x: "inside";
+ rel2.relative: 1.0 1.0;
+ align: 0.0 0.5;
+ }
+ }
+ part { name: "pulse";
+ clip_to: "pulse_clip";
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ min: 64 24;
+ max: 64 24;
+ rel1.to_x: "insidep0";
+ rel1.to_y: "bar";
+ rel1.relative: 0.0 0.0;
+ rel2.to_x: "insidep1";
+ rel2.to_y: "bar";
+ rel2.relative: 1.0 1.0;
+ image.normal: "inset_bar_horiz_glow_mid_base.png";
+ align: 0.0 0.5;
+ }
+ description { state: "end" 0.0;
+ inherit: "default" 0.0;
+ align: 1.0 0.5;
+ }
+ }
+ part { name: "elm.text.status"; type: TEXT; mouse_events: 0;
+ scale: 1;
+ effect: GLOW;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.to: "inside";
+ rel2.to: "inside";
+ color_class: "progress_status";
+ align: 1.0 0.5;
+ text { font: FN; size: 10;
+ min: 0 1;
+ text_class: "progress_status";
+ align: 1.0 0.5;
+ }
+ color: FN_COL_HIGHLIGHT_CLICKED;
+ visible: 1;
+ }
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "pulse2";
+ clip_to: "pulse_clip";
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ min: 36 14;
+ max: 36 14;
+ rel1.to: "pulse";
+ rel2.to: "pulse";
+ image.normal: "inset_bar_horiz_glow_mid_light.png";
+ color: 255 255 255 0;
+ }
+ description { state: "glow" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 255;
+ }
+ }
+ part { name: "light";
+ clip_to: "fract_clip";
+ scale: 1;
+ description { state: "default" 0.0;
+ max: 36 11;
+ rel1.to_x: "bar";
+ rel1.to_y: "bar";
+ rel1.relative: 0.0 (26/96);
+ rel2.to_x: "barend";
+ rel2.to_y: "bar";
+ rel2.relative: 0.2 ((26+44)/96);
+ align: 1.0 0.0;
+ image.normal: "inset_bar_horiz_glow_light.png";
+ image.border: 0 20 0 0;
+ image.border_scale_by: 0.25; image.border_scale: 1;
+ color: 255 255 255 0;
+ }
+ description { state: "inv" 0.0;
+ inherit: "default" 0.0;
+ rel1.to_x: "barend";
+ rel1.to_y: "bar";
+ rel1.relative: 0.8 (26/96);
+ rel2.to_x: "bar";
+ rel2.to_y: "bar";
+ rel2.relative: 1.0 ((26+44)/96);
+ align: 0.0 0.0;
+ image.normal: "inset_bar_horiz_glow_inv_light.png";
+ image.border: 20 0 0 0;
+ }
+ }
+ }
+ programs {
+ program { name: "inverted-on";
+ signal: "elm,state,inverted,on"; source: "elm";
+ action: STATE_SET "inv" 0.0;
+ target: "bar";
+ target: "barend";
+ target: "light";
+ }
+ program { name: "inverted-off";
+ signal: "elm,state,inverted,off"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "bar";
+ target: "barend";
+ target: "light";
+ }
+ program { name: "drag-set";
+ signal: "drag,set"; source: "elm.cur.progressbar";
+ script {
+ new a, Float:dx, Float:dy, Float:vl, st[20];
+
+ get_drag(PART:"elm.cur.progressbar", dx, dy);
+ get_state(PART:"bar", st, 19, vl);
+ if (!strcmp(st, "inv")) {
+ a = round(((1.0 - dx) * 255) / 0.2);
+ custom_state(PART:"light", "inv", 0.0);
+ } else {
+ a = round((dx * 255) / 0.2);
+ custom_state(PART:"light", "default", 0.0);
+ }
+ if (a > 255) { a = 255; }
+ set_state_val(PART:"light", STATE_COLOR, 255, 255, 255, a);
+ set_state(PART:"light", "custom", 0.0);
+ }
+ }
+ program { name: "pulse-mode0";
+ signal: "elm,state,pulse"; source: "elm";
+ action: STATE_SET "hidden" 0.0;
+ target: "elm.text.status";
+ after: "pulse-mode1";
+ }
+ program { name: "pulse-mode1";
+ signal: "elm,state,pulse,start"; source: "elm";
+ action: STATE_SET "pulse" 0.0;
+ target: "fract_clip";
+ }
+ program { name: "pulse-start";
+ signal: "elm,state,pulse,start"; source: "elm";
+ action: STATE_SET "pulse" 0.0;
+ target: "pulse_clip";
+ target: "fract_clip";
+ after: "pulse0";
+ after: "pulse0.1";
+ }
+ program { name: "pulse0.1";
+ action: STATE_SET "glow" 0.0;
+ transition: ACCELERATE 0.4;
+ target: "pulse2";
+ after: "pulse0.2";
+ }
+ program { name: "pulse0.2";
+ action: STATE_SET "default" 0.0;
+ transition: DECELERATE 0.4;
+ target: "pulse2";
+ }
+ program { name: "pulse0";
+ action: STATE_SET "end" 0.0;
+ transition: SINUSOIDAL 0.8;
+ target: "pulse";
+ after: "pulse1";
+ after: "pulse0.1";
+ }
+ program { name: "pulse1";
+ action: STATE_SET "default" 0.0;
+ transition: SINUSOIDAL 0.8;
+ target: "pulse";
+ after: "pulse0";
+ after: "pulse0.1";
+ }
+ program { name: "fraction";
+ signal: "elm,state,fraction"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text.status";
+ after: "pulse-stop";
+ }
+ program { name: "elmpulse-stop";
+ signal: "elm,state,pulse,stop"; source: "elm";
+ action: ACTION_STOP;
+ target: "pulse0";
+ target: "pulse1";
+ after: "pulse-stop";
+ }
+ program { name: "pulse-stop";
+ action: STATE_SET "default" 0.0;
+ target: "pulse_clip";
+ }
+ program { name: "units-visible";
+ signal: "elm,state,units,visible"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text.status";
+ }
+ program { name: "units-hidden";
+ signal: "elm,state,units,hidden"; source: "elm";
+ action: STATE_SET "hidden" 0.0;
+ target: "elm.text.status";
+ }
+ program { name: "text-visible";
+ signal: "elm,state,text,visible"; source: "elm";
+ script {
+ new m = get_int(slmode);
+ m |= LABEL; set_int(slmode, m);
+ eval_mode(m);
+ }
+ }
+ program { name: "text-hidden";
+ signal: "elm,state,text,hidden"; source: "elm";
+ script {
+ new m = get_int(slmode);
+ m &= ~LABEL; set_int(slmode, m);
+ eval_mode(m);
+ }
+ }
+ program { name: "icon-visible";
+ signal: "elm,state,icon,visible"; source: "elm";
+ script {
+ new m = get_int(slmode);
+ m |= ICON; set_int(slmode, m);
+ eval_mode(m);
+ }
+ }
+ program { name: "icon-hidden";
+ signal: "elm,state,icon,hidden"; source: "elm";
+ script {
+ new m = get_int(slmode);
+ m &= ~ICON; set_int(slmode, m);
+ eval_mode(m);
+ }
+ }
+ program { name: "state-disabled";
+ signal: "elm,state,disabled"; source: "elm";
+ script {
+ new m = get_int(slmode);
+ m |= DISABLE; set_int(slmode, m);
+ eval_mode(m);
+ }
+ }
+ program { name: "state-enabled";
+ signal: "elm,state,enabled"; source: "elm";
+ script {
+ new m = get_int(slmode);
+ m &= ~DISABLE; set_int(slmode, m);
+ eval_mode(m);
+ }
+ }
+ }
+#undef ICON
+#undef LABEL
+#undef UNITS
+#undef DISABLE
+}
+
+group { name: "elm/progressbar/vertical/default";
+ images.image: "inset_bar_vert_base.png" COMP;
+ images.image: "inset_bar_vert_light.png" COMP;
+ images.image: "inset_bar_vert_inside_base.png" COMP;
+ images.image: "inset_bar_vert_inside_light.png" COMP;
+ images.image: "inset_bar_vert_glow_base.png" COMP;
+ images.image: "inset_bar_vert_glow_light.png" COMP;
+ images.image: "inset_bar_vert_glow_inv_base.png" COMP;
+ images.image: "inset_bar_vert_glow_inv_light.png" COMP;
+ images.image: "inset_bar_vert_glow_mid_base.png" COMP;
+ images.image: "inset_bar_vert_glow_mid_light.png" COMP;
+#define ICON 1
+#define LABEL 2
+#define DISABLE 4
+ script {
+ public slmode;
+ public eval_mode(m) {
+ new ic = m & ICON;
+ new l = m & LABEL;
+ new d = m & DISABLE;
+ if (l) {
+ if (!d) {
+ set_state(PART:"elm.text", "visible", 0.0);
+ } else {
+ set_state(PART:"elm.text", "disabled_visible", 0.0);
+ }
+ } else {
+ set_state(PART:"elm.text", "default", 0.0);
+ }
+ if (ic) {
+ set_state(PART:"elm.swallow.content", "visible", 0.0);
+ set_state(PART:"sizer.content", "visible", 0.0);
+ } else {
+ set_state(PART:"elm.swallow.content", "default", 0.0);
+ set_state(PART:"sizer.content", "default", 0.0);
+ }
+ if (!d) {
+ set_state(PART:"dis_clip", "default", 0.0);
+ } else {
+ set_state(PART:"dis_clip", "disabled", 0.0);
+ }
+ }
+ }
+ parts {
+ part { name: "dis_clip"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.to: "elm.swallow.content";
+ rel2.to: "elm.swallow.content";
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 64;
+ }
+ }
+ part { name: "pulse_clip"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.relative: -2.0 -2.0;
+ rel2.relative: 3.0 3.0;
+ visible: 0;
+ }
+ description { state: "pulse" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "fract_clip"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.relative: -2.0 -2.0;
+ rel2.relative: 3.0 3.0;
+ }
+ description { state: "pulse" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.swallow.content"; type: SWALLOW;
+ clip_to: "dis_clip";
+ description { state: "default" 0.0;
+ visible: 0;
+ align: 0.5 0.0;
+ rel1.offset: 2 0;
+ rel2.offset: -3 -1;
+ rel2.relative: 1.0 0.0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ aspect: 1.0 1.0; aspect_preference: HORIZONTAL;
+ rel1.offset: 2 2;
+ rel2.offset: -3 2;
+ }
+ }
+ part { name: "sizer.content"; type: TEXT; mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ visible: 0;
+ text { font: FN; size: 10;
+ min: 0 0;
+ text_class: "progressbar_text";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ rel1.to: "elm.swallow.content";
+ rel2.to: "elm.swallow.content";
+ text {
+ min: 1 1;
+ ellipsis: -1;
+ text: "M";
+ }
+ }
+ }
+ part { name: "elm.text"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ align: 0.5 0.0;
+ rel1.to_y: "elm.swallow.content";
+ rel1.relative: 0.0 1.0;
+ rel1.offset: 2 -1;
+ rel2.to_y: "elm.swallow.content";
+ rel2.relative: 1.0 1.0;
+ rel2.offset: -3 -1;
+ color: FN_COL_DEFAULT;
+ color_class: "progressbar_text";
+ text { font: FN; size: 10;
+ text_class: "progressbar";
+ min: 0 0;
+ align: 0.5 0.0;
+ }
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ fixed: 0 1;
+ visible: 1;
+ rel1.offset: 2 2;
+ rel2.offset: -3 2;
+ text.min: 1 1;
+ text.ellipsis: -1;
+ }
+ description { state: "disabled_visible" 0.0;
+ inherit: "visible" 0.0;
+ color_class: "progressbar_text_disabled";
+ color: FN_COL_DISABLE_LIGHTER_SHADOW;
+ }
+ }
+ part { name: "bg-hi";
+ description { state: "default" 0.0;
+ rel1.to: "bg";
+ rel1.offset: 0 1;
+ rel2.to: "bg";
+ rel2.offset: -1 0;
+ image.normal: "inset_bar_vert_light.png";
+ image.border: 0 0 32 32;
+ image.border_scale_by: 0.25; image.border_scale: 1;
+ }
+ }
+ part { name: "bg";
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 16 16;
+ max: 16 -1;
+ rel1.to_y: "elm.text";
+ rel1.relative: 0.0 1.0;
+ rel1.offset: 3 3;
+ rel2.offset: -4 -4;
+ image.normal: "inset_bar_vert_base.png";
+ image.border: 0 0 32 32;
+ image.border_scale_by: 0.25; image.border_scale: 1;
+ }
+ }
+ part { name: "ins0"; type: SPACER;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 0 1;
+ rel1.to: "bg";
+ rel2.to: "bg";
+ rel2.relative: 1.0 0.0;
+ min: 16 5;
+ align: 0.5 0.0;
+ }
+ }
+ part { name: "ins1"; type: SPACER;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 0 1;
+ rel1.to: "bg";
+ rel1.relative: 0.0 1.0;
+ rel2.to: "bg";
+ min: 16 5;
+ align: 0.5 1.0;
+ }
+ }
+ part { name: "inside-hi";
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "inside";
+ rel1.offset: 0 1;
+ rel2.to: "inside";
+ rel2.offset: -1 0;
+ image.normal: "inset_bar_vert_inside_light.png";
+ image.border: 0 0 8 8;
+ image.border_scale_by: 0.25; image.border_scale: 1;
+ }
+ }
+ part { name: "inside";
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 4 4;
+ rel1.to: "ins0";
+ rel1.relative: (6/16) 1.0;
+ rel2.to: "ins1";
+ rel2.relative: (10/16) 0.0;
+ image.normal: "inset_bar_vert_inside_base.png";
+ image.border: 0 0 8 8;
+ image.border_scale_by: 0.25; image.border_scale: 1;
+ }
+ }
+ part { name: "elm.swallow.bar"; type: SWALLOW; mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.to: "inside";
+ rel2.to: "inside";
+ }
+ }
+ part { name: "elm.cur.progressbar"; mouse_events: 0; type: SPACER;
+ scale: 1;
+ dragable.confine: "inside";
+ dragable.x: 0 0 0;
+ dragable.y: 1 1 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ min: 4 8;
+ max: 4 8;
+ rel1.to: "inside";
+ rel2.to: "inside";
+ }
+ }
+ part { name: "barend"; type: SPACER;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 0 1;
+ min: 16 14;
+ rel1.to_y: "elm.cur.progressbar";
+ rel1.relative: 0.0 1.0;
+ rel2.to_y: "elm.cur.progressbar";
+ rel2.relative: 1.0 1.0;
+ align: 0.5 0.0;
+ }
+ description { state: "inv" 0.0;
+ inherit: "default" 0.0;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 1.0 0.0;
+ align: 0.5 1.0;
+ }
+ }
+ part { name: "bar";
+ clip_to: "fract_clip";
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to_y: "ins0";
+ rel1.to_x: "bg";
+ rel1.relative: -0.25 (12/16);
+ rel2.to_y: "barend";
+ rel2.to_x: "bg";
+ rel2.relative: 1.25 1.0;
+ image.normal: "inset_bar_vert_glow_base.png";
+ image.border: 0 0 0 72;
+ image.border_scale_by: 0.25; image.border_scale: 1;
+ }
+ description { state: "inv" 0.0;
+ inherit: "default" 0.0;
+ rel1.to_y: "barend";
+ rel1.relative: -0.25 0.0;
+ rel2.to_y: "ins1";
+ rel2.relative: 1.25 (4/16);
+ image.normal: "inset_bar_vert_glow_inv_base.png";
+ image.border: 0 0 72 0;
+ }
+ }
+ part { name: "insidep0"; type: SPACER;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 0 1;
+ min: 16 20;
+ rel1.to_y: "inside";
+ rel1.relative: 0.0 0.0;
+ rel2.to_y: "inside";
+ rel2.relative: 1.0 0.0;
+ align: 0.5 1.0;
+ }
+ }
+ part { name: "insidep1"; type: SPACER;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 0 1;
+ min: 16 20;
+ rel1.to_y: "inside";
+ rel1.relative: 0.0 1.0;
+ rel2.to_y: "inside";
+ rel2.relative: 1.0 1.0;
+ align: 0.5 0.0;
+ }
+ }
+ part { name: "pulse";
+ clip_to: "pulse_clip";
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ min: 24 64;
+ max: 24 64;
+ rel1.to_y: "insidep0";
+ rel1.to_x: "bar";
+ rel1.relative: 0.0 0.0;
+ rel2.to_y: "insidep1";
+ rel2.to_x: "bar";
+ rel2.relative: 1.0 1.0;
+ image.normal: "inset_bar_vert_glow_mid_base.png";
+ align: 0.5 0.0;
+ }
+ description { state: "end" 0.0;
+ inherit: "default" 0.0;
+ align: 0.5 1.0;
+ }
+ }
+ part { name: "statbox"; type: SPACER;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.to: "inside";
+ rel2.to: "inside";
+ aspect: 1.0 1.0; aspect_preference: NONE;
+ }
+ }
+ part { name: "elm.text.status"; type: TEXT; mouse_events: 0;
+ scale: 1;
+ effect: GLOW;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.to: "statbox";
+ rel2.to: "statbox";
+ color_class: "progress_status";
+ align: 1.0 0.5;
+ text { font: FN; size: 10;
+ min: 0 1;
+ text_class: "progress_status";
+ align: 1.0 0.5;
+ }
+ color: FN_COL_HIGHLIGHT_CLICKED;
+ visible: 1;
+ map.on: 1;
+ map.smooth: 0;
+ map.rotation.center: "statbox";
+ map.rotation.z: 90;
+ }
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "pulse2";
+ clip_to: "pulse_clip";
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ min: 14 36;
+ max: 14 36;
+ rel1.to: "pulse";
+ rel2.to: "pulse";
+ image.normal: "inset_bar_vert_glow_mid_light.png";
+ color: 255 255 255 0;
+ }
+ description { state: "glow" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 255;
+ }
+ }
+ part { name: "light";
+ clip_to: "fract_clip";
+ scale: 1;
+ description { state: "default" 0.0;
+ max: 11 36;
+ rel1.to_y: "bar";
+ rel1.to_x: "bar";
+ rel1.relative: (26/96) 0.0;
+ rel2.to_y: "barend";
+ rel2.to_x: "bar";
+ rel2.relative: ((26+44)/96) 0.2;
+ align: 0.0 1.0;
+ image.normal: "inset_bar_vert_glow_light.png";
+ image.border: 0 0 0 20;
+ image.border_scale_by: 0.25; image.border_scale: 1;
+ color: 255 255 255 0;
+ }
+ description { state: "inv" 0.0;
+ inherit: "default" 0.0;
+ rel1.to_y: "barend";
+ rel1.to_x: "bar";
+ rel1.relative: (26/96) 0.8;
+ rel2.to_y: "bar";
+ rel2.to_x: "bar";
+ rel2.relative: ((26+44)/96) 1.0;
+ align: 0.0 0.0;
+ image.normal: "inset_bar_vert_glow_inv_light.png";
+ image.border: 0 0 20 0;
+ }
+ }
+ }
+ programs {
+ program { name: "inverted-on";
+ signal: "elm,state,inverted,on"; source: "elm";
+ action: STATE_SET "inv" 0.0;
+ target: "bar";
+ target: "barend";
+ target: "light";
+ }
+ program { name: "inverted-off";
+ signal: "elm,state,inverted,off"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "bar";
+ target: "barend";
+ target: "light";
+ }
+ program { name: "drag-set";
+ signal: "drag,set"; source: "elm.cur.progressbar";
+ script {
+ new a, Float:dx, Float:dy, Float:vl, st[20];
+
+ get_drag(PART:"elm.cur.progressbar", dx, dy);
+ get_state(PART:"bar", st, 19, vl);
+ if (!strcmp(st, "inv")) {
+ a = round(((1.0 - dy) * 255) / 0.2);
+ custom_state(PART:"light", "inv", 0.0);
+ } else {
+ a = round((dy * 255) / 0.2);
+ custom_state(PART:"light", "default", 0.0);
+ }
+ if (a > 255) { a = 255; }
+ set_state_val(PART:"light", STATE_COLOR, 255, 255, 255, a);
+ set_state(PART:"light", "custom", 0.0);
+ }
+ }
+ program { name: "pulse-mode0";
+ signal: "elm,state,pulse"; source: "elm";
+ action: STATE_SET "hidden" 0.0;
+ target: "elm.text.status";
+ after: "pulse-mode1";
+ }
+ program { name: "pulse-mode1";
+ signal: "elm,state,pulse,start"; source: "elm";
+ action: STATE_SET "pulse" 0.0;
+ target: "fract_clip";
+ }
+ program { name: "pulse-start";
+ signal: "elm,state,pulse,start"; source: "elm";
+ action: STATE_SET "pulse" 0.0;
+ target: "pulse_clip";
+ target: "fract_clip";
+ after: "pulse0";
+ after: "pulse0.1";
+ }
+ program { name: "pulse0.1";
+ action: STATE_SET "glow" 0.0;
+ transition: ACCELERATE 0.4;
+ target: "pulse2";
+ after: "pulse0.2";
+ }
+ program { name: "pulse0.2";
+ action: STATE_SET "default" 0.0;
+ transition: DECELERATE 0.4;
+ target: "pulse2";
+ }
+ program { name: "pulse0";
+ action: STATE_SET "end" 0.0;
+ transition: SINUSOIDAL 0.8;
+ target: "pulse";
+ after: "pulse1";
+ after: "pulse0.1";
+ }
+ program { name: "pulse1";
+ action: STATE_SET "default" 0.0;
+ transition: SINUSOIDAL 0.8;
+ target: "pulse";
+ after: "pulse0";
+ after: "pulse0.1";
+ }
+ program { name: "fraction";
+ signal: "elm,state,fraction"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text.status";
+ after: "pulse-stop";
+ }
+ program { name: "elmpulsestop";
+ signal: "elm,state,pulse,stop"; source: "elm";
+ action: ACTION_STOP;
+ target: "pulse0";
+ target: "pulse1";
+ after: "pulse-stop";
+ }
+ program { name: "pulse-stop";
+ action: STATE_SET "default" 0.0;
+ target: "pulse_clip";
+ }
+ program { name: "unit-visible";
+ signal: "elm,state,units,visible"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text.status";
+ }
+ program { name: "unit-hidden";
+ signal: "elm,state,units,hidden"; source: "elm";
+ action: STATE_SET "hidden" 0.0;
+ target: "elm.text.status";
+ }
+ program { name: "text-visible";
+ signal: "elm,state,text,visible"; source: "elm";
+ script {
+ new m = get_int(slmode);
+ m |= LABEL; set_int(slmode, m);
+ eval_mode(m);
+ }
+ }
+ program { name: "text-hidden";
+ signal: "elm,state,text,hidden"; source: "elm";
+ script {
+ new m = get_int(slmode);
+ m &= ~LABEL; set_int(slmode, m);
+ eval_mode(m);
+ }
+ }
+ program { name: "icon-visible";
+ signal: "elm,state,icon,visible"; source: "elm";
+ script {
+ new m = get_int(slmode);
+ m |= ICON; set_int(slmode, m);
+ eval_mode(m);
+ }
+ }
+ program { name: "icon-hidden";
+ signal: "elm,state,icon,hidden"; source: "elm";
+ script {
+ new m = get_int(slmode);
+ m &= ~ICON; set_int(slmode, m);
+ eval_mode(m);
+ }
+ }
+ program { name: "elmdisabled";
+ signal: "elm,state,disabled"; source: "elm";
+ script {
+ new m = get_int(slmode);
+ m |= DISABLE; set_int(slmode, m);
+ eval_mode(m);
+ }
+ }
+ program { name: "elmenabled";
+ signal: "elm,state,enabled"; source: "elm";
+ script {
+ new m = get_int(slmode);
+ m &= ~DISABLE; set_int(slmode, m);
+ eval_mode(m);
+ }
+ }
+ }
+#undef ICON
+#undef LABEL
+#undef UNITS
+#undef DISABLE
+}
+
+group { name: "elm/progressbar/horizontal/wheel";
+ alias: "elm/progressbar/vertical/wheel";
+ images.image: "knob_round_busy.png" COMP;
+ images.image: "glow_round_corners.png" COMP;
+ parts {
+ part { name: "elm.swallow.bar" ; type: SWALLOW; mouse_events: 0;
+ description { state: "default" 0.0;
+ min: 0 0;
+ max: 0 0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.swallow.content"; type: SWALLOW;
+ description { state: "default" 0.0;
+ min: 0 0;
+ max: 0 0;
+ visible: 0;
+ }
+ }
+ part { name: "busy_clip"; type: RECT;
+ description { state: "default" 0.0;
+ visible: 0;
+ color: 255 255 255 0;
+ }
+ description { state: "active" 0.0;
+ visible: 1;
+ color: 255 255 255 255;
+ }
+ }
+ part { name: "knob"; mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ image.normal: "knob_round_busy.png";
+ min: 40 40;
+ max: 40 40;
+ }
+ }
+ part { name: "knob_spinner"; mouse_events: 0;
+ clip_to: "busy_clip";
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.to: "knob";
+ rel2.to: "knob";
+ image.normal: "glow_round_corners.png";
+ map.on: 1;
+ map.smooth: 1;
+ map.rotation.center: "knob";
+ }
+ description { state: "spin" 0.0;
+ inherit: "default" 0.0;
+ map.rotation.z: 360;
+ }
+ }
+ }
+ programs {
+ program { name: "spin";
+ signal: "elm,state,pulse,start"; source: "elm";
+ action: STATE_SET "spin" 0.0;
+ transition: LINEAR 1.0;
+ target: "knob_spinner";
+ after: "spin2";
+ }
+ program { name: "spin2";
+ action: STATE_SET "default" 0.0;
+ target: "knob_spinner";
+ after: "spin";
+ }
+ program {
+ signal: "elm,state,pulse,start"; source: "elm";
+ action: STATE_SET "active" 0.0;
+ transition: SINUSOIDAL 0.25;
+ target: "busy_clip";
+ }
+ program {
+ signal: "elm,state,pulse,stop"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: SINUSOIDAL 1.0;
+ target: "busy_clip";
+ after: "spin3";
+ }
+ program { name: "spin3";
+ action: ACTION_STOP;
+ target: "spin";
+ target: "spin2";
+ after: "spin4";
+ }
+ program { name: "spin4";
+ action: STATE_SET "default" 0.0;
+ target: "knob_spinner";
+ }
+ }
+}
+
+group { name: "elm/progressbar/horizontal/double";
+ inherit: "elm/progressbar/horizontal/default";
+ images {
+ image: "inset_bar_horiz_glow_base_double.png" COMP;
+ image: "inset_bar_horiz_glow_inv_base_double.png" COMP;
+ }
+ parts {
+ part { name: "elm.cur.progressbar1"; mouse_events: 0; type: SPACER;
+ insert_after: "inside";
+ scale: 1;
+ dragable.confine: "inside";
+ dragable.x: 1 1 1;
+ dragable.y: 0 0 0;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ min: 8 4;
+ max: 8 4;
+ rel1.to: "inside";
+ rel2.to: "inside";
+ }
+ }
+ part { name: "barend1"; type: SPACER;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ min: 14 16;
+ rel1.to_x: "elm.cur.progressbar1";
+ rel1.relative: 1.0 0.0;
+ rel2.to_x: "elm.cur.progressbar1";
+ rel2.relative: 1.0 1.0;
+ align: 0.0 0.5;
+ }
+ description { state: "inv" 0.0;
+ inherit: "default" 0.0;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 0.0 1.0;
+ align: 1.0 0.5;
+ }
+ }
+ part { name: "bar1";
+ insert_after: "barend";
+ clip_to: "fract_clip";
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to_x: "ins0";
+ rel1.to_y: "bg";
+ rel1.relative: (12/16) -0.25;
+ rel2.to_x: "barend1";
+ rel2.to_y: "bg";
+ rel2.relative: 1.0 1.25;
+ image.normal: "inset_bar_horiz_glow_base_double.png";
+ image.border: 0 72 0 0;
+ image.border_scale_by: 0.25; image.border_scale: 1;
+ color: 51 153 255 128;
+ }
+ description { state: "inv" 0.0;
+ inherit: "default" 0.0;
+ rel1.to_x: "barend";
+ rel1.relative: 0.0 -0.25;
+ rel2.to_x: "ins1";
+ rel2.relative: (4/16) 1.25;
+ image.normal: "inset_bar_horiz_glow_inv_base_double.png";
+ image.border: 72 0 0 0;
+ }
+ }
+ }
+ programs {
+ program { name: "inverted-on";
+ signal: "elm,state,inverted,on"; source: "elm";
+ action: STATE_SET "inv" 0.0;
+ target: "bar";
+ target: "bar1";
+ target: "barend";
+ target: "barend1";
+ target: "light";
+ }
+ program
+ { name: "inverted-off";
+ signal: "elm,state,inverted,off"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "bar";
+ target: "bar1";
+ target: "barend";
+ target: "barend1";
+ target: "light";
+ }
+ }
+}
+
+group { name: "elm/progressbar/vertical/double";
+ inherit: "elm/progressbar/vertical/default";
+ images {
+ image: "inset_bar_vert_glow_base_double.png" COMP;
+ image: "inset_bar_vert_glow_inv_base_double.png" COMP;
+ }
+ parts {
+ part { name: "elm.cur.progressbar1"; mouse_events: 0; type: SPACER;
+ insert_after: "inside";
+ scale: 1;
+ dragable.confine: "inside";
+ dragable.x: 0 0 0;
+ dragable.y: 1 1 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ min: 4 8;
+ max: 4 8;
+ rel1.to: "inside";
+ rel2.to: "inside";
+ }
+ }
+ part { name: "barend1"; type: SPACER;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 0 1;
+ min: 16 14;
+ rel1.to_y: "elm.cur.progressbar1";
+ rel1.relative: 0.0 1.0;
+ rel2.to_y: "elm.cur.progressbar1";
+ rel2.relative: 1.0 1.0;
+ align: 0.5 0.0;
+ }
+ description { state: "inv" 0.0;
+ inherit: "default" 0.0;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 1.0 0.0;
+ align: 0.5 1.0;
+ }
+ }
+ part { name: "bar1";
+ insert_after: "barend";
+ clip_to: "fract_clip";
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to_y: "ins0";
+ rel1.to_x: "bg";
+ rel1.relative: -0.25 (12/16);
+ rel2.to_y: "barend1";
+ rel2.to_x: "bg";
+ rel2.relative: 1.25 1.0;
+ image.normal: "inset_bar_vert_glow_base_double.png";
+ image.border: 0 0 0 72;
+ image.border_scale_by: 0.25; image.border_scale: 1;
+ color: 51 153 255 128;
+ }
+ description { state: "inv" 0.0;
+ inherit: "default" 0.0;
+ rel1.to_y: "barend1";
+ rel1.relative: -0.25 0.0;
+ rel2.to_y: "ins1";
+ rel2.relative: 1.25 (4/16);
+ image.normal: "inset_bar_vert_glow_inv_base_double.png";
+ image.border: 0 0 72 0;
+ }
+ }
+ }
+ programs {
+ program { name: "inverted-on";
+ signal: "elm,state,inverted,on"; source: "elm";
+ action: STATE_SET "inv" 0.0;
+ target: "bar";
+ target: "barend";
+ target: "light";
+ target: "bar1";
+ target: "barend1";
+ }
+ program { name: "inverted-off";
+ signal: "elm,state,inverted,off"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "bar";
+ target: "barend";
+ target: "light";
+ target: "bar1";
+ target: "barend1";
+ }
+ }
+}
diff --git a/data/themes/default/edc/elm/radio.edc b/data/themes/default/edc/elm/radio.edc
new file mode 100644
index 0000000..26ea09e
--- /dev/null
+++ b/data/themes/default/edc/elm/radio.edc
@@ -0,0 +1,291 @@
+group { name: "elm/radio/base/default";
+ images.image: "inset_shadow_circle_tiny.png" COMP;
+ images.image: "inset_circle_tiny.png" COMP;
+ images.image: "sym_radio_alum.png" COMP;
+#define ICON 1
+#define LABEL 2
+#define MASK 3
+#define DISABLE 4
+ script {
+ public btmode;
+ public eval_mode(m) {
+ new m1 = m & MASK;
+ new d = m & DISABLE;
+ if (m1 == (ICON | LABEL)) {
+ if (!d) {
+ set_state(PART:"elm.swallow.content", "visible", 0.0);
+ set_state(PART:"sizer.content", "visible", 0.0);
+ set_state(PART:"elm.text", "visible", 0.0);
+ set_state(PART:"inset", "default", 0.0);
+ set_state(PART:"clip", "default", 0.0);
+ set_state(PART:"event", "default", 0.0);
+ } else {
+ set_state(PART:"elm.swallow.content", "visible", 0.0);
+ set_state(PART:"sizer.content", "visible", 0.0);
+ set_state(PART:"elm.text", "disabled_visible", 0.0);
+ set_state(PART:"inset", "disabled", 0.0);
+ set_state(PART:"clip", "disabled", 0.0);
+ set_state(PART:"event", "disabled", 0.0);
+ }
+ } else if (m1 == (ICON)) {
+ if (!d) {
+ set_state(PART:"elm.swallow.content", "visible", 0.0);
+ set_state(PART:"sizer.content", "icononly", 0.0);
+ set_state(PART:"elm.text", "default", 0.0);
+ set_state(PART:"inset", "default", 0.0);
+ set_state(PART:"clip", "default", 0.0);
+ set_state(PART:"event", "default", 0.0);
+ } else {
+ set_state(PART:"elm.swallow.content", "visible", 0.0);
+ set_state(PART:"sizer.content", "icononly", 0.0);
+ set_state(PART:"elm.text", "disabled", 0.0);
+ set_state(PART:"inset", "disabled", 0.0);
+ set_state(PART:"clip", "disabled", 0.0);
+ set_state(PART:"event", "disabled", 0.0);
+ }
+ } else if (m1 == (LABEL)) {
+ if (!d) {
+ set_state(PART:"elm.swallow.content", "default", 0.0);
+ set_state(PART:"sizer.content", "default", 0.0);
+ set_state(PART:"elm.text", "visible", 0.0);
+ set_state(PART:"inset", "default", 0.0);
+ set_state(PART:"clip", "default", 0.0);
+ set_state(PART:"event", "default", 0.0);
+ } else {
+ set_state(PART:"elm.swallow.content", "default", 0.0);
+ set_state(PART:"sizer.content", "default", 0.0);
+ set_state(PART:"elm.text", "disabled_visible", 0.0);
+ set_state(PART:"inset", "disabled", 0.0);
+ set_state(PART:"clip", "disabled", 0.0);
+ set_state(PART:"event", "disabled", 0.0);
+ }
+ } else {
+ if (!d) {
+ 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:"inset", "default", 0.0);
+ set_state(PART:"clip", "default", 0.0);
+ set_state(PART:"event", "default", 0.0);
+ } else {
+ set_state(PART:"elm.swallow.content", "default", 0.0);
+ set_state(PART:"sizer.content", "default", 0.0);
+ set_state(PART:"elm.text", "default", 0.0);
+ set_state(PART:"inset", "disabled", 0.0);
+ set_state(PART:"clip", "disabled", 0.0);
+ set_state(PART:"event", "disabled", 0.0);
+ }
+ }
+ }
+ }
+ parts {
+ part { name: "inset"; mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.offset: 2 2;
+ rel2.relative: 0.0 1.0;
+ rel2.offset: 2 -3;
+ image.normal: "inset_shadow_circle_tiny.png";
+ align: 0.0 0.5;
+ min: 13 13;
+ max: 13 13;
+ fixed: 1 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "inset_circle_tiny.png";
+ }
+ }
+ part { name: "indicator"; mouse_events: 0;
+ scale: 1;
+ clip_to: "clip";
+ description { state: "default" 0.0;
+ rel1.to: "inset";
+ rel2.to: "inset";
+ image.normal: "sym_radio_alum.png";
+ min: 11 11;
+ max: 11 11;
+ visible: 0;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "clip"; type: RECT;
+ description { state: "default" 0.0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 64;
+ }
+ }
+ part { name: "elm.swallow.content"; type: SWALLOW;
+ scale: 1;
+ clip_to: "clip";
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ visible: 0;
+ align: 0.0 0.5;
+ max: 0 0;
+ rel1.to_x: "inset";
+ rel1.relative: 1.0 0.0;
+ rel1.offset: 1 1;
+ rel2.to_x: "inset";
+ rel2.offset: 1 -2;
+ rel2.relative: 1.0 1.0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ fixed: 0 0;
+ visible: 1;
+ aspect: 1.0 1.0;
+ min: 16 16;
+ }
+ }
+ part { name: "sizer.content"; type: TEXT; mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ visible: 0;
+ text { font: FN; size: 10;
+ min: 0 0;
+ text_class: "radio_text";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ rel1.to: "elm.swallow.content";
+ rel2.to: "elm.swallow.content";
+ text {
+ min: 1 1;
+ ellipsis: -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;
+ ellipsis: -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: FN_COL_DEFAULT;
+ color_class: "radio_text";
+ text { font: FN; size: 10;
+ min: 0 0;
+ align: 0.0 0.5;
+ text_class: "radio";
+ }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color_class: "radio_text_disabled";
+ color3: 255 255 255 255;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ text.min: 1 1;
+ text.ellipsis: -1;
+ }
+ description { state: "disabled_visible" 0.0;
+ inherit: "default" 0.0;
+ color_class: "radio_text_disabled";
+ color3: 255 255 255 255;
+ visible: 1;
+ text.min: 1 1;
+ text.ellipsis: -1;
+ }
+ }
+ part { name: "event"; type: RECT;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ }
+ programs {
+ program {
+ signal: "mouse,clicked,1"; source: "event";
+ action: SIGNAL_EMIT "elm,action,radio,toggle" "elm";
+ }
+ program {
+ signal: "elm,state,radio,on"; source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "indicator";
+ }
+ program {
+ signal: "elm,state,radio,off"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "indicator";
+ }
+ program {
+ signal: "elm,state,text,visible"; source: "elm";
+ script {
+ new m = get_int(btmode);
+ m |= LABEL; set_int(btmode, m);
+ eval_mode(m);
+ }
+ }
+ program {
+ signal: "elm,state,text,hidden"; source: "elm";
+ script {
+ new m = get_int(btmode);
+ m &= ~LABEL; set_int(btmode, m);
+ eval_mode(m);
+ }
+ }
+ program {
+ signal: "elm,state,icon,visible"; source: "elm";
+ script {
+ new m = get_int(btmode);
+ m |= ICON; set_int(btmode, m);
+ eval_mode(m);
+ }
+ }
+ program {
+ signal: "elm,state,icon,hidden"; source: "elm";
+ script {
+ new m = get_int(btmode);
+ m &= ~ICON; set_int(btmode, m);
+ eval_mode(m);
+ }
+ }
+ program {
+ signal: "elm,state,disabled"; source: "elm";
+ script {
+ new m = get_int(btmode);
+ m |= DISABLE; set_int(btmode, m);
+ eval_mode(m);
+ }
+ }
+ program {
+ signal: "elm,state,enabled"; source: "elm";
+ script {
+ new m = get_int(btmode);
+ m &= ~DISABLE; set_int(btmode, m);
+ eval_mode(m);
+ }
+ }
+ }
+#undef ICON
+#undef LABEL
+#undef MASK
+#undef DISABLE
+}
diff --git a/data/themes/default/edc/elm/scroller.edc b/data/themes/default/edc/elm/scroller.edc
new file mode 100644
index 0000000..a2c397e
--- /dev/null
+++ b/data/themes/default/edc/elm/scroller.edc
@@ -0,0 +1,1254 @@
+group { name: "elm/scroller/base/default";
+ alias: "elm/list/base/default";
+ alias: "elm/genlist/base/default";
+ alias: "elm/gengrid/base/default";
+ alias: "elm/scroller/base/map_bubble";
+ alias: "elm/genscroller/base/default";
+ alias: "elm/scroller/base/popup/default";
+ alias: "elm/scroller/base/popup/transparent";
+
+ images.image: "inset_shadow.png" COMP;
+ images.image: "bevel_in.png" COMP;
+ images.image: "bevel_out.png" COMP;
+ images.image: "runner_horiz.png" COMP;
+ images.image: "runner_vert.png" COMP;
+ images.image: "runner_glow_horiz.png" COMP;
+ images.image: "runner_glow_vert.png" COMP;
+ images.image: "holes_tiny_horiz.png" COMP;
+ images.image: "holes_tiny_vert.png" COMP;
+ images.image: "holes_tiny_glow_horiz.png" COMP;
+ images.image: "holes_tiny_glow_vert.png" COMP;
+ images.image: "vgrad_med_lighter.png" COMP;
+ images.image: "shadow_square_tiny.png" COMP;
+ images.image: "glow_small.png" COMP;
+ images.image: "sym_left_light_normal.png" COMP;
+ images.image: "sym_right_light_normal.png" COMP;
+ images.image: "sym_up_light_normal.png" COMP;
+ images.image: "sym_down_light_normal.png" COMP;
+ images.image: "sym_left_glow_normal.png" COMP;
+ images.image: "sym_right_glow_normal.png" COMP;
+ images.image: "sym_up_glow_normal.png" COMP;
+ images.image: "sym_down_glow_normal.png" COMP;
+ images.image: "sym_up_dark_normal.png" COMP;
+ images.image: "sym_down_dark_normal.png" COMP;
+ images.image: "sym_left_dark_normal.png" COMP;
+ images.image: "sym_right_dark_normal.png" COMP;
+
+
+ data.item: "focus_highlight" "on";
+
+ script {
+ public action_on_pos_vbar(val) {
+ new x, y , w, h, x1, y1 , w1, h1;
+
+ get_geometry(PART:"y_vbar_up", x,y,w, h);
+ get_geometry(PART:"y_vbar_up_mapper", x1,y1,w1, h1);
+
+ if(y == y1)
+ {
+ set_state(PART:"arrow1_vbar", "hidden", 0.0);
+ set_state(PART:"sb_vbar_a1", "hidden", 0.0);
+ }
+ else
+ {
+ set_state(PART:"arrow1_vbar", "default", 0.0);
+ set_state(PART:"sb_vbar_a1", "default", 0.0);
+ }
+
+ get_geometry(PART:"y_vbar_down", x,y,w, h);
+ get_geometry(PART:"y_vbar_down_mapper", x1,y1,w1, h1);
+
+ if((y+h) == (y1+h1) )
+ {
+ set_state(PART:"arrow2_vbar", "hidden", 0.0);
+ set_state(PART:"sb_vbar_a2", "hidden", 0.0);
+ }
+ else
+ {
+ set_state(PART:"arrow2_vbar", "default", 0.0);
+ set_state(PART:"sb_vbar_a2", "default", 0.0);
+ }
+
+ if( val < 10)
+ timer(0.1,"action_on_pos_vbar", val+1);
+ }
+
+ public action_on_pos_hbar(val) {
+ new x, y , w, h, x1, y1 , w1, h1;
+
+ get_geometry(PART:"x_hbar_left", x,y,w, h);
+ get_geometry(PART:"x_hbar_left_mapper", x1,y1,w1, h1);
+
+ if(x == x1)
+ {
+ set_state(PART:"arrow1_hbar", "hidden", 0.0);
+ set_state(PART:"sb_hbar_a1", "hidden", 0.0);
+ }
+ else
+ {
+ set_state(PART:"arrow1_hbar", "default", 0.0);
+ set_state(PART:"sb_hbar_a1", "default", 0.0);
+ }
+
+ get_geometry(PART:"x_hbar_right", x,y,w, h);
+ get_geometry(PART:"x_hbar_right_mapper", x1,y1,w1, h1);
+
+ if((x+w) == (x1+w1))
+ {
+ set_state(PART:"arrow2_hbar", "hidden", 0.0);
+ set_state(PART:"sb_hbar_a2", "hidden", 0.0);
+ }
+ else
+ {
+ set_state(PART:"arrow2_hbar", "default", 0.0);
+ set_state(PART:"sb_hbar_a2", "default", 0.0);
+ }
+
+ if( val < 10)
+ timer(0.1,"action_on_pos_hbar", val+1);
+ }
+ }
+
+ parts {
+ program {
+ signal: "load"; source: "";
+ script {
+ emit("reload", "elm");
+ action_on_pos_vbar(0);
+ action_on_pos_hbar(0);
+ }
+ }
+// vert bar ////////////////////////////////////////////////////////////////
+ part { name: "sb_vbar_show"; type: RECT;
+ description { state: "default" 0.0;
+ }
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "sb_vbar"; type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ min: 15 1;
+ align: 1.0 0.0;
+ rel1.relative: 1.0 0.0;
+ rel1.offset: -1 0;
+ rel2.relative: 1.0 0.0;
+ rel2.to_y: "sb_hbar";
+ }
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ min: 0 0;
+ max: 0 99999;
+ }
+ }
+ part { name: "sb_vbar_base"; type: RECT;
+ clip_to: "sb_vbar";
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ rel1.relative: 0.0 1.0;
+ rel1.to: "sb_vbar_a1";
+ rel2.relative: 1.0 0.0;
+ rel2.to: "sb_vbar_a2";
+ fixed: 1 1;
+ }
+ }
+ part { name: "sb_vbar_p1"; type: RECT;
+ clip_to: "sb_vbar";
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ rel1.relative: 0.0 1.0;
+ rel1.to: "sb_vbar_a1";
+ rel2.relative: 1.0 0.0;
+ rel2.to: "elm.dragable.vbar";
+ fixed: 1 1;
+ }
+ }
+ part { name: "sb_vbar_p2"; type: RECT;
+ clip_to: "sb_vbar";
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ rel1.relative: 0.0 1.0;
+ rel1.to: "elm.dragable.vbar";
+ rel2.relative: 1.0 0.0;
+ rel2.to: "sb_vbar_a2";
+ fixed: 1 1;
+ }
+ }
+ part { name: "elm.dragable.vbar"; type: RECT;
+ clip_to: "sb_vbar";
+ scale: 1;
+ dragable.x: 0 0 0;
+ dragable.y: 1 1 0;
+ dragable.confine: "sb_vbar_base";
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ min: 15 13;
+ rel1.relative: 0.5 0.5;
+ rel1.to: "sb_vbar_base";
+ rel2.relative: 0.5 0.5;
+ rel2.to: "sb_vbar_base";
+ color: 0 0 0 0;
+ }
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ min: 0 0;
+ }
+ }
+ part { name: "y_vbar_up_mapper"; type: SPACER;
+ scale: 1;
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ min: 4 2;
+ max: 4 2;
+ fixed: 1 1;
+ align: 0.0 0.0;
+ rel1.to: "sb_vbar_base";
+ rel2.to: "sb_vbar_base";
+ }
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ min: 0 0;
+ max: 0 0;
+ }
+ }
+ part { name: "y_vbar_up"; type: SPACER;
+ scale: 1;
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ min: 4 2;
+ max: 4 2;
+ fixed: 1 1;
+ align: 0.0 0.0;
+ rel1.to: "elm.dragable.vbar";
+ rel2.to: "elm.dragable.vbar";
+ }
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ min: 0 0;
+ max: 0 0;
+ }
+ }
+ part { name: "y_vbar_down_mapper"; type: SPACER;
+ scale: 1;
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ min: 4 2;
+ max: 4 2;
+ fixed: 1 1;
+ align: 0.0 1.0;
+ rel1.to: "sb_vbar_base";
+ rel2.to: "sb_vbar_base";
+ }
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ min: 0 0;
+ max: 0 0;
+ }
+ }
+ part { name: "y_vbar_down"; type: SPACER;
+ scale: 1;
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ min: 4 2;
+ max: 4 2;
+ fixed: 1 1;
+ align: 0.0 1.0;
+ rel1.to: "elm.dragable.vbar";
+ rel2.to: "elm.dragable.vbar";
+ }
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ min: 0 0;
+ max: 0 0;
+ }
+ }
+ part { name: "sb_vbar_a1"; type: RECT;
+ clip_to: "sb_vbar";
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ min: 15 15;
+ align: 0.5 0.0;
+ aspect: 1.0 1.0; aspect_preference: HORIZONTAL;
+ color: 0 0 0 0;
+ rel1.to: "sb_vbar";
+ rel2.to: "sb_vbar";
+ rel2.relative: 1.0 0.0;
+ rel2.offset: -1 0;
+ }
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ min: 0 0;
+ visible: 0;
+ }
+ }
+ part { name: "sb_vbar_a2"; type: RECT;
+ clip_to: "sb_vbar";
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ min: 15 15;
+ align: 0.5 1.0;
+ aspect: 1.0 1.0; aspect_preference: HORIZONTAL;
+ color: 0 0 0 0;
+ rel1.to: "sb_vbar";
+ rel1.offset: 0 -1;
+ rel1.relative: 0.0 1.0;
+ rel2.to: "sb_vbar";
+ }
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ min: 0 0;
+ visible: 0;
+ }
+ }
+ program {
+ signal: "elm,action,show,vbar"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "sb_vbar";
+ target: "sb_vbar_show";
+ target: "elm.dragable.vbar";
+ target: "sb_vbar_a1";
+ target: "sb_vbar_a2";
+ target: "y_vbar_up_mapper";
+ target: "y_vbar_up";
+ target: "y_vbar_down_mapper";
+ target: "y_vbar_down";
+ target: "arrow1_vbar_indent";
+ target: "arrow2_vbar_indent";
+ after: "check_pos_vbar";
+ }
+ program {
+ signal: "elm,action,hide,vbar"; source: "elm";
+ action: STATE_SET "hidden" 0.0;
+ target: "sb_vbar";
+ target: "sb_vbar_show";
+ target: "elm.dragable.vbar";
+ target: "sb_vbar_a1";
+ target: "sb_vbar_a2";
+ target: "y_vbar_up_mapper";
+ target: "y_vbar_up";
+ target: "y_vbar_down_mapper";
+ target: "y_vbar_down";
+ target: "arrow1_vbar_indent";
+ target: "arrow2_vbar_indent";
+ }
+ program {
+ signal: "mouse,down,1*"; source: "sb_vbar_a1";//ok
+ action: STATE_SET "clicked" 0.0;
+ target: "arrow1_vbar";
+ after: "anim1_up";
+ }
+ program { name: "anim1_up";
+ action: STATE_SET "default" 0.0;
+ transition: LINEAR 0.1;
+ target: "arrow1_vbar";
+ after: "drag_up";
+ }
+ program { name: "drag_up";
+ action: DRAG_VAL_STEP 0.0 -1.0;
+ target: "elm.dragable.vbar";
+ }
+ program {
+ signal: "mouse,down,1*"; source: "sb_vbar_a2";//ok
+ action: STATE_SET "clicked" 0.0;
+ target: "arrow2_vbar";
+ after: "anim1_down";
+ }
+ program { name: "anim1_down";
+ action: STATE_SET "default" 0.0;
+ transition: LINEAR 0.1;
+ target: "arrow2_vbar";
+ after: "drag_down";
+ }
+ program { name: "drag_down";
+ action: DRAG_VAL_STEP 0.0 1.0;
+ target: "elm.dragable.vbar";
+ }
+ program {
+ signal: "mouse,down,1*"; source: "sb_vbar_p1";
+ action: DRAG_VAL_PAGE 0.0 -1.0;
+ target: "elm.dragable.vbar";
+ }
+ program {
+ signal: "mouse,down,1*"; source: "sb_vbar_p2";
+ action: DRAG_VAL_PAGE 0.0 1.0;
+ target: "elm.dragable.vbar";
+ }
+ program {
+ signal: "elm,action,scroll"; source: "elm";
+ script {
+ action_on_pos_vbar(10);
+ }
+ }
+ program { name: "check_pos_vbar";
+ script {
+ action_on_pos_vbar(10);
+ }
+ }
+
+// horiz bar /////////////////////////////////////////////////////////////
+ part { name: "sb_hbar_show"; type: RECT;
+ description { state: "default" 0.0;
+ }
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "sb_hbar"; type: RECT; mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ min: 1 15;
+ align: 0.0 1.0;
+ rel1.relative: 0.0 1.0;
+ rel1.offset: 0 -1;
+ rel2.relative: 0.0 1.0;
+ rel2.to_x: "sb_vbar";
+ }
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ min: 0 0;
+ max: 99999 0;
+ }
+ }
+ part { name: "sb_hbar_base"; type: RECT;
+ clip_to: "sb_hbar";
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ rel1.relative: 1.0 0.0;
+ rel1.to: "sb_hbar_a1";
+ rel2.relative: 0.0 1.0;
+ rel2.to: "sb_hbar_a2";
+ fixed: 1 1;
+ }
+ }
+ part { name: "sb_hbar_p1"; type: RECT;
+ clip_to: "sb_hbar";
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ rel1.relative: 1.0 0.0;
+ rel1.to: "sb_hbar_a1";
+ rel2.relative: 0.0 1.0;
+ rel2.to: "elm.dragable.hbar";
+ fixed: 1 1;
+ }
+ }
+ part { name: "sb_hbar_p2"; type: RECT;
+ clip_to: "sb_hbar";
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ rel1.relative: 1.0 0.0;
+ rel1.to: "elm.dragable.hbar";
+ rel2.relative: 0.0 1.0;
+ rel2.to: "sb_hbar_a2";
+ fixed: 1 1;
+ }
+ }
+ part { name: "elm.dragable.hbar"; type: RECT;
+ clip_to: "sb_hbar";
+ scale: 1;
+ dragable.x: 1 1 0;
+ dragable.y: 0 0 0;
+ dragable.confine: "sb_hbar_base";
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ min: 13 15;
+ rel1.relative: 0.5 0.5;
+ rel1.to: "sb_hbar_base";
+ rel2.relative: 0.5 0.5;
+ rel2.to: "sb_hbar_base";
+ color: 0 0 0 0;
+ }
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ min: 0 0;
+ }
+ }
+ part { name: "x_hbar_left_mapper"; type: SPACER;
+ scale: 1;
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ min: 2 4;
+ max: 2 4;
+ fixed: 1 1;
+ align: 0.0 1.0;
+ rel1.to: "sb_hbar_base";
+ rel2.to: "sb_hbar_base";
+ }
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ min: 0 0;
+ max: 0 0;
+ }
+ }
+ part { name: "x_hbar_left"; type: SPACER;
+ scale: 1;
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ min: 2 4;
+ max: 2 4;
+ fixed: 1 1;
+ align: 0.0 1.0;
+ rel1.to: "elm.dragable.hbar";
+ rel2.to: "elm.dragable.hbar";
+ }
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ min: 0 0;
+ max: 0 0;
+ }
+ }
+ part { name: "x_hbar_right_mapper"; type: SPACER;
+ scale: 1;
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ min: 2 4;
+ max: 2 4;
+ fixed: 1 1;
+ align: 1.0 1.0;
+ rel1.to: "sb_hbar_base";
+ rel2.to: "sb_hbar_base";
+ }
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ min: 0 0;
+ max: 0 0;
+ }
+ }
+ part { name: "x_hbar_right"; type: SPACER;
+ scale: 1;
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ min: 2 4;
+ max: 2 4;
+ fixed: 1 1;
+ align: 1.0 1.0;
+ rel1.to: "elm.dragable.hbar";
+ rel2.to: "elm.dragable.hbar";
+ }
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ min: 0 0;
+ max: 0 0;
+ }
+ }
+ part { name: "sb_hbar_a1"; type: RECT;
+ clip_to: "sb_hbar";
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ min: 15 15;
+ align: 0.0 0.5;
+ aspect: 1.0 1.0; aspect_preference: VERTICAL;
+ color: 0 0 0 0;
+ rel1.to: "sb_hbar";
+ rel2.to: "sb_hbar";
+ rel2.relative: 0.0 1.0;
+ rel2.offset: 0 -1;
+ }
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ min: 0 0;
+ visible: 0;
+ }
+ }
+ part { name: "sb_hbar_a2"; type: RECT;
+ clip_to: "sb_hbar";
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ min: 15 15;
+ align: 1.0 0.5;
+ aspect: 1.0 1.0; aspect_preference: VERTICAL;
+ color: 0 0 0 0;
+ rel1.to: "sb_hbar";
+ rel1.offset: -1 0;
+ rel1.relative: 1.0 0.0;
+ rel2.to: "sb_hbar";
+ }
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ min: 0 0;
+ visible: 0;
+ }
+ }
+ program {
+ signal: "elm,action,show,hbar"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "sb_hbar";
+ target: "sb_hbar_show";
+ target: "elm.dragable.hbar";
+ target: "sb_hbar_a1";
+ target: "sb_hbar_a2";
+ target: "x_hbar_left_mapper";
+ target: "x_hbar_left";
+ target: "x_hbar_right_mapper";
+ target: "x_hbar_right";
+ target: "arrow1_hbar_indent";
+ target: "arrow2_hbar_indent";
+ after: "check_pos_hbar";
+ }
+ program {
+ signal: "elm,action,hide,hbar"; source: "elm";
+ action: STATE_SET "hidden" 0.0;
+ target: "sb_hbar";
+ target: "sb_hbar_show";
+ target: "elm.dragable.hbar";
+ target: "sb_hbar_a1";
+ target: "sb_hbar_a2";
+ target: "x_hbar_left_mapper";
+ target: "x_hbar_left";
+ target: "x_hbar_right_mapper";
+ target: "x_hbar_right";
+ target: "arrow1_hbar_indent";
+ target: "arrow2_hbar_indent";
+ }
+ program {
+ signal: "mouse,down,1*"; source: "sb_hbar_a1";
+ action: STATE_SET "clicked" 0.0;
+ target: "arrow1_hbar";
+ after: "anim1_left";
+ }
+ program { name: "anim1_left";
+ action: STATE_SET "default" 0.0;
+ transition: LINEAR 0.1;
+ target: "arrow1_hbar";
+ after: "drag_left";
+ }
+ program { name: "drag_left";
+ action: DRAG_VAL_STEP -1.0 0.0;
+ target: "elm.dragable.hbar";
+ }
+ program {
+ signal: "mouse,down,1*"; source: "sb_hbar_a2";
+ action: STATE_SET "clicked" 0.0;
+ target: "arrow2_hbar";
+ after: "anim2_left";
+ }
+ program { name: "anim2_left";
+ action: STATE_SET "default" 0.0;
+ transition: LINEAR 0.1;
+ target: "arrow2_hbar";
+ after: "drag_right";
+ }
+ program { name: "drag_right";
+ action: DRAG_VAL_STEP 1.0 0.0;
+ target: "elm.dragable.hbar";
+ }
+ program {
+ signal: "mouse,down,1*"; source: "sb_hbar_p1";
+ action: DRAG_VAL_PAGE -1.0 0.0;
+ target: "elm.dragable.hbar";
+ after: "check_pos_hbar";
+ }
+ program {
+ signal: "mouse,down,1*"; source: "sb_hbar_p2";
+ action: DRAG_VAL_PAGE 1.0 0.0;
+ target: "elm.dragable.hbar";
+ after: "check_pos_hbar";
+ }
+ program {
+ signal: "elm,action,scroll"; source: "elm";
+ script {
+ action_on_pos_hbar(10);
+ }
+ }
+ program { name: "check_pos_hbar";
+ script {
+ action_on_pos_hbar(10);
+ }
+ }
+ part { name: "bg"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.to: "elm.swallow.background";
+ rel2.to: "elm.swallow.background";
+// color: 64 64 64 200;
+ color: 0 0 0 0;
+ color_class: "scrollframe_base";
+ }
+ }
+ part { name: "clipper"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.to: "elm.swallow.background";
+ rel2.to: "elm.swallow.background";
+ }
+ }
+ part { name: "elm.swallow.background"; type: SWALLOW;
+ clip_to: "clipper";
+ description { state: "default" 0.0;
+ rel1.offset: 1 1;
+ rel2.relative: 0.0 0.0;
+ rel2.offset: -2 -2;
+ rel2.to_x: "sb_vbar";
+ rel2.to_y: "sb_hbar";
+ }
+ }
+ part { name: "elm.swallow.content"; type: SWALLOW;
+ clip_to: "clipper";
+ description { state: "default" 0.0;
+ rel1.offset: 1 1;
+ rel2.relative: 0.0 0.0;
+ rel2.offset: -2 -2;
+ rel2.to_x: "sb_vbar";
+ rel2.to_y: "sb_hbar";
+ }
+ }
+ part { name: "inset"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "bevel_in.png";
+ image.border: 1 1 1 1;
+ image.middle: 0;
+ rel1.to: "bg";
+ rel1.offset: -1 -1;
+ rel2.to: "bg";
+ rel2.offset: 0 0;
+ fill.smooth: 0;
+ }
+ }
+ part { name: "shadow"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "inset_shadow.png";
+ image.border: 5 5 7 3;
+ image.middle: 0;
+ rel1.to: "bg";
+ rel2.to: "bg";
+ fill.smooth: 0;
+ color: 255 255 255 128;
+ }
+ }
+ part { name: "elm.swallow.overlay"; type: SWALLOW;
+ clip_to: "clipper";
+ description { state: "default" 0.0;
+ rel1.to: "elm.swallow.content";
+ rel2.to: "elm.swallow.content";
+ }
+ }
+ part { name: "runner_vbar"; mouse_events: 0;
+ clip_to: "sb_vbar_show";
+ description { state: "default" 0.0;
+ image.normal: "runner_vert.png";
+ image.border: 0 0 2 2;
+ rel1.to: "sb_vbar_base";
+ rel2.to: "sb_vbar_base";
+ fill.smooth: 0;
+ min: 3 4;
+ max: 3 99999;
+ fixed: 1 1;
+ }
+ }
+ part { name: "runner_hbar"; mouse_events: 0;
+ clip_to: "sb_hbar_show";
+ description { state: "default" 0.0;
+ image.normal: "runner_horiz.png";
+ image.border: 2 2 0 0;
+ rel1.to: "sb_hbar_base";
+ rel2.to: "sb_hbar_base";
+ fill.smooth: 0;
+ min: 4 3;
+ max: 99999 3;
+ fixed: 1 1;
+ }
+ }
+ part { name: "runner_vbar_clip"; type: RECT;
+ clip_to: "sb_vbar_show";
+ description { state: "default" 0.0;
+ min: 1 1;
+ max: 1 99999;
+ rel1.to: "runner_vbar";
+ rel1.offset: 0 1;
+ rel2.to: "runner_vbar";
+ rel2.offset: -1 -2;
+ fixed: 1 1;
+ }
+ }
+ part { name: "runner_hbar_clip"; type: RECT;
+ clip_to: "sb_hbar_show";
+ description { state: "default" 0.0;
+ min: 1 1;
+ max: 99999 1;
+ rel1.to: "runner_hbar";
+ rel1.offset: 1 0;
+ rel2.to: "runner_hbar";
+ rel2.offset: -2 -1;
+ fixed: 1 1;
+ }
+ }
+ part { name: "arrow1_vbar_indent"; mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.to: "sb_vbar_a1";
+ rel2.to: "sb_vbar_a1";
+ image.normal: "sym_up_dark_normal.png";
+ FIXED_SIZE(15, 15)
+ }
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "arrow1_vbar"; mouse_events: 0;
+ clip_to: "sb_vbar_show";
+ description { state: "default" 0.0;
+ rel1.to: "sb_vbar_a1";
+ rel2.to: "sb_vbar_a1";
+ image.normal: "sym_up_light_normal.png";
+ FIXED_SIZE(15, 15)
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "sym_up_glow_normal.png";
+ }
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "arrow2_vbar_indent"; mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.to: "sb_vbar_a2";
+ rel2.to: "sb_vbar_a2";
+ image.normal: "sym_down_dark_normal.png";
+ FIXED_SIZE(15, 15)
+ }
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "arrow2_vbar"; mouse_events: 0;
+ clip_to: "sb_vbar_show";
+ description { state: "default" 0.0;
+ rel1.to: "sb_vbar_a2";
+ rel2.to: "sb_vbar_a2";
+ image.normal: "sym_down_light_normal.png";
+ FIXED_SIZE(15, 15)
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "sym_down_glow_normal.png";
+ }
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "shadow_vbar"; mouse_events: 0;
+ clip_to: "sb_vbar_show";
+ description { state: "default" 0.0;
+ rel1.offset: -3 -2;
+ rel1.to: "base_vbar";
+ rel2.offset: 2 4;
+ rel2.to: "base_vbar";
+ image.normal: "shadow_square_tiny.png";
+ image.border: 6 6 6 6;
+ fill.smooth: 0;
+ fixed: 1 1;
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ rel1.offset: -2 -2;
+ rel2.offset: 1 1;
+ color: 255 255 255 128;
+ }
+ }
+ part { name: "glow_vbar"; mouse_events: 0;
+ clip_to: "sb_vbar_show";
+ description { state: "default" 0.0;
+ rel1.offset: -3 -3;
+ rel1.to: "base_vbar";
+ rel2.offset: 2 2;
+ rel2.to: "base_vbar";
+ image.normal: "glow_small.png";
+ image.border: 7 7 7 7;
+ fill.smooth: 0;
+ visible: 0;
+ fixed: 1 1;
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "runner_glow_vbar"; mouse_events: 0;
+ clip_to: "runner_vbar_clip";
+ description { state: "default" 0.0;
+ rel1.offset: 0 -30;
+ rel1.to_x: "runner_vbar_clip";
+ rel1.to_y: "base_vbar";
+ rel2.offset: -1 29;
+ rel2.to_x: "runner_vbar_clip";
+ rel2.to_y: "base_vbar";
+ image.normal: "runner_glow_vert.png";
+ image.border: 0 0 33 33;
+ fixed: 1 1;
+ }
+ }
+ part { name: "base_vbar"; mouse_events: 0;
+ clip_to: "sb_vbar_show";
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.offset: 2 0;
+ rel1.to: "elm.dragable.vbar";
+ rel2.offset: -3 -1;
+ rel2.to: "elm.dragable.vbar";
+ image.normal: "vgrad_med_lighter.png";
+ fill.smooth: 0;
+ min: 3 13;
+ TILED_HORIZ(120)
+ fixed: 1 1;
+ }
+ }
+ part { name: "bevel_vbar"; mouse_events: 0;
+ clip_to: "sb_vbar_show";
+ description { state: "default" 0.0;
+ rel1.to: "base_vbar";
+ rel2.to: "base_vbar";
+ image.normal: "bevel_out.png";
+ image.border: 1 1 1 1;
+ image.middle: 0;
+ fill.smooth: 0;
+ min: 3 3;
+ fixed: 1 1;
+ }
+ }
+ part { name: "center_vbar"; mouse_events: 0;
+ clip_to: "sb_vbar_show";
+ description { state: "default" 0.0;
+ rel1.to: "base_vbar";
+ rel2.to: "base_vbar";
+ image.normal: "holes_tiny_vert.png";
+ FIXED_SIZE(3, 11)
+ }
+ }
+ part { name: "center_glow_vbar"; mouse_events: 0;
+ clip_to: "sb_vbar_show";
+ description { state: "default" 0.0;
+ rel1.to: "center_vbar";
+ rel2.to: "center_vbar";
+ image.normal: "holes_tiny_glow_vert.png";
+ FIXED_SIZE(11, 17)
+ visible: 0;
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "arrow1_hbar_indent"; mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.to: "sb_hbar_a1";
+ rel2.to: "sb_hbar_a1";
+ image.normal: "sym_left_dark_normal.png";
+ FIXED_SIZE(15, 15)
+ }
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "arrow1_hbar"; mouse_events: 0;
+ clip_to: "sb_hbar_show";
+ description { state: "default" 0.0;
+ rel1.to: "sb_hbar_a1";
+ rel2.to: "sb_hbar_a1";
+ image.normal: "sym_left_light_normal.png";
+ FIXED_SIZE(15, 15)
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "sym_left_glow_normal.png";
+ }
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "arrow2_hbar_indent"; mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.to: "sb_hbar_a2";
+ rel2.to: "sb_hbar_a2";
+ image.normal: "sym_right_dark_normal.png";
+ FIXED_SIZE(15, 15)
+ }
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "arrow2_hbar"; mouse_events: 0;
+ clip_to: "sb_hbar_show";
+ description { state: "default" 0.0;
+ rel1.to: "sb_hbar_a2";
+ rel2.to: "sb_hbar_a2";
+ image.normal: "sym_right_light_normal.png";
+ FIXED_SIZE(15, 15)
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "sym_right_glow_normal.png";
+ }
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "shadow_hbar"; mouse_events: 0;
+ clip_to: "sb_hbar_show";
+ description { state: "default" 0.0;
+ rel1.offset: -3 -2;
+ rel1.to: "base_hbar";
+ rel2.offset: 2 4;
+ rel2.to: "base_hbar";
+ image.normal: "shadow_square_tiny.png";
+ image.border: 6 6 6 6;
+ fill.smooth: 0;
+ fixed: 1 1;
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ rel1.offset: -2 -2;
+ rel2.offset: 1 1;
+ color: 255 255 255 128;
+ }
+ }
+ part { name: "glow_hbar"; mouse_events: 0;
+ clip_to: "sb_hbar_show";
+ description { state: "default" 0.0;
+ rel1.offset: -3 -3;
+ rel1.to: "base_hbar";
+ rel2.offset: 2 2;
+ rel2.to: "base_hbar";
+ image.normal: "glow_small.png";
+ image.border: 7 7 7 7;
+ fill.smooth: 0;
+ visible: 0;
+ fixed: 1 1;
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "runner_glow_hbar"; mouse_events: 0;
+ clip_to: "runner_hbar_clip";
+ description { state: "default" 0.0;
+ rel1.offset: -30 0;
+ rel1.to_x: "base_hbar";
+ rel1.to_y: "runner_hbar_clip";
+ rel2.offset: 29 -1;
+ rel2.to_x: "base_hbar";
+ rel2.to_y: "runner_hbar_clip";
+ image.normal: "runner_glow_horiz.png";
+ image.border: 33 33 0 0;
+ fixed: 1 1;
+ }
+ }
+ part { name: "base_hbar"; mouse_events: 0;
+ clip_to: "sb_hbar_show";
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.offset: 0 2;
+ rel1.to: "elm.dragable.hbar";
+ rel2.offset: -1 -3;
+ rel2.to: "elm.dragable.hbar";
+ image.normal: "vgrad_med_lighter.png";
+ fill.smooth: 0;
+ min: 13 3;
+ TILED_HORIZ(120)
+ }
+ }
+ part { name: "bevel_hbar"; mouse_events: 0;
+ clip_to: "sb_hbar_show";
+ description { state: "default" 0.0;
+ rel1.to: "base_hbar";
+ rel2.to: "base_hbar";
+ image.normal: "bevel_out.png";
+ image.border: 1 1 1 1;
+ image.middle: 0;
+ fill.smooth: 0;
+ min: 3 3;
+ fixed: 1 1;
+ }
+ }
+ part { name: "center_hbar"; mouse_events: 0;
+ clip_to: "sb_hbar_show";
+ description { state: "default" 0.0;
+ rel1.to: "base_hbar";
+ rel2.to: "base_hbar";
+ image.normal: "holes_tiny_horiz.png";
+ FIXED_SIZE(11, 3)
+ fixed: 1 1;
+ }
+ }
+ part { name: "center_glow_hbar"; mouse_events: 0;
+ clip_to: "sb_hbar_show";
+ description { state: "default" 0.0;
+ rel1.to: "center_hbar";
+ rel2.to: "center_hbar";
+ image.normal: "holes_tiny_glow_horiz.png";
+ FIXED_SIZE(17, 11)
+ visible: 0;
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "dim_effect"; type: RECT; mouse_events: 0;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ description { state: "effect" 0.0;
+ color: 50 50 50 255;
+ }
+ }
+ }
+ programs {
+ program {
+ signal: "mouse,down,1*"; source: "elm.dragable.vbar";
+ action: STATE_SET "clicked" 0.0;
+ target: "elm.dragable.vbar";
+ target: "shadow_vbar";
+ target: "glow_vbar";
+ target: "center_glow_vbar";
+ }
+ program {
+ signal: "mouse,down,*"; source: "elm.dragable.vbar";
+ action: SIGNAL_EMIT "elm,vbar,press" "elm";
+ }
+ program {
+ signal: "mouse,up,1"; source: "elm.dragable.vbar";
+ action: STATE_SET "default" 0.0;
+ target: "elm.dragable.vbar";
+ target: "shadow_vbar";
+ target: "glow_vbar";
+ target: "center_glow_vbar";
+ }
+ program {
+ signal: "mouse,up,*"; source: "elm.dragable.vbar";
+ action: SIGNAL_EMIT "elm,vbar,unpress" "elm";
+ }
+ program {
+ signal: "mouse,down,1*"; source: "elm.dragable.hbar";
+ action: STATE_SET "clicked" 0.0;
+ target: "elm.dragable.hbar";
+ target: "shadow_hbar";
+ target: "glow_hbar";
+ target: "center_glow_hbar";
+ }
+ program {
+ signal: "mouse,down,*"; source: "elm.dragable.hbar";
+ action: SIGNAL_EMIT "elm,hbar,press" "elm";
+ }
+ program {
+ signal: "mouse,up,1"; source: "elm.dragable.hbar";
+ action: STATE_SET "default" 0.0;
+ target: "elm.dragable.hbar";
+ target: "shadow_hbar";
+ target: "glow_hbar";
+ target: "center_glow_hbar";
+ }
+ program {
+ signal: "mouse,up,*"; source: "elm.dragable.hbar";
+ action: SIGNAL_EMIT "elm,hbar,unpress" "elm";
+ }
+ program {
+ signal: "elm,action,looping,left"; source: "elm";
+ action: STATE_SET "effect" 0.0;
+ transition: LINEAR 0.3;
+ target: "dim_effect";
+ after: "looping,left,done";
+ }
+ program { name: "looping,left,done";
+ action: SIGNAL_EMIT "elm,looping,left,done" "elm";
+ }
+ program {
+ signal: "elm,action,looping,left,end"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: LINEAR 0.3;
+ target: "dim_effect";
+ }
+ program {
+ signal: "elm,action,looping,right"; source: "elm";
+ action: STATE_SET "effect" 0.0;
+ transition: LINEAR 0.3;
+ target: "dim_effect";
+ after: "looping,right,done";
+ }
+ program { name: "looping,right,done";
+ action: SIGNAL_EMIT "elm,looping,right,done" "elm";
+ }
+ program {
+ signal: "elm,action,looping,right,end"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: LINEAR 0.3;
+ target: "dim_effect";
+ }
+ program {
+ signal: "elm,action,looping,up"; source: "elm";
+ action: STATE_SET "effect" 0.0;
+ transition: LINEAR 0.3;
+ target: "dim_effect";
+ after: "looping,up,done";
+ }
+ program { name: "looping,up,done";
+ action: SIGNAL_EMIT "elm,looping,up,done" "elm";
+ }
+ program {
+ signal: "elm,action,looping,up,end"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: LINEAR 0.3;
+ target: "dim_effect";
+ }
+ program {
+ signal: "elm,action,looping,down"; source: "elm";
+ action: STATE_SET "effect" 0.0;
+ transition: LINEAR 0.3;
+ target: "dim_effect";
+ after: "looping,down,done";
+ }
+ program { name: "looping,down,done";
+ action: SIGNAL_EMIT "elm,looping,down,done" "elm";
+ }
+ program {
+ signal: "elm,action,looping,down,end"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: LINEAR 0.3;
+ target: "dim_effect";
+ }
+ }
+}
+
+group { name: "elm/scroller/base/noclip";
+ inherit: "elm/scroller/base/default";
+ parts {
+ part { name: "clipper";
+ description { state: "default" 0.0;
+ rel1.offset: -999999 -999999;
+ rel2.offset: 999999 999999;
+ }
+ }
+ part { name: "elm.swallow.background";
+ description { state: "default" 0.0;
+ rel1.offset: 0 0;
+ rel2.offset: -1 -1;
+ }
+ }
+ part { name: "elm.swallow.content";
+ description { state: "default" 0.0;
+ rel1.offset: 0 1;
+ rel2.offset: -1 -1;
+ }
+ }
+ part { name: "inset";
+ description { state: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "shadow";
+ description { state: "default" 0.0;
+ visible: 0;
+ }
+ }
+ }
+}
diff --git a/data/themes/default/edc/elm/segment_control.edc b/data/themes/default/edc/elm/segment_control.edc
new file mode 100644
index 0000000..8213965
--- /dev/null
+++ b/data/themes/default/edc/elm/segment_control.edc
@@ -0,0 +1,436 @@
+///////////////////////////////////////////////////////////////////////////////
+group { name: "elm/segment_control/base/default";
+ #define SEGMENT_TYPE_SINGLE 1
+ #define SEGMENT_TYPE_LEFT 2
+ #define SEGMENT_TYPE_MIDDLE 3
+ #define SEGMENT_TYPE_RIGHT 4
+ #define SEGMENT_STATE_NORMAL 1
+ #define SEGMENT_STATE_PRESSED 2
+ #define SEGMENT_STATE_SELECTED 3
+ #define SEGMENT_STATUS_ENABLED 0
+ #define SEGMENT_STATUS_DISABLED 1
+ parts {
+ part { name: "bg";
+ type: RECT;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ color: 0 0 0 0;
+ min: 160 31;
+ }
+ }
+ }
+}
+group { name: "elm/segment_control/item/default";
+ images {
+ image: "day_single_press.png" COMP;
+ image: "day_single_selected.png" COMP;
+ image: "day_single_normal.png" COMP;
+ image: "day_left_press.png" COMP;
+ image: "day_left_selected.png" COMP;
+ image: "day_left_normal.png" COMP;
+ image: "day_middle_press.png" COMP;
+ image: "day_middle_selected.png" COMP;
+ image: "day_middle_normal.png" COMP;
+ image: "day_right_press.png" COMP;
+ image: "day_right_selected.png" COMP;
+ image: "day_right_normal.png" COMP;
+ }
+ parts {
+ part { name: "segment";
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ image {
+ normal: "day_single_normal.png";
+ border: 4 4 3 5;
+ }
+ }
+ description { state: "default_single" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "default_left" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image {
+ normal: "day_left_normal.png";
+ border: 4 1 3 5;
+ }
+ }
+ description { state: "default_right" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image {
+ normal: "day_right_normal.png";
+ border: 1 4 3 5;
+ }
+ }
+ description { state: "default_middle" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image {
+ normal: "day_middle_normal.png";
+ border: 1 1 3 5;
+ }
+ }
+ description { state: "pressed_single" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image {
+ normal: "day_single_press.png";
+ border: 4 4 3 5;
+ }
+ }
+ description { state: "pressed_left" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image {
+ normal: "day_left_press.png";
+ border: 4 1 3 5;
+ }
+ }
+ description { state: "pressed_right" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image {
+ normal: "day_right_press.png";
+ border: 1 4 3 5;
+ }
+ }
+ description { state: "pressed_middle" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image {
+ normal: "day_middle_press.png";
+ border: 1 1 3 5;
+ }
+ }
+ description { state: "selected_single" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image {
+ normal: "day_single_selected.png";
+ border: 4 4 3 5;
+ }
+ }
+ description { state: "selected_left" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image {
+ normal: "day_left_selected.png";
+ border: 4 1 3 5;
+ }
+ }
+ description { state: "selected_right" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image {
+ normal: "day_right_selected.png";
+ border: 1 4 3 5;
+ }
+ }
+ description { state: "selected_middle" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image {
+ normal: "day_middle_selected.png";
+ border: 1 1 3 5;
+ }
+ }
+ }
+ part { name: "elm.swallow.icon";
+ type: SWALLOW;
+ scale: 1;
+ clip_to: "disabler";
+ description { state: "default" 0.0;
+ align: 0.5 0.5;
+ rel1.offset: 10 3;
+ rel2.relative: 0.0 1.0;
+ aspect: 1.0 1.0;
+ aspect_preference: BOTH;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ rel2.relative: 0.25 1.0;
+ rel2.offset: -5 -4;
+ }
+ description { state: "icononly" 0.0;
+ inherit: "default" 0.0;
+ rel1.offset: 5 2;
+ rel2.relative: 1.0 1.0;
+ rel2.offset: -5 -4;
+ }
+ }
+ part { name: "elm.text";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ effect: SHADOW BOTTOM;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ min: 1 1;
+ rel1 {
+ to_x: "elm.swallow.icon";
+ relative: 1.0 0.0;
+ offset: 0 -1;
+ }
+ rel2.offset: -6 -2;
+ color: FN_COL_DEFAULT;
+ text {
+ font: FN;
+ size: 10;
+ min: 0 1;
+ text_class: "button";
+ }
+ }
+ description { state: "normal" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "pressed" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: FN_COL_DISABLE;
+ }
+ }
+ part { name: "text2";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ effect: GLOW;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ min: 1 1;
+ rel1.to: "elm.text";
+ rel2.to: "elm.text";
+ text {
+ font: FN;
+ size: 10;
+ min: 0 1;
+ text_source: "elm.text";
+ text_class: "button";
+ }
+ color: FN_COL_WHITE_GLOW;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "disabler";
+ type: RECT;
+ description { state: "default" 0.0;
+ rel1.to: "segment";
+ rel2.to: "segment";
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 64;
+ }
+ }
+ }
+ programs {
+ script {
+ public seg_type; // Single, Left, Middle, Right.
+ public seg_state; // Normal/Default, Pressed, Selected.
+ public seg_status;// Enabled/Default, Disabled
+
+ public update_state() {
+ new type, state, status;
+ type = get_int(seg_type);
+ state = get_int(seg_state);
+ status = get_int(seg_status);
+
+ if (status == SEGMENT_STATUS_ENABLED) {
+ if(state == SEGMENT_STATE_NORMAL) {
+ if(type == SEGMENT_TYPE_SINGLE)
+ set_state(PART:"segment", "default_single", 0.0);
+ else if(type == SEGMENT_TYPE_LEFT)
+ set_state(PART:"segment", "default_left", 0.0);
+ else if(type == SEGMENT_TYPE_MIDDLE)
+ set_state(PART:"segment", "default_middle", 0.0);
+ else if(type == SEGMENT_TYPE_RIGHT)
+ set_state(PART:"segment", "default_right", 0.0);
+ set_state(PART:"elm.text", "normal", 0.0);
+ set_state(PART:"text2", "default", 0.0);
+ } else if(state == SEGMENT_STATE_PRESSED) {
+ if(type == SEGMENT_TYPE_SINGLE)
+ set_state(PART:"segment", "pressed_single", 0.0);
+ else if(type == SEGMENT_TYPE_LEFT)
+ set_state(PART:"segment", "pressed_left", 0.0);
+ else if(type == SEGMENT_TYPE_MIDDLE)
+ set_state(PART:"segment", "pressed_middle", 0.0);
+ else if(type == SEGMENT_TYPE_RIGHT)
+ set_state(PART:"segment", "pressed_right", 0.0);
+ set_state(PART:"elm.text", "pressed", 0.0);
+ set_state(PART:"text2", "default", 0.0);
+ } else if(state == SEGMENT_STATE_SELECTED) {
+ if(type == SEGMENT_TYPE_SINGLE)
+ set_state(PART:"segment", "selected_single", 0.0);
+ else if(type == SEGMENT_TYPE_LEFT)
+ set_state(PART:"segment", "selected_left", 0.0);
+ else if(type == SEGMENT_TYPE_MIDDLE)
+ set_state(PART:"segment", "selected_middle", 0.0);
+ else if(type == SEGMENT_TYPE_RIGHT)
+ set_state(PART:"segment", "selected_right", 0.0);
+ set_state(PART:"elm.text", "default", 0.0);
+ set_state(PART:"text2", "selected", 0.0);
+ }
+ set_state(PART:"disabler", "default", 0.0);
+ } else {
+ set_state(PART:"elm.text", "disabled", 0.0);
+ set_state(PART:"text2", "normal", 0.0);
+ set_state(PART:"disabler", "disabled", 0.0);
+ if(type == SEGMENT_TYPE_SINGLE)
+ set_state(PART:"segment", "default_single", 0.0);
+ else if(type == SEGMENT_TYPE_LEFT)
+ set_state(PART:"segment", "default_left", 0.0);
+ else if(type == SEGMENT_TYPE_MIDDLE)
+ set_state(PART:"segment", "default_middle", 0.0);
+ else if(type == SEGMENT_TYPE_RIGHT)
+ set_state(PART:"segment", "default_right", 0.0);
+ }
+ }
+ }
+ program {
+ name: "segment_type_s";
+ signal: "elm,type,segment,single";
+ source: "elm";
+ script {
+ set_int(seg_type, SEGMENT_TYPE_SINGLE);
+ update_state();
+ }
+ }
+ program {
+ name: "segment_type_l";
+ signal: "elm,type,segment,left";
+ source: "elm";
+ script {
+ set_int(seg_type, SEGMENT_TYPE_LEFT);
+ update_state();
+ }
+ }
+ program {
+ name: "segment_type_m";
+ signal: "elm,type,segment,middle";
+ source: "elm";
+ script {
+ set_int(seg_type, SEGMENT_TYPE_MIDDLE);
+ update_state();
+ }
+ }
+ program {
+ name: "segment_type_r";
+ signal: "elm,type,segment,right";
+ source: "elm";
+ script {
+ set_int(seg_type, SEGMENT_TYPE_RIGHT);
+ update_state();
+ }
+ }
+ program {
+ name: "normal_segment";
+ signal: "elm,state,segment,normal";
+ source: "elm";
+ script {
+ set_int(seg_state, SEGMENT_STATE_NORMAL);
+ update_state();
+ }
+ }
+ program {
+ name: "pressed_segment";
+ signal: "elm,state,segment,pressed";
+ source: "elm";
+ script {
+ set_int(seg_state, SEGMENT_STATE_PRESSED);
+ update_state();
+ }
+ }
+ program {
+ name: "selected_segment";
+ signal: "elm,state,segment,selected";
+ source: "elm";
+ script {
+ set_int(seg_state, SEGMENT_STATE_SELECTED);
+ update_state();
+ }
+ }
+ program { name: "disable_segment";
+ signal: "elm,state,disabled";
+ source: "elm";
+ script {
+ set_int(seg_status, SEGMENT_STATUS_DISABLED);
+ update_state();
+ }
+ }
+ program { name: "enable_segment";
+ signal: "elm,state,enabled";
+ source: "elm";
+ script {
+ set_int(seg_status, SEGMENT_STATUS_ENABLED);
+ update_state();
+ }
+ }
+ program { name: "text_show";
+ signal: "elm,state,text,visible";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.swallow.icon", st, 30, vl);
+ if (!strcmp(st, "icononly"))
+ set_state(PART:"elm.swallow.icon", "visible", 0.0);
+ }
+ }
+ program { name: "text_hide";
+ signal: "elm,state,text,hidden";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.swallow.icon", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ set_state(PART:"elm.swallow.icon", "icononly", 0.0);
+ set_state(PART:"elm.text", "default", 0.0);
+ set_state(PART:"text2", "default", 0.0);
+ }
+ }
+ program { name: "icon_show";
+ signal: "elm,state,icon,visible";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if ((!strcmp(st, "normal")) || (!strcmp(st, "selected")))
+ set_state(PART:"elm.swallow.icon", "visible", 0.0);
+ else
+ set_state(PART:"elm.swallow.icon", "icononly", 0.0);
+ }
+ }
+ program { name: "icon_hide";
+ signal: "elm,state,icon,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.icon";
+ }
+ }
+ #undef SEGMENT_TYPE_SINGLE
+ #undef SEGMENT_TYPE_LEFT
+ #undef SEGMENT_TYPE_MIDDLE
+ #undef SEGMENT_TYPE_RIGHT
+ #undef SEGMENT_STATE_NORMAL
+ #undef SEGMENT_STATE_PRESSED
+ #undef SEGMENT_STATE_SELECTED
+ #undef SEGMENT_STATUS_ENABLED
+ #undef SEGMENT_STATUS_DISABLED
+}
diff --git a/data/themes/default/edc/elm/separator.edc b/data/themes/default/edc/elm/separator.edc
new file mode 100644
index 0000000..a61d978
--- /dev/null
+++ b/data/themes/default/edc/elm/separator.edc
@@ -0,0 +1,27 @@
+group { name: "elm/separator/horizontal/default";
+ images.image: "bevel_dark_in.png" COMP;
+ parts {
+ part { name: "base";
+ description { state: "default" 0.0;
+ min: 2 2;
+ max: 99999 2;
+ rel1.offset: 4 4;
+ rel2.offset: -5 -5;
+ image.normal: "bevel_dark_in.png";
+ image.border: 2 2 2 2;
+ fill.smooth: 0;
+ }
+ }
+ }
+}
+group { name: "elm/separator/vertical/default";
+ inherit: "elm/separator/horizontal/default";
+ parts {
+ part { name: "base";
+ description { state: "default" 0.0;
+ max: 2 99999;
+ }
+ }
+ }
+}
+
diff --git a/data/themes/default/edc/elm/slider.edc b/data/themes/default/edc/elm/slider.edc
new file mode 100644
index 0000000..b39a680
--- /dev/null
+++ b/data/themes/default/edc/elm/slider.edc
@@ -0,0 +1,1443 @@
+group { name: "elm/slider/hidden/limit";
+ parts {
+ part { name: "elm.units.min"; type: TEXT; mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ align: 1.0 0.5;
+ text { font: FN; size: 10;
+ text_class: "slider_text";
+ min: 1 1;
+ align: 0.0 0.5;
+ ellipsis: -1;
+ }
+ }
+ }
+ part { name: "elm.units.max"; type: TEXT; mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ align: 1.0 0.5;
+ text { font: FN; size: 10;
+ text_class: "slider_text";
+ min: 1 1;
+ align: 0.0 0.5;
+ ellipsis: -1;
+ }
+ }
+ }
+ }
+}
+
+group { name: "elm/slider/horizontal/default";
+ alias: "elm/slider/horizontal/disabled";
+ alias: "elm/slider/horizontal/media_player/position/default";
+ alias: "elm/slider/horizontal/media_player/position/flush";
+ alias: "elm/slider/horizontal/media_player/volume/default";
+ alias: "elm/slider/horizontal/media_player/volume/flush";
+ images.image: "slider_run_base_horiz.png" COMP;
+ images.image: "slider_run_bevel_horiz.png" COMP;
+ images.image: "slider_run_base_light_horiz.png" COMP;
+ images.image: "horiz_glow_run.png" COMP;
+ images.image: "horiz_glow_run_rev.png" COMP;
+ images.image: "knob_round_small_normal.png" COMP;
+ images.image: "knob_round_small_selected.png" COMP;
+ set { name: "knob";
+ // XXX: add more sizes (at least up to 128x128)
+ image { image: "knob_sz_24.png" COMP; size: 31 31 32 32; }
+ image { image: "knob_sz_22.png" COMP; size: 29 29 30 30; }
+ image { image: "knob_sz_20.png" COMP; size: 27 27 28 28; }
+ image { image: "knob_sz_18.png" COMP; size: 25 25 26 26; }
+ image { image: "knob_sz_16.png" COMP; size: 23 23 24 24; }
+ image { image: "knob_sz_14.png" COMP; size: 21 21 22 22; }
+ image { image: "knob_sz_12.png" COMP; size: 19 19 20 20; }
+ image { image: "knob_sz_10.png" COMP; size: 17 17 18 18; }
+ image { image: "knob_sz_08.png" COMP; size: 15 15 16 16; }
+ image { image: "knob_sz_06.png" COMP; size: 13 13 14 14; }
+ image { image: "knob_sz_04.png" COMP; size: 0 0 12 12; }
+ }
+#define ICON 1
+#define LABEL 2
+#define END 4
+#define UNITS 8
+#define MASK 15
+#define INVERT 16
+#define DISABLE 32
+ script {
+ public slmode;
+ public eval_mode(m) {
+ new ic = m & ICON;
+ new l = m & LABEL;
+ new e = m & END;
+ new u = m & UNITS;
+ new d = m & DISABLE;
+ new i = m & INVERT;
+ if (i) {
+ if (!d) {
+ set_state(PART:"base", "default", 0.0);
+ set_state(PART:"glow", "inverted", 0.0);
+ } else {
+ set_state(PART:"base", "disabled", 0.0);
+ set_state(PART:"glow", "disabled_inverted", 0.0);
+ }
+ } else {
+ if (!d) {
+ set_state(PART:"base", "default", 0.0);
+ set_state(PART:"glow", "default", 0.0);
+ } else {
+ set_state(PART:"base", "disabled", 0.0);
+ set_state(PART:"glow", "disabled", 0.0);
+ }
+ }
+ if (l) {
+ if (!d) {
+ set_state(PART:"elm.text", "visible", 0.0);
+ } else {
+ set_state(PART:"elm.text", "disabled_visible", 0.0);
+ }
+ } else {
+ set_state(PART:"elm.text", "default", 0.0);
+ }
+ if (u) {
+ if (!d) {
+ set_state(PART:"elm.units", "visible", 0.0);
+ set_state(PART:"limits", "visible", 0.0);
+ } else {
+ set_state(PART:"elm.units", "disabled_visible", 0.0);
+ set_state(PART:"limits", "disabled_visible", 0.0);
+ }
+ } else {
+ set_state(PART:"elm.units", "default", 0.0);
+ set_state(PART:"limits", "default", 0.0);
+ }
+ if (ic) {
+ set_state(PART:"elm.swallow.icon", "visible", 0.0);
+ set_state(PART:"sizer.content", "visible", 0.0);
+ } else {
+ set_state(PART:"elm.swallow.icon", "default", 0.0);
+ set_state(PART:"sizer.content", "default", 0.0);
+ }
+ if (e) {
+ set_state(PART:"elm.swallow.end", "visible", 0.0);
+ set_state(PART:"sizer.content.end", "visible", 0.0);
+ } else {
+ set_state(PART:"elm.swallow.end", "default", 0.0);
+ set_state(PART:"sizer.content.end", "default", 0.0);
+ }
+ if (!d) {
+ set_state(PART:"event", "default", 0.0);
+ set_state(PART:"dis_clip", "default", 0.0);
+ } else {
+ set_state(PART:"event", "disabled", 0.0);
+ set_state(PART:"dis_clip", "disabled", 0.0);
+ }
+ }
+ }
+ parts {
+ part { name: "elm.swallow.bar"; type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 42 21;
+ max: 99999 21;
+ align: 1.0 0.5;
+ rel1.to_x: "elm.text";
+ rel1.relative: 1.0 0.0;
+ rel1.offset: 2 0;
+ rel2.to_x: "limits";
+ rel2.relative: 0.0 1.0;
+ rel2.offset: -3 -1;
+ }
+ }
+ part { name: "base"; mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.to: "elm.swallow.bar";
+ rel2.to: "elm.swallow.bar";
+ image.normal: "slider_run_base_horiz.png";
+ image.border: 4 4 0 0;
+ fill.smooth: 0;
+ min: 8 5;
+ max: 99999 5;
+ fixed: 0 1;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "slider_run_base_light_horiz.png";
+ }
+ }
+ part { name: "glow"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "horiz_glow_run.png";
+ rel1.offset: 1 1;
+ rel1.to: "base";
+ rel2.relative: 0.5 1.0;
+ rel2.offset: -1 -2;
+ rel2.to_x: "button";
+ rel2.to_y: "base";
+ image.border: 0 4 0 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 64;
+ }
+ description { state: "inverted" 0.0;
+ image.normal: "horiz_glow_run_rev.png";
+ rel1.relative: 0.5 0.0;
+ rel1.offset: 0 1;
+ rel1.to_x: "button";
+ rel1.to_y: "base";
+ rel2.offset: -2 -2;
+ rel2.to: "base";
+ image.border: 4 0 0 0;
+ }
+ description { state: "disabled_inverted" 0.0;
+ inherit: "inverted" 0.0;
+ color: 255 255 255 64;
+ }
+ }
+ part { name: "bevel"; mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.to: "base";
+ rel2.to: "base";
+ image.normal: "slider_run_bevel_horiz.png";
+ image.border: 5 5 0 0;
+ fill.smooth: 0;
+ }
+ }
+ part { name: "dis_clip"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.to: "elm.swallow.icon";
+ rel2.to: "elm.swallow.end";
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 64;
+ }
+ }
+ part { name: "elm.swallow.icon"; type: SWALLOW;
+ clip_to: "dis_clip";
+ description { state: "default" 0.0;
+ visible: 0;
+ align: 0.0 0.5;
+ rel1.offset: 0 2;
+ rel1.to_y: "elm.swallow.bar";
+ rel2.offset: -1 -3;
+ rel2.relative: 0.0 1.0;
+ rel2.to_y: "elm.swallow.bar";
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ aspect: 1.0 1.0; aspect_preference: VERTICAL;
+ rel1.offset: 2 2;
+ rel2.offset: 2 -3;
+ }
+ }
+ part { name: "sizer.content"; type: TEXT; mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ visible: 0;
+ text { font: FN; size: 10;
+ min: 0 0;
+ text_class: "slider_text";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ rel1.to: "elm.swallow.icon";
+ rel2.to: "elm.swallow.icon";
+ text {
+ min: 1 1;
+ ellipsis: -1;
+ text: "M";
+ }
+ }
+ }
+ part { name: "elm.text"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ align: 0.0 0.5;
+ rel1.to_x: "elm.swallow.icon";
+ rel1.relative: 1.0 0.0;
+ rel1.offset: -1 2;
+ rel2.to_x: "elm.swallow.icon";
+ rel2.relative: 1.0 1.0;
+ rel2.offset: -1 -3;
+ color: FN_COL_DEFAULT;
+ color_class: "slider_text";
+ text { font: FN; size: 10;
+ text_class: "slider";
+ min: 0 0;
+ align: 0.0 0.5;
+ }
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ fixed: 1 0;
+ visible: 1;
+ rel1.offset: 2 2;
+ rel2.offset: 2 -3;
+ text.min: 1 1;
+ text.ellipsis: -1;
+ }
+ description { state: "disabled_visible" 0.0;
+ inherit: "visible" 0.0;
+ color_class: "slider_text_disabled";
+ color3: 255 255 255 255;
+ }
+ }
+ part { name: "elm.swallow.end"; type: SWALLOW;
+ clip_to: "dis_clip";
+ description { state: "default" 0.0;
+ visible: 0;
+ align: 1.0 0.5;
+ rel1.offset: 0 2;
+ rel1.relative: 1.0 0.0;
+ rel2.offset: -1 -3;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ aspect: 1.0 1.0;
+ aspect_preference: VERTICAL;
+ rel1.offset: -3 2;
+ rel2.offset: -3 -3;
+ }
+ }
+ part { name: "sizer.content.end"; type: TEXT; mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ visible: 0;
+ text { font: FN; size: 10;
+ min: 0 0;
+ text_class: "slider_text";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ rel1.to: "elm.swallow.end";
+ rel2.to: "elm.swallow.end";
+ text {
+ min: 1 1;
+ ellipsis: -1;
+ text: "M";
+ }
+ }
+ }
+ alias: "elm.units.min" "limits:elm.units.min";
+ alias: "elm.units.max" "limits:elm.units.max";
+ part { name: "limits"; type: GROUP; mouse_events: 0;
+ source: "elm/slider/hidden/limit";
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ align: 1.0 0.5;
+ min: SOURCE;
+ fixed: 1 1;
+ rel1.to_x: "elm.swallow.end";
+ rel1.relative: 0.0 0.0;
+ rel1.offset: 0 2;
+ rel2.to_x: "elm.swallow.end";
+ rel2.relative: 0.0 1.0;
+ rel2.offset: -1 -3;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ rel1.offset: -3 2;
+ rel2.offset: -3 -3;
+ }
+ }
+ part { name: "elm.units"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ rel1.to_x: "limits";
+ rel2.to_x: "limits";
+ color: FN_COL_DEFAULT;
+ color_class: "slider_text";
+ text { font: FN; size: 10;
+ text_class: "slider";
+ align: 1.0 0.5;
+ min: 1 1;
+ ellipsis: -1;
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "disabled_visible" 0.0;
+ inherit: "visible" 0.0;
+ color_class: "slider_text_disabled";
+ color3: 255 255 255 255;
+ }
+ }
+ part { name: "button"; type: GROUP; mouse_events: 0;
+ source: "elm/slider/horizontal/indicator/default";
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.to: "elm.dragable.slider";
+ rel2.to: "elm.dragable.slider";
+ }
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.dragable.slider"; type: RECT;
+ scale: 1;
+ dragable.x: 1 1 0;
+ dragable.y: 0 0 0;
+ dragable.confine: "elm.swallow.bar";
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ min: 16 16;
+ max: 16 16;
+ fixed: 1 1;
+ rel1.relative: 0.5 0.0;
+ rel1.to_x: "elm.swallow.bar";
+ rel2.relative: 0.5 1.0;
+ rel2.to_x: "elm.swallow.bar";
+ }
+ }
+ part { name: "knob";
+ description { state: "default" 0.0;
+ image.normal: "knob";
+ fixed: 1 1;
+ min: 12 12;
+ step: 2 2;
+ max: 32 32; // XXX allow bigger sizes with more knob images
+ rel1.to: "elm.dragable.slider";
+ rel1.offset: -4 -4;
+ rel2.to: "elm.dragable.slider";
+ rel2.offset: 3 3;
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ }
+ }
+ part { name: "slideevent"; type: RECT; repeat_events: 1;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ dragable.events: "elm.dragable.slider";
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.to: "elm.dragable.slider";
+ rel2.to: "elm.dragable.slider";
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "elm.track.slider"; type: SWALLOW; mouse_events: 0;
+ description { state: "default" 0.0;
+ max: 0 0;
+ rel1.to: "elm.dragable.slider";
+ rel2.to: "elm.dragable.slider";
+ }
+ }
+ part { name: "event"; type: RECT;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ program {
+ signal: "mouse,down,1"; source: "elm.dragable.slider";
+ action: STATE_SET "clicked" 0.0;
+ target: "knob";
+ }
+ program {
+ signal: "mouse,up,1"; source: "elm.dragable.slider";
+ action: STATE_SET "default" 0.0;
+ target: "knob";
+ }
+ program {
+ signal: "elm,state,indicator,show"; source: "elm";
+ action: SIGNAL_EMIT "elm,popup,show" "elm";
+ after: "popup_show2";
+ }
+ program {
+ signal: "elm,state,indicator,hide"; source: "elm";
+ action: SIGNAL_EMIT "elm,popup,hide" "elm";
+ after: "popup_hide2";
+ }
+ program {
+ signal: "mouse,down,1"; source: "slideevent";
+ action: SIGNAL_EMIT "elm,popup,show" "elm";
+ after: "popup_show2";
+ }
+ program { name: "popup_show2";
+ action: STATE_SET "hidden" 0.0;
+ target: "button";
+ }
+ program {
+ signal: "mouse,up,1"; source: "slideevent";
+ action: SIGNAL_EMIT "elm,popup,hide" "elm";
+ after: "popup_hide2";
+ }
+ program { name: "popup_hide2";
+ action: STATE_SET "default" 0.0;
+ target: "button";
+ }
+ program {
+ signal: "elm,state,text,visible"; source: "elm";
+ script {
+ new m = get_int(slmode);
+ m |= LABEL; set_int(slmode, m);
+ eval_mode(m);
+ }
+ }
+ program {
+ signal: "elm,state,text,hidden"; source: "elm";
+ script {
+ new m = get_int(slmode);
+ m &= ~LABEL; set_int(slmode, m);
+ eval_mode(m);
+ }
+ }
+ program {
+ signal: "elm,state,icon,visible"; source: "elm";
+ script {
+ new m = get_int(slmode);
+ m |= ICON; set_int(slmode, m);
+ eval_mode(m);
+ }
+ }
+ program {
+ signal: "elm,state,icon,hidden"; source: "elm";
+ script {
+ new m = get_int(slmode);
+ m &= ~ICON; set_int(slmode, m);
+ eval_mode(m);
+ }
+ }
+ program { name: "end_show";
+ signal: "elm,state,end,visible"; source: "elm";
+ script {
+ new m = get_int(slmode);
+ m |= END; set_int(slmode, m);
+ eval_mode(m);
+ }
+ }
+ program { name: "end_hide";
+ signal: "elm,state,end,hidden"; source: "elm";
+ script {
+ new m = get_int(slmode);
+ m &= ~END; set_int(slmode, m);
+ eval_mode(m);
+ }
+ }
+ program {
+ signal: "elm,state,units,visible"; source: "elm";
+ script {
+ new m = get_int(slmode);
+ m |= UNITS; set_int(slmode, m);
+ eval_mode(m);
+ }
+ }
+ program {
+ signal: "elm,state,units,visible"; source: "elm";
+ action: SIGNAL_EMIT "limits,visible" "elm";
+ target: "limits";
+ }
+ program {
+ signal: "elm,state,units,hidden"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ script {
+ new m = get_int(slmode);
+ m &= ~UNITS; set_int(slmode, m);
+ eval_mode(m);
+ }
+ }
+ program {
+ signal: "elm,state,units,hidden"; source: "elm";
+ action: SIGNAL_EMIT "limits,hide" "elm";
+ target: "limits";
+ }
+ program {
+ signal: "elm,state,inverted,on"; source: "elm";
+ script {
+ new m = get_int(slmode);
+ m |= INVERT; set_int(slmode, m);
+ eval_mode(m);
+ }
+ }
+ program {
+ signal: "elm,state,inverted,off"; source: "elm";
+ script {
+ new m = get_int(slmode);
+ m &= ~INVERT; set_int(slmode, m);
+ eval_mode(m);
+ }
+ }
+ program {
+ signal: "elm,state,disabled"; source: "elm";
+ script {
+ new m = get_int(slmode);
+ m |= DISABLE; set_int(slmode, m);
+ eval_mode(m);
+ }
+ }
+ program {
+ signal: "elm,state,enabled"; source: "elm";
+ script {
+ new m = get_int(slmode);
+ m &= ~DISABLE; set_int(slmode, m);
+ eval_mode(m);
+ }
+ }
+ }
+#undef ICON
+#undef LABEL
+#undef END
+#undef UNITS
+#undef MASK
+#undef INVERT
+#undef DISABLE
+}
+
+group { name: "elm/slider/horizontal/indicator/default";
+ alias: "elm/slider/horizontal/indicator/disabled";
+ alias: "elm/slider/horizontal/popup/default";
+ alias: "elm/slider/horizontal/indicator/media_player/position/default";
+ alias: "elm/slider/horizontal/indicator/media_player/position/flush";
+ alias: "elm/slider/horizontal/indicator/media_player/volume/default";
+ alias: "elm/slider/horizontal/indicator/media_player/volume/flush";
+ images.image: "darken_rounded_square.png" COMP;
+ parts {
+ part { name: "base"; type: SPACER;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ min: 16 16;
+ }
+ }
+ part { name: "clip"; type: RECT;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.to: "elm.indicator";
+ rel1.offset: -100 -100;
+ rel2.to: "elm.indicator";
+ rel2.offset: 99 99;
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "bevel"; mouse_events: 0;
+ clip_to: "clip";
+ description { state: "default" 0.0;
+ rel1.offset: -12 -12;
+ rel1.to: "elm.indicator";
+ rel2.offset: 11 11;
+ rel2.to: "elm.indicator";
+ image.normal: "darken_rounded_square.png";
+ image.border: 15 15 15 15;
+ fill.smooth: 0;
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "elm.indicator"; type: TEXT; mouse_events: 0;
+ clip_to: "clip";
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ align: 0.5 1.0;
+ rel1.to: "base";
+ rel1.relative: 0.0 -0.1;
+ rel1.offset: 0 -12;
+ rel2.to: "base";
+ rel2.relative: 1.0 -0.1;
+ rel2.offset: -1 -12;
+ color_class: "slider_indicator";
+ color: FN_COL_DEFAULT;
+ text { font: FNBD; size: 10;
+ min: 1 1;
+ align: 0.5 1.0;
+ text_class: "slider_indicator";
+ ellipsis: -1;
+ }
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ program {
+ signal: "elm,popup,show"; source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.indicator";
+ target: "bevel";
+ }
+ program {
+ signal: "elm,popup,hide"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.indicator";
+ target: "bevel";
+ }
+ program {
+ signal: "elm,popup,hide"; source: "elm";
+ action: SIGNAL_EMIT "elm,popup,hide,done" "elm";
+ }
+ program {
+ signal: "elm,state,val,show"; source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "clip";
+ }
+ program {
+ signal: "elm,state,val,hide"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "clip";
+ }
+ program {
+ signal: "elm,state,indicator,show"; source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.indicator";
+ target: "bevel";
+ }
+ program {
+ signal: "elm,state,indicator,hide"; source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.indicator";
+ target: "bevel";
+ }
+ program {
+ signal: "elm,state,disabled"; source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "base";
+ }
+ program {
+ signal: "elm,state,enabled"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ }
+ }
+}
+
+group { name: "elm/slider/vertical/default";
+ alias: "elm/slider/vertical/disabled";
+ alias: "elm/slider/vertical/media_player/position/default";
+ alias: "elm/slider/vertical/media_player/position/flush";
+ alias: "elm/slider/vertical/media_player/volume/default";
+ alias: "elm/slider/vertical/media_player/volume/flush";
+ images.image: "slider_run_base_vert.png" COMP;
+ images.image: "slider_run_bevel_vert.png" COMP;
+ images.image: "slider_run_base_light_vert.png" COMP;
+ images.image: "vert_glow_run.png" COMP;
+ images.image: "vert_glow_run_rev.png" COMP;
+ images.image: "knob_round_small_normal.png" COMP;
+ images.image: "knob_round_small_selected.png" COMP;
+ set { name: "knob";
+ // XXX: add more sizes (at least up to 128x128)
+ image { image: "knob_sz_24.png" COMP; size: 31 31 32 32; }
+ image { image: "knob_sz_22.png" COMP; size: 29 29 30 30; }
+ image { image: "knob_sz_20.png" COMP; size: 27 27 28 28; }
+ image { image: "knob_sz_18.png" COMP; size: 25 25 26 26; }
+ image { image: "knob_sz_16.png" COMP; size: 23 23 24 24; }
+ image { image: "knob_sz_14.png" COMP; size: 21 21 22 22; }
+ image { image: "knob_sz_12.png" COMP; size: 19 19 20 20; }
+ image { image: "knob_sz_10.png" COMP; size: 17 17 18 18; }
+ image { image: "knob_sz_08.png" COMP; size: 15 15 16 16; }
+ image { image: "knob_sz_06.png" COMP; size: 13 13 14 14; }
+ image { image: "knob_sz_04.png" COMP; size: 0 0 12 12; }
+ }
+#define ICON 1
+#define LABEL 2
+#define END 4
+#define UNITS 8
+#define MASK 15
+#define INVERT 16
+#define DISABLE 32
+ script {
+ public slmode;
+ public eval_mode(m) {
+ new ic = m & ICON;
+ new l = m & LABEL;
+ new e = m & END;
+ new u = m & UNITS;
+ new d = m & DISABLE;
+ new i = m & INVERT;
+ if (i) {
+ if (!d) {
+ set_state(PART:"base", "default", 0.0);
+ set_state(PART:"glow", "inverted", 0.0);
+ } else {
+ set_state(PART:"base", "disabled", 0.0);
+ set_state(PART:"glow", "disabled_inverted", 0.0);
+ }
+ } else {
+ if (!d) {
+ set_state(PART:"base", "default", 0.0);
+ set_state(PART:"glow", "default", 0.0);
+ } else {
+ set_state(PART:"base", "disabled", 0.0);
+ set_state(PART:"glow", "disabled", 0.0);
+ }
+ }
+ if (l) {
+ if (!d) {
+ set_state(PART:"elm.text", "visible", 0.0);
+ } else {
+ set_state(PART:"elm.text", "disabled_visible", 0.0);
+ }
+ } else {
+ set_state(PART:"elm.text", "default", 0.0);
+ }
+ if (u) {
+ if (!d) {
+ set_state(PART:"elm.units", "visible", 0.0);
+ set_state(PART:"limits", "visible", 0.0);
+ } else {
+ set_state(PART:"elm.units", "disabled_visible", 0.0);
+ set_state(PART:"limits", "disabled_visible", 0.0);
+ }
+ } else {
+ set_state(PART:"elm.units", "default", 0.0);
+ set_state(PART:"limits", "default", 0.0);
+ }
+ if (ic) {
+ set_state(PART:"elm.swallow.icon", "visible", 0.0);
+ set_state(PART:"sizer.content", "visible", 0.0);
+ } else {
+ set_state(PART:"elm.swallow.icon", "default", 0.0);
+ set_state(PART:"sizer.content", "default", 0.0);
+ }
+ if (e) {
+ set_state(PART:"elm.swallow.end", "visible", 0.0);
+ set_state(PART:"sizer.content.end", "visible", 0.0);
+ } else {
+ set_state(PART:"elm.swallow.end", "default", 0.0);
+ set_state(PART:"sizer.content.end", "default", 0.0);
+ }
+ if (!d) {
+ set_state(PART:"event", "default", 0.0);
+ set_state(PART:"dis_clip", "default", 0.0);
+ } else {
+ set_state(PART:"event", "disabled", 0.0);
+ set_state(PART:"dis_clip", "disabled", 0.0);
+ }
+ }
+ }
+ parts {
+ part { name: "elm.swallow.bar"; type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 21 42;
+ max: 21 99999;
+ align: 0.5 1.0;
+ rel1.to_y: "elm.text";
+ rel1.relative: 0.0 1.0;
+ rel1.offset: 0 2;
+ rel2.to_y: "limits";
+ rel2.relative: 1.0 0.0;
+ rel2.offset: -1 -3;
+ }
+ }
+ part { name: "base"; mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.to: "elm.swallow.bar";
+ rel2.to: "elm.swallow.bar";
+ image.normal: "slider_run_base_vert.png";
+ image.border: 0 0 4 4;
+ fill.smooth: 0;
+ min: 5 8;
+ max: 5 99999;
+ fixed: 1 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "slider_run_base_light_vert.png";
+ }
+ }
+ part { name: "glow"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "vert_glow_run.png";
+ rel1.offset: 1 1;
+ rel1.to: "base";
+ rel2.relative: 1.0 0.5;
+ rel2.offset: -2 -1;
+ rel2.to_y: "button";
+ rel2.to_x: "base";
+ image.border: 0 0 0 4;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 64;
+ }
+ description { state: "inverted" 0.0;
+ image.normal: "vert_glow_run_rev.png";
+ rel1.relative: 0.0 0.5;
+ rel1.offset: 1 0;
+ rel1.to_y: "button";
+ rel1.to_x: "base";
+ rel2.offset: -2 -2;
+ rel2.to: "base";
+ image.border: 0 0 4 0;
+ }
+ description { state: "disabled_inverted" 0.0;
+ inherit: "inverted" 0.0;
+ color: 255 255 255 64;
+ }
+ }
+ part { name: "bevel"; mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.to: "base";
+ rel2.to: "base";
+ image.normal: "slider_run_bevel_vert.png";
+ image.border: 0 0 5 5;
+ fill.smooth: 0;
+ }
+ }
+ part { name: "dis_clip"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.to: "elm.swallow.icon";
+ rel2.to: "elm.swallow.end";
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 64;
+ }
+ }
+ part { name: "elm.swallow.icon"; type: SWALLOW;
+ clip_to: "dis_clip";
+ description { state: "default" 0.0;
+ visible: 0;
+ align: 0.5 0.0;
+ rel1.offset: 2 0;
+ rel1.to_x: "elm.swallow.bar";
+ rel2.offset: -3 -1;
+ rel2.relative: 1.0 0.0;
+ rel2.to_x: "elm.swallow.bar";
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ aspect: 1.0 1.0; aspect_preference: VERTICAL;
+ rel1.offset: 2 2;
+ rel2.offset: -3 2;
+ }
+ }
+ part { name: "sizer.content"; type: TEXT; mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ visible: 0;
+ text { font: FN; size: 10;
+ min: 0 0;
+ text_class: "slider_text";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ rel1.to: "elm.swallow.icon";
+ rel2.to: "elm.swallow.icon";
+ text {
+ min: 1 1;
+ ellipsis: -1;
+ text: "M";
+ }
+ }
+ }
+ part { name: "elm.text"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 0 1;
+ align: 0.5 0.0;
+ rel1.to_y: "elm.swallow.icon";
+ rel1.relative: 0.0 1.0;
+ rel1.offset: 2 -1;
+ rel2.to_y: "elm.swallow.icon";
+ rel2.relative: 1.0 1.0;
+ rel2.offset: -3 -1;
+ color: FN_COL_DEFAULT;
+ color_class: "slider_text";
+ text { font: FN; size: 10;
+ text_class: "slider";
+ min: 1 0;
+ ellipsis: -1;
+ align: 0.5 0.0;
+ }
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ rel1.offset: 2 2;
+ rel2.offset: -3 2;
+ text.min: 1 1;
+ text.ellipsis: -1;
+
+ }
+ description { state: "disabled_visible" 0.0;
+ inherit: "visible" 0.0;
+ color_class: "slider_text_disabled";
+ color3: 255 255 255 255;
+ }
+ }
+ part { name: "elm.swallow.end"; type: SWALLOW;
+ clip_to: "dis_clip";
+ description { state: "default" 0.0;
+ visible: 0;
+ align: 0.5 1.0;
+ rel1.offset: 2 0;
+ rel1.relative: 0.0 1.0;
+ rel2.offset: -3 -1;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ aspect: 1.0 1.0;
+ aspect_preference: VERTICAL;
+ rel2.offset: 2 -3;
+ rel2.offset: -3 -3;
+ }
+ }
+ part { name: "sizer.content.end"; type: TEXT; mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ visible: 0;
+ text { font: FN; size: 10;
+ min: 0 0;
+ text_class: "slider_text";
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ rel1.to: "elm.swallow.end";
+ rel2.to: "elm.swallow.end";
+ text {
+ min: 1 1;
+ ellipsis: -1;
+ text: "M";
+ }
+ }
+ }
+ alias: "elm.units.min" "limits:elm.units.min";
+ alias: "elm.units.max" "limits:elm.units.max";
+ part { name: "limits"; type: GROUP; mouse_events: 0;
+ source: "elm/slider/hidden/limit";
+ scale: 1;
+ description { state: "default" 0.0;
+ align: 0.5 1.0;
+ fixed: 1 1;
+ max: 0 0;
+ rel1.to_y: "elm.swallow.end";
+ rel1.relative: 0.0 0.0;
+ rel1.offset: 2 1;
+ rel2.to_y: "elm.swallow.end";
+ rel2.relative: 1.0 0.0;
+ rel2.offset: -3 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ min: SOURCE;
+ rel1.offset: 2 -3;
+ rel2.offset: -3 -3;
+ }
+ }
+ part { name: "elm.units"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ rel1.to_y: "limits";
+ rel2.to_y: "limits";
+ color: FN_COL_DEFAULT;
+ color_class: "slider_text";
+ text { font: FN; size: 10;
+ text_class: "slider";
+ min: 0 0;
+ align: 0.5 1.0;
+ ellipsis: -1;
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ text.min: 1 1;
+ text.ellipsis: -1;
+ }
+ description { state: "disabled_visible" 0.0;
+ inherit: "visible" 0.0;
+ color_class: "slider_text_disabled";
+ color3: 255 255 255 255;
+ }
+ }
+ part { name: "button"; type: GROUP; mouse_events: 0;
+ source: "elm/slider/vertical/indicator/default";
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.to: "elm.dragable.slider";
+ rel2.to: "elm.dragable.slider";
+ }
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.dragable.slider"; type: RECT;
+ scale: 1;
+ dragable.x: 0 0 0;
+ dragable.y: 1 1 0;
+ dragable.confine: "elm.swallow.bar";
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ min: 16 16;
+ max: 16 16;
+ fixed: 1 1;
+ rel1.relative: 0.0 0.5;
+ rel1.to_x: "elm.swallow.bar";
+ rel2.relative: 1.0 0.5;
+ rel2.to_x: "elm.swallow.bar";
+ }
+ }
+ part { name: "knob";
+ description { state: "default" 0.0;
+ image.normal: "knob";
+ fixed: 1 1;
+ min: 12 12;
+ step: 2 2;
+ max: 32 32; // XXX allow bigger sizes with more knob images
+ rel1.to: "elm.dragable.slider";
+ rel1.offset: -4 -4;
+ rel2.to: "elm.dragable.slider";
+ rel2.offset: 3 3;
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ }
+ }
+ part { name: "slideevent"; type: RECT; repeat_events: 1;
+ scale: 1;
+ ignore_flags: ON_HOLD;
+ dragable.events: "elm.dragable.slider";
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.to: "elm.dragable.slider";
+ rel2.to: "elm.dragable.slider";
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "elm.track.slider"; type: SWALLOW; mouse_events: 0;
+ description { state: "default" 0.0;
+ max: 0 0;
+ rel1.to: "elm.dragable.slider";
+ rel2.to: "elm.dragable.slider";
+ }
+ }
+ part { name: "event"; type: RECT;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ program {
+ signal: "mouse,down,1"; source: "elm.dragable.slider";
+ action: STATE_SET "clicked" 0.0;
+ target: "knob";
+ }
+ program {
+ signal: "mouse,up,1"; source: "elm.dragable.slider";
+ action: STATE_SET "default" 0.0;
+ target: "knob";
+ }
+ program {
+ signal: "elm,state,indicator,show"; source: "elm";
+ action: SIGNAL_EMIT "elm,popup,show" "elm";
+ after: "popup_show2";
+ }
+ program {
+ signal: "elm,state,indicator,hide"; source: "elm";
+ action: SIGNAL_EMIT "elm,popup,hide" "elm";
+ after: "popup_hide2";
+ }
+ program {
+ signal: "mouse,down,1"; source: "slideevent";
+ action: SIGNAL_EMIT "elm,popup,show" "elm";
+ after: "popup_show2";
+ }
+ program { name: "popup_show2";
+ action: STATE_SET "hidden" 0.0;
+ target: "button";
+ }
+ program {
+ signal: "mouse,up,1"; source: "slideevent";
+ action: SIGNAL_EMIT "elm,popup,hide" "elm";
+ after: "popup_hide2";
+ }
+ program { name: "popup_hide2";
+ action: STATE_SET "default" 0.0;
+ target: "button";
+ }
+ program {
+ signal: "elm,state,text,visible"; source: "elm";
+ script {
+ new m = get_int(slmode);
+ m |= LABEL; set_int(slmode, m);
+ eval_mode(m);
+ }
+ }
+ program {
+ signal: "elm,state,text,hidden"; source: "elm";
+ script {
+ new m = get_int(slmode);
+ m &= ~LABEL; set_int(slmode, m);
+ eval_mode(m);
+ }
+ }
+ program {
+ signal: "elm,state,icon,visible"; source: "elm";
+ script {
+ new m = get_int(slmode);
+ m |= ICON; set_int(slmode, m);
+ eval_mode(m);
+ }
+ }
+ program {
+ signal: "elm,state,icon,hidden"; source: "elm";
+ script {
+ new m = get_int(slmode);
+ m &= ~ICON; set_int(slmode, m);
+ eval_mode(m);
+ }
+ }
+ program { name: "end_show";
+ signal: "elm,state,end,visible"; source: "elm";
+ script {
+ new m = get_int(slmode);
+ m |= END; set_int(slmode, m);
+ eval_mode(m);
+ }
+ }
+ program { name: "end_hide";
+ signal: "elm,state,end,hidden"; source: "elm";
+ script {
+ new m = get_int(slmode);
+ m &= ~END; set_int(slmode, m);
+ eval_mode(m);
+ }
+ }
+ program {
+ signal: "elm,state,units,visible"; source: "elm";
+ script {
+ new m = get_int(slmode);
+ m |= UNITS; set_int(slmode, m);
+ eval_mode(m);
+ }
+ }
+ program {
+ signal: "elm,state,units,visible"; source: "elm";
+ action: SIGNAL_EMIT "limits:limits,visible" "elm";
+ }
+ program {
+ signal: "elm,state,units,hidden"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ script {
+ new m = get_int(slmode);
+ m &= ~UNITS; set_int(slmode, m);
+ eval_mode(m);
+ }
+ }
+ program {
+ signal: "elm,state,units,hidden"; source: "elm";
+ action: SIGNAL_EMIT "limits:limits,hide" "elm";
+ }
+ program {
+ signal: "elm,state,inverted,on"; source: "elm";
+ script {
+ new m = get_int(slmode);
+ m |= INVERT; set_int(slmode, m);
+ eval_mode(m);
+ }
+ }
+ program {
+ signal: "elm,state,inverted,off"; source: "elm";
+ script {
+ new m = get_int(slmode);
+ m &= ~INVERT; set_int(slmode, m);
+ eval_mode(m);
+ }
+ }
+ program {
+ signal: "elm,state,disabled"; source: "elm";
+ script {
+ new m = get_int(slmode);
+ m |= DISABLE; set_int(slmode, m);
+ eval_mode(m);
+ }
+ }
+ program {
+ signal: "elm,state,enabled"; source: "elm";
+ script {
+ new m = get_int(slmode);
+ m &= ~DISABLE; set_int(slmode, m);
+ eval_mode(m);
+ }
+ }
+ }
+#undef ICON
+#undef LABEL
+#undef END
+#undef UNITS
+#undef MASK
+#undef INVERT
+#undef DISABLE
+}
+
+group { name: "elm/slider/vertical/indicator/default";
+ alias: "elm/slider/vertical/indicator/disabled";
+ alias: "elm/slider/vertical/popup/default";
+ alias: "elm/slider/vertical/indicator/media_player/position/default";
+ alias: "elm/slider/vertical/indicator/media_player/position/flush";
+ alias: "elm/slider/vertical/indicator/media_player/volume/default";
+ alias: "elm/slider/vertical/indicator/media_player/volume/flush";
+ images.image: "darken_rounded_square.png" COMP;
+ parts {
+ part { name: "base"; type: SPACER;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ min: 16 16;
+ }
+ }
+ part { name: "clip"; type: RECT;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.to: "elm.indicator";
+ rel1.offset: -100 -100;
+ rel2.to: "elm.indicator";
+ rel2.offset: 99 99;
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "bevel"; mouse_events: 0;
+ clip_to: "clip";
+ description { state: "default" 0.0;
+ rel1.offset: -12 -12;
+ rel1.to: "elm.indicator";
+ rel2.offset: 11 11;
+ rel2.to: "elm.indicator";
+ image.normal: "darken_rounded_square.png";
+ image.border: 15 15 15 15;
+ fill.smooth: 0;
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "elm.indicator"; type: TEXT; mouse_events: 0;
+ clip_to: "clip";
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ align: 0.0 0.5;
+ rel1.to: "base";
+ rel1.relative: 1.1 0.0;
+ rel1.offset: 11 0;
+ rel2.to: "base";
+ rel2.relative: 1.1 1.0;
+ rel2.offset: 11 -1;
+ color_class: "slider_indicator";
+ color: FN_COL_DEFAULT;
+ text { font: FNBD; size: 10;
+ min: 1 1;
+ align: 0.0 0.5;
+ text_class: "slider_indicator";
+ ellipsis: -1;
+ }
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ program {
+ signal: "elm,popup,show"; source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.indicator";
+ target: "bevel";
+ }
+ program {
+ signal: "elm,popup,hide"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.indicator";
+ target: "bevel";
+ }
+ program {
+ signal: "elm,popup,hide"; source: "elm";
+ action: SIGNAL_EMIT "elm,popup,hide,done" "elm";
+ }
+ program {
+ signal: "elm,state,val,show"; source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "clip";
+ }
+ program {
+ signal: "elm,state,val,hide"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "clip";
+ }
+ program {
+ signal: "elm,state,indicator,show"; source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.indicator";
+ target: "bevel";
+ }
+ program {
+ signal: "elm,state,indicator,hide"; source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.indicator";
+ target: "bevel";
+ }
+ program {
+ signal: "elm,state,disabled"; source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "base";
+ }
+ program {
+ signal: "elm,state,enabled"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ }
+ }
+}
diff --git a/data/themes/default/edc/elm/slideshow.edc b/data/themes/default/edc/elm/slideshow.edc
new file mode 100644
index 0000000..5dc800e
--- /dev/null
+++ b/data/themes/default/edc/elm/slideshow.edc
@@ -0,0 +1,349 @@
+group { name: "elm/slideshow/base/default";
+ data {
+ item: transitions "fade black_fade horizontal vertical square";
+ item: layouts "fullscreen not_fullscreen";
+ }
+ parts {
+ part { name: "whole"; type: RECT;
+ description { state: "default" 0.0;
+ color: 0 0 0 255;
+ }
+ }
+ part { name: "image_1_whole"; type: RECT;
+ description { state: "default" 0.0;
+ }
+ description { state: "fade_prev_next" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 0;
+ }
+ description { state: "black_fade_prev_next_init" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 255;
+ }
+ description { state: "black_fade_prev_next" 0.0;
+ inherit: "default" 0.0;
+ color: 0 0 0 255;
+ }
+ description { state: "horizontal_next_init" 0.0;
+ inherit: "default" 0.0;
+ }
+ description { state: "horizontal_next" 0.0;
+ inherit: "default" 0.0;
+ rel1.relative: -1.0 0.0;
+ rel2.relative: 0.0 1.0;
+ }
+ description { state: "horizontal_prev_init" 0.0;
+ inherit: "default" 0.0;
+ }
+ description { state: "horizontal_prev" 0.0;
+ inherit: "default" 0.0;
+ rel1.relative: 1.0 0.0;
+ rel2.relative: 2.0 1.0;
+ }
+ description { state: "vertical_next_init" 0.0;
+ inherit: "default" 0.0;
+ }
+ description { state: "vertical_next" 0.0;
+ inherit: "default" 0.0;
+ rel1.relative: 0.0 -1.0;
+ rel2.relative: 1.0 0.0;
+ }
+ description { state: "vertical_prev_init" 0.0;
+ inherit: "default" 0.0;
+ }
+ description { state: "vertical_prev" 0.0;
+ inherit: "default" 0.0;
+ rel1.relative: 0.0 1.0;
+ rel2.relative: 1.0 2.0;
+ }
+ description { state: "square_prev_next" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 0;
+ }
+ }
+ part { name: "image_2_whole"; type: RECT;
+ description { state: "default" 0.0;
+ color: 255 255 255 0;
+ }
+ description { state: "fade_prev_next" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 255;
+ }
+ description { state: "black_fade_prev_next_init" 0.0;
+ inherit: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ description { state: "black_fade_prev_next" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 255;
+ }
+ description { state: "horizontal_next_init" 0.0;
+ inherit: "default" 0.0;
+ rel1.relative: 1.0 0.0;
+ rel2.relative: 2.0 1.0;
+ color: 255 255 255 255;
+ }
+ description { state: "horizontal_next" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 255;
+ }
+ description { state: "horizontal_prev_init" 0.0;
+ inherit: "default" 0.0;
+ rel1.relative: -1.0 0.0;
+ rel2.relative: 0.0 1.0;
+ color: 255 255 255 255;
+ }
+ description { state: "horizontal_prev" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 255;
+ }
+ description { state: "vertical_next_init" 0.0;
+ inherit: "default" 0.0;
+ rel1.relative: 0.0 1.0;
+ rel2.relative: 1.0 2.0;
+ color: 255 255 255 255;
+ }
+ description { state: "vertical_next" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 255;
+ }
+ description { state: "vertical_prev_init" 0.0;
+ inherit: "default" 0.0;
+ rel1.relative: 0.0 -1.0;
+ rel2.relative: 1.0 0.0;
+ color: 255 255 255 255;
+ }
+ description { state: "vertical_prev" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 255;
+ }
+ description { state: "square_prev_next_init" 0.0;
+ inherit: "default" 0.0;
+ rel1.relative: 0.5 0.5;
+ rel2.relative: 0.5 0.5;
+ color: 255 255 255 255;
+ }
+ description { state: "square_prev_next" 0.0;
+ inherit: "default" 0.0;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 1.0 1.0;
+ color: 255 255 255 255;
+ }
+ }
+ part { name: "elm.swallow.1"; type: SWALLOW;
+ clip_to: "image_1_whole";
+ description { state: "default" 0.0;
+ rel1.to: "image_1_whole";
+ rel2.to: "image_1_whole";
+ }
+ description { state: "not_fullscreen" 0.0;
+ rel1.relative: 0.1 0.1;
+ rel1.to: "image_1_whole";
+ rel2.relative: 0.9 0.9;
+ rel2.to: "image_1_whole";
+ }
+ }
+ part { name: "elm.swallow.2"; type: SWALLOW;
+ clip_to: "image_2_whole";
+ description {
+ state: "default" 0.0;
+ rel1.to: "image_2_whole";
+ rel2.to: "image_2_whole";
+ }
+ description { state: "not_fullscreen" 0.0;
+ rel1.relative: 0.1 0.1;
+ rel1.to: "image_2_whole";
+ rel2.relative: 0.9 0.9;
+ rel2.to: "image_2_whole";
+ }
+ }
+ part { name: "events_catcher"; type: RECT; repeat_events: 1;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ }
+ programs {
+ program {
+ signal: "elm,layout,fullscreen"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.1";
+ target: "elm.swallow.2";
+ transition: SINUSOIDAL 1.0;
+ }
+ program {
+ signal: "elm,layout,not_fullscreen"; source: "elm";
+ action: STATE_SET "not_fullscreen" 0.0;
+ target: "elm.swallow.1";
+ target: "elm.swallow.2";
+ transition: SINUSOIDAL 1.0;
+ }
+ //
+ program {
+ signal: "elm,fade,next"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "image_1_whole";
+ target: "image_2_whole";
+ after: "fade_next_2";
+ }
+ program { name: "fade_next_2";
+ action: STATE_SET "fade_prev_next" 0.0;
+ target: "image_1_whole";
+ target: "image_2_whole";
+ transition: SINUSOIDAL 1.5;
+ after: "end";
+ }
+ program {
+ signal: "elm,fade,previous"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "image_1_whole";
+ target: "image_2_whole";
+ after: "fade_previous_2";
+ }
+ program { name: "fade_previous_2";
+ action: STATE_SET "fade_prev_next" 0.0;
+ target: "image_1_whole";
+ target: "image_2_whole";
+ transition: SINUSOIDAL 1.5;
+ after: "end";
+ }
+ program {
+ signal: "elm,black_fade,next"; source: "elm";
+ action: STATE_SET "black_fade_prev_next_init" 0.0;
+ target: "image_1_whole";
+ target: "image_2_whole";
+ after: "black_fade_next_2";
+ }
+ program { name: "black_fade_next_2";
+ action: STATE_SET "black_fade_prev_next" 0.0;
+ target: "image_1_whole";
+ transition: SINUSOIDAL 0.75;
+ after: "black_fade_next_3";
+ }
+ program { name: "black_fade_next_3";
+ action: STATE_SET "black_fade_prev_next" 0.0;
+ target: "image_2_whole";
+ transition: SINUSOIDAL 0.75;
+ after: "end";
+ }
+ program {
+ signal: "elm,black_fade,previous"; source: "elm";
+ action: STATE_SET "black_fade_prev_next_init" 0.0;
+ target: "image_1_whole";
+ target: "image_2_whole";
+ after: "black_fade_previous_2";
+ }
+ program { name: "black_fade_previous_2";
+ action: STATE_SET "black_fade_prev_next" 0.0;
+ target: "image_1_whole";
+ transition: SINUSOIDAL 0.75;
+ after: "black_fade_previous_3";
+ }
+ program { name: "black_fade_previous_3";
+ action: STATE_SET "black_fade_prev_next" 0.0;
+ target: "image_2_whole";
+ transition: SINUSOIDAL 0.75;
+ after: "end";
+ }
+ program {
+ signal: "elm,horizontal,next"; source: "elm";
+ action: STATE_SET "horizontal_next_init" 0.0;
+ target: "image_1_whole";
+ target: "image_2_whole";
+ after: "horizontal_next_2";
+ }
+ program { name: "horizontal_next_2";
+ action: STATE_SET "horizontal_next" 0.0;
+ target: "image_1_whole";
+ target: "image_2_whole";
+ transition: SINUSOIDAL 1.5;
+ after: "end";
+ }
+ program { name: "horizontal_previous";
+ signal: "elm,horizontal,previous"; source: "elm";
+ action: STATE_SET "horizontal_prev_init" 0.0;
+ target: "image_1_whole";
+ target: "image_2_whole";
+ after: "horizontal_previous_2";
+ }
+ program { name: "horizontal_previous_2";
+ action: STATE_SET "horizontal_prev" 0.0;
+ target: "image_1_whole";
+ target: "image_2_whole";
+ transition: SINUSOIDAL 1.5;
+ after: "end";
+ }
+ program {
+ signal: "elm,vertical,next"; source: "elm";
+ action: STATE_SET "vertical_next_init" 0.0;
+ target: "image_1_whole";
+ target: "image_2_whole";
+ after: "vertical_next_2";
+ }
+ program { name: "vertical_next_2";
+ action: STATE_SET "vertical_next" 0.0;
+ target: "image_1_whole";
+ target: "image_2_whole";
+ transition: SINUSOIDAL 1.5;
+ after: "end";
+ }
+ program {
+ signal: "elm,vertical,previous"; source: "elm";
+ action: STATE_SET "vertical_prev_init" 0.0;
+ target: "image_1_whole";
+ target: "image_2_whole";
+ after: "vertical_previous_2";
+ }
+ program { name: "vertical_previous_2";
+ action: STATE_SET "vertical_prev" 0.0;
+ target: "image_1_whole";
+ target: "image_2_whole";
+ transition: SINUSOIDAL 1.5;
+ after: "end";
+ }
+ program {
+ signal: "elm,square,next"; source: "elm";
+ action: STATE_SET "square_prev_next_init" 0.0;
+ target: "image_2_whole";
+ after: "square_next_2";
+ }
+ program { name: "square_next_2";
+ action: STATE_SET "square_prev_next" 0.0;
+ target: "image_2_whole";
+ target: "image_1_whole";
+ transition: SINUSOIDAL 1.5;
+ after: "end";
+ }
+ program {
+ signal: "elm,square,previous"; source: "elm";
+ action: STATE_SET "square_prev_next_init" 0.0;
+ target: "image_2_whole";
+ after: "square_next_2";
+ }
+ program {
+ signal: "elm,none,next"; source: "elm";
+ action: STATE_SET "fade_prev_next" 0.0;
+ target: "image_1_whole";
+ target: "image_2_whole";
+ after: "end";
+ }
+ program {
+ signal: "elm,none,previous"; source: "elm";
+ action: STATE_SET "fade_prev_next" 0.0;
+ target: "image_1_whole";
+ target: "image_2_whole";
+ after: "end";
+ }
+ program { name: "end";
+ action: SIGNAL_EMIT "elm,end" "elm";
+ }
+ program {
+ signal: "elm,anim,end"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "image_1_whole";
+ target: "image_2_whole";
+ }
+ }
+}
+
+///////////////////////////////////////////////////////////////////////////////
diff --git a/data/themes/default/edc/elm/spinner.edc b/data/themes/default/edc/elm/spinner.edc
new file mode 100644
index 0000000..a631eae
--- /dev/null
+++ b/data/themes/default/edc/elm/spinner.edc
@@ -0,0 +1,303 @@
+group { name: "elm/spinner/base/default";
+ images.image: "vert_bar_inset.png" COMP;
+ images.image: "sym_left_light_normal.png" COMP;
+ images.image: "sym_left_glow_normal.png" COMP;
+ images.image: "sym_left_dark_normal.png" COMP;
+ images.image: "sym_right_light_normal.png" COMP;
+ images.image: "sym_right_glow_normal.png" COMP;
+ images.image: "sym_right_dark_normal.png" COMP;
+ parts {
+ part { name: "elm.text"; type: TEXT;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ description { state: "default" 0.0;
+ color: FN_COL_DEFAULT;
+ color_class: "spinner";
+ rel1.to_y: "inset";
+ rel1.to_x: "left";
+ rel1.relative: 1.0 0.0;
+ rel1.offset: 1 1;
+ rel2.to_y: "inset";
+ rel2.to_x: "right";
+ rel2.relative: 0.0 1.0;
+ rel2.offset: -2 -2;
+ text { font: FN; size: 10;
+ min: 1 1;
+ text_class: "spinner";
+ ellipsis: -1;
+ }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: FN_COL_DISABLE;
+ color_class: "spinner_disabled";
+ }
+ description { state: "active" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.dragable.slider"; type: RECT;
+ dragable.x: 1 1 0;
+ dragable.y: 0 0 0;
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ rel1.to: "inset";
+ rel2.to: "inset";
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "elm.swallow.entry"; type: SWALLOW;
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ rel1.to: "elm.text";
+ rel2.to: "elm.text";
+ visible: 0;
+ }
+ description { state: "active" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "disabled_active" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "arrow1"; mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "left";
+ rel2.to: "left";
+ image.normal: "sym_left_light_normal.png";
+ FIXED_SIZE(15, 15)
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "sym_left_glow_normal.png";
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "sym_left_dark_normal.png";
+ }
+ }
+ part { name: "arrow2"; mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "right";
+ rel2.to: "right";
+ image.normal: "sym_right_light_normal.png";
+ FIXED_SIZE(15, 15)
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "sym_right_glow_normal.png";
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "sym_right_dark_normal.png";
+ }
+ }
+ part { name: "left"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.to: "inset";
+ rel1.offset: 1 1;
+ rel2.to: "inset";
+ rel2.offset: 1 -2;
+ rel2.relative: 0.0 1.0;
+ align: 0.0 0.5;
+ color: 0 0 0 0;
+ min: 15 15;
+ aspect: 1.0 1.0; aspect_preference: VERTICAL;
+ }
+ }
+ program {
+ signal: "mouse,down,1"; source: "left";
+ action: STATE_SET "clicked" 0.0;
+ target: "arrow1";
+ after: "left2";
+ } program { name: "left2";
+ action: SIGNAL_EMIT "elm,action,decrement,start" "elm";
+ }
+ program {
+ signal: "mouse,up,1"; source: "left";
+ action: STATE_SET "default" 0.0;
+ target: "arrow1";
+ after: "left3";
+ } program { name: "left3";
+ action: SIGNAL_EMIT "elm,action,decrement,stop" "elm";
+ }
+ part { name: "right"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.to: "inset";
+ rel1.offset: 1 1;
+ rel1.relative: 1.0 0.0;
+ rel2.to: "inset";
+ rel2.offset: 1 -2;
+ align: 1.0 0.5;
+ color: 0 0 0 0;
+ min: 15 15;
+ aspect: 1.0 1.0; aspect_preference: VERTICAL;
+ }
+ }
+ program {
+ signal: "mouse,down,1"; source: "right";
+ action: STATE_SET "clicked" 0.0;
+ target: "arrow2";
+ after: "right2";
+ } program { name: "right2";
+ action: SIGNAL_EMIT "elm,action,increment,start" "elm";
+ }
+ program {
+ signal: "mouse,up,1"; source: "right";
+ action: STATE_SET "default" 0.0;
+ target: "arrow2";
+ after: "right3";
+ } program { name: "right3";
+ action: SIGNAL_EMIT "elm,action,increment,stop" "elm";
+ }
+ part { name: "inset"; mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.offset: 0 1;
+ rel2.offset: -1 -2;
+ image.normal: "vert_bar_inset.png";
+ image.border: 1 1 8 6;
+ image.middle: 0;
+ fill.smooth: 0;
+ }
+ }
+ part { name: "access_text"; type: RECT; repeat_events: 1;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ rel1.to: "elm.text";
+ rel2.to: "elm.text";
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ program {
+ signal: "mouse,clicked,1"; source: "access_text";
+ action: SIGNAL_EMIT "elm,action,click" "elm";
+ }
+ part { name: "disabler"; type: RECT;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ program { name: "active";
+ signal: "elm,state,active"; source: "elm";
+ action: STATE_SET "active" 0.0;
+ target: "elm.text";
+ target: "elm.swallow.entry";
+ }
+ program { name: "inactive";
+ signal: "elm,state,inactive"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ target: "elm.swallow.entry";
+ }
+ program { name: "toggle_text";
+ signal: "mouse,clicked,1"; source: "elm.dragable.slider";
+ action: SIGNAL_EMIT "elm,action,entry,toggle" "elm";
+ }
+ program {
+ signal: "elm,state,enabled"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "arrow1";
+ target: "arrow2";
+ target: "access_text";
+ target: "disabler";
+ target: "elm.swallow.entry";
+ target: "elm.text";
+ }
+ program {
+ signal: "elm,state,disabled"; source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "arrow1";
+ target: "arrow2";
+ target: "access_text";
+ target: "disabler";
+ target: "elm.swallow.entry";
+ target: "elm.text";
+ }
+ }
+}
+
+group { name: "elm/spinner/base/vertical";
+ inherit: "elm/spinner/base/default";
+ images.image: "sym_up_light_normal.png" COMP;
+ images.image: "sym_up_glow_normal.png" COMP;
+ images.image: "sym_up_dark_normal.png" COMP;
+ images.image: "sym_down_light_normal.png" COMP;
+ images.image: "sym_down_glow_normal.png" COMP;
+ images.image: "sym_down_dark_normal.png" COMP;
+ parts {
+ part { name: "elm.text";
+ description { state: "default" 0.0;
+ rel1.to_x: "inset";
+ rel1.relative: 0.0 0.0;
+ rel1.offset: 1 1;
+ rel2.to_x: "left";
+ rel2.relative: 0.0 1.0;
+ rel2.offset: -2 -2;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: FN_COL_DISABLE;
+ color_class: "spinner_disabled";
+ }
+ description { state: "active" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "arrow1"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "sym_down_light_normal.png";
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "sym_down_glow_normal.png";
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "sym_down_dark_normal.png";
+ }
+ }
+ part { name: "arrow2"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "sym_up_light_normal.png";
+ FIXED_SIZE(15, 15)
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "sym_up_glow_normal.png";
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "sym_up_dark_normal.png";
+ }
+ }
+ part { name: "left";
+ description { state: "default" 0.0;
+ rel1.to: "right";
+ rel1.offset: -1 0;
+ rel2.to: "right";
+ rel2.offset: -1 -1;
+ align: 1.0 0.5;
+ }
+ }
+ }
+}
diff --git a/data/themes/default/edc/elm/thumb.edc b/data/themes/default/edc/elm/thumb.edc
new file mode 100644
index 0000000..f1fd361
--- /dev/null
+++ b/data/themes/default/edc/elm/thumb.edc
@@ -0,0 +1,134 @@
+group { name: "elm/thumb/base/default";
+ images.image: "knob_round_busy.png" COMP;
+ images.image: "glow_round_corners.png" COMP;
+ images.image: "shadow_square_tiny.png" COMP;
+ parts {
+ part { name: "shadow"; mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.offset: -3 -2;
+ rel1.to: "bg";
+ rel2.offset: 3 4;
+ rel2.to: "bg";
+ image.normal: "shadow_square_tiny.png";
+ image.border: 6 6 6 6;
+ fill.smooth: 0;
+ }
+ }
+ part { name: "bg"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.to: "elm.swallow.content";
+ rel2.to: "elm.swallow.content";
+ color: 64 64 64 255;
+ }
+ }
+ part { name: "clip"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.to: "elm.swallow.content";
+ rel2.to: "elm.swallow.content";
+ }
+ }
+ part { name: "elm.swallow.content"; type: SWALLOW;
+ clip_to: "clip";
+ description { state: "default" 0.0;
+ rel1.offset: 4 4;
+ rel2.offset: -5 -5;
+ }
+ }
+ part { name: "busy_clip"; type: RECT;
+ description { state: "default" 0.0;
+ visible: 0;
+ color: 255 255 255 0;
+ }
+ description { state: "active" 0.0;
+ visible: 1;
+ color: 255 255 255 255;
+ }
+ }
+ part { name: "knob"; mouse_events: 0;
+ clip_to: "busy_clip";
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ image.normal: "knob_round_busy.png";
+ min: 40 40;
+ max: 40 40;
+ rel1.to: "bg";
+ rel2.to: "bg";
+ }
+ }
+ part { name: "knob_spinner"; mouse_events: 0;
+ clip_to: "busy_clip";
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.to: "knob";
+ rel2.to: "knob";
+ image.normal: "glow_round_corners.png";
+ map.on: 1;
+ map.smooth: 1;
+ map.rotation.center: "knob";
+ }
+ description { state: "spin" 0.0;
+ inherit: "default" 0.0;
+ map.rotation.z: 360;
+ }
+ }
+ }
+ programs {
+ program { name: "spin";
+ signal: "elm,state,pulse,start";
+ source: "elm";
+ action: STATE_SET "spin" 0.0;
+ transition: LINEAR 1.0;
+ target: "knob_spinner";
+ after: "spin2";
+ }
+ program { name: "spin2";
+ action: STATE_SET "default" 0.0;
+ target: "knob_spinner";
+ after: "spin";
+ }
+ program { name: "pulse_start";
+ signal: "elm,state,pulse,start";
+ source: "elm";
+ action: STATE_SET "active" 0.0;
+ transition: SINUSOIDAL 0.25;
+ target: "busy_clip";
+ }
+ program { name: "pulse_stop";
+ signal: "elm,state,pulse,stop";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: SINUSOIDAL 1.0;
+ target: "busy_clip";
+ after: "spin3";
+ }
+ program { name: "spin3";
+ action: ACTION_STOP;
+ target: "spin";
+ target: "spin2";
+ after: "spin4";
+ }
+ program { name: "spin4";
+ action: STATE_SET "default" 0.0;
+ target: "knob_spinner";
+ }
+ }
+}
+
+group { name: "elm/thumb/base/noframe";
+ inherit: "elm/thumb/base/default";
+ parts {
+ part { name: "shadow"; mouse_events: 0;
+ description { state: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "bg"; mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.offset: 0 0;
+ rel2.offset: -1 -1;
+ visible: 0;
+ }
+ }
+ }
+}
+
diff --git a/data/themes/default/edc/elm/toolbar.edc b/data/themes/default/edc/elm/toolbar.edc
new file mode 100644
index 0000000..f9303f6
--- /dev/null
+++ b/data/themes/default/edc/elm/toolbar.edc
@@ -0,0 +1,1400 @@
+// === toolbar default base with scrolling arrows etc.
+group { name: "elm/toolbar/base/default";
+ images.image: "vgrad_med_lighter.png" COMP;
+ images.image: "bevel_out.png" COMP;
+ images.image: "shine.png" COMP;
+ images.image: "shadow_square_tiny.png" COMP;
+ images.image: "sym_left_light_normal.png" COMP;
+ images.image: "sym_left_glow_normal.png" COMP;
+ images.image: "sym_right_light_normal.png" COMP;
+ images.image: "sym_right_glow_normal.png" COMP;
+ images.image: "sym_up_light_normal.png" COMP;
+ images.image: "sym_up_glow_normal.png" COMP;
+ images.image: "sym_down_light_normal.png" COMP;
+ images.image: "sym_down_glow_normal.png" COMP;
+ parts {
+ part { name: "shadow"; mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.offset: -1 0;
+ rel2.offset: 0 1;
+ image.normal: "shadow_square_tiny.png";
+ image.border: 6 6 6 6;
+ fill.smooth: 0;
+ }
+ }
+ part { name: "base";
+ description { state: "default" 0.0;
+ image.normal: "vgrad_med_lighter.png";
+ rel1.offset: 2 2;
+ rel2.offset: -3 -3;
+ fill.smooth: 0;
+ TILED_HORIZ(120)
+ }
+ }
+ part { name: "clipper"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.to: "base";
+ rel2.to: "base";
+ }
+ }
+ part { name: "elm.swallow.content"; type: SWALLOW;
+ clip_to: "clipper";
+ description { state: "default" 0.0;
+ rel1.offset: 2 2;
+ rel2.offset: -3 -3;
+ }
+ }
+ part { name: "bevel"; mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.to: "base";
+ rel2.to: "base";
+ image.normal: "bevel_out.png";
+ image.border: 1 1 1 1;
+ image.middle: 0;
+ fill.smooth: 0;
+ }
+ }
+
+ part { name: "arrow_clipper_l"; type: RECT;
+ description { state: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "arrow_l"; mouse_events: 0;
+ clip_to: "arrow_clipper_l";
+ description { state: "default" 0.0;
+ rel1.to: "arrow_l_ev";
+ rel2.to: "arrow_l_ev";
+ image.normal: "sym_left_light_normal.png";
+ FIXED_SIZE(15, 15)
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "sym_left_glow_normal.png";
+ }
+ }
+ part { name: "arrow_l_ev"; type: RECT;
+ scale: 1;
+ clip_to: "arrow_clipper_l";
+ description { state: "default" 0.0;
+ rel1.to: "base";
+ rel2.to: "base";
+ align: 0.0 0.5;
+ color: 0 0 0 0;
+ FIXED_SIZE(23, 23)
+ }
+ }
+
+ part { name: "arrow_clipper_r"; type: RECT;
+ description { state: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "arrow_r"; mouse_events: 0;
+ clip_to: "arrow_clipper_r";
+ description { state: "default" 0.0;
+ rel1.to: "arrow_r_ev";
+ rel2.to: "arrow_r_ev";
+ image.normal: "sym_right_light_normal.png";
+ FIXED_SIZE(15, 15)
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "sym_right_glow_normal.png";
+ }
+ }
+ part { name: "arrow_r_ev"; type: RECT;
+ scale: 1;
+ clip_to: "arrow_clipper_r";
+ description { state: "default" 0.0;
+ rel1.to: "base";
+ rel2.to: "base";
+ align: 1.0 0.5;
+ color: 0 0 0 0;
+ FIXED_SIZE(23, 23)
+ }
+ }
+ part { name: "shine"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "shine.png";
+ rel1.offset: 0 -2;
+ rel1.to: "base";
+ rel2.relative: 1.0 0.0;
+ rel2.offset: -1 2;
+ rel2.to: "base";
+ FIXED_SIZE(69, 5)
+ }
+ }
+
+ part { name: "arrow_clipper_u"; type: RECT;
+ description { state: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "arrow_u"; mouse_events: 0;
+ clip_to: "arrow_clipper_u";
+ description { state: "default" 0.0;
+ rel1.to: "arrow_u_ev";
+ rel2.to: "arrow_u_ev";
+ image.normal: "sym_up_light_normal.png";
+ FIXED_SIZE(15, 15)
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "sym_up_glow_normal.png";
+ }
+ }
+ part { name: "arrow_u_ev"; type: RECT;
+ scale: 1;
+ clip_to: "arrow_clipper_u";
+ description { state: "default" 0.0;
+ rel1.to: "base";
+ rel2.to: "base";
+ align: 0.5 0.0;
+ color: 0 0 0 0;
+ FIXED_SIZE(23, 23)
+ }
+ }
+
+ part { name: "arrow_clipper_d"; type: RECT;
+ description { state: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "arrow_d"; mouse_events: 0;
+ clip_to: "arrow_clipper_d";
+ description { state: "default" 0.0;
+ rel1.to: "arrow_d_ev";
+ rel2.to: "arrow_d_ev";
+ image.normal: "sym_down_light_normal.png";
+ FIXED_SIZE(15, 15)
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "sym_down_glow_normal.png";
+ }
+ }
+ part { name: "arrow_d_ev"; type: RECT;
+ scale: 1;
+ clip_to: "arrow_clipper_d";
+ description { state: "default" 0.0;
+ rel1.to: "base";
+ rel2.to: "base";
+ align: 0.5 1.0;
+ color: 0 0 0 0;
+ FIXED_SIZE(23, 23)
+ }
+ }
+ }
+ programs {
+// program {
+// signal: "elm,orient,horizontal"; source: "elm";
+// }
+// program {
+// signal: "elm,orient,vertical"; source: "elm";
+// }
+ program {
+ signal: "elm,action,show,left"; source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "arrow_clipper_l";
+ target: "arrow_clipper_l";
+ }
+ program {
+ signal: "elm,action,hide,left"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "arrow_clipper_l";
+ target: "arrow_clipper_l";
+ }
+ program {
+ signal: "mouse,down,1*"; source: "arrow_l_ev";
+ action: SIGNAL_EMIT "elm,action,left" "elm";
+ after: "arrow_l_repeat";
+ }
+ program { name: "arrow_l_repeat";
+ action: SIGNAL_EMIT "elm,action,left" "elm";
+ in: 0.3 0.0;
+ after: "arrow_l_repeat";
+ }
+ program {
+ signal: "mouse,up,1"; source: "arrow_l_ev";
+ action: ACTION_STOP;
+ target: "arrow_l_repeat";
+ }
+ program {
+ signal: "mouse,down,1*"; source: "arrow_l_ev";
+ action: STATE_SET "clicked" 0.0;
+ target: "arrow_l";
+ }
+ program {
+ signal: "mouse,up,1"; source: "arrow_l_ev";
+ action: STATE_SET "default" 0.0;
+ target: "arrow_l";
+ }
+
+ program {
+ signal: "elm,action,show,right"; source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "arrow_clipper_r";
+ target: "arrow_clipper_r";
+ }
+ program {
+ signal: "elm,action,hide,right"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "arrow_clipper_r";
+ target: "arrow_clipper_r";
+ }
+ program {
+ signal: "mouse,down,1*"; source: "arrow_r_ev";
+ action: SIGNAL_EMIT "elm,action,right" "elm";
+ after: "arrow_r_repeat";
+ }
+ program { name: "arrow_r_repeat";
+ action: SIGNAL_EMIT "elm,action,right" "elm";
+ in: 0.3 0.0;
+ after: "arrow_r_repeat";
+ }
+ program {
+ signal: "mouse,up,1"; source: "arrow_r_ev";
+ action: ACTION_STOP;
+ target: "arrow_r_repeat";
+ }
+ program {
+ signal: "mouse,down,1*"; source: "arrow_r_ev";
+ action: STATE_SET "clicked" 0.0;
+ target: "arrow_r";
+ }
+ program {
+ signal: "mouse,up,1"; source: "arrow_r_ev";
+ action: STATE_SET "default" 0.0;
+ target: "arrow_r";
+ }
+
+ program {
+ signal: "elm,action,show,up"; source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "arrow_clipper_u";
+ target: "arrow_clipper_u";
+ }
+ program {
+ signal: "elm,action,hide,up"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "arrow_clipper_u";
+ target: "arrow_clipper_u";
+ }
+ program {
+ signal: "mouse,down,1*"; source: "arrow_u_ev";
+ action: SIGNAL_EMIT "elm,action,up" "elm";
+ after: "arrow_u_repeat";
+ }
+ program { name: "arrow_u_repeat";
+ action: SIGNAL_EMIT "elm,action,up" "elm";
+ in: 0.3 0.0;
+ after: "arrow_u_repeat";
+ }
+ program {
+ signal: "mouse,up,1"; source: "arrow_u_ev";
+ action: ACTION_STOP;
+ target: "arrow_u_repeat";
+ }
+ program {
+ signal: "mouse,down,1*"; source: "arrow_u_ev";
+ action: STATE_SET "clicked" 0.0;
+ target: "arrow_u";
+ }
+ program {
+ signal: "mouse,up,1"; source: "arrow_u_ev";
+ action: STATE_SET "default" 0.0;
+ target: "arrow_u";
+ }
+
+ program {
+ signal: "elm,action,show,down"; source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "arrow_clipper_d";
+ target: "arrow_clipper_d";
+ }
+ program {
+ signal: "elm,action,hide,down"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "arrow_clipper_d";
+ target: "arrow_clipper_d";
+ }
+ program {
+ signal: "mouse,down,1*"; source: "arrow_d_ev";
+ action: SIGNAL_EMIT "elm,action,down" "elm";
+ after: "arrow_d_repeat";
+ }
+ program { name: "arrow_d_repeat";
+ action: SIGNAL_EMIT "elm,action,down" "elm";
+ in: 0.3 0.0;
+ after: "arrow_d_repeat";
+ }
+ program {
+ signal: "mouse,up,1"; source: "arrow_d_ev";
+ action: ACTION_STOP;
+ target: "arrow_d_repeat";
+ }
+ program {
+ signal: "mouse,down,1*"; source: "arrow_d_ev";
+ action: STATE_SET "clicked" 0.0;
+ target: "arrow_d";
+ }
+ program {
+ signal: "mouse,up,1"; source: "arrow_d_ev";
+ action: STATE_SET "default" 0.0;
+ target: "arrow_d";
+ }
+ }
+}
+
+// === item: standard default item
+group { name: "elm/toolbar/item/default";
+ data.item: "transition_animation_on" "1";
+ data.item: "focusraise" "on";
+
+ images.image: "shadow_inset_bevels.png" COMP;
+ images.image: "shadow_angled_in_sides.png" COMP;
+ images.image: "horizontal_separated_bar_small_glow.png" COMP;
+ images.image: "bevel_dark_in.png" COMP;
+#define ICON 1
+#define LABEL 2
+#define MASK 3
+#define DISABLE 4
+ script {
+ public btmode;
+ public eval_mode(m) {
+ new m1 = m & MASK;
+ new d = m & DISABLE;
+ if (m1 == (ICON | LABEL)) {
+ if (!d) {
+ set_state(PART:"elm.swallow.icon", "default", 0.0);
+ set_state(PART:"icon_clip", "default", 0.0);
+ set_state(PART:"elm.text", "default", 0.0);
+ set_state(PART:"label2", "default", 0.0);
+ } else {
+ set_state(PART:"elm.swallow.icon", "default", 0.0);
+ set_state(PART:"icon_clip", "disabled", 0.0);
+ set_state(PART:"elm.text", "disabled", 0.0);
+ set_state(PART:"label2", "default", 0.0);
+ }
+ } else if (m1 == (ICON)) {
+ if (!d) {
+ set_state(PART:"elm.swallow.icon", "icononly", 0.0);
+ set_state(PART:"icon_clip", "default", 0.0);
+ set_state(PART:"elm.text", "icononly", 0.0);
+ set_state(PART:"label2", "icononly", 0.0);
+ } else {
+ set_state(PART:"elm.swallow.icon", "icononly", 0.0);
+ set_state(PART:"icon_clip", "disabled", 0.0);
+ set_state(PART:"elm.text", "icononly", 0.0);
+ set_state(PART:"label2", "icononly", 0.0);
+ }
+ } else if (m1 == (LABEL)) {
+ if (!d) {
+ set_state(PART:"elm.swallow.icon", "noicon", 0.0);
+ set_state(PART:"icon_clip", "default", 0.0);
+ set_state(PART:"elm.text", "noicon", 0.0);
+ set_state(PART:"label2", "noicon", 0.0);
+ } else {
+ set_state(PART:"elm.swallow.icon", "noicon", 0.0);
+ set_state(PART:"icon_clip", "disabled", 0.0);
+ set_state(PART:"elm.text", "noicon_disabled", 0.0);
+ set_state(PART:"label2", "noicon_disabled", 0.0);
+ }
+ } else {
+ if (!d) {
+ set_state(PART:"elm.swallow.icon", "noicon", 0.0);
+ set_state(PART:"icon_clip", "default", 0.0);
+ set_state(PART:"elm.text", "noicon", 0.0);
+ set_state(PART:"label2", "noicon", 0.0);
+ } else {
+ set_state(PART:"elm.swallow.icon", "noicon", 0.0);
+ set_state(PART:"icon_clip", "disabled", 0.0);
+ set_state(PART:"elm.text", "noicon_disabled", 0.0);
+ set_state(PART:"label2", "noicon_disabled", 0.0);
+ }
+ }
+ }
+ }
+ parts {
+ part { name: "base"; type: SPACER;
+ description { state: "default" 0.0;
+ }
+ description { state: "vert" 0.0;
+ rel1.offset: -1 0;
+ rel2.offset: 0 -1;
+ }
+ }
+ part { name: "shadow1"; mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.to: "base";
+ rel2.to: "base";
+ image.normal: "shadow_inset_bevels.png";
+ image.border: 2 2 0 1;
+ visible: 0;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "shadow2"; mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.offset: 1 0;
+ rel1.to: "shadow1";
+ rel2.offset: -2 -1;
+ rel2.to: "shadow1";
+ image.normal: "shadow_angled_in_sides.png";
+ image.border: 8 8 0 1;
+ image.middle: 0;
+ visible: 0;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "bend_clip"; type: RECT;
+ description { state: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "vert" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "bend";
+ clip_to: "bend_clip";
+ description { state: "default" 0.0;
+ min: 2 2;
+ max: 99999 2;
+ rel2.offset: -1 1;
+ rel2.relative: 1.0 0.0;
+ image.normal: "bevel_dark_in.png";
+ image.border: 2 2 2 2;
+ fill.smooth: 0;
+ visible: 0;
+ fixed: 1 1;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+
+ part { name: "icon_clip"; type: RECT;
+ description { state: "default" 0.0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 64;
+ }
+ }
+ part { name: "icon_clip1"; type: RECT;
+ clip_to: "icon_clip";
+ description { state: "default" 0.0;
+ color: 255 255 255 255;
+ visible: 1;
+ }
+ description { state: "animation" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.swallow.icon"; type: SWALLOW;
+ clip_to: "icon_clip1";
+ description { state: "default" 0.0;
+ align: 0.5 0.5;
+ rel1.relative: 0.0 0.0;
+ rel1.offset: 2 2;
+ rel2.to_y: "elm.text";
+ rel2.relative: 1.0 0.0;
+ rel2.offset: -3 -1;
+ }
+ description { state: "noicon" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ rel1.offset: 2 0;
+ rel2.relative: 1.0 0.0;
+ rel2.offset: -3 -4;
+ }
+ description { state: "icononly" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ rel2.relative: 1.0 1.0;
+ rel2.offset: -3 -3;
+ rel2.to_y: "icon_clip";
+ }
+ }
+ part { name: "icon_clip2"; type: RECT;
+ clip_to: "icon_clip";
+ description { state: "default" 0.0;
+ color: 255 255 255 0;
+ visible: 0;
+ }
+ description { state: "animation" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 255;
+ visible: 1;
+ }
+ }
+ part { name: "elm.swallow.icon_new"; type: SWALLOW;
+ clip_to: "icon_clip2";
+ description { state: "default" 0.0;
+ align: 0.5 0.5;
+ rel1.relative: 0.0 0.0;
+ rel1.offset: 2 2;
+ rel2.to_y: "elm.text";
+ rel2.relative: 1.0 0.0;
+ rel2.offset: -3 -1;
+ }
+ description { state: "noicon" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ rel1.offset: 2 0;
+ rel2.relative: 1.0 0.0;
+ rel2.offset: -3 -4;
+ }
+ description { state: "icononly" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ rel2.relative: 1.0 1.0;
+ rel2.offset: -3 -3;
+ rel2.to_y: "icon_clip";
+ }
+ }
+
+ part { name: "text_clip1"; type: RECT;
+ description { state: "default" 0.0;
+ color: 255 255 255 255;
+ visible: 1;
+ }
+ description { state: "animation" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.text"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ clip_to: "text_clip1";
+ description { state: "default" 0.0;
+ rel1.offset: 4 -3;
+ rel1.relative: 0.0 1.0;
+ rel2.offset: -5 -3;
+ align: 0.5 1.0;
+ color: FN_COL_DEFAULT;
+ color_class: "toolbar_item";
+ text { font: FN; size: 10;
+ min: 1 1;
+ ellipsis: -1;
+ align: 0.5 0.5;
+ text_class: "toolbar_item";
+ }
+ fixed: 0 1;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ color_class: "toolbar_item_selected";
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: FN_COL_DISABLE;
+ color_class: "toolbar_item_disabled";
+ }
+ description { state: "noicon" 0.0;
+ inherit: "default" 0.0;
+ rel1.offset: 4 2;
+ rel1.relative: 0.0 0.0;
+ align: 0.5 0.5;
+ }
+ description { state: "noicon_disabled" 0.0;
+ inherit: "noicon" 0.0;
+ color: FN_COL_DISABLE;
+ color_class: "toolbar_item_disabled";
+ }
+ description { state: "icononly" 0.0;
+ inherit: "default" 0.0;
+ text.min: 0 0;
+ visible: 0;
+ fixed: 1 1;
+ }
+ }
+ part { name: "label2"; type: TEXT; mouse_events: 0;
+ effect: GLOW;
+ scale: 1;
+ clip_to: "text_clip1";
+ description { state: "default" 0.0;
+ rel1.offset: -3 -3;
+ rel1.to: "elm.text";
+ rel2.offset: 2 1;
+ rel2.to: "elm.text";
+ color: FN_COL_HIGHLIGHT;
+ color_class: "toolbar_item_active";
+ text { font: FN; size: 10;
+ text_source: "elm.text";
+ align: 0.5 0.5;
+ text_class: "toolbar_item";
+ }
+ visible: 0;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "noicon" 0.0;
+ inherit: "default" 0.0;
+ }
+ description { state: "noicon_disabled" 0.0;
+ inherit: "noicon" 0.0;
+ }
+ description { state: "icononly" 0.0;
+ inherit: "default" 0.0;
+ text.min: 0 0;
+ visible: 0;
+ fixed: 1 1;
+ }
+ }
+ part { name: "text_clip2"; type: RECT;
+ description { state: "default" 0.0;
+ color: 255 255 255 0;
+ visible: 0;
+ }
+ description { state: "animation" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 255;
+ visible: 1;
+ }
+ }
+ part { name: "elm.text_new"; type: TEXT; mouse_events: 0;
+ effect: SHADOW BOTTOM;
+ scale: 1;
+ clip_to: "text_clip2";
+ description { state: "default" 0.0;
+ rel1.offset: 4 -3;
+ rel1.relative: 0.0 1.0;
+ rel2.offset: -5 -3;
+ align: 0.5 1.0;
+ color: FN_COL_DEFAULT;
+ color_class: "toolbar_item";
+ text { font: FN; size: 10;
+ min: 1 1;
+ ellipsis: -1;
+ align: 0.5 0.5;
+ text_class: "toolbar_item";
+ }
+ fixed: 0 1;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ color_class: "toolbar_item_selected";
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: FN_COL_DISABLE;
+ color_class: "toolbar_item_disabled";
+ }
+ description { state: "noicon" 0.0;
+ inherit: "default" 0.0;
+ rel1.offset: 4 2;
+ rel1.relative: 0.0 0.0;
+ align: 0.5 0.5;
+ }
+ description { state: "noicon_disabled" 0.0;
+ inherit: "noicon" 0.0;
+ color: FN_COL_DISABLE;
+ color_class: "toolbar_item_disabled";
+ }
+ description { state: "icononly" 0.0;
+ inherit: "default" 0.0;
+ text.min: 0 0;
+ visible: 0;
+ fixed: 1 1;
+ }
+ }
+ part { name: "label2_new"; type: TEXT; mouse_events: 0;
+ effect: GLOW;
+ scale: 1;
+ clip_to: "text_clip2";
+ description { state: "default" 0.0;
+ rel1.offset: -3 -3;
+ rel1.to: "elm.text";
+ rel2.offset: 2 1;
+ rel2.to: "elm.text";
+ color: FN_COL_HIGHLIGHT;
+ color_class: "toolbar_item_active";
+ text { font: FN; size: 10;
+ text_source: "elm.text";
+ align: 0.5 0.5;
+ text_class: "toolbar_item";
+ }
+ visible: 0;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "noicon" 0.0;
+ inherit: "default" 0.0;
+ }
+ description { state: "noicon_disabled" 0.0;
+ inherit: "noicon" 0.0;
+ }
+ description { state: "icononly" 0.0;
+ inherit: "default" 0.0;
+ text.min: 0 0;
+ visible: 0;
+ fixed: 1 1;
+ }
+ }
+
+ part { name: "bar"; mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.offset: -3 -7;
+ rel1.relative: 0.0 1.0;
+ rel1.to: "shadow2";
+ rel2.offset: 2 2;
+ rel2.to: "shadow2";
+ image.normal: "horizontal_separated_bar_small_glow.png";
+ image.border: 4 4 4 4;
+ fill.smooth: 0;
+ visible: 0;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "highlight"; mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.offset: -3 -7;
+ rel1.relative: 0.0 1.0;
+ rel1.to: "shadow2";
+ rel2.offset: 2 2;
+ rel2.to: "shadow2";
+ image.normal: "horizontal_separated_bar_small_glow.png";
+ image.border: 4 4 4 4;
+ fill.smooth: 0;
+ visible: 0;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "event"; type: RECT;
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ }
+ programs {
+ program {
+ signal: "elm,orient,horizontal"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ target: "bend_clip";
+ }
+ program {
+ signal: "elm,orient,vertical"; source: "elm";
+ action: STATE_SET "vert" 0.0;
+ target: "base";
+ target: "bend_clip";
+ }
+
+ program { name: "st0";
+ signal: "load"; source: "";
+ script {
+ set_int(btmode, LABEL | ICON);
+ }
+ }
+
+ program {
+ signal: "elm,state,selected"; source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "shadow1";
+ target: "shadow2";
+ target: "bar";
+ target: "bend";
+ }
+ program {
+ signal: "elm,state,unselected"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ target: "label2";
+ target: "shadow1";
+ target: "shadow2";
+ target: "bar";
+ target: "bend";
+ }
+ program {
+ signal: "mouse,up,1"; source: "event";
+ action: SIGNAL_EMIT "elm,action,click" "elm";
+ }
+
+ program {
+ signal: "elm,highlight,on"; source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "highlight";
+ }
+ program {
+ signal: "elm,highlight,off"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "highlight";
+ }
+
+ program {
+ signal: "mouse,in"; source: "event";
+ action: SIGNAL_EMIT "elm,mouse,in" "elm";
+ }
+ program { name: "mouse,out";
+ signal: "mouse,out"; source: "event";
+ action: SIGNAL_EMIT "elm,mouse,out" "elm";
+ }
+
+ program { name: "st1";
+ signal: "elm,text,hidden"; source: "elm";
+ action: STATE_SET "notext" 0.0;
+ script {
+ new m = get_int(btmode);
+ m &= ~LABEL; set_int(btmode, m);
+ eval_mode(m);
+ }
+ }
+ program { name: "st2";
+ signal: "elm,text,visible"; source: "elm";
+ script {
+ new m = get_int(btmode);
+ m |= LABEL; set_int(btmode, m);
+ eval_mode(m);
+ }
+ }
+ program { name: "st3";
+ signal: "elm,icon,hidden"; source: "elm";
+ script {
+ new m = get_int(btmode);
+ m |= ICON; set_int(btmode, m);
+ eval_mode(m);
+ }
+ }
+ program { name: "st4";
+ signal: "elm,icon,visible"; source: "elm";
+ script {
+ new m = get_int(btmode);
+ m &= ~ICON; set_int(btmode, m);
+ eval_mode(m);
+ }
+ }
+ program { name: "st5";
+ signal: "elm,state,disabled"; source: "elm";
+ script {
+ new m = get_int(btmode);
+ m |= DISABLE; set_int(btmode, m);
+ eval_mode(m);
+ }
+ }
+ program { name: "st6";
+ signal: "elm,state,enabled"; source: "elm";
+ script {
+ new m = get_int(btmode);
+ m &= ~DISABLE; set_int(btmode, m);
+ eval_mode(m);
+ }
+ }
+
+ program {
+ signal: "elm,state,moving"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "shadow1";
+ target: "shadow2";
+ }
+
+ program {
+ signal: "elm,state,icon_set,forward"; source: "elm";
+ after: "icon_set,animation";
+ }
+ program {
+ signal: "elm,state,icon_set,backward"; source: "elm";
+ after: "icon_set,animation";
+ }
+ program { name: "icon_set,animation";
+ signal: "elm,state,icon_set"; source: "elm";
+ action: STATE_SET "animation" 0.0;
+ target: "icon_clip1";
+ target: "icon_clip2";
+ transition: LINEAR 0.2;
+ after: "icon_set,animation,done";
+ }
+ program { name: "icon_set,animation,done";
+ action: SIGNAL_EMIT "elm,state,icon_set,done" "elm";
+ }
+
+ program {
+ signal: "elm,state,icon,reset"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "icon_clip1";
+ target: "icon_clip2";
+ }
+
+ program {
+ signal: "elm,state,label_set,forward"; source: "elm";
+ after: "label_set,animation";
+ }
+ program {
+ signal: "elm,state,label_set,backward"; source: "elm";
+ after: "label_set,animation";
+ }
+ program { name: "label_set,animation";
+ signal: "elm,state,label_set"; source: "elm";
+ action: STATE_SET "animation" 0.0;
+ target: "text_clip1";
+ target: "text_clip2";
+ transition: LINEAR 0.2;
+ after: "label_set,animation,done";
+ }
+ program { name: "label_set,animation,done";
+ action: SIGNAL_EMIT "elm,state,label_set,done" "elm";
+ }
+
+ program {
+ signal: "elm,state,label,reset"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "text_clip1";
+ target: "text_clip2";
+ }
+ }
+#undef ICON
+#undef LABEL
+#undef MASK
+#undef DISABLE
+}
+
+// === item: style assumed to exist
+group { name: "elm/toolbar/item/item_horizontal";
+ inherit: "elm/toolbar/item/default";
+ parts {
+ part { name: "elm.swallow.icon";
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ aspect_preference: VERTICAL;
+ align: 0.0 0.5;
+ rel1.offset: 2 2;
+ rel2.relative: 0.0 1.0;
+ rel2.offset: 2 -3;
+ }
+ description { state: "noicon" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ rel1.offset: 1 0;
+ rel2.relative: 0.0 1.0;
+ rel2.offset: 1 -3;
+ }
+ description { state: "icononly" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ rel2.relative: 1.0 1.0;
+ rel2.offset: -3 -3;
+ rel2.to_y: "icon_clip";
+ }
+ }
+ part { name: "elm.swallow.icon_new";
+ description { state: "default" 0.0;
+ aspect_preference: VERTICAL;
+ align: 0.0 0.5;
+ rel1.offset: 2 2;
+ rel2.relative: 0.0 1.0;
+ rel2.offset: 2 -3;
+ }
+ description { state: "noicon" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ rel1.offset: 1 0;
+ rel2.relative: 0.0 1.0;
+ rel2.offset: 1 -3;
+ }
+ description { state: "icononly" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ rel2.relative: 1.0 1.0;
+ rel2.offset: -3 -3;
+ rel2.to_y: "icon_clip";
+ }
+ }
+ part { name: "elm.text";
+ description { state: "default" 0.0;
+ rel1.offset: 1 2;
+ rel1.relative: 1.0 0.0;
+ rel1.to_x: "elm.swallow.icon";
+ rel2.offset: -5 -3;
+ align: 0.0 0.5;
+ color: FN_COL_DEFAULT;
+ color_class: "toolbar_item";
+ text { font: FN; size: 10;
+ min: 1 1;
+ ellipsis: -1;
+ align: 0.0 0.5;
+ text_class: "toolbar_item";
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ color_class: "toolbar_item_selected";
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: FN_COL_DISABLE;
+ color_class: "toolbar_item_disabled";
+ }
+ description { state: "noicon" 0.0;
+ inherit: "default" 0.0;
+ rel1.offset: 4 2;
+ rel1.relative: 0.0 0.0;
+ rel1.to: "icon_clip";
+ align: 0.5 0.5;
+ }
+ description { state: "noicon_disabled" 0.0;
+ inherit: "noicon" 0.0;
+ color: FN_COL_DISABLE;
+ color_class: "toolbar_item_disabled";
+ }
+ description { state: "icononly" 0.0;
+ inherit: "default" 0.0;
+ text.min: 0 0;
+ visible: 0;
+ fixed: 1 1;
+ }
+ }
+ part { name: "label2";
+ description { state: "default" 0.0;
+ rel1.offset: -2 -3;
+ text.align: 0.0 0.5;
+ align: 0.0 0.5;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "noicon" 0.0;
+ inherit: "default" 0.0;
+ }
+ description { state: "noicon_disabled" 0.0;
+ inherit: "noicon" 0.0;
+ }
+ }
+ part { name: "elm.text_new";
+ description { state: "default" 0.0;
+ rel1.offset: 1 2;
+ rel1.relative: 1.0 0.0;
+ rel1.to_x: "elm.swallow.icon";
+ rel2.offset: -5 -3;
+ align: 0.0 0.5;
+ color: FN_COL_DEFAULT;
+ color_class: "toolbar_item";
+ text { font: FN; size: 10;
+ min: 1 1;
+ ellipsis: -1;
+ align: 0.0 0.5;
+ text_class: "toolbar_item";
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ color_class: "toolbar_item_selected";
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: FN_COL_DISABLE;
+ color_class: "toolbar_item_disabled";
+ }
+ description { state: "noicon" 0.0;
+ inherit: "default" 0.0;
+ rel1.offset: 4 2;
+ rel1.relative: 0.0 0.0;
+ rel1.to: "icon_clip";
+ align: 0.5 0.5;
+ }
+ description { state: "noicon_disabled" 0.0;
+ inherit: "noicon" 0.0;
+ color: FN_COL_DISABLE;
+ color_class: "toolbar_item_disabled";
+ }
+ description { state: "icononly" 0.0;
+ inherit: "default" 0.0;
+ text.min: 0 0;
+ visible: 0;
+ fixed: 1 1;
+ }
+ }
+ part { name: "label2_new";
+ description { state: "default" 0.0;
+ rel1.offset: -2 -3;
+ text.align: 0.0 0.5;
+ align: 0.0 0.5;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "noicon" 0.0;
+ inherit: "default" 0.0;
+ }
+ description { state: "noicon_disabled" 0.0;
+ inherit: "noicon" 0.0;
+ }
+ }
+ }
+}
+
+// === item: style assumed to exist
+// XXX: vert vs horiz (should emit)
+// XXX: seriously... why do we have this style?
+group { name: "elm/toolbar/item/item_centered";
+ inherit: "elm/toolbar/item/default";
+ parts {
+ }
+}
+
+// === separator
+group { name: "elm/toolbar/separator/default";
+ images.image: "bevel_dark_in.png" COMP;
+ parts {
+ part { name: "base";
+ description { state: "default" 0.0;
+ min: 2 2;
+ max: 2 99999;
+ rel1.offset: 4 0;
+ rel2.offset: -5 -1;
+ image.normal: "bevel_dark_in.png";
+ image.border: 2 2 2 2;
+ fill.smooth: 0;
+ }
+ description { state: "vert" 0.0;
+ inherit: "default" 0.0;
+ max: 99999 2;
+ rel1.offset: 0 4;
+ rel2.offset: -1 -5;
+ }
+ }
+ }
+ programs {
+ program {
+ signal: "elm,orient,horizontal"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ }
+ program {
+ signal: "elm,orient,vertical"; source: "elm";
+ action: STATE_SET "vert" 0.0;
+ target: "base";
+ }
+ }
+}
+
+// === item: just a regular object holder in the toolbar for any child
+group { name: "elm/toolbar/object/default";
+ images.image: "horizontal_separated_bar_small_glow.png" COMP;
+ parts {
+ part { name: "elm.swallow.object"; type: SWALLOW;
+ description { state: "default" 0.0;
+ rel1.offset: 2 2;
+ rel2.offset: -3 -3;
+ }
+ }
+ part { name: "highlight"; mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.offset: -3 -7;
+ rel1.relative: 0.0 1.0;
+ rel2.offset: 2 2;
+ image.normal: "horizontal_separated_bar_small_glow.png";
+ image.border: 4 4 4 4;
+ fill.smooth: 0;
+ visible: 0;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ program {
+ signal: "elm,highlight,on"; source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "highlight";
+ }
+ program {
+ signal: "elm,highlight,off"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "highlight";
+ }
+ }
+}
+
+// === item: the more PANEL that slides out under the toolbar
+// XXX: vert vs horiz (should emit)
+group { name: "elm/toolbar/more/default";
+ images.image: "vgrad_med_lighter.png" COMP;
+ images.image: "bevel_out.png" COMP;
+ images.image: "shine.png" COMP;
+ images.image: "shadow_square_tiny.png" COMP;
+ parts {
+ part { name: "shadow"; mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.offset: -3 -2;
+ rel1.to: "base";
+ rel2.offset: 2 3;
+ rel2.to: "base";
+ image.normal: "shadow_square_tiny.png";
+ image.border: 6 6 6 6;
+ fill.smooth: 0;
+ visible: 0;
+ }
+ description { state: "open" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "open2" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "base";
+ description { state: "default" 0.0;
+ image.normal: "vgrad_med_lighter.png";
+ rel2.relative: 1.0 0.0;
+ rel1.offset: 2 2;
+ rel2.offset: -3 1;
+ fill.smooth: 0;
+ fixed: 1 1;
+ visible: 0;
+ TILED_HORIZ(120)
+ }
+ description { state: "open" 0.0;
+ inherit: "default" 0.0;
+ rel2.relative: 1.0 1.0;
+ rel2.offset: -3 -3;
+ visible: 1;
+ }
+ description { state: "open2" 0.0;
+ inherit: "default" 0.0;
+ rel2.relative: 1.0 2.0;
+ rel2.offset: -3 -3;
+ visible: 1;
+ }
+ }
+ part { name: "clipper"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.to: "base";
+ rel2.to: "base";
+ fixed: 1 1;
+ visible: 0;
+ }
+ description { state: "open" 0.0;
+ inherit: "default" 0.0;
+ rel2.relative: 1.0 1.0;
+ visible: 1;
+ }
+ description { state: "open2" 0.0;
+ inherit: "default" 0.0;
+ rel2.relative: 1.0 0.5;
+ visible: 1;
+ }
+ }
+ part { name: "clipper2"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.relative: 0.0 0.5;
+ rel1.to: "base";
+ rel2.to: "base";
+ fixed: 1 1;
+ visible: 0;
+ }
+ description { state: "open" 0.0;
+ inherit: "default" 0.0;
+ rel1.relative: 0.0 1.0;
+ visible: 1;
+ }
+ description { state: "open2" 0.0;
+ inherit: "default" 0.0;
+ rel1.relative: 0.0 0.5;
+ visible: 1;
+ }
+ }
+ part { name: "elm.swallow.content"; type: SWALLOW;
+ clip_to: "clipper";
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.to: "clipper";
+ rel2.to: "clipper";
+ }
+ }
+ part { name: "elm.swallow.content2"; type: SWALLOW;
+ clip_to: "clipper2";
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.to: "clipper2";
+ rel2.to: "clipper2";
+ }
+ }
+ part { name: "bevel"; mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.to: "base";
+ rel2.to: "base";
+ image.normal: "bevel_out.png";
+ image.border: 1 1 1 1;
+ image.middle: 0;
+ fill.smooth: 0;
+ }
+ }
+ }
+ programs {
+ program {
+ signal: "elm,state,open"; source: "elm";
+ action: STATE_SET "open" 0.0;
+ target: "shadow";
+ target: "base";
+ target: "clipper";
+ target: "clipper2";
+ transition: DECELERATE 0.15;
+ }
+ program {
+ signal: "elm,state,open2"; source: "elm";
+ action: STATE_SET "open2" 0.0;
+ target: "shadow";
+ target: "base";
+ target: "clipper";
+ target: "clipper2";
+ transition: DECELERATE 0.3;
+ }
+ program {
+ signal: "elm,state,close"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "shadow";
+ target: "base";
+ transition: DECELERATE 0.5;
+ }
+ }
+}
diff --git a/data/themes/default/edc/elm/tooltip.edc b/data/themes/default/edc/elm/tooltip.edc
new file mode 100644
index 0000000..4094b20
--- /dev/null
+++ b/data/themes/default/edc/elm/tooltip.edc
@@ -0,0 +1,429 @@
+group { name: "elm/label/base/tooltip";
+ styles {
+ style { name: "tooltip_style";
+ base: "font="FN" font_size=10 color=#ffffff style=shadow,bottom shadow_color=#00000080 wrap=word text_class=bubble";
+ tag: "br" "\n";
+ tag: "hilight" "+ font="FN" text_class=bubble";
+ tag: "b" "+ font="FN" text_class=bubble";
+ tag: "tab" "\t";
+ }
+ }
+ parts {
+ part { name: "elm.text"; type: TEXTBLOCK; mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ text {
+ style: "tooltip_style";
+ min: 1 1;
+ ellipsis: -1;
+ }
+ }
+ }
+ }
+}
+
+group { name: "elm/tooltip/base/default";
+ min: 30 30;
+ data.item: "pad_x" "10";
+ data.item: "pad_y" "10";
+ data.item: "pad_border_x" "1";
+ data.item: "pad_border_y" "1";
+ /* tooltip is hidden after this amount.
+ Keep in sync with hide animations */
+ data.item: "hide_timeout" "0.35";
+ // if in a window... it's transparent!
+ data.item: "transparent" "enabled";
+ images.image: "tooltip-base.png" COMP;
+ images.image: "tooltip-corner-top-left-tip.png" COMP;
+ images.image: "tooltip-corner-top-right-tip.png" COMP;
+ images.image: "tooltip-corner-bottom-left-tip.png" COMP;
+ images.image: "tooltip-corner-bottom-right-tip.png" COMP;
+ images.image: "tooltip-edge-left-tip.png" COMP;
+ images.image: "tooltip-edge-right-tip.png" COMP;
+ images.image: "tooltip-edge-bottom-tip.png" COMP;
+ images.image: "tooltip-edge-top-tip.png" COMP;
+ script {
+ hide_corners() {
+ set_state(PART:"corner-top-left", "default", 0.0);
+ set_state(PART:"corner-top-right", "default", 0.0);
+ set_state(PART:"corner-bottom-left", "default", 0.0);
+ set_state(PART:"corner-bottom-right", "default", 0.0);
+ }
+ hide_edges() {
+ set_state(PART:"clipper-edge-left", "default", 0.0);
+ set_state(PART:"clipper-edge-right", "default", 0.0);
+ set_state(PART:"clipper-edge-top", "default", 0.0);
+ set_state(PART:"clipper-edge-bottom", "default", 0.0);
+ }
+ show_corner_top_left() {
+ set_state(PART:"corner-top-left", "visible", 0.0);
+ set_state(PART:"corner-top-right", "default", 0.0);
+ set_state(PART:"corner-bottom-left", "default", 0.0);
+ set_state(PART:"corner-bottom-right", "default", 0.0);
+ hide_edges();
+ }
+ show_corner_top_right() {
+ set_state(PART:"corner-top-right", "visible", 0.0);
+ set_state(PART:"corner-top-left", "default", 0.0);
+ set_state(PART:"corner-bottom-left", "default", 0.0);
+ set_state(PART:"corner-bottom-right", "default", 0.0);
+ hide_edges();
+ }
+ show_corner_bottom_left() {
+ set_state(PART:"corner-bottom-left", "visible", 0.0);
+ set_state(PART:"corner-bottom-right", "default", 0.0);
+ set_state(PART:"corner-top-left", "default", 0.0);
+ set_state(PART:"corner-top-right", "default", 0.0);
+ hide_edges();
+ }
+ show_corner_bottom_right() {
+ set_state(PART:"corner-bottom-right", "visible", 0.0);
+ set_state(PART:"corner-bottom-left", "default", 0.0);
+ set_state(PART:"corner-top-left", "default", 0.0);
+ set_state(PART:"corner-top-right", "default", 0.0);
+ hide_edges();
+ }
+ show_edge_left(Float:val) {
+ set_state(PART:"clipper-edge-left", "visible", 0.0);
+ set_drag(PART:"edge-drag-left", 0.0, val);
+ set_state(PART:"clipper-edge-right", "default", 0.0);
+ set_state(PART:"clipper-edge-top", "default", 0.0);
+ set_state(PART:"clipper-edge-bottom", "default", 0.0);
+ hide_corners();
+ }
+ show_edge_right(Float:val) {
+ set_state(PART:"clipper-edge-right", "visible", 0.0);
+ set_drag(PART:"edge-drag-right", 0.0, val);
+ set_state(PART:"clipper-edge-left", "default", 0.0);
+ set_state(PART:"clipper-edge-top", "default", 0.0);
+ set_state(PART:"clipper-edge-bottom", "default", 0.0);
+ hide_corners();
+ }
+ show_edge_top(Float:val) {
+ set_state(PART:"clipper-edge-top", "visible", 0.0);
+ set_drag(PART:"edge-drag-top", val, 0.0);
+ set_state(PART:"clipper-edge-bottom", "default", 0.0);
+ set_state(PART:"clipper-edge-left", "default", 0.0);
+ set_state(PART:"clipper-edge-right", "default", 0.0);
+ hide_corners();
+ }
+ show_edge_bottom(Float:val) {
+ set_state(PART:"clipper-edge-bottom", "visible", 0.0);
+ set_drag(PART:"edge-drag-bottom", val, 0.0);
+ set_state(PART:"clipper-edge-top", "default", 0.0);
+ set_state(PART:"clipper-edge-left", "default", 0.0);
+ set_state(PART:"clipper-edge-right", "default", 0.0);
+ hide_corners();
+ }
+ public message(Msg_Type:type, id, ...) {
+ if ((type == MSG_FLOAT_SET) && (id == 1)) {
+ new Float:x, Float:y;
+
+ x = getfarg(2);
+ y = getfarg(3);
+
+ if (x < 0.0) {
+ if (y < 0.0) show_corner_top_left();
+ else if (y > 1.0) show_corner_bottom_left();
+ else show_edge_left(y);
+ } else if (x > 1.0) {
+ if (y < 0.0) show_corner_top_right();
+ else if (y > 1.0) show_corner_bottom_right();
+ else show_edge_right(y);
+ } else {
+ if (y < 0.0) show_edge_top(x);
+ else if (y > 1.0) show_edge_bottom(x);
+ else {
+ hide_corners();
+ hide_edges();
+ }
+ }
+ }
+ }
+ }
+ parts {
+ part { name: "clipper"; type: RECT;
+ description { state: "default" 0.0;
+ color: 255 255 255 0;
+ rel1 { to: "pop"; offset: -5 -5; }
+ rel2 { to: "pop"; offset: 5 5; }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 255;
+ }
+ }
+ part { name: "pop"; mouse_events: 0;
+ clip_to: "clipper";
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 30 30;
+ rel1 {
+ to: "elm.swallow.content";
+ offset: -5 -4;
+ }
+ rel2 {
+ to: "elm.swallow.content";
+ offset: 4 5;
+ }
+ image {
+ normal: "tooltip-base.png";
+ border: 7 7 6 8;
+ }
+ image.middle: SOLID;
+ }
+ }
+ #define TT_CORNER(name_, rx, ry, ax, ay, ox, oy) \
+ part { name: "corner-"name_; mouse_events: 0; \
+ clip_to: "clipper"; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ visible: 0; \
+ align: ax ay; \
+ FIXED_SIZE(12, 12) \
+ rel1 { \
+ relative: rx ry; \
+ offset: ox oy; \
+ to: "pop"; \
+ } \
+ rel2 { \
+ relative: rx ry; \
+ offset: ox oy; \
+ to: "pop"; \
+ } \
+ image.normal: "tooltip-corner-"name_"-tip.png"; \
+ } \
+ description { state: "visible" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 1; \
+ } \
+ }
+ TT_CORNER("top-left", 0, 0, 0, 0, -4, -5);
+ TT_CORNER("top-right", 1, 0, 1, 0, 3, -5);
+ TT_CORNER("bottom-left", 0, 1, 0, 1, -4, 2);
+ TT_CORNER("bottom-right", 1, 1, 1, 1, 3, 2);
+ #undef TT_CORNER
+
+ #define TT_EDGE_VERT(name_, rx, ax, ox) \
+ part { name: "clipper-edge-"name_; type: RECT; \
+ clip_to: "clipper"; \
+ description { state: "default" 0.0; \
+ visible: 0; \
+ min: 9 13; \
+ align: ax 0.5; \
+ fixed: 1 1; \
+ rel1 { \
+ relative: rx 0.0; \
+ offset: ox 0; \
+ to: "elm.swallow.content"; \
+ } \
+ rel2 { \
+ relative: rx 1.0; \
+ offset: ox 0; \
+ to: "elm.swallow.content"; \
+ } \
+ } \
+ description { state: "visible" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 1; \
+ } \
+ } \
+ part { name: "edge-area-"name_; type: RECT; mouse_events: 0; \
+ clip_to: "clipper-edge-"name_; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ color: 0 0 0 0; \
+ min: 9 13; \
+ align: ax 0.5; \
+ fixed: 1 1; \
+ rel1 { \
+ relative: rx 0.0; \
+ offset: ox 0; \
+ to: "elm.swallow.content"; \
+ } \
+ rel2 { \
+ relative: rx 1.0; \
+ offset: ox 0; \
+ to: "elm.swallow.content"; \
+ } \
+ } \
+ } \
+ part { name: "edge-drag-"name_; type: RECT; mouse_events: 0; \
+ clip_to: "clipper-edge-"name_; \
+ scale: 1; \
+ dragable { \
+ x: 0 0 0; \
+ y: 1 1 0; \
+ confine: "edge-area-"name_; \
+ } \
+ description { state: "default" 0.0; \
+ color: 0 0 0 0; \
+ min: 9 13; \
+ rel1.to: "edge-area-"name_; \
+ rel2.to: "edge-area-"name_; \
+ } \
+ } \
+ part { name: "edge-img-"name_; mouse_events: 0; \
+ clip_to: "clipper-edge-"name_; \
+ description { state: "default" 0.0; \
+ FIXED_SIZE(9, 13) \
+ align: ax 0.5; \
+ rel1.to: "edge-drag-"name_; \
+ rel2.to: "edge-drag-"name_; \
+ image.normal: "tooltip-edge-"name_"-tip.png"; \
+ } \
+ }
+ TT_EDGE_VERT("left", 0, 1, -3);
+ TT_EDGE_VERT("right", 1, 0, 2);
+ #undef TT_EDGE_VERT
+
+ #define TT_EDGE_HORIZ(name_, ry, ay, oy) \
+ part { name: "clipper-edge-"name_; type: RECT; \
+ clip_to: "clipper"; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ visible: 0; \
+ min: 11 9; \
+ align: 0.5 ay; \
+ fixed: 1 1; \
+ rel1 { \
+ relative: 0.0 ry; \
+ offset: 0 oy; \
+ to: "elm.swallow.content"; \
+ } \
+ rel2 { \
+ relative: 1.0 ry; \
+ offset: 0 oy; \
+ to: "elm.swallow.content"; \
+ } \
+ } \
+ description { state: "visible" 0.0; \
+ inherit: "default" 0.0; \
+ visible: 1; \
+ } \
+ } \
+ part { name: "edge-area-"name_; type: RECT; mouse_events: 0; \
+ clip_to: "clipper-edge-"name_; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ color: 0 0 0 0; \
+ min: 11 9; \
+ align: 0.5 ay; \
+ fixed: 1 1; \
+ rel1.to: "clipper-edge-"name_; \
+ rel2.to: "clipper-edge-"name_; \
+ } \
+ } \
+ part { name: "edge-drag-"name_; type: RECT; mouse_events: 0; \
+ clip_to: "clipper-edge-"name_; \
+ scale: 1; \
+ dragable { \
+ x: 1 1 0; \
+ y: 0 0 0; \
+ confine: "edge-area-"name_; \
+ } \
+ description { state: "default" 0.0; \
+ color: 0 0 0 0; \
+ min: 11 9; \
+ rel1.to: "edge-area-"name_; \
+ rel2.to: "edge-area-"name_; \
+ } \
+ } \
+ part { name: "edge-img-"name_; mouse_events: 0; \
+ clip_to: "clipper-edge-"name_; \
+ scale: 1; \
+ description { state: "default" 0.0; \
+ FIXED_SIZE(11, 9) \
+ align: 0.5 ay; \
+ rel1.to: "edge-drag-"name_; \
+ rel2.to: "edge-drag-"name_; \
+ image.normal: "tooltip-edge-"name_"-tip.png"; \
+ } \
+ }
+ TT_EDGE_HORIZ("top", 0, 1, -1);
+ TT_EDGE_HORIZ("bottom", 1, 0, 1);
+ #undef TT_EDGE_HORIZ
+ part { name: "clipper_content"; type: RECT;
+ description { state: "default" 0.0;
+ color: 255 255 255 0;
+ rel1.to: "elm.swallow.content";
+ rel2.to: "elm.swallow.content";
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 255;
+ }
+ }
+ part { name: "elm.swallow.content"; type: SWALLOW;
+ clip_to: "clipper_content";
+ description { state: "default" 0.0;
+ rel1.offset: 10 10;
+ rel2.offset: -11 -11;
+ }
+ }
+ programs {
+ program { name: "show0";
+ signal: "elm,action,show"; source: "elm";
+ action: ACTION_STOP;
+ target: "hide0";
+ target: "hide1";
+ target: "hide2";
+ target: "hide3";
+ after: "show1";
+ after: "show2";
+ }
+ program { name: "show1";
+ action: STATE_SET "visible" 0.0;
+ transition: LINEAR 0.15;
+ target: "clipper";
+ }
+ program { name: "show2";
+ in: 0.1 0.0;
+ action: STATE_SET "visible" 0.0;
+ transition: LINEAR 0.15;
+ target: "clipper_content";
+ }
+ program { name: "hide0";
+ signal: "elm,action,hide"; source: "elm";
+ action: ACTION_STOP;
+ target: "show0";
+ target: "show1";
+ target: "show2";
+ after: "hide1";
+ after: "hide2";
+ after: "hide3";
+ }
+ program { name: "hide1";
+ script {
+ hide_corners();
+ hide_edges();
+ }
+ }
+ program { name: "hide2";
+ action: STATE_SET "default" 0.0;
+ transition: LINEAR 0.1;
+ target: "clipper_content";
+ }
+ program { name: "hide3";
+ in: 0.1 0.0;
+ action: STATE_SET "default" 0.0;
+ transition: LINEAR 0.1;
+ target: "clipper";
+ }
+ }
+ }
+}
+
+group { name: "elm/tooltip/base/transparent";
+ data.item: "pad_x" "10";
+ data.item: "pad_y" "10";
+ data.item: "transparent" "enabled";
+ parts {
+ part { name: "elm.swallow.content"; type: SWALLOW; mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0; }
+ }
+ }
+}
+
+///////////////////////////////////////////////////////////////////////////////
diff --git a/data/themes/default/edc/elm/video.edc b/data/themes/default/edc/elm/video.edc
new file mode 100644
index 0000000..33b3f2f
--- /dev/null
+++ b/data/themes/default/edc/elm/video.edc
@@ -0,0 +1,43 @@
+group { name: "elm/video/base/default";
+ parts {
+ part { name: "clipper"; type: RECT;
+ description { state: "default" 0.0;
+ color: 255 255 255 255;
+ }
+ description { state: "darker" 0.0;
+ color: 128 128 128 255;
+ }
+ }
+ part { name: "elm.swallow.video"; type: SWALLOW; mouse_events: 1;
+ clip_to: "clipper";
+ description { state: "default" 0.0;
+ aspect: 1.0 1.0; aspect_preference: BOTH;
+ }
+ }
+ }
+ programs {
+ program {
+ signal: "elm,video,load"; source: "elm";
+ action: STATE_SET "darker" 0.0;
+ target: "clipper";
+ }
+ program {
+ signal: "elm,video,play"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: SINUSOIDAL 0.2 CURRENT;
+ target: "clipper";
+ }
+ program {
+ signal: "elm,video,end"; source: "elm";
+ action: STATE_SET "darker" 0.0;
+ transition: SINUSOIDAL 0.5 CURRENT;
+ target: "clipper";
+ }
+ program {
+ signal: "elm,video,pause"; source: "elm";
+ action: STATE_SET "darker" 0.0;
+ transition: SINUSOIDAL 0.7 CURRENT;
+ target: "clipper";
+ }
+ }
+}
diff --git a/data/themes/default/edc/elm/win.edc b/data/themes/default/edc/elm/win.edc
new file mode 100644
index 0000000..343de6c
--- /dev/null
+++ b/data/themes/default/edc/elm/win.edc
@@ -0,0 +1,70 @@
+group { name: "elm/win/base/default";
+ parts {
+ part { name: "menu_bg"; type: RECT;
+ description { state: "default" 0.0;
+ color: 64 64 64 255;
+ align: 0.5 0;
+ rel2.to: "elm.swallow.menu";
+ }
+ }
+ part { name: "elm.swallow.menu"; type: SWALLOW;
+ description { state: "default" 0.0;
+ rel2.relative: 1.0 0.0;
+ visible: 0;
+ align: 0.5 0;
+ fixed: 1 1;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ fixed: 0 1;
+ }
+ }
+ part { name: "elm.swallow.contents"; type: SWALLOW;
+ description { state: "default" 0.0;
+ rel1 {
+ to_y: "elm.swallow.menu";
+ relative: 0.0 1.0;
+ }
+ }
+ }
+ part { name: "blocker"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.relative : 0.0 0.0;
+ rel2.relative : 1.0 1.0;
+ color: 64 64 64 150;
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ program { name: "show_menu";
+ signal: "elm,action,show_menu";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.swallow.menu";
+ }
+ program { name: "hide_menu";
+ signal: "elm,action,hide";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.menu";
+ }
+ program { name: "hide_blocker";
+ signal: "elm,action,hide_blocker";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "blocker";
+ }
+ program { name: "show_blocker";
+ signal: "elm,action,show_blocker";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "blocker";
+ }
+ }
+}