summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorAmitesh Singh <amitesh.sh@samsung.com>2018-04-11 19:00:58 +0900
committerAmitesh Singh <amitesh.sh@samsung.com>2018-04-11 20:00:21 +0900
commitcbebbec85251d1404081a559dd482b2ba93bb589 (patch)
treefc7b28b91d59f2ad33a6ebbd9c4ac0d58980e2e9 /data
parent8b7ed085f8e544a370a300cb2924e037e6d6e2ce (diff)
theme: photocam: define theme based on new theme components.
Diffstat (limited to '')
-rw-r--r--data/elementary/themes/edc/efl/photocam.edc101
1 files changed, 99 insertions, 2 deletions
diff --git a/data/elementary/themes/edc/efl/photocam.edc b/data/elementary/themes/edc/efl/photocam.edc
index ccc226e..df5e1e5 100644
--- a/data/elementary/themes/edc/efl/photocam.edc
+++ b/data/elementary/themes/edc/efl/photocam.edc
@@ -1,3 +1,100 @@
1group { "efl/photocam"; 1group { name: "efl/photocam";
2 inherit: "elm/photocam/base/default"; 2 inherit: "efl/scroller";
3 images.image: "knob_round_busy.png" COMP;
4 images.image: "glow_round_corners.png" COMP;
5 parts {
6 part { name: "busy_clip"; type: RECT;
7 description { state: "default" 0.0;
8 visible: 0;
9 color: 255 255 255 0;
10 }
11 description { state: "active" 0.0;
12 visible: 1;
13 color: 255 255 255 255;
14 }
15 }
16 part { name: "knob"; mouse_events: 0;
17 clip_to: "busy_clip";
18 scale: 1;
19 description { state: "default" 0.0;
20 image.normal: "knob_round_busy.png";
21 min: 40 40;
22 max: 40 40;
23 align: 0.0 0.0;
24 rel1.offset: 3 3;
25 rel2.offset: 3 3;
26 fixed: 1 1;
27 }
28 }
29 part { name: "knob_spinner"; mouse_events: 0;
30 clip_to: "busy_clip";
31 description { state: "default" 0.0;
32 fixed: 1 1;
33 rel1.to: "knob";
34 rel2.to: "knob";
35 image.normal: "glow_round_corners.png";
36 map.on: 1;
37 map.smooth: 1;
38 map.rotation.center: "knob";
39 }
40 description { state: "spin" 0.0;
41 inherit: "default" 0.0;
42 map.rotation.z: 360;
43 }
44 }
45 }
46 programs {
47 program { name: "spin";
48 signal: "elm,state,busy,start"; source: "elm";
49 action: ACTION_STOP;
50 target: "spin";
51 target: "spin0";
52 target: "spin1";
53 target: "spin2";
54 target: "spin3";
55 target: "spin4";
56 after: "spin0";
57 }
58 program { name: "spin0";
59 action: STATE_SET "default" 0.0;
60 target: "knob_spinner";
61 after: "spin1";
62 }
63 program { name: "spin1";
64 action: STATE_SET "spin" 0.0;
65 transition: LINEAR 1.0;
66 target: "knob_spinner";
67 after: "spin2";
68 }
69 program { name: "spin2";
70 action: STATE_SET "default" 0.0;
71 target: "knob_spinner";
72 after: "spin1";
73 }
74
75 program {
76 signal: "elm,state,busy,start"; source: "elm";
77 action: STATE_SET "active" 0.0;
78 transition: SINUSOIDAL 0.25;
79 target: "busy_clip";
80 }
81
82 program {
83 signal: "elm,state,busy,stop"; source: "elm";
84 action: STATE_SET "default" 0.0;
85 transition: SINUSOIDAL 1.0;
86 target: "busy_clip";
87 after: "spin3";
88 }
89 program { name: "spin3";
90 action: ACTION_STOP;
91 target: "spin";
92 target: "spin2";
93 after: "spin4";
94 }
95 program { name: "spin4";
96 action: STATE_SET "default" 0.0;
97 target: "knob_spinner";
98 }
99 }
3} 100}