-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathbase.xml
2068 lines (1705 loc) · 74.1 KB
/
base.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE mythuitheme SYSTEM "http://www.mythtv.org/schema/mythuitheme.dtd">
<mythuitheme>
<!-- background image within the theme -->
<window name="backgroundwindow">
<imagetype name="background">
<filename>images/background.png</filename>
</imagetype>
</window>
<!-- Font that acts as a base for all other fonts here
No widget should use this font -->
<fontdef name="normal" face="DejaVu Sans">
<color>#FFFFFF</color>
<pixelsize>18</pixelsize>
</fontdef>
<!-- Font for the menu and the description of the
menu entry that is visible on the main screens -->
<fontdef name="menu" from="normal">
<pixelsize>24</pixelsize>
<weight>bold</weight>
</fontdef>
<fontdef name="menu_description" from="normal">
<color>#CCCCCC</color>
</fontdef>
<!-- Font for the title descriptions that
is visible on most of the screens -->
<fontdef name="title" from="normal">
<pixelsize>24</pixelsize>
</fontdef>
<!-- This is the font that shows the "Please wait..." -->
<fontdef name="title_wait" from="normal">
<pixelsize>30</pixelsize>
<weight>bold</weight>
</fontdef>
<!-- General font that is used in many screens -->
<fontdef name="text" from="normal">
</fontdef>
<fontdef name="text_inactive" from="text">
<color>#777777</color>
</fontdef>
<fontdef name="text_error" from="text">
<color>#800600</color>
</fontdef>
<fontdef name="text_warning" from="text">
<color>#FFFF33</color>
</fontdef>
<!-- Other color variations of the normal text font -->
<fontdef name="text_grey" from="text">
<color>#999999</color>
</fontdef>
<fontdef name="text_light_grey" from="text">
<color>#BBBBBB</color>
</fontdef>
<fontdef name="text_yellow" from="text">
<color>#FFFF33</color>
</fontdef>
<fontdef name="text_red" from="text">
<color>#FF3333</color>
</fontdef>
<fontdef name="text_blue" from="text">
<color>#3694ED</color>
</fontdef>
<fontdef name="text_orange" from="text">
<color>#FFBF00</color>
</fontdef>
<!-- Smaller font that is used in some screens -->
<fontdef name="text_small" from="normal">
<pixelsize>16</pixelsize>
</fontdef>
<fontdef name="text_small_red" from="text_small">
<color>#800900</color>
</fontdef>
<!-- background image behind every screen -->
<imagetype name="base_background">
<area>0,0,1280,720</area>
<filename>images/background.png</filename>
</imagetype>
<!-- Rectangular shape used as a background on almost every screen. -->
<shape name="base_background_shape">
<area>0,0,50,50</area>
<type>roundbox</type>
<fill color="#000000" alpha="130" />
<line color="#AAAAAA" alpha="150" width="1" />
<cornerradius>10</cornerradius>
</shape>
<!-- Rectangular shape used as background in popups -->
<shape name="base_background_shape_dark" from="base_background_shape">
<fill color="#000000" alpha="210" />
</shape>
<!-- darkens the entire background so that popups are better readable -->
<shape name="base_darken_background">
<!--<area>0,0,1280,720</area>-->
<area>-100,-100,1480,920</area>
<type>box</type>
<fill color="#000000" alpha="110" />
</shape>
<!-- base definitions for the transparency of the used images -->
<imagetype name="base_image_active">
<filename />
<alpha>150</alpha>
</imagetype>
<imagetype name="base_image_selectedactive">
<filename />
<alpha>200</alpha>
</imagetype>
<imagetype name="base_image_selectedinactive">
<filename />
<alpha>120</alpha>
</imagetype>
<!-- the image is not selected and inactive -->
<imagetype name="base_image_inactive" from="base_image_active" />
<!-- the image is selected and active (only for buttons) -->
<imagetype name="base_image_selected" from="base_image_selectedactive" />
<!-- the image is selected and pushed (only for buttons) -->
<imagetype name="base_image_pushed" from="base_image_selectedactive" />
<!-- the image is not selected and disabled -->
<imagetype name="base_image_disabled" from="base_image_inactive" />
<!-- alpha values explicitly for the icons in the osd and recording screens -->
<imagetype name="base_icon_selected">
<alpha>210</alpha>
</imagetype>
<imagetype name="base_icon_inactive">
<alpha>50</alpha>
</imagetype>
<!-- the definitions of the buttons and buttonlists in case the
background images shall be discarded and shapes will be used. -->
<shape name="base_button_shape_active">
<area>0,0,100%,100%</area>
<type>roundbox</type>
<fill color="#535353" alpha="120" />
<line color="#535353" alpha="100" width="1" />
<cornerradius>8</cornerradius>
</shape>
<shape name="base_button_shape_selectedactive" from="base_button_shape_active">
<fill color="#3697ef" alpha="200" />
<line color="#3697ef" alpha="180" width="1" />
</shape>
<shape name="base_button_shape_selectedinactive" from="base_button_shape_active">
<fill color="#1d68e0" alpha="100" />
<line color="#1d68e0" alpha="80" width="1" />
</shape>
<!-- these are the same as above but only to keep these names the
same as the states in which they are used. These are pretty
much only for buttons, checkboxes and similar widgets -->
<shape name="base_button_shape_inactive" from="base_button_shape_active" />
<shape name="base_button_shape_selected" from="base_button_shape_selectedactive" />
<shape name="base_button_shape_pushed" from="base_button_shape_selectedinactive" />
<shape name="base_button_shape_disabled" from="base_button_shape_inactive" />
<!-- ===================================================== -->
<!-- Below are the definitions of base widgets, their derivatives
and other widgets that are used troughout the theme -->
<!-- the textare widget that shows only text -->
<textarea name="base_textarea">
<area>0,0,30,30</area>
<font>text</font>
<multiline>no</multiline>
<cutdown>no</cutdown>
<align>left,vcenter</align>
</textarea>
<!-- the buttonlist widget with a width of 350px -->
<buttonlist name="base_buttonlist">
<area>0,0,350,280</area>
<layout>vertical</layout>
<spacing>3</spacing>
<scrollstyle>free</scrollstyle>
<wrapstyle>selection</wrapstyle>
<buttonarea>0,0,100%,100%</buttonarea>
<!-- states that the buttonlist can have -->
<statetype name="buttonitem">
<!-- active menu entry -->
<state name="active">
<area>0,0,350,36</area>
<shape name="background" from="base_button_shape_active" />
<!-- the button's text -->
<textarea name="buttontext" from="base_textarea">
<area>8,0,100%-50,36</area>
<scroll direction="horizontal" rate="35"/>
</textarea>
<!-- settings when the button has also a checkbox -->
<statetype name="buttoncheck">
<position>100%-37,0</position>
<state type="off">
<imagetype name="checkoff">
<filename>images/icons/button_checkbox_off.png</filename>
<area>5,5,26,26</area>
</imagetype>
</state>
<state type="half">
<imagetype name="checkhalf">
<filename>images/icons/button_checkbox_half.png</filename>
<area>5,5,26,26</area>
</imagetype>
</state>
<state type="full">
<imagetype name="checkfull">
<filename>images/icons/button_checkbox_full.png</filename>
<area>5,5,26,26</area>
</imagetype>
</state>
</statetype>
<!-- indicates the button contains a submenu -->
<imagetype name="buttonarrow" from="base_icon_inactive">
<position>100%-26,4</position>
<filename>images/icons/button_arrow_right.png</filename>
</imagetype>
</state>
<!-- inactive menu entry -->
<state name="inactive" from="active">
<area>0,0,350,36</area>
<shape name="background" from="base_button_shape_inactive" />
</state>
<!-- menu entry has been selected and is active -->
<state name="selectedactive" from="active">
<area>0,0,350,36</area>
<shape name="background" from="base_button_shape_selectedactive" />
<!-- indicates the button contains a submenu -->
<imagetype name="buttonarrow" from="base_icon_selected">
<position>100%-26,4</position>
<filename>images/icons/button_arrow_right.png</filename>
</imagetype>
</state>
<!-- menu entry has been selected and is inactive -->
<state name="selectedinactive" from="active">
<area>0,0,350,36</area>
<shape name="background" from="base_button_shape_selectedinactive" />
</state>
</statetype>
<!-- show arrows to indicates that there are
more menu entries above the first visible menu -->
<statetype name="upscrollarrow">
<position>100%-55,100%-5</position>
<state type="off">
<imagetype name="upon" from="base_icon_inactive">
<filename>images/icons/button_arrow_up.png</filename>
</imagetype>
</state>
<state type="full">
<imagetype name="upoff" from="base_icon_selected">
<filename>images/icons/button_arrow_up.png</filename>
</imagetype>
</state>
</statetype>
<!-- show arrows to indicates that there are
more menu entries below the last visible menu -->
<statetype name="downscrollarrow">
<position>100%-30,100%-5</position>
<state type="off">
<imagetype name="dnon" from="base_icon_inactive">
<filename>images/icons/button_arrow_down.png</filename>
</imagetype>
</state>
<state type="full">
<imagetype name="dnoff" from="base_icon_selected">
<filename>images/icons/button_arrow_down.png</filename>
</imagetype>
</state>
</statetype>
</buttonlist>
<!-- Base definition of a buttonlist in 'selector' configuration with a width
of 200px. This is pretty much the same as the base_buttonlist -->
<buttonlist name="base_selector">
<area>0,0,200,36</area>
<layout>horizontal</layout>
<buttonarea>0,0,100%,100%</buttonarea>
<statetype name="buttonitem">
<state name="active">
<area>0,0,200,36</area>
<shape name="background" from="base_button_shape_active" />
<textarea name="buttontext" from="base_textarea">
<area>8,0,100%-16,36</area>
<scroll direction="horizontal" rate="35"/>
</textarea>
</state>
<state name="inactive" from="active" />
<state name="selectedactive" from="active">
<area>0,0,200,36</area>
<shape name="background" from="base_button_shape_selectedactive" />
</state>
<state name="selectedinactive" from="active" />
</statetype>
<statetype name="downscrollarrow">
<position>100%+2,-2</position>
<state type="off">
<imagetype name="dnon" from="base_icon_inactive">
<filename>images/icons/button_arrow_right.png</filename>
</imagetype>
</state>
<state type="full">
<imagetype name="dnoff" from="base_icon_selected">
<filename>images/icons/button_arrow_right.png</filename>
</imagetype>
</state>
</statetype>
<statetype name="upscrollarrow">
<position>100%+3,13</position>
<state type="off">
<imagetype name="upon" from="base_icon_inactive">
<filename>images/icons/button_arrow_left.png</filename>
</imagetype>
</state>
<state type="full">
<imagetype name="upoff" from="base_icon_selected">
<filename>images/icons/button_arrow_left.png</filename>
</imagetype>
</state>
</statetype>
</buttonlist>
<!-- Base definition of a buttonlist in wide 'selector'
configuration with a width of 350px -->
<buttonlist name="base_selector_wide" from="base_selector">
<area>0,0,350,36</area>
<statetype name="buttonitem">
<state name="active">
<area>0,0,350,36</area>
</state>
<state name="inactive">
<area>0,0,350,36</area>
</state>
<state name="selectedactive">
<area>0,0,350,36</area>
</state>
<state name="selectedinactive">
<area>0,0,350,36</area>
</state>
</statetype>
</buttonlist>
<!-- Base definition of a buttonlist in wide 'selector'
configuration with a width of 650px -->
<buttonlist name="base_selector_very_wide" from="base_selector">
<area>0,0,650,36</area>
<statetype name="buttonitem">
<state name="active">
<area>0,0,650,36</area>
</state>
<state name="inactive">
<area>0,0,650,36</area>
</state>
<state name="selectedactive">
<area>0,0,650,36</area>
</state>
<state name="selectedinactive">
<area>0,0,650,36</area>
</state>
</statetype>
</buttonlist>
<!-- button widget with a width 150px -->
<button name="base_button">
<area>0,0,150,36</area>
<!-- states that the buttonlist can have -->
<statetype name="buttonstate">
<!-- an unselected, active button -->
<state name="active">
<area>0,0,150,36</area>
<shape name="background" from="base_button_shape_active" />
<textarea name="text">
<area>8,0,100%-16,36</area>
<align>allcenter</align>
<font>text</font>
<font state="selected">text</font>
<font state="disabled">text_inactive</font>
</textarea>
</state>
<!-- a selected, active button -->
<state name="selected" from="active">
<area>0,0,150,36</area>
<shape name="background" from="base_button_shape_selected" />
</state>
<!-- unselected or a greyed out button -->
<state name="disabled" from="active">
<area>0,0,150,36</area>
<shape name="background" from="base_button_shape_disabled" />
</state>
<!-- the down / pushed in state of a button -->
<state name="pushed" from="active">
<area>0,0,150,36</area>
<shape name="background" from="base_button_shape_pushed" />
</state>
</statetype>
</button>
<!-- button widget with a width of 300px -->
<button name="base_button_wide" from="base_button">
<area>0,0,300,36</area>
<statetype name="buttonstate">
<state name="active">
<area>0,0,300,36</area>
</state>
<state name="selected">
<area>0,0,300,36</area>
</state>
<state name="disabled">
<area>0,0,300,36</area>
</state>
<state name="pushed">
<area>0,0,300,36</area>
</state>
</statetype>
</button>
<!-- textedit widget with a width 375px -->
<textedit name="base_textedit">
<area>0,0,375,36</area>
<statetype name="background">
<state name="active">
<area>0,0,375,36</area>
<shape name="background" from="base_button_shape_active" />
</state>
<state name="selected">
<area>0,0,375,36</area>
<shape name="background" from="base_button_shape_selected" />
</state>
<state name="inactive">
<area>0,0,375,36</area>
<shape name="background" from="base_button_shape_inactive" />
</state>
</statetype>
<imagetype name="cursor">
<shape name="cursor_shape">
<area>0,2,2,20</area>
<type>box</type>
<fill color="#FFFFFF" alpha="240" />
</shape>
</imagetype>
<textarea name="text" from="base_textarea">
<area>8,0,100%-8,36</area>
</textarea>
</textedit>
<!-- textedit widget with a width 480px -->
<textedit name="base_textedit_wide" from="base_textedit">
<area>0,0,480,36</area>
<statetype name="background">
<state name="active">
<area>0,0,480,36</area>
</state>
<state name="selected">
<area>0,0,480,36</area>
</state>
<state name="inactive">
<area>0,0,480,36</area>
</state>
</statetype>
</textedit>
<!-- a search button widget -->
<button name="base_searchbutton" from="base_button">
<area>0,0,36,36</area>
<statetype name="buttonstate">
<area>0,0,36,36</area>
<state name="active">
<area>0,0,36,36</area>
<imagetype name="image" from="base_image_active">
<filename>images/icons/search.png</filename>
<area>3,3,30,30</area>
</imagetype>
</state>
<state name="selected">
<area>0,0,36,36</area>
<imagetype name="image" from="base_image_selected">
<filename>images/icons/search.png</filename>
<area>3,3,30,30</area>
</imagetype>
</state>
<state name="disabled">
<area>0,0,36,36</area>
<imagetype name="image" from="base_image_disabled">
<filename>images/icons/search.png</filename>
<area>3,3,30,30</area>
</imagetype>
</state>
<state name="pushed">
<area>0,0,36,36</area>
<imagetype name="image" from="base_image_pushed">
<filename>images/icons/search.png</filename>
<area>3,3,30,30</area>
</imagetype>
</state>
</statetype>
</button>
<!-- checkbox widget -->
<checkbox name="base_checkbox">
<area>0,0,36,36</area>
<!-- Active is a functional checkbox which is not highlighted.
Selected is a functional, highlighted checkbox.
Disabled is a non-functional "greyed out" checkbox -->
<statetype name="background">
<state name="active">
<area>0,0,36,36</area>
<shape name="background" from="base_button_shape_active" />
</state>
<state name="selected">
<area>0,0,36,36</area>
<shape name="background" from="base_button_shape_selected"/>
</state>
<state name="disabled">
<area>0,0,36,36</area>
<shape name="background" from="base_button_shape_disabled"/>
</state>
</statetype>
<!-- three states to indicate the fill status of the checkbox.
The states are off, half and full. Off is a completely
unfilled checkbox. Half is a half-checked box.
Full is a fully checked checkbox -->
<statetype name="checkstate">
<area>0,0,36,36</area>
<state type="off">
<imagetype name="checkstate_image" from="base_image_selected">
<area>5,5,26,26</area>
<filename>images/icons/button_checkbox_off.png</filename>
</imagetype>
</state>
<state type="half">
<imagetype name="checkstate_image" from="base_image_selected">
<area>5,5,26,26</area>
<filename>images/icons/button_checkbox_half.png</filename>
</imagetype>
</state>
<state type="full">
<imagetype name="checkstate_image" from="base_image_selected">
<area>5,5,26,26</area>
<filename>images/icons/button_checkbox_full.png</filename>
</imagetype>
</state>
</statetype>
</checkbox>
<!-- Spinbox widget with a width 90px -->
<spinbox name="base_spinbox">
<area>0,0,70,36</area>
<layout>horizontal</layout>
<statetype name="buttonitem">
<!-- available but not highlighted -->
<state name="active">
<area>0,0,70,36</area>
<shape name="background" from="base_button_shape_active" />
<textarea name="buttontext" from="base_textarea">
<area>8,0,100%-8,36</area>
<font>text</font>
<scroll direction="horizontal" rate="35"/>
</textarea>
</state>
<state name="inactive" from="active" />
<!-- available and highlighted -->
<state name="selectedactive" from="active">
<area>0,0,70,36</area>
<shape name="background" from="base_button_shape_selectedactive" />
</state>
<!-- unavailable and unhighlighted -->
<state name="selectedinactive" from="active" />
</statetype>
<statetype name="downscrollarrow">
<position>100%+2,0</position>
<state type="off">
<imagetype name="dnon" from="base_icon_inactive">
<filename>images/icons/button_arrow_right.png</filename>
</imagetype>
</state>
<state type="full">
<imagetype name="dnoff" from="base_icon_selected">
<filename>images/icons/button_arrow_right.png</filename>
</imagetype>
</state>
</statetype>
<statetype name="upscrollarrow">
<position>100%+3,13</position>
<state type="off">
<imagetype name="upon" from="base_icon_inactive">
<filename>images/icons/button_arrow_left.png</filename>
</imagetype>
</state>
<state type="full">
<imagetype name="upoff" from="base_icon_selected">
<filename>images/icons/button_arrow_left.png</filename>
</imagetype>
</state>
</statetype>
</spinbox>
<!-- Spinbox widget with a width 350px -->
<spinbox name="base_spinbox_wide" from="base_spinbox">
<area>0,0,350,36</area>
<statetype name="buttonitem">
<state name="active">
<area>0,0,350,36</area>
</state>
<state name="inactive">
<area>0,0,650,36</area>
</state>
<state name="selectedactive">
<area>0,0,350,36</area>
</state>
<state name="selectedinactive">
<area>0,0,350,36</area>
</state>
</statetype>
</spinbox>
<!-- Spinbox with a width of 650px -->
<spinbox name="base_spinbox_very_wide" from="base_spinbox">
<area>0,0,650,36</area>
<statetype name="buttonitem">
<state name="active">
<area>0,0,650,36</area>
</state>
<state name="inactive">
<area>0,0,650,36</area>
</state>
<state name="selectedactive">
<area>0,0,650,36</area>
</state>
<state name="selectedinactive">
<area>0,0,650,36</area>
</state>
</statetype>
</spinbox>
<!-- Background of the rating widget that
shows only the inactive stars -->
<imagetype name="base_rating_background">
<area>0,0,90,18</area>
<filename>images/icons/ratings/stars_bg.png</filename>
<preserveaspect>true</preserveaspect>
</imagetype>
<!-- Rating widget that shows 1 to 5 stars -->
<statetype name="base_rating">
<area>0,0,90,18</area>
<showempty>yes</showempty>
<state name="0" />
<state name="1">
<imagetype name="stars">
<filename>images/icons/ratings/0.5_star.png</filename>
</imagetype>
</state>
<state name="2">
<imagetype name="stars">
<filename>images/icons/ratings/1.0_star.png</filename>
</imagetype>
</state>
<state name="3">
<imagetype name="stars">
<filename>images/icons/ratings/1.5_stars.png</filename>
</imagetype>
</state>
<state name="4">
<imagetype name="stars">
<filename>images/icons/ratings/2.0_stars.png</filename>
</imagetype>
</state>
<state name="5">
<imagetype name="stars">
<filename>images/icons/ratings/2.5_stars.png</filename>
</imagetype>
</state>
<state name="6">
<imagetype name="stars">
<filename>images/icons/ratings/3.0_stars.png</filename>
</imagetype>
</state>
<state name="7">
<imagetype name="stars">
<filename>images/icons/ratings/3.5_stars.png</filename>
</imagetype>
</state>
<state name="8">
<imagetype name="stars">
<filename>images/icons/ratings/4.0_stars.png</filename>
</imagetype>
</state>
<state name="9">
<imagetype name="stars">
<filename>images/icons/ratings/4.5_stars.png</filename>
</imagetype>
</state>
<state name="10">
<imagetype name="stars">
<filename>images/icons/ratings/5.0_stars.png</filename>
</imagetype>
</state>
</statetype>
<!-- Background of the parental level widget
that shows only the inactive stars-->
<imagetype name="base_parentallevel_background">
<area>0,0,72,18</area>
<filename>images/icons/ratings/parentallevel_bg.png</filename>
<preserveaspect>true</preserveaspect>
</imagetype>
<!-- Parental level widget that shows 1 to 4 stars -->
<statetype name="base_parentallevel">
<area>0,0,72,18</area>
<state name="Lowest">
<imagetype name="icon">
<filename>images/icons/ratings//parentallevel_1.png</filename>
</imagetype>
</state>
<state name="Low" from="Lowest">
<imagetype name="icon">
<filename>images/icons/ratings//parentallevel_2.png</filename>
</imagetype>
</state>
<state name="Medium" from="Lowest">
<imagetype name="icon">
<filename>images/icons/ratings//parentallevel_3.png</filename>
</imagetype>
</state>
<state name="High" from="Lowest">
<imagetype name="icon">
<filename>images/icons/ratings//parentallevel_4.png</filename>
</imagetype>
</state>
</statetype>
<!-- Progressbar widget with a width of 500px -->
<progressbar name="base_progressbar">
<area>0,0,500,20</area>
<layout>horizontal</layout>
<style>reveal</style>
<!-- the background when the progressbar has 0% -->
<shape name="background" from="base_button_shape_active" />
<!-- the image when the progressbar has 100% -->
<imagetype name="progressimage" from="base_image_selected">
<filename>images/icons/progressbar.png</filename>
<area>0,0,100%,100%</area>
</imagetype>
</progressbar>
<!-- Shows the clock and the name of the screen
in the top left corner of each screen -->
<textarea name="base_heading">
<imagetype name="header_background">
<area>-1,-1,560,50</area>
<filename>images/media/header_left.png</filename>
</imagetype>
<clock name="clock">
<area>10,0,230,30</area>
<font>text</font>
<template>%DATE%, %TIME%</template>
<align>left,vcenter</align>
</clock>
<textarea name="text" from="base_textarea">
<area>245,0,270,30</area>
<align>allcenter</align>
<scroll direction="horizontal" rate="35"/>
</textarea>
</textarea>
<!-- Base definition of a vertical scrollbar -->
<scrollbar name="base_vertical_scrollbar">
<area>1250,0,15,690</area>
<layout>vertical</layout>
<hidedelay>1000</hidedelay>
<shape name="background" from="base_button_shape_active">
<area>0,0,100%,100%</area>
<cornerradius>3</cornerradius>
</shape>
<shape name="slider" from="base_button_shape_selectedactive">
<area>0,0,15,40</area>
<cornerradius>3</cornerradius>
</shape>
</scrollbar>
<!-- Base definition of a horizontal scrollbar -->
<scrollbar name="base_horizontal_scrollbar" from="base_vertical_scrollbar">
<area>15,690,1250,14</area>
<layout>horizontal</layout>
<shape name="slider" from="base_button_shape_selectedactive">
<area>0,0,40,14</area>
</shape>
</scrollbar>
<!-- Base definition of a webbrowser -->
<webbrowser name="base_webbrowser">
<area>0,0,1280,720</area>
<browserarea>0,0,100%,100%</browserarea>
<zoom>1.0</zoom>
<scrollduration>500</scrollduration>
<scrollbar name="vertscrollbar" from="base_vertical_scrollbar">
<area>100%-21,0,14,100%-28</area>
</scrollbar>
<scrollbar name="horizscrollbar" from="base_horizontal_scrollbar">
<area>0,100%-21,100%-28,14</area>
</scrollbar>
</webbrowser>
<!-- ===================================================== -->
<!-- Below are the definitions of popup dialogs that are
based on the base conponents are specified here -->
<!-- Popup dialog box that has various usages in many screens -->
<window name="MythPopupBox">
<animation trigger="AboutToShow">
<section centre="left" duration="250">
<alpha start="0" end="255" easingcurve="Linear"/>
<zoom start="50" end="100" easingcurve="OutQuart"/>
<position start="-150,0" end="0,0"/>
</section>
</animation>
<animation trigger="AboutToHide">
<section centre="left" duration="250">
<alpha start="255" end="0" easingcurve="Linear"/>
<zoom start="100" end="50" easingcurve="InQuart"/>
<position start="0,0" end="-150,0"/>
</section>
</animation>
<!-- darkens the entire background so
that the popup is better readable -->
<shape name="darken_background" from="base_darken_background" />
<!-- the background image of the popup dialog box -->
<shape name="dialog_background" from="base_background_shape_dark">
<area>450,130,380,388</area>
</shape>
<textarea name="messagearea" from="base_textarea">
<area>465,140,350,60</area>
<value>Search Term</value>
<align>allcenter</align>
<multiline>yes</multiline>
<scroll direction="vertical" rate="10"/>
</textarea>
<shape name="messagearea_separator" from="base_background_shape">
<area>451,210,378,1</area>
</shape>
<!-- the list of buttons -->
<buttonlist name="list" from="base_buttonlist">
<area>465,225,350,275</area>
<drawfrombottom>yes</drawfrombottom>
<triggerevent context="Global" action="ESCAPE">LEFT</triggerevent>
<triggerevent context="Global" action="SELECT">RIGHT</triggerevent>
<statetype name="buttonitem">
<state name="active">
<textarea name="buttontext">
<area>8,0,100%-16,36</area>
<scroll direction="horizontal" rate="35"/>
<align>allcenter</align>
</textarea>
</state>
<state name="selectedinactive">
<textarea name="buttontext">
<area>8,0,100%-16,36</area>
<scroll direction="horizontal" rate="35"/>
<align>allcenter</align>
</textarea>
</state>
<state name="selectedactive">
<textarea name="buttontext">
<area>8,0,100%-16,36</area>
<scroll direction="horizontal" rate="35"/>
<align>allcenter</align>
</textarea>
</state>
</statetype>