summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2021-03-02 21:18:28 +0000
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2021-03-02 21:19:54 +0000
commitfd18561a40b2f8d5fe0886bbf153a463af551e25 (patch)
tree3b4aa71f3c527b52ed645967abc329480ee81596 /data
parentcbc225160551ee3d06f9d2c311220b1abf73c9c4 (diff)
TH - efl ui image zoomable
Diffstat (limited to 'data')
-rw-r--r--data/elementary/themes/edc/efl/image_zoomable.edc99
-rw-r--r--data/elementary/themes/edc/elm/thumb.edc4
2 files changed, 11 insertions, 92 deletions
diff --git a/data/elementary/themes/edc/efl/image_zoomable.edc b/data/elementary/themes/edc/efl/image_zoomable.edc
index 535cbbde6b..64d759a723 100644
--- a/data/elementary/themes/edc/efl/image_zoomable.edc
+++ b/data/elementary/themes/edc/efl/image_zoomable.edc
@@ -17,101 +17,22 @@ Group: efl/image_zoomable (@since 1.23)
17group { name: "efl/image_zoomable"; 17group { name: "efl/image_zoomable";
18 inherit: "efl/scroller"; 18 inherit: "efl/scroller";
19 data.item: "version" "123"; 19 data.item: "version" "123";
20 images.image: "knob_round_busy.png" COMP; 20 IMAGE_RING("ringa", 160)
21 images.image: "glow_round_corners.png" COMP; 21 IMAGE_RING("ringb", 160)
22 IMAGE_RING("ringc", 160)
22 parts { 23 parts {
23 part { name: "busy_clip"; type: RECT; 24 BUSY("base", "elm,state,pulse,started", "efl", "elm,state,pulse,stopped", "efl")
24 description { state: "default" 0.0; 25 part { name: "base"; type: RECT;
25 visible: 0;
26 color: 255 255 255 0;
27 }
28 description { state: "active" 0.0;
29 visible: 1;
30 color: 255 255 255 255;
31 }
32 }
33 part { name: "knob"; mouse_events: 0;
34 clip_to: "busy_clip";
35 scale: 1; 26 scale: 1;
36 description { state: "default" 0.0; 27 description { state: "default" 0.0;
37 image.normal: "knob_round_busy.png"; 28 color: 0 0 0 0;
29 rel1.offset: 4 4;
30 rel2.offset: -5 -5;
31 align: 1.0 1.0;
38 min: 40 40; 32 min: 40 40;
39 max: 40 40; 33 max: 40 40;
40 align: 0.0 0.0; 34 offscale;
41 rel1.offset: 3 3;
42 rel2.offset: 3 3;
43 fixed: 1 1;
44 } 35 }
45 } 36 }
46 part { name: "knob_spinner"; mouse_events: 0;
47 clip_to: "busy_clip";
48 description { state: "default" 0.0;
49 fixed: 1 1;
50 rel1.to: "knob";
51 rel2.to: "knob";
52 image.normal: "glow_round_corners.png";
53 map.on: 1;
54 map.smooth: 1;
55 map.rotation.center: "knob";
56 }
57 description { state: "spin" 0.0;
58 inherit: "default" 0.0;
59 map.rotation.z: 360;
60 }
61 }
62 }
63 programs {
64 program { name: "spin";
65 signal: "efl,state,busy,started"; source: "efl";
66 action: ACTION_STOP;
67 target: "spin";
68 target: "spin0";
69 target: "spin1";
70 target: "spin2";
71 target: "spin3";
72 target: "spin4";
73 after: "spin0";
74 }
75 program { name: "spin0";
76 action: STATE_SET "default" 0.0;
77 target: "knob_spinner";
78 after: "spin1";
79 }
80 program { name: "spin1";
81 action: STATE_SET "spin" 0.0;
82 transition: LINEAR 1.0;
83 target: "knob_spinner";
84 after: "spin2";
85 }
86 program { name: "spin2";
87 action: STATE_SET "default" 0.0;
88 target: "knob_spinner";
89 after: "spin1";
90 }
91
92 program {
93 signal: "efl,state,busy,started"; source: "efl";
94 action: STATE_SET "active" 0.0;
95 transition: SINUSOIDAL 0.25;
96 target: "busy_clip";
97 }
98
99 program {
100 signal: "efl,state,busy,stopped"; source: "efl";
101 action: STATE_SET "default" 0.0;
102 transition: SINUSOIDAL 1.0;
103 target: "busy_clip";
104 after: "spin3";
105 }
106 program { name: "spin3";
107 action: ACTION_STOP;
108 target: "spin";
109 target: "spin2";
110 after: "spin4";
111 }
112 program { name: "spin4";
113 action: STATE_SET "default" 0.0;
114 target: "knob_spinner";
115 }
116 } 37 }
117} 38}
diff --git a/data/elementary/themes/edc/elm/thumb.edc b/data/elementary/themes/edc/elm/thumb.edc
index 57d1f6f05f..f35865fd6d 100644
--- a/data/elementary/themes/edc/elm/thumb.edc
+++ b/data/elementary/themes/edc/elm/thumb.edc
@@ -1,7 +1,5 @@
1group { name: "elm/thumb/base/default"; 1group { name: "elm/thumb/base/default";
2 images.image: "knob_round_busy.png" COMP; 2 images.image: "win_shadow.png" COMP;
3 images.image: "glow_round_corners.png" COMP;
4 images.image: "shadow_square_tiny.png" COMP;
5 parts { 3 parts {
6 part { name: "shadow"; mouse_events: 0; 4 part { name: "shadow"; mouse_events: 0;
7 scale: 1; 5 scale: 1;