collections { group { name: "layout"; images { image: "over.png" COMP; image: "under.png" COMP; image: "sky.jpg" LOSSY 80; image: "clo.png" LOSSY 60; } parts { part { name: "clip"; type: RECT; description { state: "default" 0.0; } } part { name: "sky"; mouse_events: 1; clip_to: "clip"; description { state: "default" 0.0; aspect: 2.6225 2.6225; aspect_preference: NONE; image.normal: "sky.jpg"; } description { state: "drift" 0.0; inherit: "default" 0.0; fill { origin { relative: 1.0 0.0; offset: 0 0; } } } } part { name: "under"; mouse_events: 0; clip_to: "clip"; description { state: "default" 0.0; align: 0.5 0.0; aspect: 1.486068111 1.486068111; aspect_preference: HORIZONTAL; image.normal: "under.png"; } } part { name: "text"; type: TEXT; clip_to: "clip"; description { state: "default" 0.0; color: 255 255 0 255; rel1.relative: 0.3 0.02; rel2.relative: 0.6 0.12; align: 0.5 0.5; text { font: "Sans:style=Bold"; size: 14; min: 1 1; ellipsis: -1; text: "some edje text here"; } } } part { name: "element1"; type: SWALLOW; clip_to: "clip"; description { state: "default" 0.0; rel1.relative: 0.2 0.2; rel2.relative: 0.4 0.3; } } part { name: "element2"; type: SWALLOW; clip_to: "clip"; description { state: "default" 0.0; rel1.relative: 0.6 0.3; rel2.relative: 0.9 0.5; } } part { name: "element3"; type: SWALLOW; clip_to: "clip"; description { state: "default" 0.0; rel1.relative: 0.1 0.7; rel2.relative: 0.9 0.9; } } part { name: "over"; mouse_events: 0; clip_to: "clip"; description { state: "default" 0.0; align: 0.0 1.0; aspect: 2.238095238 2.238095238; max: 329 147; aspect_preference: HORIZONTAL; image.normal: "over.png"; } } part { name: "clo"; mouse_events: 0; clip_to: "clip"; description { state: "default" 0.0; fill { smooth: 0; origin { relative: 0.0 0.0; offset: 0 0; } size { relative: 1.84722 1.0; offset: 0 0; } } image.normal: "clo.png"; } description { state: "drift" 0.0; inherit: "default" 0.0; fill { origin { relative: 1.84722 0.0; offset: 0 0; } size { relative: 1.84722 1.0; offset: 0 0; } } } } } programs { program { name: "anim1"; signal: "load"; source: ""; action: STATE_SET "drift" 0.0; transition: LINEAR 10.0; target: "clo"; after: "anim2"; } program { name: "anim2"; action: STATE_SET "default" 0.0; target: "clo"; after: "anim1"; } program { name: "anim3"; signal: "load"; source: ""; action: STATE_SET "drift" 0.0; transition: LINEAR 40.0; target: "sky"; after: "anim4"; } program { name: "anim4"; action: STATE_SET "default" 0.0; target: "sky"; after: "anim3"; } } } group { name: "layout2"; images { image: "over.png" COMP; image: "under.png" COMP; image: "sky.jpg" LOSSY 80; image: "clo.png" LOSSY 60; } parts { part { name: "clip"; type: RECT; description { state: "default" 0.0; } } part { name: "sky"; mouse_events: 0; clip_to: "clip"; description { state: "default" 0.0; aspect: 2.6225 2.6225; aspect_preference: NONE; image.normal: "sky.jpg"; } description { state: "drift" 0.0; inherit: "default" 0.0; fill { origin { relative: 1.0 0.0; offset: 0 0; } } } } part { name: "under"; mouse_events: 0; clip_to: "clip"; description { state: "default" 0.0; align: 0.5 0.0; aspect: 1.486068111 1.486068111; aspect_preference: HORIZONTAL; image.normal: "under.png"; } } part { name: "text"; type: TEXT; clip_to: "clip"; description { state: "default" 0.0; color: 255 255 0 255; rel1.relative: 0.3 0.02; rel2.relative: 0.6 0.12; align: 0.5 0.5; text { font: "Sans:style=Bold"; size: 14; min: 1 1; ellipsis: -1; text: "some edje text here"; } } } part { name: "element1"; type: SWALLOW; clip_to: "clip"; description { state: "default" 0.0; rel1.relative: 0.2 0.2; rel2.relative: 0.4 0.3; } } part { name: "element2"; type: SWALLOW; clip_to: "clip"; description { state: "default" 0.0; rel1.relative: 0.6 0.3; rel2.relative: 0.9 0.5; } } part { name: "element3"; type: SWALLOW; clip_to: "clip"; description { state: "default" 0.0; rel1.relative: 0.1 0.7; rel2.relative: 0.9 0.9; } } part { name: "over"; mouse_events: 0; clip_to: "clip"; description { state: "default" 0.0; align: 0.0 1.0; aspect: 2.238095238 2.238095238; max: 329 147; aspect_preference: HORIZONTAL; image.normal: "over.png"; } } part { name: "clo"; mouse_events: 0; clip_to: "clip"; description { state: "default" 0.0; fill { smooth: 0; origin { relative: 0.0 0.0; offset: 0 0; } size { relative: 1.84722 1.0; offset: 0 0; } } image.normal: "clo.png"; } description { state: "drift" 0.0; inherit: "default" 0.0; fill { origin { relative: 1.84722 0.0; offset: 0 0; } size { relative: 1.84722 1.0; offset: 0 0; } } } } } } group { name: "launcher_page"; parts { part { name: "slot.0.0"; type: SWALLOW; description { state: "default" 0.0; rel2.relative: 0.25 0.25; } } part { name: "slot.1.0"; type: SWALLOW; description { state: "default" 0.0; rel1.relative: 0.25 0.0; rel2.relative: 0.50 0.25; } } part { name: "slot.2.0"; type: SWALLOW; description { state: "default" 0.0; rel1.relative: 0.50 0.0; rel2.relative: 0.75 0.25; } } part { name: "slot.3.0"; type: SWALLOW; description { state: "default" 0.0; rel1.relative: 0.75 0.0; rel2.relative: 1.00 0.25; } } part { name: "slot.0.1"; type: SWALLOW; description { state: "default" 0.0; rel1.relative: 0.0 0.25; rel2.relative: 0.25 0.50; } } part { name: "slot.1.1"; type: SWALLOW; description { state: "default" 0.0; rel1.relative: 0.25 0.25; rel2.relative: 0.50 0.50; } } part { name: "slot.2.1"; type: SWALLOW; description { state: "default" 0.0; rel1.relative: 0.50 0.25; rel2.relative: 0.75 0.50; } } part { name: "slot.3.1"; type: SWALLOW; description { state: "default" 0.0; rel1.relative: 0.75 0.25; rel2.relative: 1.00 0.50; } } part { name: "slot.0.2"; type: SWALLOW; description { state: "default" 0.0; rel1.relative: 0.0 0.50; rel2.relative: 0.25 0.75; } } part { name: "slot.1.2"; type: SWALLOW; description { state: "default" 0.0; rel1.relative: 0.25 0.50; rel2.relative: 0.50 0.75; } } part { name: "slot.2.2"; type: SWALLOW; description { state: "default" 0.0; rel1.relative: 0.50 0.50; rel2.relative: 0.75 0.75; } } part { name: "slot.3.2"; type: SWALLOW; description { state: "default" 0.0; rel1.relative: 0.75 0.50; rel2.relative: 1.00 0.75; } } part { name: "slot.0.3"; type: SWALLOW; description { state: "default" 0.0; rel1.relative: 0.0 0.75; rel2.relative: 0.25 1.00; } } part { name: "slot.1.3"; type: SWALLOW; description { state: "default" 0.0; rel1.relative: 0.25 0.75; rel2.relative: 0.50 1.00; } } part { name: "slot.2.3"; type: SWALLOW; description { state: "default" 0.0; rel1.relative: 0.50 0.75; rel2.relative: 0.75 1.00; } } part { name: "slot.3.3"; type: SWALLOW; description { state: "default" 0.0; rel1.relative: 0.75 0.75; } } } } group { name: "launcher_icon"; parts { part { name: "slot"; type: SWALLOW; description { state: "default" 0.0; rel2 { relative: 1.00 0.00; to_y: "label"; } } description { state: "drag1" 0.0; inherit: "default" 0.0; rel1.offset: -5 -3; rel2.offset: -5 -3; } description { state: "drag2" 0.0; inherit: "default" 0.0; rel1.offset: 10 3; rel2.offset: 10 3; } description { state: "drag3" 0.0; inherit: "default" 0.0; rel1.offset: -1 6; rel2.offset: -1 6; } } part { name: "label"; type: TEXT; effect: SOFT_SHADOW; scale: 1; description { state: "default" 0.0; fixed: 1 1; align: 0.5 1.0; rel1.relative: 0.0 1.00; color: 224 224 224 255; color3: 0 0 0 64; text { font: "Sans:style=Bold,Edje-Vera-Bold"; size: 10; min: 0 1; max: 1 1; align: 0.5 0.0; } } description { state: "hi" 0.0; inherit: "default" 0.0; color: 255 0 0 255; color3: 0 0 0 255; } description { state: "drag1" 0.0; inherit: "default" 0.0; color: 255 0 0 255; color3: 0 0 0 255; rel1.offset: -5 -3; rel2.offset: -5 -3; } description { state: "drag2" 0.0; inherit: "default" 0.0; color: 255 0 0 255; color3: 0 0 0 255; rel1.offset: 10 3; rel2.offset: 10 3; } description { state: "drag3" 0.0; inherit: "default" 0.0; color: 255 0 0 255; color3: 0 0 0 255; rel1.offset: -1 6; rel2.offset: -1 6; } } } programs { program { name: "click"; signal: "click"; source: "app"; action: STATE_SET "hi" 0.0; transition: LINEAR 0.5; target: "label"; } program { name: "drag1"; signal: "drag"; source: "app"; action: STATE_SET "drag1" 0.0; transition: LINEAR 0.1; target: "label"; target: "slot"; after: "drag2"; } program { name: "drag2"; action: STATE_SET "drag2" 0.0; transition: LINEAR 0.2; target: "label"; target: "slot"; after: "drag3"; } program { name: "drag3"; action: STATE_SET "drag3" 0.0; transition: LINEAR 0.1; target: "label"; target: "slot"; after: "drag1"; } program { name: "drop"; signal: "drop"; source: "app"; action: STATE_SET "default" 0.0; target: "label"; target: "slot"; } program { name: "unclick"; signal: "unclick"; source: "app"; action: STATE_SET "default" 0.0; transition: LINEAR 0.5; target: "label"; target: "slot"; } program { name: "cancel"; signal: "cancel"; source: "app"; action: STATE_SET "default" 0.0; transition: LINEAR 0.5; target: "label"; target: "slot"; } } } group { name: "twolines"; parts { part { name: "clip"; type: RECT; description { state: "default" 0.0; } } part { name: "under"; mouse_events: 0; clip_to: "clip"; type: RECT; description { state: "default" 0.0; color: 0 128 200 30; } } part { name: "element1"; type: SWALLOW; clip_to: "clip"; description { state: "default" 0.0; rel1 { relative: 0.0 0.0; offset: 4 4; } rel2 { relative: 1.0 0.5; offset: -5 -3; } } } part { name: "element2"; type: SWALLOW; clip_to: "clip"; description { state: "default" 0.0; rel1 { relative: 0.0 0.5; offset: 4 2; } rel2 { relative: 1.0 1.0; offset: -5 -5; } } } } } group { name: "bg_overlay"; images { image: "clo.png" LOSSY 60; } parts { part { name: "clip"; type: RECT; description { state: "default" 0.0; } } part { name: "clo"; mouse_events: 0; clip_to: "clip"; description { state: "default" 0.0; fill { smooth: 0; origin { relative: 0.0 0.0; offset: 0 0; } size { relative: 1.84722 1.0; offset: 0 0; } } image.normal: "clo.png"; } description { state: "drift" 0.0; inherit: "default" 0.0; fill { origin { relative: 1.84722 0.0; offset: 0 0; } size { relative: 1.84722 1.0; offset: 0 0; } } } } } programs { program { name: "anim1"; signal: "load"; source: ""; action: STATE_SET "drift" 0.0; transition: LINEAR 10.0; target: "clo"; after: "anim2"; } program { name: "anim2"; action: STATE_SET "default" 0.0; target: "clo"; after: "anim1"; } } } group { name: "test/layout"; images { image: "sky.jpg" LOSSY 80; } parts { part { name: "bg"; description { state: "default" 0.0; color: 255 255 255 100; image.normal: "sky.jpg"; } } part { name: "swallow"; type: SWALLOW; description { state: "default" 0.0; rel1.offset: 8 8; rel2.offset: -7 -7; } } } } group { name: "win_config"; parts { part { name: "swallow"; type: SWALLOW; description { state: "default" 0.0; min: 10 150; } } } } group { name: "access_page"; parts { part { name: "slot.0.0"; type: SWALLOW; description { state: "default" 0.0; rel2.relative: 0.33 0.33; } } part { name: "slot.1.0"; type: SWALLOW; description { state: "default" 0.0; rel1.relative: 0.33 0.0; rel2.relative: 0.66 0.33; } } part { name: "slot.2.0"; type: SWALLOW; description { state: "default" 0.0; rel1.relative: 0.66 0.0; rel2.relative: 1.0. 0.33; } } part { name: "slot.0.1"; type: SWALLOW; description { state: "default" 0.0; rel1.relative: 0.0 0.33; rel2.relative: 0.33 0.66; } } part { name: "slot.1.1"; type: SWALLOW; description { state: "default" 0.0; rel1.relative: 0.33 0.33; rel2.relative: 0.66 0.66; } } part { name: "slot.2.1"; type: SWALLOW; description { state: "default" 0.0; rel1.relative: 0.63 0.33; rel2.relative: 1.0 0.66; } } part { name: "slot.0.2"; type: SWALLOW; description { state: "default" 0.0; rel1.relative: 0.0 0.66; rel2.relative: 0.33 1.0; } } part { name: "slot.1.2"; type: SWALLOW; description { state: "default" 0.0; rel1.relative: 0.33 0.66; rel2.relative: 0.66 1.0; } } part { name: "slot.2.2"; type: SWALLOW; description { state: "default" 0.0; rel1.relative: 0.66 0.66; } } } } group { name: "access_icon"; parts { part { name: "slot"; type: SWALLOW; description { state: "default" 0.0; } } part { name: "access"; type: RECT; description { state: "default" 0.0; rel1.to: "slot"; rel2.to: "slot"; color: 0 0 0 0; } } } } group { name: "access_color_page"; parts { part { name: "red"; type: RECT; description { state: "default" 0.0; rel1.relative: 0.1 0.1; rel2.relative: 0.35 0.35; color: 255 0 0 255; } } part { name: "green"; type: RECT; description { state: "default" 0.0; rel1.relative: 0.65 0.1; rel2.relative: 0.9 0.35; color: 0 255 0 255; } } part { name: "blue"; type: RECT; description { state: "default" 0.0; rel1.relative: 0.1 0.65; rel2.relative: 0.35. 0.9; color: 0 0 255 255; } } part { name: "black"; type: RECT; description { state: "default" 0.0; rel1.relative: 0.65 0.65; rel2.relative: 0.9 0.9; color: 0 0 0 255; } } part { name: "center"; type: SWALLOW; description { state: "default" 0.0; rel1.relative: 0.35 0.35; rel2.relative: 0.65 0.65; } } } } group { name: "page_layout"; parts { part { name: "bg"; type: RECT; scale: 1; description { state: "default" 0.0; min: 400 500; max: 400 500; color: 0 0 0 0; } } part { name: "page"; type: SWALLOW; scale: 1; description { state: "default" 0.0; rel1.relative: 0.1 0.1; rel1.to:"bg"; rel2.relative: 0.9 0.9; rel2.to:"bg"; } } part { name: "text"; type: TEXT; scale: 1; description { state: "default" 0.0; fixed: 1 1; rel1.relative: 0.5 0.5; rel2.relative: 0.5 0.5; text { min: 1 1; size: 50; ellipsis: -1; } } } part { name: "element1"; type: SWALLOW; scale: 1; description { state: "default" 0.0; rel1.relative: 0.4 0.2; rel1.to:"bg"; rel2.relative: 0.6 0.4; rel2.to:"bg"; } } part { name: "element2"; type: SWALLOW; scale: 1; description { state: "default" 0.0; rel1.relative: 0.4 0.6; rel1.to:"bg"; rel2.relative: 0.6 0.7; rel2.to:"bg"; } } part { name: "element3"; type: SWALLOW; scale: 1; description { state: "default" 0.0; rel1.relative: 0.4 0.7; rel1.to:"bg"; rel2.relative: 0.6 0.8; rel2.to:"bg"; } } } } group { "layout_edje"; parts { rect { "red"; desc { color_class: "red"; } } rect { "blue"; desc { "default"; } desc { "changed"; color: 0 0 255 255; link.base: "change" "test"; } } } } group { name: "font_overlay_layout"; styles { style { name: "test_class_style"; base: "font=Sans font_size=20 color=#fff text_class=font_overlay_test wrap=mixed"; } } parts { part { name: "bg"; type: RECT; scale: 1; description { state: "default" 0.0; min: 400 300; color: 0 0 0 0; } } part { name: "elm.text"; type: TEXTBLOCK; scale: 1; description { state: "default" 0.0; fixed: 1 1; text { style: "test_class_style"; } } } } } }