summaryrefslogtreecommitdiff
path: root/src/tests/emotion
diff options
context:
space:
mode:
authordavemds <dave@gurumeditation.it>2014-02-14 20:35:50 +0100
committerdavemds <dave@gurumeditation.it>2014-02-14 20:35:50 +0100
commit92fb6926b53a2ae3f29ab47f07695c65f5410978 (patch)
tree6657ee3a741fea88b2842af43da6b58b0165f49d /src/tests/emotion
parent38e85d79f56212ef69d9fa683c8afbe8912201cf (diff)
Emotion test theme: tabs--
Diffstat (limited to 'src/tests/emotion')
-rw-r--r--src/tests/emotion/data/theme.edc3194
1 files changed, 1597 insertions, 1597 deletions
diff --git a/src/tests/emotion/data/theme.edc b/src/tests/emotion/data/theme.edc
index 63e732dc5a..0994bac794 100644
--- a/src/tests/emotion/data/theme.edc
+++ b/src/tests/emotion/data/theme.edc
@@ -32,1635 +32,1635 @@ collections {
32 group { 32 group {
33 name: "background"; 33 name: "background";
34 parts { 34 parts {
35 part { 35 part {
36 name: "bg"; 36 name: "bg";
37 mouse_events: 0; 37 mouse_events: 0;
38 description { 38 description {
39 state: "default" 0.0; 39 state: "default" 0.0;
40 color_class: "background"; 40 color_class: "background";
41 rel1 { 41 rel1 {
42 relative: 0.0 0.0; 42 relative: 0.0 0.0;
43 offset: 0 0; 43 offset: 0 0;
44 } 44 }
45 rel2 { 45 rel2 {
46 relative: 1.0 1.0; 46 relative: 1.0 1.0;
47 offset: -1 -1; 47 offset: -1 -1;
48 } 48 }
49 fill { 49 fill {
50 smooth: 0; 50 smooth: 0;
51 origin { 51 origin {
52 relative: 0.0 0.0; 52 relative: 0.0 0.0;
53 offset: 0 0; 53 offset: 0 0;
54 } 54 }
55 size { 55 size {
56 relative: 0.0 0.0; 56 relative: 0.0 0.0;
57 offset: 128 128; 57 offset: 128 128;
58 } 58 }
59 } 59 }
60 image { 60 image {
61 normal: "tiles.png"; 61 normal: "tiles.png";
62 } 62 }
63 } 63 }
64 } 64 }
65/* 65/*
66 part { 66 part {
67 name: "logo"; 67 name: "logo";
68 mouse_events: 0; 68 mouse_events: 0;
69 description { 69 description {
70 state: "default" 0.0; 70 state: "default" 0.0;
71 min: 120 140; 71 min: 120 140;
72 rel1 { 72 rel1 {
73 relative: 0.0 0.0; 73 relative: 0.0 0.0;
74 offset: 48 48; 74 offset: 48 48;
75 } 75 }
76 rel2 { 76 rel2 {
77 relative: 0.0 0.0; 77 relative: 0.0 0.0;
78 offset: 140 140; 78 offset: 140 140;
79 } 79 }
80 image { 80 image {
81 normal: "e_logo.png"; 81 normal: "e_logo.png";
82 } 82 }
83 } 83 }
84 } 84 }
85 */ 85 */
86 part { 86 part {
87 name: "shadow"; 87 name: "shadow";
88 mouse_events: 0; 88 mouse_events: 0;
89 description { 89 description {
90 state: "default" 0.0; 90 state: "default" 0.0;
91 rel1 { 91 rel1 {
92 relative: 0.0 0.0; 92 relative: 0.0 0.0;
93 offset: 0 0; 93 offset: 0 0;
94 } 94 }
95 rel2 { 95 rel2 {
96 relative: 1.0 1.0; 96 relative: 1.0 1.0;
97 offset: -1 -1; 97 offset: -1 -1;
98 } 98 }
99 image { 99 image {
100 normal: "window_inner_shadow.png"; 100 normal: "window_inner_shadow.png";
101 } 101 }
102 } 102 }
103 } 103 }
104 } 104 }
105 } 105 }
106#if 0 106#if 0
107 group { 107 group {
108 name: "video_controller"; 108 name: "video_controller";
109 parts { 109 parts {
110 // need swallow parts: 110 // need swallow parts:
111 // "video_swallow" 111 // "video_swallow"
112 // 112 //
113 // need txt parts: 113 // need txt parts:
114 // "video_speed_txt" 114 // "video_speed_txt"
115 // "video_progress_txt" 115 // "video_progress_txt"
116 // 116 //
117 // need dragables: 117 // need dragables:
118 // "video_progress" horizontal 118 // "video_progress" horizontal
119 // "video_speed" vertical 119 // "video_speed" vertical
120 part { 120 part {
121 name: "video_swallow"; 121 name: "video_swallow";
122 mouse_events: 0; 122 mouse_events: 0;
123 type: SWALLOW; 123 type: SWALLOW;
124 clip_to: "vclip"; 124 clip_to: "vclip";
125 description { 125 description {
126 state: "default" 0.0; 126 state: "default" 0.0;
127 rel1 { 127 rel1 {
128 to: "fr_c1"; 128 to: "fr_c1";
129 relative: 0.0 0.0; 129 relative: 0.0 0.0;
130 offset: 20 20; 130 offset: 20 20;
131 } 131 }
132 rel2 { 132 rel2 {
133 to: "fr_c4"; 133 to: "fr_c4";
134 relative: 0.0 0.0; 134 relative: 0.0 0.0;
135 offset: 14 14; 135 offset: 14 14;
136 } 136 }
137 } 137 }
138 } 138 }
139 part { 139 part {
140 name: "vclip"; 140 name: "vclip";
141 mouse_events: 0; 141 mouse_events: 0;
142 type: RECT; 142 type: RECT;
143 description { 143 description {
144 state: "default" 0.0; 144 state: "default" 0.0;
145 rel1 { 145 rel1 {
146 to: "fr_c1"; 146 to: "fr_c1";
147 relative: 0.0 0.0; 147 relative: 0.0 0.0;
148 offset: 20 20; 148 offset: 20 20;
149 } 149 }
150 rel2 { 150 rel2 {
151 to: "fr_c4"; 151 to: "fr_c4";
152 relative: 0.0 0.0; 152 relative: 0.0 0.0;
153 offset: 14 14; 153 offset: 14 14;
154 } 154 }
155 color: 255 255 255 255; 155 color: 255 255 255 255;
156 } 156 }
157 description { 157 description {
158 state: "faded" 0.0; 158 state: "faded" 0.0;
159 rel1 { 159 rel1 {
160 to: "fr_c1"; 160 to: "fr_c1";
161 relative: 0.0 0.0; 161 relative: 0.0 0.0;
162 offset: 20 20; 162 offset: 20 20;
163 } 163 }
164 rel2 { 164 rel2 {
165 to: "fr_c4"; 165 to: "fr_c4";
166 relative: 0.0 0.0; 166 relative: 0.0 0.0;
167 offset: 14 14; 167 offset: 14 14;
168 } 168 }
169 color: 255 255 255 180; 169 color: 255 255 255 180;
170 } 170 }
171 description { 171 description {
172 state: "dim" 0.0; 172 state: "dim" 0.0;
173 rel1 { 173 rel1 {
174 to: "fr_c1"; 174 to: "fr_c1";
175 relative: 0.0 0.0; 175 relative: 0.0 0.0;
176 offset: 20 20; 176 offset: 20 20;
177 } 177 }
178 rel2 { 178 rel2 {
179 to: "fr_c4"; 179 to: "fr_c4";
180 relative: 0.0 0.0; 180 relative: 0.0 0.0;
181 offset: 14 14; 181 offset: 14 14;
182 } 182 }
183 color: 255 255 255 80; 183 color: 255 255 255 80;
184 } 184 }
185 } 185 }
186 part { 186 part {
187 name: "fr_c1"; 187 name: "fr_c1";
188 mouse_events: 0; 188 mouse_events: 0;
189 description { 189 description {
190 state: "default" 0.0; 190 state: "default" 0.0;
191 rel1 { 191 rel1 {
192 relative: 0.0 0.0; 192 relative: 0.0 0.0;
193 offset: 0 0; 193 offset: 0 0;
194 } 194 }
195 rel2 { 195 rel2 {
196 relative: 0.0 0.0; 196 relative: 0.0 0.0;
197 offset: 34 34; 197 offset: 34 34;
198 } 198 }
199 image { 199 image {
200 normal: "fr1.png"; 200 normal: "fr1.png";
201 } 201 }
202 } 202 }
203 } 203 }
204 part { 204 part {
205 name: "fr_c2"; 205 name: "fr_c2";
206 mouse_events: 0; 206 mouse_events: 0;
207 description { 207 description {
208 state: "default" 0.0; 208 state: "default" 0.0;
209 rel1 { 209 rel1 {
210 relative: 1.0 0.0; 210 relative: 1.0 0.0;
211 offset: -35 0; 211 offset: -35 0;
212 } 212 }
213 rel2 { 213 rel2 {
214 relative: 1.0 0.0; 214 relative: 1.0 0.0;
215 offset: -1 34; 215 offset: -1 34;
216 } 216 }
217 image { 217 image {
218 normal: "fr6.png"; 218 normal: "fr6.png";
219 } 219 }
220 } 220 }
221 } 221 }
222 part { 222 part {
223 name: "fr_c3"; 223 name: "fr_c3";
224 mouse_events: 0; 224 mouse_events: 0;
225 description { 225 description {
226 state: "default" 0.0; 226 state: "default" 0.0;
227 rel1 { 227 rel1 {
228 relative: 0.0 1.0; 228 relative: 0.0 1.0;
229 offset: 0 -35; 229 offset: 0 -35;
230 } 230 }
231 rel2 { 231 rel2 {
232 relative: 0.0 1.0; 232 relative: 0.0 1.0;
233 offset: 34 -1; 233 offset: 34 -1;
234 } 234 }
235 image { 235 image {
236 normal: "fr3.png"; 236 normal: "fr3.png";
237 } 237 }
238 } 238 }
239 } 239 }
240 part { 240 part {
241 name: "fr_c4"; 241 name: "fr_c4";
242 mouse_events: 0; 242 mouse_events: 0;
243 description { 243 description {
244 state: "default" 0.0; 244 state: "default" 0.0;
245 rel1 { 245 rel1 {
246 relative: 1.0 1.0; 246 relative: 1.0 1.0;
247 offset: -35 -35; 247 offset: -35 -35;
248 } 248 }
249 rel2 { 249 rel2 {
250 relative: 1.0 1.0; 250 relative: 1.0 1.0;
251 offset: 9 9; 251 offset: 9 9;
252 } 252 }
253 image { 253 image {
254 normal: "fr5.png"; 254 normal: "fr5.png";
255 } 255 }
256 } 256 }
257 } 257 }
258 part { 258 part {
259 name: "fr_s1"; 259 name: "fr_s1";
260 mouse_events: 0; 260 mouse_events: 0;
261 description { 261 description {
262 state: "default" 0.0; 262 state: "default" 0.0;
263 rel1 { 263 rel1 {
264 relative: 0.0 1.0; 264 relative: 0.0 1.0;
265 offset: 0 0; 265 offset: 0 0;
266 to: "fr_c1"; 266 to: "fr_c1";
267 } 267 }
268 rel2 { 268 rel2 {
269 relative: 1.0 0.0; 269 relative: 1.0 0.0;
270 offset: -1 -1; 270 offset: -1 -1;
271 to: "fr_c3"; 271 to: "fr_c3";
272 } 272 }
273 image { 273 image {
274 normal: "fr2.png"; 274 normal: "fr2.png";
275 } 275 }
276 } 276 }
277 } 277 }
278 part { 278 part {
279 name: "fr_s2"; 279 name: "fr_s2";
280 mouse_events: 0; 280 mouse_events: 0;
281 description { 281 description {
282 state: "default" 0.0; 282 state: "default" 0.0;
283 rel1 { 283 rel1 {
284 relative: 1.0 0.0; 284 relative: 1.0 0.0;
285 offset: 0 0; 285 offset: 0 0;
286 to: "fr_c3"; 286 to: "fr_c3";
287 } 287 }
288 rel2 { 288 rel2 {
289 relative: 0.0 1.0; 289 relative: 0.0 1.0;
290 offset: -1 -11; 290 offset: -1 -11;
291 to: "fr_c4"; 291 to: "fr_c4";
292 } 292 }
293 image { 293 image {
294 normal: "fr4.png"; 294 normal: "fr4.png";
295 } 295 }
296 } 296 }
297 } 297 }
298 part { 298 part {
299 name: "fr_s3"; 299 name: "fr_s3";
300 mouse_events: 0; 300 mouse_events: 0;
301 description { 301 description {
302 state: "default" 0.0; 302 state: "default" 0.0;
303 rel1 { 303 rel1 {
304 relative: 0.0 1.0; 304 relative: 0.0 1.0;
305 offset: 0 0; 305 offset: 0 0;
306 to: "fr_c2"; 306 to: "fr_c2";
307 } 307 }
308 rel2 { 308 rel2 {
309 relative: 1.0 0.0; 309 relative: 1.0 0.0;
310 offset: -11 -1; 310 offset: -11 -1;
311 to: "fr_c4"; 311 to: "fr_c4";
312 } 312 }
313 image { 313 image {
314 normal: "fr2.png"; 314 normal: "fr2.png";
315 } 315 }
316 } 316 }
317 } 317 }
318 part { 318 part {
319 name: "fr_t"; 319 name: "fr_t";
320 mouse_events: 0; 320 mouse_events: 0;
321 description { 321 description {
322 state: "default" 0.0; 322 state: "default" 0.0;
323 rel1 { 323 rel1 {
324 relative: 1.0 0.0; 324 relative: 1.0 0.0;
325 offset: 0 0; 325 offset: 0 0;
326 to: "fr_c1"; 326 to: "fr_c1";
327 } 327 }
328 rel2 { 328 rel2 {
329 relative: 0.0 1.0; 329 relative: 0.0 1.0;
330 offset: -1 -1; 330 offset: -1 -1;
331 to: "fr_c2"; 331 to: "fr_c2";
332 } 332 }
333 image { 333 image {
334 border: 50 50 0 0; 334 border: 50 50 0 0;
335 normal: "fr7.png"; 335 normal: "fr7.png";
336 } 336 }
337 } 337 }
338 } 338 }
339 part { 339 part {
340 name: "panel_bg"; 340 name: "panel_bg";
341 mouse_events: 0; 341 mouse_events: 0;
342 clip_to: "panel_clip"; 342 clip_to: "panel_clip";
343 description { 343 description {
344 state: "default" 0.0; 344 state: "default" 0.0;
345 rel1 { 345 rel1 {
346 relative: 0.0 0.0; 346 relative: 0.0 0.0;
347 offset: 0 0; 347 offset: 0 0;
348 to: "panel_clip"; 348 to: "panel_clip";
349 } 349 }
350 rel2 { 350 rel2 {
351 relative: 1.0 1.0; 351 relative: 1.0 1.0;
352 offset: -1 -1; 352 offset: -1 -1;
353 to: "panel_clip"; 353 to: "panel_clip";
354 } 354 }
355 image { 355 image {
356 normal: "pnl.png"; 356 normal: "pnl.png";
357 } 357 }
358 fill { 358 fill {
359 smooth: 1; 359 smooth: 1;
360 origin { 360 origin {
361 relative: 0.0 0.0; 361 relative: 0.0 0.0;
362 offset: 0 0; 362 offset: 0 0;
363 } 363 }
364 size { 364 size {
365 relative: 0.0 1.0; 365 relative: 0.0 1.0;
366 offset: 32 0; 366 offset: 32 0;
367 } 367 }
368 } 368 }
369 } 369 }
370 } 370 }
371 part { 371 part {
372 name: "prog_container"; 372 name: "prog_container";
373 mouse_events: 0; 373 mouse_events: 0;
374 clip_to: "panel_clip"; 374 clip_to: "panel_clip";
375 description { 375 description {
376 state: "default" 0.0; 376 state: "default" 0.0;
377 rel1 { 377 rel1 {
378 relative: 0.0 0.0; 378 relative: 0.0 0.0;
379 offset: 4 4; 379 offset: 4 4;
380 to: "panel_clip"; 380 to: "panel_clip";
381 } 381 }
382 rel2 { 382 rel2 {
383 relative: 1.0 0.0; 383 relative: 1.0 0.0;
384 offset: -5 9; 384 offset: -5 9;
385 to: "panel_clip"; 385 to: "panel_clip";
386 } 386 }
387 image { 387 image {
388 border: 2 2 2 2; 388 border: 2 2 2 2;
389 normal: "whb.png"; 389 normal: "whb.png";
390 } 390 }
391 } 391 }
392 } 392 }
393 part { 393 part {
394 name: "prog_done"; 394 name: "prog_done";
395 mouse_events: 0; 395 mouse_events: 0;
396 clip_to: "panel_clip"; 396 clip_to: "panel_clip";
397 description { 397 description {
398 state: "default" 0.0; 398 state: "default" 0.0;
399 rel1 { 399 rel1 {
400 relative: 0.0 0.0; 400 relative: 0.0 0.0;
401 offset: 0 0; 401 offset: 0 0;
402 to: "prog_container"; 402 to: "prog_container";
403 } 403 }
404 rel2 { 404 rel2 {
405 relative: 0.5 1.0; 405 relative: 0.5 1.0;
406 offset: 0 -1; 406 offset: 0 -1;
407 to_x: "video_progress"; 407 to_x: "video_progress";
408 to_y: "prog_container"; 408 to_y: "prog_container";
409 } 409 }
410 image { 410 image {
411 border: 2 2 2 2; 411 border: 2 2 2 2;
412 normal: "orb.png"; 412 normal: "orb.png";
413 } 413 }
414 } 414 }
415 } 415 }
416 part { 416 part {
417 name: "video_progress"; 417 name: "video_progress";
418 type: RECT; 418 type: RECT;
419 clip_to: "panel_clip"; 419 clip_to: "panel_clip";
420 mouse_events: 1; 420 mouse_events: 1;
421 dragable { 421 dragable {
422 x: 1 1 0; 422 x: 1 1 0;
423 y: 0 0 0; 423 y: 0 0 0;
424 confine: "prog_container"; 424 confine: "prog_container";
425 } 425 }
426 description { 426 description {
427 state: "default" 0.0; 427 state: "default" 0.0;
428 min: 10 5; 428 min: 10 5;
429 align: 0.5 0.5; 429 align: 0.5 0.5;
430 rel1 { 430 rel1 {
431 to: "prog_container"; 431 to: "prog_container";
432 relative: 0.5 0.5; 432 relative: 0.5 0.5;
433 offset: 0 0; 433 offset: 0 0;
434 } 434 }
435 rel2 { 435 rel2 {
436 to: "prog_container"; 436 to: "prog_container";
437 relative: 0.5 0.5; 437 relative: 0.5 0.5;
438 offset: 0 0; 438 offset: 0 0;
439 } 439 }
440 color: 0 255 0 50; 440 color: 0 255 0 50;
441 } 441 }
442 } 442 }
443 part { 443 part {
444 name: "video_progress_img"; 444 name: "video_progress_img";
445 mouse_events: 0; 445 mouse_events: 0;
446 clip_to: "panel_clip"; 446 clip_to: "panel_clip";
447 description { 447 description {
448 state: "default" 0.0; 448 state: "default" 0.0;
449 min: 9 16; 449 min: 9 16;
450 align: 0.5 1.0; 450 align: 0.5 1.0;
451 fixed: 1 1; 451 fixed: 1 1;
452 rel1 { 452 rel1 {
453 relative: 0.5 0.0; 453 relative: 0.5 0.0;
454 offset: 0 0; 454 offset: 0 0;
455 to_x: "video_progress"; 455 to_x: "video_progress";
456 to_y: "prog_container"; 456 to_y: "prog_container";
457 } 457 }
458 rel2 { 458 rel2 {
459 relative: 0.5 0.0; 459 relative: 0.5 0.0;
460 offset: 0 0; 460 offset: 0 0;
461 to_x: "video_progress"; 461 to_x: "video_progress";
462 to_y: "prog_container"; 462 to_y: "prog_container";
463 } 463 }
464 image { 464 image {
465 normal: "sl.png"; 465 normal: "sl.png";
466 } 466 }
467 } 467 }
468 } 468 }
469 part { 469 part {
470 name: "b_stop"; 470 name: "b_stop";
471 mouse_events: 0; 471 mouse_events: 0;
472 clip_to: "panel_clip"; 472 clip_to: "panel_clip";
473 description { 473 description {
474 state: "default" 0.0; 474 state: "default" 0.0;
475 min: 22 22; 475 min: 22 22;
476 max: 22 22; 476 max: 22 22;
477 align: 0.0 0.0; 477 align: 0.0 0.0;
478 rel1 { 478 rel1 {
479 relative: 1.0 1.0; 479 relative: 1.0 1.0;
480 offset: -5 -5; 480 offset: -5 -5;
481 to: "panel_clip"; 481 to: "panel_clip";
482 } 482 }
483 rel2 { 483 rel2 {
484 relative: 1.0 1.0; 484 relative: 1.0 1.0;
485 offset: -5 -5; 485 offset: -5 -5;
486 to: "panel_clip"; 486 to: "panel_clip";
487 } 487 }
488 image { 488 image {
489 normal: "bstop.png"; 489 normal: "bstop.png";
490 } 490 }
491 } 491 }
492 } 492 }
493 part { 493 part {
494 name: "b_play"; 494 name: "b_play";
495 mouse_events: 0; 495 mouse_events: 0;
496 clip_to: "panel_clip"; 496 clip_to: "panel_clip";
497 description { 497 description {
498 state: "default" 0.0; 498 state: "default" 0.0;
499 min: 22 22; 499 min: 22 22;
500 max: 22 22; 500 max: 22 22;
501 align: 0.0 1.0; 501 align: 0.0 1.0;
502 rel1 { 502 rel1 {
503 relative: 0.0 0.0; 503 relative: 0.0 0.0;
504 offset: -1 0; 504 offset: -1 0;
505 to: "b_stop"; 505 to: "b_stop";
506 } 506 }
507 rel2 { 507 rel2 {
508 relative: 0.0 0.0; 508 relative: 0.0 0.0;
509 offset: -1 0; 509 offset: -1 0;
510 to: "b_stop"; 510 to: "b_stop";
511 } 511 }
512 image { 512 image {
513 normal: "bstop.png"; 513 normal: "bstop.png";
514 } 514 }
515 } 515 }
516 description { 516 description {
517 state: "play" 0.0; 517 state: "play" 0.0;
518 min: 22 22; 518 min: 22 22;
519 max: 22 22; 519 max: 22 22;
520 align: 0.0 1.0; 520 align: 0.0 1.0;
521 rel1 { 521 rel1 {
522 relative: 0.0 0.0; 522 relative: 0.0 0.0;
523 offset: -1 0; 523 offset: -1 0;
524 to: "b_stop"; 524 to: "b_stop";
525 } 525 }
526 rel2 { 526 rel2 {
527 relative: 0.0 0.0; 527 relative: 0.0 0.0;
528 offset: -1 0; 528 offset: -1 0;
529 to: "b_stop"; 529 to: "b_stop";
530 } 530 }
531 image { 531 image {
532 normal: "bplay.png"; 532 normal: "bplay.png";
533 } 533 }
534 } 534 }
535 description { 535 description {
536 state: "pause" 0.0; 536 state: "pause" 0.0;
537 min: 22 22; 537 min: 22 22;
538 max: 22 22; 538 max: 22 22;
539 align: 0.0 1.0; 539 align: 0.0 1.0;
540 rel1 { 540 rel1 {
541 relative: 0.0 0.0; 541 relative: 0.0 0.0;
542 offset: -1 0; 542 offset: -1 0;
543 to: "b_stop"; 543 to: "b_stop";
544 } 544 }
545 rel2 { 545 rel2 {
546 relative: 0.0 0.0; 546 relative: 0.0 0.0;
547 offset: -1 0; 547 offset: -1 0;
548 to: "b_stop"; 548 to: "b_stop";
549 } 549 }
550 image { 550 image {
551 normal: "bpause.png"; 551 normal: "bpause.png";
552 } 552 }
553 } 553 }
554 } 554 }
555 part { 555 part {
556 name: "panel_clip"; 556 name: "panel_clip";
557 mouse_events: 0; 557 mouse_events: 0;
558 type: RECT; 558 type: RECT;
559 clip_to: "vclip"; 559 clip_to: "vclip";
560 description { 560 description {
561 visible: 0; 561 visible: 0;
562 state: "default" 0.0; 562 state: "default" 0.0;
563 rel1 { 563 rel1 {
564 to: "panel"; 564 to: "panel";
565 relative: 0.0 0.0; 565 relative: 0.0 0.0;
566 offset: 0 0; 566 offset: 0 0;
567 } 567 }
568 rel2 { 568 rel2 {
569 to: "panel"; 569 to: "panel";
570 relative: 1.0 1.0; 570 relative: 1.0 1.0;
571 offset: -1 -1; 571 offset: -1 -1;
572 } 572 }
573 color: 255 255 255 0; 573 color: 255 255 255 0;
574 } 574 }
575 description { 575 description {
576 visible: 1; 576 visible: 1;
577 state: "shown" 0.0; 577 state: "shown" 0.0;
578 rel1 { 578 rel1 {
579 to: "panel"; 579 to: "panel";
580 relative: 0.0 0.0; 580 relative: 0.0 0.0;
581 offset: 0 0; 581 offset: 0 0;
582 } 582 }
583 rel2 { 583 rel2 {
584 to: "panel"; 584 to: "panel";
585 relative: 1.0 1.0; 585 relative: 1.0 1.0;
586 offset: -1 -1; 586 offset: -1 -1;
587 } 587 }
588 color: 255 255 255 255; 588 color: 255 255 255 255;
589 } 589 }
590 } 590 }
591 part { 591 part {
592 name: "video_progress_txt"; 592 name: "video_progress_txt";
593 type: TEXT; 593 type: TEXT;
594 mouse_events: 0; 594 mouse_events: 0;
595 effect: OUTLINE; 595 effect: OUTLINE;
596 description { 596 description {
597 state: "default" 0.0; 597 state: "default" 0.0;
598 rel1 { 598 rel1 {
599 to: "panel"; 599 to: "panel";
600 relative: 0.0 1.0; 600 relative: 0.0 1.0;
601 offset: 0 -10; 601 offset: 0 -10;
602 } 602 }
603 rel2 { 603 rel2 {
604 to: "panel"; 604 to: "panel";
605 relative: 1.0 1.0; 605 relative: 1.0 1.0;
606 offset: -1 -1; 606 offset: -1 -1;
607 } 607 }
608 color: 255 255 255 255; 608 color: 255 255 255 255;
609 color2: 0 0 0 255; 609 color2: 0 0 0 255;
610 text { 610 text {
611 text: "Video Progress"; 611 text: "Video Progress";
612 font: "Sans"; 612 font: "Sans";
613 size: 6; 613 size: 6;
614 align: 0.0 1.0; 614 align: 0.0 1.0;
615 }; 615 };
616 } 616 }
617 } 617 }
618 part { 618 part {
619 name: "panel"; 619 name: "panel";
620 mouse_events: 1; 620 mouse_events: 1;
621 type: RECT; 621 type: RECT;
622 description { 622 description {
623 state: "default" 0.0; 623 state: "default" 0.0;
624 rel1 { 624 rel1 {
625 to: "fr_c3"; 625 to: "fr_c3";
626 relative: 0.0 0.0; 626 relative: 0.0 0.0;
627 offset: 20 -46; 627 offset: 20 -46;
628 } 628 }
629 rel2 { 629 rel2 {
630 to: "fr_c4"; 630 to: "fr_c4";
631 relative: 0.0 0.0; 631 relative: 0.0 0.0;
632 offset: 14 14; 632 offset: 14 14;
633 } 633 }
634 color: 0 0 0 0; 634 color: 0 0 0 0;
635 } 635 }
636 } 636 }
637 part { 637 part {
638 name: "panel2"; 638 name: "panel2";
639 mouse_events: 1; 639 mouse_events: 1;
640 type: RECT; 640 type: RECT;
641 description { 641 description {
642 state: "default" 0.0; 642 state: "default" 0.0;
643 rel1 { 643 rel1 {
644 to: "fr_c1"; 644 to: "fr_c1";
645 relative: 0.0 0.0; 645 relative: 0.0 0.0;
646 offset: 20 20; 646 offset: 20 20;
647 } 647 }
648 rel2 { 648 rel2 {
649 to: "fr_c2"; 649 to: "fr_c2";
650 relative: 1.0 0.0; 650 relative: 1.0 0.0;
651 offset: -1 -1; 651 offset: -1 -1;
652 to: "panel"; 652 to: "panel";
653 } 653 }
654 color: 0 0 0 0; 654 color: 0 0 0 0;
655 } 655 }
656 } 656 }
657 part { 657 part {
658 name: "video_resizer"; 658 name: "video_resizer";
659 mouse_events: 1; 659 mouse_events: 1;
660 type: RECT; 660 type: RECT;
661 description { 661 description {
662 state: "default" 0.0; 662 state: "default" 0.0;
663 rel1 { 663 rel1 {
664 to: "fr_c4"; 664 to: "fr_c4";
665 relative: 0.0 0.0; 665 relative: 0.0 0.0;
666 offset: 0 0; 666 offset: 0 0;
667 } 667 }
668 rel2 { 668 rel2 {
669 to: "fr_c4"; 669 to: "fr_c4";
670 relative: 1.0 1.0; 670 relative: 1.0 1.0;
671 offset: -1 -1; 671 offset: -1 -1;
672 } 672 }
673 color: 0 0 0 0; 673 color: 0 0 0 0;
674 } 674 }
675 } 675 }
676 part { 676 part {
677 name: "video_mover"; 677 name: "video_mover";
678 mouse_events: 1; 678 mouse_events: 1;
679 type: RECT; 679 type: RECT;
680 description { 680 description {
681 state: "default" 0.0; 681 state: "default" 0.0;
682 rel1 { 682 rel1 {
683 to: "fr_t"; 683 to: "fr_t";
684 relative: 0.0 0.0; 684 relative: 0.0 0.0;
685 offset: 0 0; 685 offset: 0 0;
686 } 686 }
687 rel2 { 687 rel2 {
688 to: "fr_t"; 688 to: "fr_t";
689 relative: 1.0 1.0; 689 relative: 1.0 1.0;
690 offset: -1 -1; 690 offset: -1 -1;
691 } 691 }
692 color: 0 0 0 0; 692 color: 0 0 0 0;
693 } 693 }
694 } 694 }
695 } 695 }
696 programs { 696 programs {
697 program { 697 program {
698 name: "video_move_start"; 698 name: "video_move_start";
699 signal: "mouse,down,*"; 699 signal: "mouse,down,*";
700 source: "video_mover"; 700 source: "video_mover";
701 action: SIGNAL_EMIT "frame_move" "start"; 701 action: SIGNAL_EMIT "frame_move" "start";
702 } 702 }
703 program { 703 program {
704 name: "video_move_stop"; 704 name: "video_move_stop";
705 signal: "mouse,up,*"; 705 signal: "mouse,up,*";
706 source: "video_mover"; 706 source: "video_mover";
707 action: SIGNAL_EMIT "frame_move" "stop"; 707 action: SIGNAL_EMIT "frame_move" "stop";
708 } 708 }
709 program { 709 program {
710 name: "video_resize_start"; 710 name: "video_resize_start";
711 signal: "mouse,down,*"; 711 signal: "mouse,down,*";
712 source: "video_resizer"; 712 source: "video_resizer";
713 action: SIGNAL_EMIT "frame_resize" "start"; 713 action: SIGNAL_EMIT "frame_resize" "start";
714 } 714 }
715 program { 715 program {
716 name: "video_resize_stop"; 716 name: "video_resize_stop";
717 signal: "mouse,up,*"; 717 signal: "mouse,up,*";
718 source: "video_resizer"; 718 source: "video_resizer";
719 action: SIGNAL_EMIT "frame_resize" "stop"; 719 action: SIGNAL_EMIT "frame_resize" "stop";
720 } 720 }
721 program { 721 program {
722 name: "panel_show"; 722 name: "panel_show";
723 signal: "mouse,in"; 723 signal: "mouse,in";
724 source: "panel"; 724 source: "panel";
725 action: STATE_SET "shown" 0.0; 725 action: STATE_SET "shown" 0.0;
726 transition: LINEAR 1.0; 726 transition: LINEAR 1.0;
727 target: "panel_clip"; 727 target: "panel_clip";
728 } 728 }
729 program { 729 program {
730 name: "panel_hide"; 730 name: "panel_hide";
731 signal: "mouse,in"; 731 signal: "mouse,in";
732 source: "panel2"; 732 source: "panel2";
733 action: STATE_SET "default" 0.0; 733 action: STATE_SET "default" 0.0;
734 transition: LINEAR 1.0; 734 transition: LINEAR 1.0;
735 target: "panel_clip"; 735 target: "panel_clip";
736 } 736 }
737 } 737 }
738 } 738 }
739#else 739#else
740 group { 740 group {
741 name: "video_controller"; 741 name: "video_controller";
742 parts { 742 parts {
743 // need swallow parts: 743 // need swallow parts:
744 // "video_swallow" 744 // "video_swallow"
745 // 745 //
746 // need txt parts: 746 // need txt parts:
747 // "video_speed_txt" 747 // "video_speed_txt"
748 // "video_progress_txt" 748 // "video_progress_txt"
749 // 749 //
750 // need dragables: 750 // need dragables:
751 // "video_progress" horizontal 751 // "video_progress" horizontal
752 // "video_speed" vertical 752 // "video_speed" vertical
753 part { 753 part {
754 name: "video_swallow"; 754 name: "video_swallow";
755 mouse_events: 0; 755 mouse_events: 0;
756 type: SWALLOW; 756 type: SWALLOW;
757 description { 757 description {
758 state: "default" 0.0; 758 state: "default" 0.0;
759 rel1 { 759 rel1 {
760 to: "video_frame_left"; 760 to: "video_frame_left";
761 relative: 1.0 0.0; 761 relative: 1.0 0.0;
762 offset: -8 23; 762 offset: -8 23;
763 } 763 }
764 rel2 { 764 rel2 {
765 to: "video_frame_right"; 765 to: "video_frame_right";
766 relative: 0.0 1.0; 766 relative: 0.0 1.0;
767 offset: 7 -25; 767 offset: 7 -25;
768 } 768 }
769 } 769 }
770 } 770 }
771 part { 771 part {
772 name: "video_frame_left"; 772 name: "video_frame_left";
773 mouse_events: 0; 773 mouse_events: 0;
774 description { 774 description {
775 state: "default" 0.0; 775 state: "default" 0.0;
776 rel1 { 776 rel1 {
777 relative: 0.0 0.0; 777 relative: 0.0 0.0;
778 offset: 0 0; 778 offset: 0 0;
779 } 779 }
780 rel2 { 780 rel2 {
781 relative: 0.0 1.0; 781 relative: 0.0 1.0;
782 offset: 32 -1; 782 offset: 32 -1;
783 } 783 }
784 image { 784 image {
785 border: 0 0 33 33; 785 border: 0 0 33 33;
786 normal: "video_frame_left.png"; 786 normal: "video_frame_left.png";
787 } 787 }
788 } 788 }
789 } 789 }
790 part { 790 part {
791 name: "video_frame_right"; 791 name: "video_frame_right";
792 mouse_events: 0; 792 mouse_events: 0;
793 description { 793 description {
794 state: "default" 0.0; 794 state: "default" 0.0;
795 rel1 { 795 rel1 {
796 relative: 1.0 0.0; 796 relative: 1.0 0.0;
797 offset: -32 0; 797 offset: -32 0;
798 } 798 }
799 rel2 { 799 rel2 {
800 relative: 1.0 1.0; 800 relative: 1.0 1.0;
801 offset: -1 -1; 801 offset: -1 -1;
802 } 802 }
803 image { 803 image {
804 border: 0 0 33 33; 804 border: 0 0 33 33;
805 normal: "video_frame_right.png"; 805 normal: "video_frame_right.png";
806 } 806 }
807 } 807 }
808 } 808 }
809 part { 809 part {
810 name: "video_frame_top"; 810 name: "video_frame_top";
811 mouse_events: 0; 811 mouse_events: 0;
812 description { 812 description {
813 state: "default" 0.0; 813 state: "default" 0.0;
814 rel1 { 814 rel1 {
815 to: "video_frame_left"; 815 to: "video_frame_left";
816 relative: 1.0 0.0; 816 relative: 1.0 0.0;
817 offset: 0 0; 817 offset: 0 0;
818 } 818 }
819 rel2 { 819 rel2 {
820 to: "video_frame_right"; 820 to: "video_frame_right";
821 relative: 0.0 0.0; 821 relative: 0.0 0.0;
822 offset: -1 31; 822 offset: -1 31;
823 } 823 }
824 image { 824 image {
825 normal: "video_frame_top.png"; 825 normal: "video_frame_top.png";
826 } 826 }
827 } 827 }
828 } 828 }
829 part { 829 part {
830 name: "video_frame_bottom"; 830 name: "video_frame_bottom";
831 mouse_events: 0; 831 mouse_events: 0;
832 description { 832 description {
833 state: "default" 0.0; 833 state: "default" 0.0;
834 rel1 { 834 rel1 {
835 to: "video_frame_left"; 835 to: "video_frame_left";
836 relative: 1.0 1.0; 836 relative: 1.0 1.0;
837 offset: 0 -32; 837 offset: 0 -32;
838 } 838 }
839 rel2 { 839 rel2 {
840 to: "video_frame_right"; 840 to: "video_frame_right";
841 relative: 0.0 1.0; 841 relative: 0.0 1.0;
842 offset: -1 -1; 842 offset: -1 -1;
843 } 843 }
844 image { 844 image {
845 normal: "video_frame_bottom.png"; 845 normal: "video_frame_bottom.png";
846 } 846 }
847 } 847 }
848 } 848 }
849 part { 849 part {
850 name: "video_speed_txt"; 850 name: "video_speed_txt";
851 type: TEXT; 851 type: TEXT;
852 mouse_events: 0; 852 mouse_events: 0;
853 description { 853 description {
854 state: "default" 0.0; 854 state: "default" 0.0;
855 rel1 { 855 rel1 {
856 to: "video_frame_bottom"; 856 to: "video_frame_bottom";
857 relative: 0.0 0.0; 857 relative: 0.0 0.0;
858 offset: 0 8; 858 offset: 0 8;
859 } 859 }
860 rel2 { 860 rel2 {
861 to: "video_frame_bottom"; 861 to: "video_frame_bottom";
862 relative: 1.0 1.0; 862 relative: 1.0 1.0;
863 offset: -1 -13; 863 offset: -1 -13;
864 } 864 }
865 color: 0 0 0 255; 865 color: 0 0 0 255;
866 text { 866 text {
867 text: "Video Speed"; 867 text: "Video Speed";
868 font: "Sans"; 868 font: "Sans";
869 size: 6; 869 size: 6;
870 align: 1.0 0.5; 870 align: 1.0 0.5;
871 }; 871 };
872 } 872 }
873 } 873 }
874 part { 874 part {
875 name: "video_progress_confine"; 875 name: "video_progress_confine";
876 mouse_events: 0; 876 mouse_events: 0;
877 type: RECT; 877 type: RECT;
878 description { 878 description {
879 state: "default" 0.0; 879 state: "default" 0.0;
880 fixed: 1 1; 880 fixed: 1 1;
881 min: 1 18; 881 min: 1 18;
882 align: 0.5 0.0; 882 align: 0.5 0.0;
883 rel1 { 883 rel1 {
884 to: "video_frame_left"; 884 to: "video_frame_left";
885 relative: 1.0 1.0; 885 relative: 1.0 1.0;
886 offset: 0 -25; 886 offset: 0 -25;
887 } 887 }
888 rel2 { 888 rel2 {
889 to: "video_frame_right"; 889 to: "video_frame_right";
890 relative: 0.0 1.0; 890 relative: 0.0 1.0;
891 offset: -1 -25; 891 offset: -1 -25;
892 } 892 }
893 color: 0 0 0 0; 893 color: 0 0 0 0;
894 } 894 }
895 } 895 }
896 part { 896 part {
897 name: "video_progress"; 897 name: "video_progress";
898 type: RECT; 898 type: RECT;
899 mouse_events: 1; 899 mouse_events: 1;
900 dragable { 900 dragable {
901 x: 1 1 0; 901 x: 1 1 0;
902 y: 0 0 0; 902 y: 0 0 0;
903 confine: "video_progress_confine"; 903 confine: "video_progress_confine";
904 } 904 }
905 description { 905 description {
906 state: "default" 0.0; 906 state: "default" 0.0;
907 fixed: 1 1; 907 fixed: 1 1;
908 min: 34 18; 908 min: 34 18;
909 rel1 { 909 rel1 {
910 to: "video_progress_confine"; 910 to: "video_progress_confine";
911 relative: 0.5 0.5; 911 relative: 0.5 0.5;
912 offset: 0 0; 912 offset: 0 0;
913 } 913 }
914 rel2 { 914 rel2 {
915 to: "video_progress_confine"; 915 to: "video_progress_confine";
916 relative: 0.5 0.5; 916 relative: 0.5 0.5;
917 offset: 0 0; 917 offset: 0 0;
918 } 918 }
919 color: 0 0 0 0; 919 color: 0 0 0 0;
920 } 920 }
921 } 921 }
922 part { 922 part {
923 name: "video_progress_img"; 923 name: "video_progress_img";
924 mouse_events: 0; 924 mouse_events: 0;
925 description { 925 description {
926 state: "default" 0.0; 926 state: "default" 0.0;
927 fixed: 1 1; 927 fixed: 1 1;
928 min: 42 26; 928 min: 42 26;
929 rel1 { 929 rel1 {
930 to: "video_progress"; 930 to: "video_progress";
931 relative: 0.5 0.5; 931 relative: 0.5 0.5;
932 offset: 0 0; 932 offset: 0 0;
933 } 933 }
934 rel2 { 934 rel2 {
935 to: "video_progress"; 935 to: "video_progress";
936 relative: 0.5 0.5; 936 relative: 0.5 0.5;
937 offset: 0 0; 937 offset: 0 0;
938 } 938 }
939 image { 939 image {
940 normal: "h_slider.png"; 940 normal: "h_slider.png";
941 } 941 }
942 } 942 }
943 } 943 }
944 part { 944 part {
945 name: "video_speed_confine"; 945 name: "video_speed_confine";
946 mouse_events: 0; 946 mouse_events: 0;
947 type: RECT; 947 type: RECT;
948 description { 948 description {
949 state: "default" 0.0; 949 state: "default" 0.0;
950 rel1 { 950 rel1 {
951 to: "video_frame_left"; 951 to: "video_frame_left";
952 relative: 1.0 0.0; 952 relative: 1.0 0.0;
953 offset: 0 24; 953 offset: 0 24;
954 } 954 }
955 rel2 { 955 rel2 {
956 to: "video_frame_left"; 956 to: "video_frame_left";
957 relative: 1.0 1.0; 957 relative: 1.0 1.0;
958 offset: 48 -49; 958 offset: 48 -49;
959 } 959 }
960 color: 0 0 0 0; 960 color: 0 0 0 0;
961 } 961 }
962 } 962 }
963 part { 963 part {
964 name: "video_speed"; 964 name: "video_speed";
965 mouse_events: 1; 965 mouse_events: 1;
966 dragable { 966 dragable {
967 x: 0 0 0; 967 x: 0 0 0;
968 y: -1 1 0; 968 y: -1 1 0;
969 confine: "video_speed_confine"; 969 confine: "video_speed_confine";
970 } 970 }
971 description { 971 description {
972 state: "default" 0.0; 972 state: "default" 0.0;
973 fixed: 1 1; 973 fixed: 1 1;
974 min: 24 24; 974 min: 24 24;
975 rel1 { 975 rel1 {
976 to: "video_speed_confine"; 976 to: "video_speed_confine";
977 relative: 0.5 0.5; 977 relative: 0.5 0.5;
978 offset: 0 0; 978 offset: 0 0;
979 } 979 }
980 rel2 { 980 rel2 {
981 to: "video_speed_confine"; 981 to: "video_speed_confine";
982 relative: 0.5 0.5; 982 relative: 0.5 0.5;
983 offset: 0 0; 983 offset: 0 0;
984 } 984 }
985 image { 985 image {
986 normal: "knob.png"; 986 normal: "knob.png";
987 } 987 }
988 } 988 }
989 } 989 }
990 part { 990 part {
991 name: "video_play"; 991 name: "video_play";
992 mouse_events: 1; 992 mouse_events: 1;
993 description { 993 description {
994 state: "default" 0.0; 994 state: "default" 0.0;
995 fixed: 1 1; 995 fixed: 1 1;
996 min: 24 24; 996 min: 24 24;
997 rel1 { 997 rel1 {
998 to: "video_frame_bottom"; 998 to: "video_frame_bottom";
999 relative: 0.0 0.5; 999 relative: 0.0 0.5;
1000 offset: 0 0; 1000 offset: 0 0;
1001 } 1001 }
1002 rel2 { 1002 rel2 {
1003 to: "video_frame_bottom"; 1003 to: "video_frame_bottom";
1004 relative: 0.0 0.5; 1004 relative: 0.0 0.5;
1005 offset: 0 0; 1005 offset: 0 0;
1006 } 1006 }
1007 image { 1007 image {
1008 normal: "knob.png"; 1008 normal: "knob.png";
1009 } 1009 }
1010 } 1010 }
1011 } 1011 }
1012 part { 1012 part {
1013 name: "video_pause"; 1013 name: "video_pause";
1014 mouse_events: 1; 1014 mouse_events: 1;
1015 description { 1015 description {
1016 state: "default" 0.0; 1016 state: "default" 0.0;
1017 fixed: 1 1; 1017 fixed: 1 1;
1018 min: 24 24; 1018 min: 24 24;
1019 rel1 { 1019 rel1 {
1020 to: "video_frame_bottom"; 1020 to: "video_frame_bottom";
1021 relative: 0.5 0.5; 1021 relative: 0.5 0.5;
1022 offset: 0 0; 1022 offset: 0 0;
1023 } 1023 }
1024 rel2 { 1024 rel2 {
1025 to: "video_frame_bottom"; 1025 to: "video_frame_bottom";
1026 relative: 0.5 0.5; 1026 relative: 0.5 0.5;
1027 offset: 0 0; 1027 offset: 0 0;
1028 } 1028 }
1029 image { 1029 image {
1030 normal: "knob.png"; 1030 normal: "knob.png";
1031 } 1031 }
1032 } 1032 }
1033 } 1033 }
1034 part { 1034 part {
1035 name: "video_stop"; 1035 name: "video_stop";
1036 mouse_events: 1; 1036 mouse_events: 1;
1037 description { 1037 description {
1038 state: "default" 0.0; 1038 state: "default" 0.0;
1039 fixed: 1 1; 1039 fixed: 1 1;
1040 min: 24 24; 1040 min: 24 24;
1041 rel1 { 1041 rel1 {
1042 to: "video_frame_bottom"; 1042 to: "video_frame_bottom";
1043 relative: 1.0 0.5; 1043 relative: 1.0 0.5;
1044 offset: 0 0; 1044 offset: 0 0;
1045 } 1045 }
1046 rel2 { 1046 rel2 {
1047 to: "video_frame_bottom"; 1047 to: "video_frame_bottom";
1048 relative: 1.0 0.5; 1048 relative: 1.0 0.5;
1049 offset: 0 0; 1049 offset: 0 0;
1050 } 1050 }
1051 image { 1051 image {
1052 normal: "knob.png"; 1052 normal: "knob.png";
1053 } 1053 }
1054 } 1054 }
1055 } 1055 }
1056 part { 1056 part {
1057 name: "video_mover"; 1057 name: "video_mover";
1058 mouse_events: 1; 1058 mouse_events: 1;
1059 type: RECT; 1059 type: RECT;
1060 description { 1060 description {
1061 state: "default" 0.0; 1061 state: "default" 0.0;
1062 rel1 { 1062 rel1 {
1063 to: "video_frame_top"; 1063 to: "video_frame_top";
1064 relative: 0.0 0.0; 1064 relative: 0.0 0.0;
1065 offset: 0 0; 1065 offset: 0 0;
1066 } 1066 }
1067 rel2 { 1067 rel2 {
1068 to: "video_frame_top"; 1068 to: "video_frame_top";
1069 relative: 1.0 1.0; 1069 relative: 1.0 1.0;
1070 offset: -1 -1; 1070 offset: -1 -1;
1071 } 1071 }
1072 color: 255 20 20 20; 1072 color: 255 20 20 20;
1073 } 1073 }
1074 } 1074 }
1075 part { 1075 part {
1076 name: "video_resizer"; 1076 name: "video_resizer";
1077 mouse_events: 1; 1077 mouse_events: 1;
1078 type: RECT; 1078 type: RECT;
1079 description { 1079 description {
1080 state: "default" 0.0; 1080 state: "default" 0.0;
1081 rel1 { 1081 rel1 {
1082 to: "video_frame_right"; 1082 to: "video_frame_right";
1083 relative: 0.0 1.0; 1083 relative: 0.0 1.0;
1084 offset: 0 -31; 1084 offset: 0 -31;
1085 } 1085 }
1086 rel2 { 1086 rel2 {
1087 to: "video_frame_right"; 1087 to: "video_frame_right";
1088 relative: 1.0 1.0; 1088 relative: 1.0 1.0;
1089 offset: -1 -1; 1089 offset: -1 -1;
1090 } 1090 }
1091 color: 20 20 255 20; 1091 color: 20 20 255 20;
1092 } 1092 }
1093 } 1093 }
1094 part { 1094 part {
1095 name: "video_progress_txt"; 1095 name: "video_progress_txt";
1096 type: TEXT; 1096 type: TEXT;
1097 mouse_events: 0; 1097 mouse_events: 0;
1098 effect: OUTLINE; 1098 effect: OUTLINE;
1099 description { 1099 description {
1100 state: "default" 0.0; 1100 state: "default" 0.0;
1101 align: 1.0 1.0; 1101 align: 1.0 1.0;
1102 fixed: 1 1; 1102 fixed: 1 1;
1103 rel1 { 1103 rel1 {
1104 relative: 1.0 1.0; 1104 relative: 1.0 1.0;
1105 offset: -2 -2; 1105 offset: -2 -2;
1106 } 1106 }
1107 rel2 { 1107 rel2 {
1108 relative: 1.0 1.0; 1108 relative: 1.0 1.0;
1109 offset: -2 -2; 1109 offset: -2 -2;
1110 } 1110 }
1111 color: 255 255 255 255; 1111 color: 255 255 255 255;
1112 color2: 0 0 0 255; 1112 color2: 0 0 0 255;
1113 text { 1113 text {
1114 text: "XX:XX:XX / XX:XX:XX"; 1114 text: "XX:XX:XX / XX:XX:XX";
1115 font: "Sans"; 1115 font: "Sans";
1116 size: 10; 1116 size: 10;
1117 align: 1.0 1.0; 1117 align: 1.0 1.0;
1118 min: 1 1; 1118 min: 1 1;
1119 }; 1119 };
1120 } 1120 }
1121 } 1121 }
1122 } 1122 }
1123 programs { 1123 programs {
1124 // emit signals: 1124 // emit signals:
1125 // "video_control" "play" 1125 // "video_control" "play"
1126 // "video_control" "pause" 1126 // "video_control" "pause"
1127 // "video_control" "stop" 1127 // "video_control" "stop"
1128 // "drag" "video_progress" 1128 // "drag" "video_progress"
1129 // "drag" "video_speed" 1129 // "drag" "video_speed"
1130 // 1130 //
1131 // get signals: 1131 // get signals:
1132 // "video_state" "play" 1132 // "video_state" "play"
1133 // "video_state" "pause" 1133 // "video_state" "pause"
1134 // "video_state" "stop" 1134 // "video_state" "stop"
1135 program { 1135 program {
1136 name: "video_play"; 1136 name: "video_play";
1137 signal: "mouse,down,1"; 1137 signal: "mouse,down,1";
1138 source: "video_play"; 1138 source: "video_play";
1139 action: SIGNAL_EMIT "video_control" "play"; 1139 action: SIGNAL_EMIT "video_control" "play";
1140 } 1140 }
1141 program { 1141 program {
1142 name: "video_pause"; 1142 name: "video_pause";
1143 signal: "mouse,down,1"; 1143 signal: "mouse,down,1";
1144 source: "video_pause"; 1144 source: "video_pause";
1145 action: SIGNAL_EMIT "video_control" "pause"; 1145 action: SIGNAL_EMIT "video_control" "pause";
1146 } 1146 }
1147 program { 1147 program {
1148 name: "video_stop"; 1148 name: "video_stop";
1149 signal: "mouse,down,1"; 1149 signal: "mouse,down,1";
1150 source: "video_stop"; 1150 source: "video_stop";
1151 action: SIGNAL_EMIT "video_control" "stop"; 1151 action: SIGNAL_EMIT "video_control" "stop";
1152 } 1152 }
1153 program { 1153 program {
1154 name: "video_move_start"; 1154 name: "video_move_start";
1155 signal: "mouse,down,*"; 1155 signal: "mouse,down,*";
1156 source: "video_mover"; 1156 source: "video_mover";
1157 action: SIGNAL_EMIT "frame_move" "start"; 1157 action: SIGNAL_EMIT "frame_move" "start";
1158 } 1158 }
1159 program { 1159 program {
1160 name: "video_move_stop"; 1160 name: "video_move_stop";
1161 signal: "mouse,up,*"; 1161 signal: "mouse,up,*";
1162 source: "video_mover"; 1162 source: "video_mover";
1163 action: SIGNAL_EMIT "frame_move" "stop"; 1163 action: SIGNAL_EMIT "frame_move" "stop";
1164 } 1164 }
1165 program { 1165 program {
1166 name: "video_resize_start"; 1166 name: "video_resize_start";
1167 signal: "mouse,down,*"; 1167 signal: "mouse,down,*";
1168 source: "video_resizer"; 1168 source: "video_resizer";
1169 action: SIGNAL_EMIT "frame_resize" "start"; 1169 action: SIGNAL_EMIT "frame_resize" "start";
1170 } 1170 }
1171 program { 1171 program {
1172 name: "video_resize_stop"; 1172 name: "video_resize_stop";
1173 signal: "mouse,up,*"; 1173 signal: "mouse,up,*";
1174 source: "video_resizer"; 1174 source: "video_resizer";
1175 action: SIGNAL_EMIT "frame_resize" "stop"; 1175 action: SIGNAL_EMIT "frame_resize" "stop";
1176 } 1176 }
1177 } 1177 }
1178 } 1178 }
1179 1179
1180 group { 1180 group {
1181 name: "video_controller/reflex"; 1181 name: "video_controller/reflex";
1182 parts { 1182 parts {
1183 // need swallow parts: 1183 // need swallow parts:
1184 // "video_swallow" 1184 // "video_swallow"
1185 // 1185 //
1186 // need txt parts: 1186 // need txt parts:
1187 // "video_speed_txt" 1187 // "video_speed_txt"
1188 // "video_progress_txt" 1188 // "video_progress_txt"
1189 // 1189 //
1190 // need dragables: 1190 // need dragables:
1191 // "video_progress" horizontal 1191 // "video_progress" horizontal
1192 // "video_speed" vertical 1192 // "video_speed" vertical
1193 part { 1193 part {
1194 name: "video_swallow"; 1194 name: "video_swallow";
1195 mouse_events: 0; 1195 mouse_events: 0;
1196 type: SWALLOW; 1196 type: SWALLOW;
1197 description { 1197 description {
1198 state: "default" 0.0; 1198 state: "default" 0.0;
1199 rel1 { 1199 rel1 {
1200 to: "video_frame_left"; 1200 to: "video_frame_left";
1201 relative: 1.0 0.0; 1201 relative: 1.0 0.0;
1202 offset: -8 23; 1202 offset: -8 23;
1203 } 1203 }
1204 rel2 { 1204 rel2 {
1205 to: "video_frame_right"; 1205 to: "video_frame_right";
1206 relative: 0.0 1.0; 1206 relative: 0.0 1.0;
1207 offset: 7 -25; 1207 offset: 7 -25;
1208 } 1208 }
1209 } 1209 }
1210 } 1210 }
1211 1211
1212 part { 1212 part {
1213 name: "swallow_center"; 1213 name: "swallow_center";
1214 type: RECT; 1214 type: RECT;
1215 description { 1215 description {
1216 state: "default" 0.0; 1216 state: "default" 0.0;
1217 visible: 0; 1217 visible: 0;
1218 rel1 { 1218 rel1 {
1219 to: "video_swallow"; 1219 to: "video_swallow";
1220 relative: 0.5 1.0; 1220 relative: 0.5 1.0;
1221 } 1221 }
1222 rel2 { 1222 rel2 {
1223 to: "video_swallow"; 1223 to: "video_swallow";
1224 relative: 0.5 1.0; 1224 relative: 0.5 1.0;
1225 } 1225 }
1226 } 1226 }
1227 } 1227 }
1228 part { 1228 part {
1229 name: "swallow_mirror"; 1229 name: "swallow_mirror";
1230 type: PROXY; 1230 type: PROXY;
1231 mouse_events: 0; 1231 mouse_events: 0;
1232 description { 1232 description {
1233 state: "default" 0.0; 1233 state: "default" 0.0;
1234 source: "video_swallow"; 1234 source: "video_swallow";
1235 rel1 { 1235 rel1 {
1236 to: "video_swallow"; 1236 to: "video_swallow";
1237 } 1237 }
1238 rel2 { 1238 rel2 {
1239 to: "video_swallow"; 1239 to: "video_swallow";
1240 } 1240 }
1241 perspective { 1241 perspective {
1242 zplane: 0; 1242 zplane: 0;
1243 focal: 1000; 1243 focal: 1000;
1244 } 1244 }
1245 color: 255 255 255 96; 1245 color: 255 255 255 96;
1246 map { 1246 map {
1247 on: 1; 1247 on: 1;
1248 smooth: 0; 1248 smooth: 0;
1249 alpha: 1; 1249 alpha: 1;
1250 rotation { 1250 rotation {
1251 center: "swallow_center"; 1251 center: "swallow_center";
1252 x: 100; 1252 x: 100;
1253 } 1253 }
1254 } 1254 }
1255 } 1255 }
1256 } 1256 }
1257 1257
1258 part { 1258 part {
1259 name: "video_frame_left"; 1259 name: "video_frame_left";
1260 mouse_events: 0; 1260 mouse_events: 0;
1261 description { 1261 description {
1262 state: "default" 0.0; 1262 state: "default" 0.0;
1263 rel1 { 1263 rel1 {
1264 relative: 0.0 0.0; 1264 relative: 0.0 0.0;
1265 offset: 0 0; 1265 offset: 0 0;
1266 } 1266 }
1267 rel2 { 1267 rel2 {
1268 relative: 0.0 1.0; 1268 relative: 0.0 1.0;
1269 offset: 32 -1; 1269 offset: 32 -1;
1270 } 1270 }
1271 image { 1271 image {
1272 border: 0 0 33 33; 1272 border: 0 0 33 33;
1273 normal: "video_frame_left.png"; 1273 normal: "video_frame_left.png";
1274 } 1274 }
1275 } 1275 }
1276 } 1276 }
1277 part { 1277 part {
1278 name: "video_frame_right"; 1278 name: "video_frame_right";
1279 mouse_events: 0; 1279 mouse_events: 0;
1280 description { 1280 description {
1281 state: "default" 0.0; 1281 state: "default" 0.0;
1282 rel1 { 1282 rel1 {
1283 relative: 1.0 0.0; 1283 relative: 1.0 0.0;
1284 offset: -32 0; 1284 offset: -32 0;
1285 } 1285 }
1286 rel2 { 1286 rel2 {
1287 relative: 1.0 1.0; 1287 relative: 1.0 1.0;
1288 offset: -1 -1; 1288 offset: -1 -1;
1289 } 1289 }
1290 image { 1290 image {
1291 border: 0 0 33 33; 1291 border: 0 0 33 33;
1292 normal: "video_frame_right.png"; 1292 normal: "video_frame_right.png";
1293 } 1293 }
1294 } 1294 }
1295 } 1295 }
1296 part { 1296 part {
1297 name: "video_frame_top"; 1297 name: "video_frame_top";
1298 mouse_events: 0; 1298 mouse_events: 0;
1299 description { 1299 description {
1300 state: "default" 0.0; 1300 state: "default" 0.0;
1301 rel1 { 1301 rel1 {
1302 to: "video_frame_left"; 1302 to: "video_frame_left";
1303 relative: 1.0 0.0; 1303 relative: 1.0 0.0;
1304 offset: 0 0; 1304 offset: 0 0;
1305 } 1305 }
1306 rel2 { 1306 rel2 {
1307 to: "video_frame_right"; 1307 to: "video_frame_right";
1308 relative: 0.0 0.0; 1308 relative: 0.0 0.0;
1309 offset: -1 31; 1309 offset: -1 31;
1310 } 1310 }
1311 image { 1311 image {
1312 normal: "video_frame_top.png"; 1312 normal: "video_frame_top.png";
1313 } 1313 }
1314 } 1314 }
1315 } 1315 }
1316 part { 1316 part {
1317 name: "video_frame_bottom"; 1317 name: "video_frame_bottom";
1318 mouse_events: 0; 1318 mouse_events: 0;
1319 description { 1319 description {
1320 state: "default" 0.0; 1320 state: "default" 0.0;
1321 rel1 { 1321 rel1 {
1322 to: "video_frame_left"; 1322 to: "video_frame_left";
1323 relative: 1.0 1.0; 1323 relative: 1.0 1.0;
1324 offset: 0 -32; 1324 offset: 0 -32;
1325 } 1325 }
1326 rel2 { 1326 rel2 {
1327 to: "video_frame_right"; 1327 to: "video_frame_right";
1328 relative: 0.0 1.0; 1328 relative: 0.0 1.0;
1329 offset: -1 -1; 1329 offset: -1 -1;
1330 } 1330 }
1331 image { 1331 image {
1332 normal: "video_frame_bottom.png"; 1332 normal: "video_frame_bottom.png";
1333 } 1333 }
1334 } 1334 }
1335 } 1335 }
1336 part { 1336 part {
1337 name: "video_speed_txt"; 1337 name: "video_speed_txt";
1338 type: TEXT; 1338 type: TEXT;
1339 mouse_events: 0; 1339 mouse_events: 0;
1340 description { 1340 description {
1341 state: "default" 0.0; 1341 state: "default" 0.0;
1342 rel1 { 1342 rel1 {
1343 to: "video_frame_bottom"; 1343 to: "video_frame_bottom";
1344 relative: 0.0 0.0; 1344 relative: 0.0 0.0;
1345 offset: 0 8; 1345 offset: 0 8;
1346 } 1346 }
1347 rel2 { 1347 rel2 {
1348 to: "video_frame_bottom"; 1348 to: "video_frame_bottom";
1349 relative: 1.0 1.0; 1349 relative: 1.0 1.0;
1350 offset: -1 -13; 1350 offset: -1 -13;
1351 } 1351 }
1352 color: 0 0 0 255; 1352 color: 0 0 0 255;
1353 text { 1353 text {
1354 text: "Video Speed"; 1354 text: "Video Speed";
1355 font: "Sans"; 1355 font: "Sans";
1356 size: 6; 1356 size: 6;
1357 align: 1.0 0.5; 1357 align: 1.0 0.5;
1358 }; 1358 };
1359 } 1359 }
1360 } 1360 }
1361 part { 1361 part {
1362 name: "video_progress_confine"; 1362 name: "video_progress_confine";
1363 mouse_events: 0; 1363 mouse_events: 0;
1364 type: RECT; 1364 type: RECT;
1365 description { 1365 description {
1366 state: "default" 0.0; 1366 state: "default" 0.0;
1367 fixed: 1 1; 1367 fixed: 1 1;
1368 min: 1 18; 1368 min: 1 18;
1369 align: 0.5 0.0; 1369 align: 0.5 0.0;
1370 rel1 { 1370 rel1 {
1371 to: "video_frame_left"; 1371 to: "video_frame_left";
1372 relative: 1.0 1.0; 1372 relative: 1.0 1.0;
1373 offset: 0 -25; 1373 offset: 0 -25;
1374 } 1374 }
1375 rel2 { 1375 rel2 {
1376 to: "video_frame_right"; 1376 to: "video_frame_right";
1377 relative: 0.0 1.0; 1377 relative: 0.0 1.0;
1378 offset: -1 -25; 1378 offset: -1 -25;
1379 } 1379 }
1380 color: 0 0 0 0; 1380 color: 0 0 0 0;
1381 } 1381 }
1382 } 1382 }
1383 part { 1383 part {
1384 name: "video_progress"; 1384 name: "video_progress";
1385 type: RECT; 1385 type: RECT;
1386 mouse_events: 1; 1386 mouse_events: 1;
1387 dragable { 1387 dragable {
1388 x: 1 1 0; 1388 x: 1 1 0;
1389 y: 0 0 0; 1389 y: 0 0 0;
1390 confine: "video_progress_confine"; 1390 confine: "video_progress_confine";
1391 } 1391 }
1392 description { 1392 description {
1393 state: "default" 0.0; 1393 state: "default" 0.0;
1394 fixed: 1 1; 1394 fixed: 1 1;
1395 min: 34 18; 1395 min: 34 18;
1396 rel1 { 1396 rel1 {
1397 to: "video_progress_confine"; 1397 to: "video_progress_confine";
1398 relative: 0.5 0.5; 1398 relative: 0.5 0.5;
1399 offset: 0 0; 1399 offset: 0 0;
1400 } 1400 }
1401 rel2 { 1401 rel2 {
1402 to: "video_progress_confine"; 1402 to: "video_progress_confine";
1403 relative: 0.5 0.5; 1403 relative: 0.5 0.5;
1404 offset: 0 0; 1404 offset: 0 0;
1405 } 1405 }
1406 color: 0 0 0 0; 1406 color: 0 0 0 0;
1407 } 1407 }
1408 } 1408 }
1409 part { 1409 part {
1410 name: "video_progress_img"; 1410 name: "video_progress_img";
1411 mouse_events: 0; 1411 mouse_events: 0;
1412 description { 1412 description {
1413 state: "default" 0.0; 1413 state: "default" 0.0;
1414 fixed: 1 1; 1414 fixed: 1 1;
1415 min: 42 26; 1415 min: 42 26;
1416 rel1 { 1416 rel1 {
1417 to: "video_progress"; 1417 to: "video_progress";
1418 relative: 0.5 0.5; 1418 relative: 0.5 0.5;
1419 offset: 0 0; 1419 offset: 0 0;
1420 } 1420 }
1421 rel2 { 1421 rel2 {
1422 to: "video_progress"; 1422 to: "video_progress";
1423 relative: 0.5 0.5; 1423 relative: 0.5 0.5;
1424 offset: 0 0; 1424 offset: 0 0;
1425 } 1425 }
1426 image { 1426 image {
1427 normal: "h_slider.png"; 1427 normal: "h_slider.png";
1428 } 1428 }
1429 } 1429 }
1430 } 1430 }
1431 part { 1431 part {
1432 name: "video_speed_confine"; 1432 name: "video_speed_confine";
1433 mouse_events: 0; 1433 mouse_events: 0;
1434 type: RECT; 1434 type: RECT;
1435 description { 1435 description {
1436 state: "default" 0.0; 1436 state: "default" 0.0;
1437 rel1 { 1437 rel1 {
1438 to: "video_frame_left"; 1438 to: "video_frame_left";
1439 relative: 1.0 0.0; 1439 relative: 1.0 0.0;
1440 offset: 0 24; 1440 offset: 0 24;
1441 } 1441 }
1442 rel2 { 1442 rel2 {
1443 to: "video_frame_left"; 1443 to: "video_frame_left";
1444 relative: 1.0 1.0; 1444 relative: 1.0 1.0;
1445 offset: 48 -49; 1445 offset: 48 -49;
1446 } 1446 }
1447 color: 0 0 0 0; 1447 color: 0 0 0 0;
1448 } 1448 }
1449 } 1449 }
1450 part { 1450 part {
1451 name: "video_speed"; 1451 name: "video_speed";
1452 mouse_events: 1; 1452 mouse_events: 1;
1453 dragable { 1453 dragable {
1454 x: 0 0 0; 1454 x: 0 0 0;
1455 y: -1 1 0; 1455 y: -1 1 0;
1456 confine: "video_speed_confine"; 1456 confine: "video_speed_confine";
1457 } 1457 }
1458 description { 1458 description {
1459 state: "default" 0.0; 1459 state: "default" 0.0;
1460 fixed: 1 1; 1460 fixed: 1 1;
1461 min: 24 24; 1461 min: 24 24;
1462 rel1 { 1462 rel1 {
1463 to: "video_speed_confine"; 1463 to: "video_speed_confine";
1464 relative: 0.5 0.5; 1464 relative: 0.5 0.5;
1465 offset: 0 0; 1465 offset: 0 0;
1466 } 1466 }
1467 rel2 { 1467 rel2 {
1468 to: "video_speed_confine"; 1468 to: "video_speed_confine";
1469 relative: 0.5 0.5; 1469 relative: 0.5 0.5;
1470 offset: 0 0; 1470 offset: 0 0;
1471 } 1471 }
1472 image { 1472 image {
1473 normal: "knob.png"; 1473 normal: "knob.png";
1474 } 1474 }
1475 } 1475 }
1476 } 1476 }
1477 part { 1477 part {
1478 name: "video_play"; 1478 name: "video_play";
1479 mouse_events: 1; 1479 mouse_events: 1;
1480 description { 1480 description {
1481 state: "default" 0.0; 1481 state: "default" 0.0;
1482 fixed: 1 1; 1482 fixed: 1 1;
1483 min: 24 24; 1483 min: 24 24;
1484 rel1 { 1484 rel1 {
1485 to: "video_frame_bottom"; 1485 to: "video_frame_bottom";
1486 relative: 0.0 0.5; 1486 relative: 0.0 0.5;
1487 offset: 0 0; 1487 offset: 0 0;
1488 } 1488 }
1489 rel2 { 1489 rel2 {
1490 to: "video_frame_bottom"; 1490 to: "video_frame_bottom";
1491 relative: 0.0 0.5; 1491 relative: 0.0 0.5;
1492 offset: 0 0; 1492 offset: 0 0;
1493 } 1493 }
1494 image { 1494 image {
1495 normal: "knob.png"; 1495 normal: "knob.png";
1496 } 1496 }
1497 } 1497 }
1498 } 1498 }
1499 part { 1499 part {
1500 name: "video_pause"; 1500 name: "video_pause";
1501 mouse_events: 1; 1501 mouse_events: 1;
1502 description { 1502 description {
1503 state: "default" 0.0; 1503 state: "default" 0.0;
1504 fixed: 1 1; 1504 fixed: 1 1;
1505 min: 24 24; 1505 min: 24 24;
1506 rel1 { 1506 rel1 {
1507 to: "video_frame_bottom"; 1507 to: "video_frame_bottom";
1508 relative: 0.5 0.5; 1508 relative: 0.5 0.5;
1509 offset: 0 0; 1509 offset: 0 0;
1510 } 1510 }
1511 rel2 { 1511 rel2 {
1512 to: "video_frame_bottom"; 1512 to: "video_frame_bottom";
1513 relative: 0.5 0.5; 1513 relative: 0.5 0.5;
1514 offset: 0 0; 1514 offset: 0 0;
1515 } 1515 }
1516 image { 1516 image {
1517 normal: "knob.png"; 1517 normal: "knob.png";
1518 } 1518 }
1519 } 1519 }
1520 } 1520 }
1521 part { 1521 part {
1522 name: "video_stop"; 1522 name: "video_stop";
1523 mouse_events: 1; 1523 mouse_events: 1;
1524 description { 1524 description {
1525 state: "default" 0.0; 1525 state: "default" 0.0;
1526 fixed: 1 1; 1526 fixed: 1 1;
1527 min: 24 24; 1527 min: 24 24;
1528 rel1 { 1528 rel1 {
1529 to: "video_frame_bottom"; 1529 to: "video_frame_bottom";
1530 relative: 1.0 0.5; 1530 relative: 1.0 0.5;
1531 offset: 0 0; 1531 offset: 0 0;
1532 } 1532 }
1533 rel2 { 1533 rel2 {
1534 to: "video_frame_bottom"; 1534 to: "video_frame_bottom";
1535 relative: 1.0 0.5; 1535 relative: 1.0 0.5;
1536 offset: 0 0; 1536 offset: 0 0;
1537 } 1537 }
1538 image { 1538 image {
1539 normal: "knob.png"; 1539 normal: "knob.png";
1540 } 1540 }
1541 } 1541 }
1542 } 1542 }
1543 part { 1543 part {
1544 name: "video_mover"; 1544 name: "video_mover";
1545 mouse_events: 1; 1545 mouse_events: 1;
1546 type: RECT; 1546 type: RECT;
1547 description { 1547 description {
1548 state: "default" 0.0; 1548 state: "default" 0.0;
1549 rel1 { 1549 rel1 {
1550 to: "video_frame_top"; 1550 to: "video_frame_top";
1551 relative: 0.0 0.0; 1551 relative: 0.0 0.0;
1552 offset: 0 0; 1552 offset: 0 0;
1553 } 1553 }
1554 rel2 { 1554 rel2 {
1555 to: "video_frame_top"; 1555 to: "video_frame_top";
1556 relative: 1.0 1.0; 1556 relative: 1.0 1.0;
1557 offset: -1 -1; 1557 offset: -1 -1;
1558 } 1558 }
1559 color: 255 20 20 20; 1559 color: 255 20 20 20;
1560 } 1560 }
1561 } 1561 }
1562 part { 1562 part {
1563 name: "video_resizer"; 1563 name: "video_resizer";
1564 mouse_events: 1; 1564 mouse_events: 1;
1565 type: RECT; 1565 type: RECT;
1566 description { 1566 description {
1567 state: "default" 0.0; 1567 state: "default" 0.0;
1568 rel1 { 1568 rel1 {
1569 to: "video_frame_right"; 1569 to: "video_frame_right";
1570 relative: 0.0 1.0; 1570 relative: 0.0 1.0;
1571 offset: 0 -31; 1571 offset: 0 -31;
1572 } 1572 }
1573 rel2 { 1573 rel2 {
1574 to: "video_frame_right"; 1574 to: "video_frame_right";
1575 relative: 1.0 1.0; 1575 relative: 1.0 1.0;
1576 offset: -1 -1; 1576 offset: -1 -1;
1577 } 1577 }
1578 color: 20 20 255 20; 1578 color: 20 20 255 20;
1579 } 1579 }
1580 } 1580 }
1581 part { 1581 part {
1582 name: "video_progress_txt"; 1582 name: "video_progress_txt";
1583 type: TEXT; 1583 type: TEXT;
1584 mouse_events: 0; 1584 mouse_events: 0;
1585 effect: OUTLINE; 1585 effect: OUTLINE;
1586 description { 1586 description {
1587 state: "default" 0.0; 1587 state: "default" 0.0;
1588 align: 1.0 1.0; 1588 align: 1.0 1.0;
1589 fixed: 1 1; 1589 fixed: 1 1;
1590 rel1 { 1590 rel1 {
1591 relative: 1.0 1.0; 1591 relative: 1.0 1.0;
1592 offset: -2 -2; 1592 offset: -2 -2;
1593 } 1593 }
1594 rel2 { 1594 rel2 {
1595 relative: 1.0 1.0; 1595 relative: 1.0 1.0;
1596 offset: -2 -2; 1596 offset: -2 -2;
1597 } 1597 }
1598 color: 255 255 255 255; 1598 color: 255 255 255 255;
1599 color2: 0 0 0 255; 1599 color2: 0 0 0 255;
1600 text { 1600 text {
1601 text: "XX:XX:XX / XX:XX:XX"; 1601 text: "XX:XX:XX / XX:XX:XX";
1602 font: "Sans"; 1602 font: "Sans";
1603 size: 10; 1603 size: 10;
1604 align: 1.0 1.0; 1604 align: 1.0 1.0;
1605 min: 1 1; 1605 min: 1 1;
1606 }; 1606 };
1607 } 1607 }
1608 } 1608 }
1609 } 1609 }
1610 programs { 1610 programs {
1611 // emit signals: 1611 // emit signals:
1612 // "video_control" "play" 1612 // "video_control" "play"
1613 // "video_control" "pause" 1613 // "video_control" "pause"
1614 // "video_control" "stop" 1614 // "video_control" "stop"
1615 // "drag" "video_progress" 1615 // "drag" "video_progress"
1616 // "drag" "video_speed" 1616 // "drag" "video_speed"
1617 // 1617 //
1618 // get signals: 1618 // get signals:
1619 // "video_state" "play" 1619 // "video_state" "play"
1620 // "video_state" "pause" 1620 // "video_state" "pause"
1621 // "video_state" "stop" 1621 // "video_state" "stop"
1622 program { 1622 program {
1623 name: "video_play"; 1623 name: "video_play";
1624 signal: "mouse,down,1"; 1624 signal: "mouse,down,1";
1625 source: "video_play"; 1625 source: "video_play";
1626 action: SIGNAL_EMIT "video_control" "play"; 1626 action: SIGNAL_EMIT "video_control" "play";
1627 } 1627 }
1628 program { 1628 program {
1629 name: "video_pause"; 1629 name: "video_pause";
1630 signal: "mouse,down,1"; 1630 signal: "mouse,down,1";
1631 source: "video_pause"; 1631 source: "video_pause";
1632 action: SIGNAL_EMIT "video_control" "pause"; 1632 action: SIGNAL_EMIT "video_control" "pause";
1633 } 1633 }
1634 program { 1634 program {
1635 name: "video_stop"; 1635 name: "video_stop";
1636 signal: "mouse,down,1"; 1636 signal: "mouse,down,1";
1637 source: "video_stop"; 1637 source: "video_stop";
1638 action: SIGNAL_EMIT "video_control" "stop"; 1638 action: SIGNAL_EMIT "video_control" "stop";
1639 } 1639 }
1640 program { 1640 program {
1641 name: "video_move_start"; 1641 name: "video_move_start";
1642 signal: "mouse,down,*"; 1642 signal: "mouse,down,*";
1643 source: "video_mover"; 1643 source: "video_mover";
1644 action: SIGNAL_EMIT "frame_move" "start"; 1644 action: SIGNAL_EMIT "frame_move" "start";
1645 } 1645 }
1646 program { 1646 program {
1647 name: "video_move_stop"; 1647 name: "video_move_stop";
1648 signal: "mouse,up,*"; 1648 signal: "mouse,up,*";
1649 source: "video_mover"; 1649 source: "video_mover";
1650 action: SIGNAL_EMIT "frame_move" "stop"; 1650 action: SIGNAL_EMIT "frame_move" "stop";
1651 } 1651 }
1652 program { 1652 program {
1653 name: "video_resize_start"; 1653 name: "video_resize_start";
1654 signal: "mouse,down,*"; 1654 signal: "mouse,down,*";
1655 source: "video_resizer"; 1655 source: "video_resizer";
1656 action: SIGNAL_EMIT "frame_resize" "start"; 1656 action: SIGNAL_EMIT "frame_resize" "start";
1657 } 1657 }
1658 program { 1658 program {
1659 name: "video_resize_stop"; 1659 name: "video_resize_stop";
1660 signal: "mouse,up,*"; 1660 signal: "mouse,up,*";
1661 source: "video_resizer"; 1661 source: "video_resizer";
1662 action: SIGNAL_EMIT "frame_resize" "stop"; 1662 action: SIGNAL_EMIT "frame_resize" "stop";
1663 } 1663 }
1664 } 1664 }
1665 } 1665 }
1666#endif 1666#endif