aboutsummaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@gmail.com>2013-01-12 04:32:13 +0000
committerGustavo Sverzut Barbieri <barbieri@gmail.com>2013-01-12 04:32:13 +0000
commitd8db6705ad3b8fc6688b186e0934ec91b6890bd8 (patch)
treecfd182e5816ea3b9f93751d26657d9483090df90 /data
parent42d3b66cc5900445198dd7a272002ae6832b36f7 (diff)
downloadefl-d8db6705ad3b8fc6688b186e0934ec91b6890bd8.tar.gz
efl-d8db6705ad3b8fc6688b186e0934ec91b6890bd8.tar.xz
efl-d8db6705ad3b8fc6688b186e0934ec91b6890bd8.zip
fix frame handling.
before it was confusing having to place the img behind the border and draw a hole, it would also cut parts of the view doing that. SVN revision: 82679
Diffstat (limited to 'data')
-rw-r--r--data/ethumb/frames/border-0.jpgbin542 -> 1147 bytes
-rw-r--r--data/ethumb/frames/default.edc35
2 files changed, 13 insertions, 22 deletions
diff --git a/data/ethumb/frames/border-0.jpg b/data/ethumb/frames/border-0.jpg
index ee66879b2..f076229ea 100644
--- a/data/ethumb/frames/border-0.jpg
+++ b/data/ethumb/frames/border-0.jpg
Binary files differ
diff --git a/data/ethumb/frames/default.edc b/data/ethumb/frames/default.edc
index 53412632c..d7873bab4 100644
--- a/data/ethumb/frames/default.edc
+++ b/data/ethumb/frames/default.edc
@@ -8,39 +8,30 @@ collections {
parts {
part {
- name: "img";
- type: SWALLOW;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- }
- } // img
-
- part {
name: "border";
type: IMAGE;
mouse_events: 0;
description {
state: "default" 0.0;
- color: 224 224 224 255;
- rel1 {
- to: "img";
- relative: 0.0 0.0;
- offset: 0 0;
- }
- rel2 {
- to: "img";
- relative: 1.0 1.0;
- offset: -1 -1;
- }
image {
normal: "border-0.jpg";
border: 2 2 2 2;
- middle: 0;
}
+ rel1.offset: -2 -2;
+ rel2.offset: 1 1;
}
- } // border
+ }
+ part {
+ name: "img";
+ type: SWALLOW;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ rel1.offset: 2 2;
+ rel2.offset: -3 -3;
+ }
+ }
}
}
}