From d38ec77dc871cda50925e302fb5620bb74338550 Mon Sep 17 00:00:00 2001 From: zmike Date: Sat, 18 Jan 2014 15:33:19 -0500 Subject: [PATCH] fix edc to close blocks --- empc.edc | 388 ++++++++++++++++++++++++++++--------------------------- 1 file changed, 195 insertions(+), 193 deletions(-) diff --git a/empc.edc b/empc.edc index 8c6a93b..904a78f 100644 --- a/empc.edc +++ b/empc.edc @@ -1,210 +1,212 @@ collections { group { name: "elm/genlist/item_compress/playlist/default"; - data.item: "selectraise" "on"; - data.item: "texts" "elm.text empc.text.track empc.text.time"; - data.item: "contents" "elm.swallow.icon"; - data.item: "treesize" 19; - parts { - part { name: "selection"; type: RECT; mouse_events: 0; - scale: 1; - description { state: "default"; - rel1.to: "elm.text"; - color: 222 222 222 0; - visible: 0; - } - description { state: "selected"; - inherit: "default"; - color: 222 222 222 30; - visible: 1; - } - } - part { name: "elm.text"; type: TEXT; mouse_events: 0; - effect: GLOW; - scale: 1; - description { state: "default"; - rel1.offset: 2 3; - rel1.relative: 1.0 0.0; - rel1.to_x: "empc.text.track"; - rel2.offset: -3 -3; - rel2.relative: 0.0 1.0; - rel2.to_x: "empc.text.time"; - color: 255 255 255 255; - color3: 0 0 0 128; - text { font: "Sans"; size: 11; - min: 0 1; - align: 0.0 0.5; + data.item: "selectraise" "on"; + data.item: "texts" "elm.text empc.text.track empc.text.time"; + data.item: "contents" "elm.swallow.icon"; + data.item: "treesize" 19; + parts { + part { name: "selection"; type: RECT; mouse_events: 0; + scale: 1; + description { state: "default"; + rel1.to: "elm.text"; + color: 222 222 222 0; + visible: 0; + } + description { state: "selected"; + inherit: "default"; + color: 222 222 222 30; + visible: 1; } } - description { state: "playing" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "title_playing"; type: TEXT; mouse_events: 0; - effect: GLOW; - scale: 1; - description { state: "default"; - fixed: 1 0; - rel1.offset: -2 -3; - rel1.to: "elm.text"; - rel2.offset: -1 1; - rel2.to: "elm.text"; - color: 255 255 255 255; - color2: 0 0 0 192; - color3: 0 0 0 128; - color_class: "text_item_playing"; - text { font: "Sans:style=Bold"; size: 11; - text_source: "elm.text"; - min: 0 1; - align: 0.0 0.5; + part { name: "elm.text"; type: TEXT; mouse_events: 0; + effect: GLOW; + scale: 1; + description { state: "default"; + rel1.offset: 2 3; + rel1.relative: 1.0 0.0; + rel1.to_x: "empc.text.track"; + rel2.offset: -3 -3; + rel2.relative: 0.0 1.0; + rel2.to_x: "empc.text.time"; + color: 255 255 255 255; + color3: 0 0 0 128; + text { font: "Sans"; size: 11; + min: 0 1; + align: 0.0 0.5; + } } - visible: 0; - } - description { state: "playing" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - program { - signal: "elm,state,selected"; source: "elm"; - action: STATE_SET "selected" 0.0; - target: "selection"; - transition: LINEAR 0.15; - } - program { - signal: "elm,state,unselected"; source: "elm"; - action: STATE_SET "default" 0.0; - target: "selection"; - transition: LINEAR 0.15; - } - part { name: "elm.swallow.pad"; type: SWALLOW; mouse_events: 0; - description { state: "default"; - fixed: 1 0; - align: 0.0 0.5; - rel1.offset: 2 2; - rel2.relative: 0.0 1.0; - rel2.offset: 2 -3; - } - } - part { name: "empc.text.track"; type: TEXT; mouse_events: 0; - effect: GLOW; - scale: 1; - description { state: "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.offset: -1 -3; - color: 255 255 255 255; - color3: 0 0 0 128; - text { font: "Sans"; size: 11; - min: 0 1; - align: 0.0 0.5; + description { state: "playing" 0.0; + inherit: "default" 0.0; + visible: 0; } } - description { state: "playing" 0.0; - inherit: "default" 0.0; - visible: 0; - } - } - part { name: "track_playing"; type: TEXT; mouse_events: 0; - effect: GLOW; - scale: 1; - description { state: "default"; - fixed: 1 0; - rel1.offset: -2 -3; - rel1.to: "empc.text.track"; - rel2.offset: -1 1; - rel2.to: "empc.text.track"; - color: 255 255 255 255; - color2: 0 0 0 192; - color3: 0 0 0 128; - color_class: "text_item_playing"; - text { font: "Sans:style=Bold"; size: 11; - text_source: "empc.text.track"; - min: 0 1; - align: 0.0 0.5; + part { name: "title_playing"; type: TEXT; mouse_events: 0; + effect: GLOW; + scale: 1; + description { state: "default"; + fixed: 1 0; + rel1.offset: -2 -3; + rel1.to: "elm.text"; + rel2.offset: -1 1; + rel2.to: "elm.text"; + color: 255 255 255 255; + color2: 0 0 0 192; + color3: 0 0 0 128; + color_class: "text_item_playing"; + text { font: "Sans:style=Bold"; size: 11; + text_source: "elm.text"; + min: 0 1; + align: 0.0 0.5; + } + visible: 0; } - visible: 0; - } - description { state: "playing" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { name: "empc.text.time"; type: TEXT; mouse_events: 0; - effect: GLOW; - scale: 1; - 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; - color: 255 255 255 255; - color3: 0 0 0 128; - text { font: "Sans"; size: 11; - min: 1 1; - align: 0.0 0.5; + description { state: "playing" 0.0; + inherit: "default" 0.0; + visible: 1; } } - description { state: "playing" 0.0; - inherit: "default" 0.0; - visible: 0; + program { + signal: "elm,state,selected"; source: "elm"; + action: STATE_SET "selected" 0.0; + target: "selection"; + transition: LINEAR 0.15; } - } - part { name: "time_playing"; type: TEXT; mouse_events: 0; - effect: GLOW; - scale: 1; - description { state: "default"; - fixed: 1 0; - rel1.offset: -2 -3; - rel1.to: "empc.text.time"; - rel2.offset: -1 1; - rel2.to: "empc.text.time"; - color: 255 255 255 255; - color2: 0 0 0 192; - color3: 0 0 0 128; - color_class: "text_item_playing"; - text { font: "Sans:style=Bold"; size: 11; - text_source: "empc.text.time"; - min: 1 1; + program { + signal: "elm,state,unselected"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "selection"; + transition: LINEAR 0.15; + } + part { name: "elm.swallow.pad"; type: SWALLOW; mouse_events: 0; + description { state: "default"; + fixed: 1 0; align: 0.0 0.5; + rel1.offset: 2 2; + rel2.relative: 0.0 1.0; + rel2.offset: 2 -3; } - visible: 0; } - description { state: "playing" 0.0; - inherit: "default" 0.0; - visible: 1; + part { name: "empc.text.track"; type: TEXT; mouse_events: 0; + effect: GLOW; + scale: 1; + description { state: "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.offset: -1 -3; + color: 255 255 255 255; + color3: 0 0 0 128; + text { font: "Sans"; size: 11; + min: 0 1; + align: 0.0 0.5; + } + } + description { state: "playing" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "track_playing"; type: TEXT; mouse_events: 0; + effect: GLOW; + scale: 1; + description { state: "default"; + fixed: 1 0; + rel1.offset: -2 -3; + rel1.to: "empc.text.track"; + rel2.offset: -1 1; + rel2.to: "empc.text.track"; + color: 255 255 255 255; + color2: 0 0 0 192; + color3: 0 0 0 128; + color_class: "text_item_playing"; + text { font: "Sans:style=Bold"; size: 11; + text_source: "empc.text.track"; + min: 0 1; + align: 0.0 0.5; + } + visible: 0; + } + description { state: "playing" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "empc.text.time"; type: TEXT; mouse_events: 0; + effect: GLOW; + scale: 1; + 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; + color: 255 255 255 255; + color3: 0 0 0 128; + text { font: "Sans"; size: 11; + min: 1 1; + align: 0.0 0.5; + } + } + description { state: "playing" 0.0; + inherit: "default" 0.0; + visible: 0; + } + } + part { name: "time_playing"; type: TEXT; mouse_events: 0; + effect: GLOW; + scale: 1; + description { state: "default"; + fixed: 1 0; + rel1.offset: -2 -3; + rel1.to: "empc.text.time"; + rel2.offset: -1 1; + rel2.to: "empc.text.time"; + color: 255 255 255 255; + color2: 0 0 0 192; + color3: 0 0 0 128; + color_class: "text_item_playing"; + text { font: "Sans:style=Bold"; size: 11; + text_source: "empc.text.time"; + min: 1 1; + align: 0.0 0.5; + } + visible: 0; + } + description { state: "playing" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { name: "events"; type: RECT; + description { state: "default"; + color: 0 0 0 0; + } + } + program { + signal: "empc,state,playing"; source: "empc"; + action: STATE_SET "playing" 0.0; + target: "empc.text.track"; + target: "empc.text.time"; + target: "elm.text"; + target: "title_playing"; + target: "time_playing"; + target: "track_playing"; + } + program { + signal: "empc,state,not_playing"; source: "empc"; + action: STATE_SET "default" 0.0; + target: "empc.text.track"; + target: "empc.text.time"; + target: "elm.text"; + target: "title_playing"; + target: "time_playing"; + target: "track_playing"; } } - part { name: "events"; type: RECT; - description { state: "default"; - color: 0 0 0 0; - } - } - program { - signal: "empc,state,playing"; source: "empc"; - action: STATE_SET "playing" 0.0; - target: "empc.text.track"; - target: "empc.text.time"; - target: "elm.text"; - target: "title_playing"; - target: "time_playing"; - target: "track_playing"; - } - program { - signal: "empc,state,not_playing"; source: "empc"; - action: STATE_SET "default" 0.0; - target: "empc.text.track"; - target: "empc.text.time"; - target: "elm.text"; - target: "title_playing"; - target: "time_playing"; - target: "track_playing"; - } + } }