summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2014-05-12 23:11:49 +0200
committerBoris Faure <billiob@gmail.com>2014-05-13 23:09:59 +0200
commitd72a0cbec31849f2b12c7254a43d6d7536169fdd (patch)
treeea835ad59dc3650c9a021a1a76b9594571549adc /data
parent8d04ae955e241580209512656ee60b46dc9f27a3 (diff)
miniview: close from edj
Diffstat (limited to 'data')
-rw-r--r--data/themes/default.edc29
1 files changed, 25 insertions, 4 deletions
diff --git a/data/themes/default.edc b/data/themes/default.edc
index b86625d..252cd12 100644
--- a/data/themes/default.edc
+++ b/data/themes/default.edc
@@ -8,6 +8,10 @@ color_classes {
8collections { 8collections {
9 9
10 group { name: "terminology/miniview"; 10 group { name: "terminology/miniview";
11 images {
12 image: "icon_close.png" COMP;
13 image: "fn_shadow.png" COMP;
14 }
11 set { name: "bg_shadow"; 15 set { name: "bg_shadow";
12 image { image: "bg_shadow.png" COMP; size: 0 0 200 150; } 16 image { image: "bg_shadow.png" COMP; size: 0 0 200 150; }
13 image { image: "bg_shadow2.png" COMP; size: 200 150 400 300; } 17 image { image: "bg_shadow2.png" COMP; size: 200 150 400 300; }
@@ -38,13 +42,15 @@ collections {
38 rel2 { 42 rel2 {
39 to: "miniview.bg"; 43 to: "miniview.bg";
40 relative: 1.0 1.0; 44 relative: 1.0 1.0;
41 offset: 0 0; 45 offset: -1 -1;
42 } 46 }
43 } 47 }
44 } 48 }
45 part { name: "miniview.close"; type: RECT; 49 part { name: "miniview.close_shadow"; type: IMAGE;
46 description { state: "default" 0.0; 50 description { state: "default" 0.0;
47 color: 255 0 0 255; 51 image {
52 normal: "fn_shadow.png";
53 };
48 rel1 { 54 rel1 {
49 to: "miniview.bg"; 55 to: "miniview.bg";
50 relative: 0.0 0.0; 56 relative: 0.0 0.0;
@@ -53,10 +59,25 @@ collections {
53 rel2 { 59 rel2 {
54 to: "miniview.bg"; 60 to: "miniview.bg";
55 relative: 0.0 0.0; 61 relative: 0.0 0.0;
56 offset: 5 5; 62 offset: 16 16;
57 } 63 }
58 } 64 }
59 } 65 }
66 part { name: "miniview.close"; type: IMAGE;
67 description { state: "default" 0.0;
68 image {
69 normal: "icon_close.png";
70 };
71 rel1.to: "miniview.close_shadow";
72 rel2.to: "miniview.close_shadow";
73 }
74 }
75 };
76 programs {
77 program {
78 signal: "mouse,clicked,1"; source: "miniview.close";
79 action: SIGNAL_EMIT "miniview,close" "terminology";
80 }
60 }; 81 };
61 }; 82 };
62 83