1MainWindow
2 id: warWindow
3 size: 190 120
4 image-source: /images/custom/UI/back_menu
5 draggable: false
6 focusable: false
7
8 $mobile:
9 size: 150 80
10
11 UIButton
12 id: img
13 size: 52 52
14 image-source: /images/custom/UI/atk_mobile
15 anchors.top: parent.top
16 anchors.left: parent.left
17 margin-top: -20
18
19 $mobile:
20 visible: false
21
22 UIButton
23 id: txt
24 font: lucida-11px-rounded
25 !text: tr('Participe da batalha de 30 vs 30.')
26 text-wrap: true
27 height: 35
28 phantom: true
29 anchors.top: parent.top
30 anchors.left: img.right
31 anchors.right: parent.right
32 margin-top: -20
33 margin-right: 05
34 margin-left: 10
35
36 $mobile:
37 text: Warzone
38 height: 15
39 anchors.left: parent.left
40 margin-left: 05
41
42 ProgressBar
43 id: playerProgress
44 background-color: white
45 opacity: 0.5
46 size: 150 05
47 phantom: false
48 anchors.top: txt.bottom
49 anchors.left: img.right
50 anchors.right: parent.right
51 margin-left: 10
52 margin-right: 05
53 margin-top: 05
54
55 $mobile:
56 size: 150 05
57 anchors.left: parent.left
58 margin-left: 05
59
60 UIButton
61 id: starButton
62 !text: tr('Participar')
63 height: 25
64 image-source: /images/custom/UI/button_2
65 anchors.bottom: parent.bottom
66 anchors.left: parent.left
67 anchors.right: parent.right
68 margin-left: 05
69 margin-right: 05
70 opacity: 0.8
71 @onClick: onParticipeWar()
72 $pressed:
73 opacity: 0.6
74 $hover !pressed:
75 opacity: 1.0
76
77 $mobile:
78 height: 20