summaryrefslogtreecommitdiff
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)
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 ee66879..f076229 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 5341263..d7873ba 100644
--- a/data/ethumb/frames/default.edc
+++ b/data/ethumb/frames/default.edc
@@ -8,39 +8,30 @@ collections {
8 8
9 parts { 9 parts {
10 part { 10 part {
11 name: "img";
12 type: SWALLOW;
13 mouse_events: 0;
14 description {
15 state: "default" 0.0;
16 }
17 } // img
18
19 part {
20 name: "border"; 11 name: "border";
21 type: IMAGE; 12 type: IMAGE;
22 mouse_events: 0; 13 mouse_events: 0;
23 description { 14 description {
24 state: "default" 0.0; 15 state: "default" 0.0;
25 color: 224 224 224 255;
26 rel1 {
27 to: "img";
28 relative: 0.0 0.0;
29 offset: 0 0;
30 }
31 rel2 {
32 to: "img";
33 relative: 1.0 1.0;
34 offset: -1 -1;
35 }
36 image { 16 image {
37 normal: "border-0.jpg"; 17 normal: "border-0.jpg";
38 border: 2 2 2 2; 18 border: 2 2 2 2;
39 middle: 0;
40 } 19 }
20 rel1.offset: -2 -2;
21 rel2.offset: 1 1;
41 } 22 }
42 } // border 23 }
43 24
25 part {
26 name: "img";
27 type: SWALLOW;
28 mouse_events: 0;
29 description {
30 state: "default" 0.0;
31 rel1.offset: 2 2;
32 rel2.offset: -3 -3;
33 }
34 }
44 } 35 }
45 } 36 }
46} 37}