diff options
author | Gustavo Sverzut Barbieri <barbieri@gmail.com> | 2013-01-12 04:32:13 +0000 |
---|---|---|
committer | Gustavo Sverzut Barbieri <barbieri@gmail.com> | 2013-01-12 04:32:13 +0000 |
commit | d8db6705ad3b8fc6688b186e0934ec91b6890bd8 (patch) | |
tree | cfd182e5816ea3b9f93751d26657d9483090df90 /data | |
parent | 42d3b66cc5900445198dd7a272002ae6832b36f7 (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.jpg | bin | 542 -> 1147 bytes | |||
-rw-r--r-- | data/ethumb/frames/default.edc | 35 |
2 files changed, 13 insertions, 22 deletions
diff --git a/data/ethumb/frames/border-0.jpg b/data/ethumb/frames/border-0.jpg Binary files differindex ee66879b2..f076229ea 100644 --- a/data/ethumb/frames/border-0.jpg +++ b/data/ethumb/frames/border-0.jpg 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; + } + } } } } |