diff options
author | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2020-04-25 13:37:04 +0100 |
---|---|---|
committer | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2020-04-25 13:37:04 +0100 |
commit | 5e4091ee01ebbd5a18a44ce6e0c1da48c2601f85 (patch) | |
tree | c7f572a51865b5d8b6ffc829bc69e70e41044347 /data/elementary/themes | |
parent | 8481f1548cfbdbd2fb04a956fa8718eb48a66d18 (diff) |
TH - photocam
Diffstat (limited to 'data/elementary/themes')
-rw-r--r-- | data/elementary/themes/edc/elm/photocam.edc | 109 |
1 files changed, 15 insertions, 94 deletions
diff --git a/data/elementary/themes/edc/elm/photocam.edc b/data/elementary/themes/edc/elm/photocam.edc index ccc2dc8ff9..9923197603 100644 --- a/data/elementary/themes/edc/elm/photocam.edc +++ b/data/elementary/themes/edc/elm/photocam.edc | |||
@@ -1,100 +1,21 @@ | |||
1 | group { name: "elm/photocam/base/default"; | 1 | group { name: "elm/photocam/base/default"; |
2 | inherit: "elm/scroller/base/default"; | 2 | inherit: "elm/scroller/base/default"; |
3 | images.image: "knob_round_busy.png" COMP; | 3 | IMAGE_RING("ringa", 160) |
4 | images.image: "glow_round_corners.png" COMP; | 4 | IMAGE_RING("ringb", 160) |
5 | IMAGE_RING("ringc", 160) | ||
5 | parts { | 6 | parts { |
6 | part { name: "busy_clip"; type: RECT; | 7 | BUSY("base", "elm,state,busy,start", "elm", "elm,state,busy,stop", "elm") |
7 | description { state: "default" 0.0; | 8 | part { name: "base"; type: RECT; |
8 | visible: 0; | 9 | scale: 1; |
9 | color: 255 255 255 0; | 10 | description { state: "default" 0.0; |
10 | } | 11 | color: 0 0 0 0; |
11 | description { state: "active" 0.0; | 12 | rel1.offset: 4 4; |
12 | visible: 1; | 13 | rel2.offset: 4 4; |
13 | color: 255 255 255 255; | 14 | align: 0.0 0.0; |
14 | } | 15 | min: 40 40; |
15 | } | 16 | max: 40 40; |
16 | part { name: "knob"; mouse_events: 0; | 17 | offscale; |
17 | clip_to: "busy_clip"; | 18 | } |
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 | } | 19 | } |
99 | } | 20 | } |
100 | } | 21 | } |