summaryrefslogtreecommitdiff
path: root/data/elementary/themes
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-01-06 19:39:49 +0000
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-01-06 19:39:49 +0000
commita3d13013e4200d2b2e1f89ae33310b3ea160c015 (patch)
tree9d58c9a1f3e76ae8190a163d01a596bcd831f948 /data/elementary/themes
parent9ac3a57efe87a022acacbe5efa9b578937dd4ed4 (diff)
TH - video player
Diffstat (limited to 'data/elementary/themes')
-rw-r--r--data/elementary/themes/edc/elm/button.edc109
-rw-r--r--data/elementary/themes/edc/elm/player.edc246
2 files changed, 99 insertions, 256 deletions
diff --git a/data/elementary/themes/edc/elm/button.edc b/data/elementary/themes/edc/elm/button.edc
index f10694f914..f27681c018 100644
--- a/data/elementary/themes/edc/elm/button.edc
+++ b/data/elementary/themes/edc/elm/button.edc
@@ -620,14 +620,15 @@ group { name: "elm/button/base/anchor";
620 620
621group { name: "elm/button/base/colorselector/left/default"; 621group { name: "elm/button/base/colorselector/left/default";
622 inherit: "elm/button/base/default"; 622 inherit: "elm/button/base/default";
623 images.image: "sym_left_light_normal.png" COMP;
624 parts { 623 parts {
625 image { "ic"; nomouse; 624 image { "ic"; nomouse;
625 scale: 1;
626 desc { "default"; 626 desc { "default";
627 fixed: 1 1;
627 min: 15 15; 628 min: 15 15;
628 max: 15 15; 629 max: 15 15;
629 fixed: 1 1; 630 image.normal: "ic-arrow-l";
630 image.normal: "sym_left_light_normal.png"; 631 color: 160 160 160 255;
631 } 632 }
632 } 633 }
633 } 634 }
@@ -635,56 +636,27 @@ group { name: "elm/button/base/colorselector/left/default";
635 636
636group { name: "elm/button/base/colorselector/right/default"; 637group { name: "elm/button/base/colorselector/right/default";
637 inherit: "elm/button/base/default"; 638 inherit: "elm/button/base/default";
638 images.image: "sym_right_light_normal.png" COMP;
639 parts { 639 parts {
640 image { "ic"; nomouse; 640 image { "ic"; nomouse;
641 scale: 1;
641 desc { "default"; 642 desc { "default";
643 fixed: 1 1;
642 min: 15 15; 644 min: 15 15;
643 max: 15 15; 645 max: 15 15;
644 fixed: 1 1; 646 image.normal: "ic-arrow-r";
645 image.normal: "sym_right_light_normal.png"; 647 color: 160 160 160 255;
646 } 648 }
647 } 649 }
648 } 650 }
649} 651}
650 652
651group { name: "elm/button/base/media_player/prev/default"; 653group { name: "elm/button/base/media_player/prev/default";
652 alias: "elm/button/base/media_player/rewind/default";
653 alias: "elm/button/base/media_player/play/default";
654 alias: "elm/button/base/media_player/pause/default";
655 alias: "elm/button/base/media_player/stop/default";
656 alias: "elm/button/base/media_player/forward/default";
657 alias: "elm/button/base/media_player/next/default";
658 alias: "elm/button/base/media_player/info/default";
659 alias: "elm/button/base/media_player/eject/default";
660 alias: "elm/button/base/media_player/volume/default";
661 alias: "elm/button/base/media_player/mute/default";
662
663 alias: "elm/button/base/media_player/prev/flush"; 654 alias: "elm/button/base/media_player/prev/flush";
664 alias: "elm/button/base/media_player/rewind/flush"; 655 images.image: "icon_prev_mono.png" COMP;
665 alias: "elm/button/base/media_player/play/flush";
666 alias: "elm/button/base/media_player/pause/flush";
667 alias: "elm/button/base/media_player/stop/flush";
668 alias: "elm/button/base/media_player/forward/flush";
669 alias: "elm/button/base/media_player/next/flush";
670 alias: "elm/button/base/media_player/info/flush";
671 alias: "elm/button/base/media_player/eject/flush";
672 alias: "elm/button/base/media_player/volume/flush";
673 alias: "elm/button/base/media_player/mute/flush";
674
675 images.image: "shadow_inset_bevels.png" COMP;
676 images.image: "shadow_angled_in_sides.png" COMP;
677 parts { 656 parts {
678 rect { "clip"; 657 rect { "base";
679 desc { "default";
680 }
681 }
682 image { "shadow1"; nomouse;
683 clip_to: "clip";
684 desc { "default"; 658 desc { "default";
685 rel2.offset: -1 0; 659 color: 96 96 96 255;
686 image.normal: "shadow_inset_bevels.png";
687 image.border: 2 2 0 1;
688 visible: 0; 660 visible: 0;
689 } 661 }
690 desc { "selected"; 662 desc { "selected";
@@ -692,25 +664,17 @@ group { name: "elm/button/base/media_player/prev/default";
692 visible: 1; 664 visible: 1;
693 } 665 }
694 } 666 }
695 image { "shadow2"; nomouse; 667 image { "ic"; nomouse;
696 clip_to: "clip"; 668 scale: 1;
697 desc { "default"; 669 desc { "default";
698 rel1.offset: 1 0; 670 min: 24 24;
699 rel2.offset: -2 -1; 671 max: 24 24;
700 image.normal: "shadow_angled_in_sides.png"; 672 image.normal: "icon_prev_mono.png";
701 image.border: 8 8 0 1; 673 color: 160 160 160 255;
702 image.middle: 0;
703 visible: 0;
704 } 674 }
705 desc { "selected"; 675 desc { "selected";
706 inherit: "default"; 676 inherit: "default";
707 visible: 1; 677 color: 255 255 255 255;
708 }
709 }
710 swallow { "elm.swallow.content"; nomouse;
711 desc { "default";
712 rel1.offset: 3 1;
713 rel2.offset: -4 -2;
714 } 678 }
715 } 679 }
716 rect { "event"; 680 rect { "event";
@@ -721,23 +685,48 @@ group { name: "elm/button/base/media_player/prev/default";
721 } 685 }
722 } 686 }
723 programs { 687 programs {
724 program { 688 program { signal: "mouse,down,1"; source: "event";
725 signal: "mouse,down,1"; source: "event";
726 action: SIGNAL_EMIT "elm,action,press" "elm"; 689 action: SIGNAL_EMIT "elm,action,press" "elm";
727 after: "button_click_anim"; 690 after: "button_click_anim";
728 } 691 }
729 program { name: "button_click_anim"; 692 program { name: "button_click_anim";
730 action: STATE_SET "selected" 0.0; 693 action: STATE_SET "selected" 0.0;
731 target: "shadow1"; 694 target: "base";
732 target: "shadow2"; 695 target: "ic";
733 } 696 }
734 program { 697 program { signal: "mouse,up,1"; source: "event";
735 signal: "mouse,clicked,1"; source: "event"; 698 action: STATE_SET "default" 0.0;
699 target: "base";
700 target: "ic";
701 }
702 program { signal: "mouse,clicked,1"; source: "event";
736 action: SIGNAL_EMIT "elm,action,click" "elm"; 703 action: SIGNAL_EMIT "elm,action,click" "elm";
737 } 704 }
738 } 705 }
739} 706}
740 707
708#define MEDIABUTTON(_name, _icon) \
709group { name: "elm/button/base/media_player/"_name"/default"; \
710 alias: "elm/button/base/media_player/"_name"/flush"; \
711 inherit: "elm/button/base/media_player/prev/default"; \
712 images.image: _icon COMP; \
713 parts { image { "ic"; \
714 desc { "default"; image.normal: _icon; } \
715 desc { "selected"; image.normal: _icon; } \
716 } } \
717}
718
719MEDIABUTTON("rewind", "icon_rewind_mono.png")
720MEDIABUTTON("play", "icon_play_mono.png")
721MEDIABUTTON("pause", "icon_pause_mono.png")
722MEDIABUTTON("forward", "icon_forward_mono.png")
723MEDIABUTTON("next", "icon_next_mono.png")
724MEDIABUTTON("info", "icon_info_mono.png")
725MEDIABUTTON("stop", "icon_stop_mono.png")
726MEDIABUTTON("eject", "icon_eject_mono.png")
727MEDIABUTTON("volume", "icon_volume_mono.png")
728MEDIABUTTON("mute", "icon_mute_mono.png")
729
741group { name: "elm/button/base/hoversel_vertical_entry/default"; 730group { name: "elm/button/base/hoversel_vertical_entry/default";
742 alias: "elm/button/base/hoversel_vertical_entry/entry"; 731 alias: "elm/button/base/hoversel_vertical_entry/entry";
743 script { 732 script {
diff --git a/data/elementary/themes/edc/elm/player.edc b/data/elementary/themes/edc/elm/player.edc
index c69119486e..91419f399e 100644
--- a/data/elementary/themes/edc/elm/player.edc
+++ b/data/elementary/themes/edc/elm/player.edc
@@ -1,11 +1,6 @@
1#define BSZ 20 1#define BSZ 24
2group { name: "elm/player/base/default"; 2group { name: "elm/player/base/default";
3 images.image: "inset_shadow.png" COMP;
4 images.image: "shine.png" COMP;
5 images.image: "bevel_out.png" COMP; 3 images.image: "bevel_out.png" COMP;
6 images.image: "vgrad_med_lighter.png" COMP;
7 images.image: "bevel_out.png" COMP;
8 images.image: "shine.png" COMP;
9 images.image: "vgrad_shadow_bi.png" COMP; 4 images.image: "vgrad_shadow_bi.png" COMP;
10 images.image: "shadow_square_tiny.png" COMP; 5 images.image: "shadow_square_tiny.png" COMP;
11 script { 6 script {
@@ -34,107 +29,37 @@ group { name: "elm/player/base/default";
34 parts { 29 parts {
35 part { name: "bg"; type: RECT; 30 part { name: "bg"; type: RECT;
36 description { state: "default" 0.0; 31 description { state: "default" 0.0;
37 rel1.offset: 1 1;
38 rel2.offset: -2 -2;
39 color: 0 0 0 255; 32 color: 0 0 0 255;
40 } 33 }
41 } 34 }
42 part { name: "clipper"; type: RECT; 35 part { name: "clipper"; type: RECT;
43 description { state: "default" 0.0; 36 description { state: "default" 0.0;
44 rel1.to: "bg"; 37 rel.to: "bg";
45 rel2.to: "bg";
46 } 38 }
47 } 39 }
48 // video (elm_video) content here 40 // video (elm_video) content here
49 part { name: "elm.swallow.content"; type: SWALLOW; 41 part { name: "elm.swallow.content"; type: SWALLOW;
50 clip_to: "clipper"; 42 clip_to: "clipper";
51 description { state: "default" 0.0; 43 description { state: "default" 0.0;
52 rel1.offset: 1 1;
53 rel2.offset: -2 -2;
54 } 44 }
55 } 45 }
56 46
57 part { name: "barshad"; 47 part { name: "bar"; type: RECT;
58 clip_to: "clipper";
59 description { state: "default" 0.0;
60 image.normal: "vgrad_shadow_bi.png";
61 rel1.to: "bar";
62 rel1.relative: 0.0 -0.5;
63 rel2.to: "bar";
64 rel2.relative: 1.0 0.5;
65 color: 255 255 255 0;
66 visible: 0;
67 }
68 description { state: "visible" 0.0;
69 inherit: "default" 0.0;
70 color: 255 255 255 128;
71 visible: 1;
72 }
73 }
74 part { name: "volpop_shadow"; mouse_events: 0;
75 clip_to: "volclip";
76 description { state: "default" 0.0;
77 rel1.offset: -3 -2;
78 rel1.to: "volpop";
79 rel2.offset: 3 4;
80 rel2.to: "volpop";
81 image.normal: "shadow_square_tiny.png";
82 image.border: 6 6 6 6;
83 fill.smooth: 0;
84 }
85 }
86
87 part { name: "bar";
88 clip_to: "clipper"; 48 clip_to: "clipper";
49 scale: 1;
89 description { state: "default" 0.0; 50 description { state: "default" 0.0;
90 color_class: "player_bar"; 51 rel1.offset: 0 -6;
91 image.normal: "vgrad_med_lighter.png";
92 rel1.to_y: "elm.swallow.media_player.prev"; 52 rel1.to_y: "elm.swallow.media_player.prev";
93 rel1.offset: 1 -1;
94 rel2.to_y: "elm.swallow.media_player.positionslider"; 53 rel2.to_y: "elm.swallow.media_player.positionslider";
95 rel2.offset: -2 -1; 54 rel2.offset: -1 4;
96 fill.smooth: 0; 55 color: 64 64 64 255;
97 TILED_HORIZ(120) 56 offscale;
98 }
99 }
100 part { name: "barbevclip"; type: RECT;
101 clip_to: "clipper";
102 description { state: "default" 0.0;
103 fixed: 0 1;
104 rel1.to: "bar";
105 rel2.to: "bar";
106 rel2.relative: 1.0 0.0;
107 rel2.offset: -1 0;
108 color: 255 255 255 255;
109 }
110 }
111 part { name: "barbev";
112 clip_to: "barbevclip";
113 description { state: "default" 0.0;
114 rel1.to: "bar";
115 rel2.to: "bar";
116 image.normal: "bevel_out.png";
117 image.border: 2 2 2 2;
118 fill.smooth: 0;
119 }
120 }
121 part { name: "shine"; mouse_events: 0;
122 clip_to: "clipper";
123 description { state: "default" 0.0;
124 image.normal: "shine.png";
125 rel1.offset: 0 -2;
126 rel1.to: "bar";
127 rel2.relative: 1.0 0.0;
128 rel2.offset: -1 2;
129 rel2.to: "bar";
130 FIXED_SIZE(69, 5)
131 } 57 }
132 } 58 }
133 59
134 part { name: "volclip"; type: RECT; 60 part { name: "volclip"; type: RECT;
135 description { state: "default" 0.0; 61 description { state: "default" 0.0;
136 rel1.to: "bg"; 62 rel1.to: "bg";
137 rel2.to: "bg";
138 color: 255 255 255 0; 63 color: 255 255 255 0;
139 visible: 0; 64 visible: 0;
140 } 65 }
@@ -144,51 +69,17 @@ group { name: "elm/player/base/default";
144 visible: 1; 69 visible: 1;
145 } 70 }
146 } 71 }
147 part { name: "volpop"; 72 part { name: "volpop"; type: RECT;
148 clip_to: "volclip"; 73 clip_to: "volclip";
149 description { state: "default" 0.0; 74 description { state: "default" 0.0;
150 color_class: "player_volume";
151 image.normal: "vgrad_med_lighter.png";
152 rel1.to: "elm.swallow.media_player.volumeslider"; 75 rel1.to: "elm.swallow.media_player.volumeslider";
153 rel1.offset: -1 -1; 76 rel1.offset: -1 -1;
154 rel2.to: "elm.swallow.media_player.volumeslider"; 77 rel2.to: "elm.swallow.media_player.volumeslider";
155 rel2.offset: 0 0; 78 rel2.offset: 0 0;
156 fill.smooth: 0; 79 color: 64 64 64 255;
157 TILED_HORIZ(120)
158 }
159 }
160 part { name: "volpopclip"; type: RECT;
161 clip_to: "volclip";
162 description { state: "default" 0.0;
163 rel1.to: "volpop";
164 rel1.offset: 0 -5;
165 rel2.to: "volpop";
166 color: 255 255 255 255;
167 } 80 }
168 } 81 }
169 part { name: "volpopbev"; 82
170 clip_to: "volpopclip";
171 description { state: "default" 0.0;
172 rel1.to: "volpop";
173 rel2.to: "volpop";
174 image.normal: "bevel_out.png";
175 image.border: 2 2 2 2;
176 fill.smooth: 0;
177 }
178 }
179 part { name: "volshine"; mouse_events: 0;
180 clip_to: "volpopclip";
181 description { state: "default" 0.0;
182 image.normal: "shine.png";
183 rel1.offset: 0 -2;
184 rel1.to: "volpop";
185 rel2.relative: 1.0 0.0;
186 rel2.offset: -1 2;
187 rel2.to: "volpop";
188 FIXED_SIZE(69, 5)
189 }
190 }
191
192 part { name: "elm.swallow.media_player.prev"; type: SWALLOW; 83 part { name: "elm.swallow.media_player.prev"; type: SWALLOW;
193 clip_to: "clipper"; 84 clip_to: "clipper";
194 scale: 1; 85 scale: 1;
@@ -197,14 +88,15 @@ group { name: "elm/player/base/default";
197 min: BSZ BSZ; 88 min: BSZ BSZ;
198 align: 0.0 0.0; 89 align: 0.0 0.0;
199 rel1.relative: 0.0 1.0; 90 rel1.relative: 0.0 1.0;
200 rel1.offset: 1 7; 91 rel1.offset: 5 5;
201 rel2.relative: 0.0 1.0; 92 rel2.relative: 0.0 1.0;
202 rel2.offset: 1 7; 93 rel2.offset: 5 5;
94 offscale;
203 } 95 }
204 description { state: "visible" 0.0; 96 description { state: "visible" 0.0;
205 inherit: "default" 0.0; 97 inherit: "default" 0.0;
206 rel1.offset: 1 -2; 98 rel1.offset: 5 -6;
207 rel2.offset: 1 -2; 99 rel2.offset: 5 -6;
208 align: 0.0 1.0; 100 align: 0.0 1.0;
209 } 101 }
210 } 102 }
@@ -217,10 +109,11 @@ group { name: "elm/player/base/default";
217 align: 0.0 1.0; 109 align: 0.0 1.0;
218 rel1.to: "elm.swallow.media_player.prev"; 110 rel1.to: "elm.swallow.media_player.prev";
219 rel1.relative: 1.0 0.0; 111 rel1.relative: 1.0 0.0;
220 rel1.offset: 0 0; 112 rel1.offset: 5 0;
221 rel2.to: "elm.swallow.media_player.prev"; 113 rel2.to: "elm.swallow.media_player.prev";
222 rel2.relative: 1.0 1.0; 114 rel2.relative: 1.0 1.0;
223 rel2.offset: 0 -1; 115 rel2.offset: 5 -1;
116 offscale;
224 } 117 }
225 } 118 }
226 part { name: "elm.swallow.media_player.play"; type: SWALLOW; 119 part { name: "elm.swallow.media_player.play"; type: SWALLOW;
@@ -232,10 +125,11 @@ group { name: "elm/player/base/default";
232 align: 0.0 1.0; 125 align: 0.0 1.0;
233 rel1.to: "elm.swallow.media_player.rewind"; 126 rel1.to: "elm.swallow.media_player.rewind";
234 rel1.relative: 1.0 0.0; 127 rel1.relative: 1.0 0.0;
235 rel1.offset: 0 0; 128 rel1.offset: 5 0;
236 rel2.to: "elm.swallow.media_player.rewind"; 129 rel2.to: "elm.swallow.media_player.rewind";
237 rel2.relative: 1.0 1.0; 130 rel2.relative: 1.0 1.0;
238 rel2.offset: 0 -1; 131 rel2.offset: 5 -1;
132 offscale;
239 } 133 }
240 description { state: "hidden" 0.0; 134 description { state: "hidden" 0.0;
241 inherit: "default" 0.0; 135 inherit: "default" 0.0;
@@ -265,10 +159,11 @@ group { name: "elm/player/base/default";
265 align: 0.0 1.0; 159 align: 0.0 1.0;
266 rel1.to: "elm.swallow.media_player.play"; 160 rel1.to: "elm.swallow.media_player.play";
267 rel1.relative: 1.0 0.0; 161 rel1.relative: 1.0 0.0;
268 rel1.offset: 0 0; 162 rel1.offset: 5 0;
269 rel2.to: "elm.swallow.media_player.play"; 163 rel2.to: "elm.swallow.media_player.play";
270 rel2.relative: 1.0 1.0; 164 rel2.relative: 1.0 1.0;
271 rel2.offset: 0 -1; 165 rel2.offset: 5 -1;
166 offscale;
272 } 167 }
273 } 168 }
274 part { name: "elm.swallow.media_player.next"; type: SWALLOW; 169 part { name: "elm.swallow.media_player.next"; type: SWALLOW;
@@ -280,10 +175,11 @@ group { name: "elm/player/base/default";
280 align: 0.0 1.0; 175 align: 0.0 1.0;
281 rel1.to: "elm.swallow.media_player.forward"; 176 rel1.to: "elm.swallow.media_player.forward";
282 rel1.relative: 1.0 0.0; 177 rel1.relative: 1.0 0.0;
283 rel1.offset: 0 0; 178 rel1.offset: 5 0;
284 rel2.to: "elm.swallow.media_player.forward"; 179 rel2.to: "elm.swallow.media_player.forward";
285 rel2.relative: 1.0 1.0; 180 rel2.relative: 1.0 1.0;
286 rel2.offset: 0 -1; 181 rel2.offset: 5 -1;
182 offscale;
287 } 183 }
288 } 184 }
289 part { name: "elm.swallow.media_player.stop"; type: SWALLOW; 185 part { name: "elm.swallow.media_player.stop"; type: SWALLOW;
@@ -295,10 +191,11 @@ group { name: "elm/player/base/default";
295 align: 0.0 1.0; 191 align: 0.0 1.0;
296 rel1.to: "elm.swallow.media_player.next"; 192 rel1.to: "elm.swallow.media_player.next";
297 rel1.relative: 1.0 0.0; 193 rel1.relative: 1.0 0.0;
298 rel1.offset: 0 0; 194 rel1.offset: 5 0;
299 rel2.to: "elm.swallow.media_player.next"; 195 rel2.to: "elm.swallow.media_player.next";
300 rel2.relative: 1.0 1.0; 196 rel2.relative: 1.0 1.0;
301 rel2.offset: 0 -1; 197 rel2.offset: 5 -1;
198 offscale;
302 } 199 }
303 } 200 }
304 part { name: "elm.swallow.media_player.eject"; type: SWALLOW; 201 part { name: "elm.swallow.media_player.eject"; type: SWALLOW;
@@ -310,10 +207,11 @@ group { name: "elm/player/base/default";
310 align: 0.0 1.0; 207 align: 0.0 1.0;
311 rel1.to: "elm.swallow.media_player.stop"; 208 rel1.to: "elm.swallow.media_player.stop";
312 rel1.relative: 1.0 0.0; 209 rel1.relative: 1.0 0.0;
313 rel1.offset: 0 0; 210 rel1.offset: 5 0;
314 rel2.to: "elm.swallow.media_player.stop"; 211 rel2.to: "elm.swallow.media_player.stop";
315 rel2.relative: 1.0 1.0; 212 rel2.relative: 1.0 1.0;
316 rel2.offset: 0 -1; 213 rel2.offset: 5 -1;
214 offscale;
317 } 215 }
318 } 216 }
319 part { name: "elm.swallow.media_player.volume"; type: SWALLOW; 217 part { name: "elm.swallow.media_player.volume"; type: SWALLOW;
@@ -325,10 +223,11 @@ group { name: "elm/player/base/default";
325 align: 0.0 1.0; 223 align: 0.0 1.0;
326 rel1.to: "elm.swallow.media_player.eject"; 224 rel1.to: "elm.swallow.media_player.eject";
327 rel1.relative: 1.0 0.0; 225 rel1.relative: 1.0 0.0;
328 rel1.offset: 0 0; 226 rel1.offset: 5 0;
329 rel2.to: "elm.swallow.media_player.eject"; 227 rel2.to: "elm.swallow.media_player.eject";
330 rel2.relative: 1.0 1.0; 228 rel2.relative: 1.0 1.0;
331 rel2.offset: 0 -1; 229 rel2.offset: 5 -1;
230 offscale;
332 } 231 }
333 description { state: "hidden" 0.0; 232 description { state: "hidden" 0.0;
334 inherit: "default" 0.0; 233 inherit: "default" 0.0;
@@ -358,20 +257,24 @@ group { name: "elm/player/base/default";
358 align: 0.0 1.0; 257 align: 0.0 1.0;
359 rel1.to: "elm.swallow.media_player.volume"; 258 rel1.to: "elm.swallow.media_player.volume";
360 rel1.relative: 1.0 0.0; 259 rel1.relative: 1.0 0.0;
361 rel1.offset: 0 0; 260 rel1.offset: 5 0;
362 rel2.to: "elm.swallow.media_player.volume"; 261 rel2.to: "elm.swallow.media_player.volume";
363 rel2.relative: 1.0 1.0; 262 rel2.relative: 1.0 1.0;
364 rel2.offset: 0 -1; 263 rel2.offset: 5 -1;
264 offscale;
365 } 265 }
366 } 266 }
367 part { name: "elm.swallow.media_player.positionslider"; type: SWALLOW; 267 part { name: "elm.swallow.media_player.positionslider"; type: SWALLOW;
368 clip_to: "clipper"; 268 clip_to: "clipper";
269 scale: 1;
369 description { state: "default" 0.0; 270 description { state: "default" 0.0;
370 fixed: 0 1; 271 fixed: 0 1;
371 rel1.relative: 1.0 0.0; 272 rel1.relative: 1.0 0.0;
273 rel1.offset: 5 0;
372 rel1.to: "elm.swallow.media_player.info"; 274 rel1.to: "elm.swallow.media_player.info";
373 rel2.to_y: "elm.swallow.media_player.info"; 275 rel2.to_y: "elm.swallow.media_player.info";
374 rel2.offset: -2 -1; 276 rel2.offset: -6 -1;
277 offscale;
375 } 278 }
376 } 279 }
377 part { name: "elm.swallow.media_player.volumeslider"; type: SWALLOW; 280 part { name: "elm.swallow.media_player.volumeslider"; type: SWALLOW;
@@ -388,31 +291,7 @@ group { name: "elm/player/base/default";
388 max: 99999 100; 291 max: 99999 100;
389 } 292 }
390 } 293 }
391 294
392 part { name: "shadow"; mouse_events: 0;
393 description { state: "default" 0.0;
394 image.normal: "inset_shadow.png";
395 image.border: 5 5 7 3;
396 image.middle: 0;
397 rel1.to: "bg";
398 rel2.to: "bg";
399 fill.smooth: 0;
400 color: 255 255 255 128;
401 }
402 }
403 part { name: "inset"; mouse_events: 0;
404 description { state: "default" 0.0;
405 image.normal: "bevel_in.png";
406 image.border: 1 1 1 1;
407 image.middle: 0;
408 rel1.to: "bg";
409 rel1.offset: -1 -1;
410 rel2.to: "bg";
411 rel2.offset: 0 0;
412 fill.smooth: 0;
413 }
414 }
415
416 part { name: "controls"; type: RECT; repeat_events: 1; 295 part { name: "controls"; type: RECT; repeat_events: 1;
417 clip_to: "clipper"; 296 clip_to: "clipper";
418 scale: 1; 297 scale: 1;
@@ -423,7 +302,7 @@ group { name: "elm/player/base/default";
423 color: 0 0 0 0; 302 color: 0 0 0 0;
424 } 303 }
425 } 304 }
426 305
427 part { name: "volumetop"; type: SPACER; 306 part { name: "volumetop"; type: SPACER;
428 description { state: "default" 0.0; 307 description { state: "default" 0.0;
429 fixed: 1 1; 308 fixed: 1 1;
@@ -488,15 +367,13 @@ group { name: "elm/player/base/default";
488 action: STATE_SET "visible" 0.0; 367 action: STATE_SET "visible" 0.0;
489 transition: DECELERATE 0.2; 368 transition: DECELERATE 0.2;
490 target: "elm.swallow.media_player.prev"; 369 target: "elm.swallow.media_player.prev";
491 target: "barshad";
492 target: "volume"; 370 target: "volume";
493 } 371 }
494 program { 372 program {
495 signal: "conhide"; source: ""; 373 signal: "conhide"; source: "";
496 action: STATE_SET "default" 0.0; 374 action: STATE_SET "default" 0.0;
497 transition: DECELERATE 0.5; 375 transition: ACCELERATE 0.5;
498 target: "elm.swallow.media_player.prev"; 376 target: "elm.swallow.media_player.prev";
499 target: "barshad";
500 target: "volume"; 377 target: "volume";
501 } 378 }
502 program { 379 program {
@@ -508,10 +385,10 @@ group { name: "elm/player/base/default";
508 program { 385 program {
509 signal: "mouse,out"; source: "volume"; 386 signal: "mouse,out"; source: "volume";
510 action: STATE_SET "default" 0.0; 387 action: STATE_SET "default" 0.0;
511 transition: DECELERATE 0.5; 388 transition: ACCELERATE 0.5;
512 target: "volclip"; 389 target: "volclip";
513 } 390 }
514 391
515 program { 392 program {
516 signal: "load"; source: ""; 393 signal: "load"; source: "";
517 after: "pause/0"; 394 after: "pause/0";
@@ -594,22 +471,10 @@ group { name: "elm/player/base/flush";
594 } 471 }
595 part { name: "bar"; 472 part { name: "bar";
596 description { state: "default" 0.0; 473 description { state: "default" 0.0;
597 rel1.offset: 0 -1; 474 rel1.offset: 0 0;
598 rel2.offset: -1 -1;
599 }
600 }
601 part { name: "barbevclip"; type: RECT;
602 description { state: "default" 0.0;
603 rel2.relative: 1.0 1.0;
604 rel2.offset: -1 -1; 475 rel2.offset: -1 -1;
605 } 476 }
606 } 477 }
607 part { name: "barbev";
608 description { state: "default" 0.0;
609 rel1.offset: -1 0;
610 rel2.offset: 0 -1;
611 }
612 }
613 part { name: "elm.swallow.media_player.prev"; 478 part { name: "elm.swallow.media_player.prev";
614 description { state: "default" 0.0; 479 description { state: "default" 0.0;
615 rel1.offset: 0 7; 480 rel1.offset: 0 7;
@@ -625,16 +490,5 @@ group { name: "elm/player/base/flush";
625 rel2.offset: -1 -1; 490 rel2.offset: -1 -1;
626 } 491 }
627 } 492 }
628
629 part { name: "shadow"; mouse_events: 0;
630 description { state: "default" 0.0;
631 visible: 0;
632 }
633 }
634 part { name: "inset"; mouse_events: 0;
635 description { state: "default" 0.0;
636 visible: 0;
637 }
638 }
639 } 493 }
640} 494}