Client Upload Part 1

RD Core / Commit #4

Commit Client Upload Part 1

Alex Alex committed 19/10/2026 00:04 main Patch
4,149 files +18,091 -7
A RD_Client/data/sounds/woodcutting_fail.ogg +0-0 View file
Binary file not shown.
A RD_Client/data/styles/10-buttons.otui +106-0 View file
@@ -0,0 +1,106 @@
1+Button < UIButton
2+ font: verdana-11px-antialised
3+ color: #dfdfdfff
4+ size: 106 23
5+ text-offset: 0 1
6+ image-source: /images/ui/button
7+ image-color: #dfdfdf
8+ image-clip: 0 0 22 23
9+ image-border: 3
10+ padding: 5 10 5 10
11+ opacity: 1.0
12+
13+ $hover !disabled:
14+ image-clip: 0 23 22 23
15+
16+ $pressed:
17+ image-clip: 0 46 22 23
18+ text-offset: 1 1
19+
20+ $disabled:
21+ color: #dfdfdf88
22+ opacity: 0.8
23+
24+TabChatButton < UIButton
25+ size: 24 24
26+ image-source: /images/game/chat/tabBarButtons
27+ image-clip: 0 0 24 24
28+ icon-color: white
29+ opacity: 0.6
30+
31+ $hover:
32+ image-clip: 0 24 24 24
33+ opacity: 1.0
34+
35+ $disabled:
36+ icon-color: #888888
37+ opacity: 0.5
38+
39+TabButton < UIButton
40+ size: 22 23
41+ image-source: /images/ui/tabbutton_rounded
42+ image-color: #dfdfdf
43+ image-clip: 0 0 22 23
44+ image-border: 3
45+ text-offset: 0 1
46+ icon-color: #dfdfdf
47+ color: #dfdfdf
48+
49+ $hover !on:
50+ image-clip: 0 23 22 23
51+ color: #dfdfdf
52+
53+ $disabled:
54+ image-color: #dfdfdf66
55+ icon-color: #dfdfdf
56+
57+ $on:
58+ image-clip: 0 46 22 23
59+ color: #dfdfdf
60+
61+NextButton < UIButton
62+ size: 12 21
63+ image-source: /images/ui/arrow_horizontal
64+ image-clip: 12 0 12 21
65+ image-color: #ffffff
66+ text-offset: 0 1
67+
68+ $hover !disabled:
69+ image-clip: 12 21 12 21
70+
71+ $pressed:
72+ image-clip: 12 21 12 21
73+
74+ $disabled:
75+ image-color: #dfdfdf88
76+
77+PreviousButton < UIButton
78+ size: 12 21
79+ image-source: /images/ui/arrow_horizontal
80+ image-clip: 0 0 12 21
81+ image-color: #ffffff
82+ text-offset: 0 1
83+
84+ $hover !disabled:
85+ image-clip: 0 21 12 21
86+
87+ $pressed:
88+ image-clip: 0 21 12 21
89+
90+ $disabled:
91+ image-color: #dfdfdf88
92+
93+AddButton < UIButton
94+ size: 20 20
95+ image-source: /images/ui/icon_add
96+ image-color: #dfdfdfff
97+ text-offset: 0 1
98+
99+ $hover !disabled:
100+ image-color: #dfdfdf99
101+
102+ $pressed:
103+ image-color: #dfdfdf44
104+
105+ $disabled:
106+ image-color: #dfdfdf55
A RD_Client/data/styles/10-checkboxes.otui +64-0 View file
@@ -0,0 +1,64 @@
1+CheckBox < UICheckBox
2+ size: 16 16
3+ text-align: left
4+ text-offset: 18 1
5+ color: #dfdfdf
6+ image-color: #dfdfdfff
7+ image-rect: 0 0 15 15
8+ image-source: /images/ui/checkbox
9+
10+ $hover !disabled:
11+ color: #ffffff
12+
13+ $!checked:
14+ image-clip: 0 0 15 15
15+
16+ $hover !checked:
17+ image-clip: 0 15 15 15
18+
19+ $checked:
20+ image-clip: 0 30 15 15
21+
22+ $hover checked:
23+ image-clip: 0 45 15 15
24+
25+ $disabled:
26+ image-color: #dfdfdf88
27+ color: #dfdfdf88
28+ opacity: 0.8
29+
30+ColorBox < UICheckBox
31+ size: 16 16
32+ image-color: #dfdfdfff
33+ image-source: /images/ui/colorbox
34+
35+ $checked:
36+ image-clip: 16 0 16 16
37+
38+ $!checked:
39+ image-clip: 0 0 16 16
40+
41+ButtonBox < UICheckBox
42+ font: verdana-11px-antialised
43+ color: #dfdfdfff
44+ size: 106 23
45+ text-offset: 0 0
46+ text-align: center
47+ image-source: /images/ui/button
48+ image-color: #dfdfdf
49+ image-clip: 0 0 22 23
50+ image-border: 3
51+
52+ $hover !disabled:
53+ image-clip: 0 23 22 23
54+
55+ $checked:
56+ image-clip: 0 46 22 23
57+ color: #dfdfdf
58+
59+ $disabled:
60+ color: #dfdfdf88
61+ image-color: #dfdfdf88
62+
63+ButtonBoxRounded < ButtonBox
64+ image-source: /images/ui/button_rounded
A RD_Client/data/styles/10-comboboxes.otui +106-0 View file
@@ -0,0 +1,106 @@
1+ComboBoxPopupScrollMenuButton < UIButton
2+ height: 23
3+ font: verdana-11px-antialised
4+ text-align: left
5+ text-offset: 4 0
6+ color: #dfdfdf
7+ background-color: alpha
8+ margin: 1
9+
10+ $hover !disabled:
11+ color: #dfdfdf
12+ background-color: #355d89
13+
14+ $disabled:
15+ color: #dfdfdf88
16+
17+ComboBoxPopupScrollMenu < UIPopupScrollMenu
18+ image-source: /images/ui/combobox_square
19+ image-clip: 0 69 91 23
20+ image-border: 1
21+
22+ComboBoxPopupMenuButton < UIButton
23+ height: 23
24+ font: verdana-11px-antialised
25+ text-align: left
26+ text-offset: 4 0
27+ color: #dfdfdf
28+ background-color: alpha
29+ margin: 1
30+
31+ $hover !disabled:
32+ color: #dfdfdf
33+ background-color: #355d89
34+
35+ $disabled:
36+ color: #dfdfdf88
37+
38+ComboBoxPopupMenu < UIPopupMenu
39+ image-source: /images/ui/combobox_square
40+ image-clip: 0 69 91 23
41+ image-border: 1
42+
43+ComboBox < UIComboBox
44+ font: verdana-11px-antialised
45+ color: #dfdfdf
46+ size: 91 23
47+ text-offset: 3 0
48+ text-align: left
49+ image-source: /images/ui/combobox_square
50+ image-border: 3
51+ image-border-right: 19
52+ image-clip: 0 0 91 23
53+
54+ $hover !disabled:
55+ image-clip: 0 23 91 23
56+
57+ $on:
58+ image-clip: 0 46 91 23
59+
60+ $disabled:
61+ color: #dfdfdf88
62+ opacity: 0.8
63+
64+ComboBoxRoundedPopupScrollMenuButton < UIButton
65+ height: 23
66+ font: verdana-11px-antialised
67+ text-align: left
68+ text-offset: 4 0
69+ color: #dfdfdf
70+ background-color: alpha
71+
72+ $hover !disabled:
73+ color: #ffffff
74+ background-color: #355d89
75+
76+ $disabled:
77+ color: #dfdfdf88
78+
79+ComboBoxRoundedPopupScrollMenu < UIPopupScrollMenu
80+ image-source: /images/ui/combobox_rounded
81+ image-clip: 0 69 91 23
82+ image-border: 3
83+
84+ComboBoxRoundedPopupMenuButton < UIButton
85+ height: 23
86+ font: verdana-11px-antialised
87+ text-align: left
88+ text-offset: 4 0
89+ color: #dfdfdf
90+ background-color: alpha
91+
92+ $hover !disabled:
93+ color: #ffffff
94+ background-color: #355d89
95+
96+ $disabled:
97+ color: #dfdfdf88
98+
99+ComboBoxRoundedPopupMenu < UIPopupMenu
100+ image-source: /images/ui/combobox_rounded
101+ image-clip: 0 69 91 23
102+ image-border: 3
103+
104+ComboBoxRounded < ComboBox
105+ image-source: /images/ui/combobox_rounded
106+ image-border: 3
A RD_Client/data/styles/10-creaturebuttons.otui +49-0 View file
@@ -0,0 +1,49 @@
1+CreatureButton < UICreatureButton
2+ height: 20
3+ margin-bottom: 5
4+
5+ UICreature
6+ id: creature
7+ size: 22 22
8+ anchors.left: parent.left
9+ anchors.top: parent.top
10+ phantom: true
11+
12+ UIWidget
13+ id: spacer
14+ width: 3
15+ anchors.left: creature.right
16+ anchors.top: creature.top
17+ phantom: true
18+
19+ UIWidget
20+ id: skull
21+ height: 11
22+ anchors.left: spacer.right
23+ anchors.top: spacer.top
24+ phantom: true
25+
26+ UIWidget
27+ id: emblem
28+ height: 11
29+ anchors.left: skull.right
30+ anchors.top: creature.top
31+ phantom: true
32+
33+ Label
34+ id: label
35+ anchors.left: emblem.right
36+ anchors.right: parent.right
37+ anchors.top: creature.top
38+ color: #888888
39+ margin-left: 2
40+ phantom: true
41+
42+ LifeProgressBar
43+ id: lifeBar
44+ height: 5
45+ anchors.left: spacer.right
46+ anchors.right: parent.right
47+ anchors.top: label.bottom
48+ margin-top: 2
49+ phantom: true
A RD_Client/data/styles/10-creatures.otui +10-0 View file
@@ -0,0 +1,10 @@
1+Creature < UICreature
2+ size: 80 80
3+ padding: 1
4+ image-source: /images/ui/panel_flat
5+ image-border: 1
6+ border-width: 1
7+ border-color: alpha
8+
9+ $checked:
10+ border-color: white
A RD_Client/data/styles/10-items.otui +10-0 View file
@@ -0,0 +1,10 @@
1+Item < UIItem
2+ size: 34 34
3+ padding: 1
4+ image-source: /images/ui/item
5+ font: verdana-11px-rounded
6+ border-color: white
7+ color: white
8+
9+ $disabled:
10+ color: #646464
A RD_Client/data/styles/10-labels.otui +23-0 View file
@@ -0,0 +1,23 @@
1+Label < UILabel
2+ font: verdana-11px-antialised
3+ color: #dfdfdf
4+
5+ $disabled:
6+ color: #dfdfdf88
7+
8+FlatLabel < UILabel
9+ font: verdana-11px-antialised
10+ color: #dfdfdf
11+ size: 86 20
12+ text-offset: 3 3
13+ image-source: /images/ui/panel_flat
14+ image-border: 1
15+
16+ $disabled:
17+ color: #dfdfdf88
18+
19+MenuLabel < Label
20+
21+GameLabel < UILabel
22+ font: verdana-11px-antialised
23+ color: #dfdfdf
A RD_Client/data/styles/10-listboxes.otui +19-0 View file
@@ -0,0 +1,19 @@
1+TextList < UIScrollArea
2+ layout: verticalBox
3+ border-width: 1
4+ border-color: #272727
5+ background-color: #636363
6+ padding: 1
7+ auto-focus: none
8+
9+HorizontalList < UIScrollArea
10+ layout: horizontalBox
11+ border-width: 1
12+ border-color: #272727
13+ background-color: #636363
14+
15+VerticalList < UIScrollArea
16+ layout: verticalBox
17+ border-width: 1
18+ border-color: #272727
19+ background-color: #636363
A RD_Client/data/styles/10-panels.otui +19-0 View file
@@ -0,0 +1,19 @@
1+Panel < UIWidget
2+ phantom: true
3+ auto-focus: first
4+
5+ScrollablePanel < UIScrollArea
6+ phantom: true
7+ auto-focus: first
8+
9+FlatPanel < Panel
10+ image-source: /images/ui/panel_flat
11+ image-border: 1
12+
13+ScrollableFlatPanel < ScrollablePanel
14+ image-source: /images/ui/panel_flat
15+ image-border: 1
16+
17+LightFlatPanel < Panel
18+ image-source: /images/ui/panel_lightflat
19+ image-border: 1
A RD_Client/data/styles/10-progressbars.otui +34-0 View file
@@ -0,0 +1,34 @@
1+ProgressBar < UIProgressBar
2+ height: 16
3+ background-color: red
4+ image-source: /images/ui/progressbar
5+ image-border: 1
6+ font: verdana-11px-rounded
7+ text-offset: 0 2
8+
9+ $!on:
10+ visible: false
11+ margin-top: 0
12+ margin-bottom: 0
13+ height: 0
14+
15+LifeProgressBar < UIProgressBar
16+ height: 16
17+ background-color: green
18+ border: 1 black
19+ font: verdana-11px-rounded
20+ text-offset: 0 2
21+ margin: 2
22+
23+ProgressRect < UIProgressRect
24+ anchors.fill: parent
25+ phantom: true
26+ color: white
27+ background-color: #00000088
28+ font: verdana-11px-rounded
29+
30+HealthBar < ProgressBar
31+ background-color: #ff4444
32+
33+ManaBar < ProgressBar
34+ background-color: #4444ff
A RD_Client/data/styles/10-scrollbars.otui +108-0 View file
@@ -0,0 +1,108 @@
1+ScrollBarSlider < UIButton
2+ id: sliderButton
3+ anchors.centerIn: parent
4+ size: 13 17
5+ image-source: /images/ui/scrollbar
6+ image-clip: 0 26 13 13
7+ image-border: 2
8+ image-color: #ffffffff
9+ $hover:
10+ image-clip: 13 26 13 13
11+ $pressed:
12+ image-clip: 26 26 13 13
13+ $disabled:
14+ image-color: #ffffff66
15+
16+ScrollBarValueLabel < Label
17+ id: valueLabel
18+ anchors.fill: parent
19+ color: white
20+ text-align: center
21+
22+VerticalScrollBar < UIScrollBar
23+ orientation: vertical
24+ width: 13
25+ height: 39
26+ image-source: /images/ui/scrollbar
27+ image-clip: 39 0 13 65
28+ image-border: 1
29+ pixels-scroll: true
30+
31+ UIButton
32+ id: decrementButton
33+ anchors.top: parent.top
34+ anchors.left: parent.left
35+ image-source: /images/ui/scrollbar
36+ image-clip: 0 0 13 13
37+ image-color: #ffffffff
38+ size: 13 13
39+ $hover:
40+ image-clip: 13 0 13 13
41+ $pressed:
42+ image-clip: 26 0 13 13
43+ $disabled:
44+ image-color: #ffffff66
45+
46+ UIButton
47+ id: incrementButton
48+ anchors.bottom: parent.bottom
49+ anchors.right: parent.right
50+ size: 13 13
51+ image-source: /images/ui/scrollbar
52+ image-clip: 0 13 13 13
53+ image-color: #ffffffff
54+ $hover:
55+ image-clip: 13 13 13 13
56+ $pressed:
57+ image-clip: 26 13 13 13
58+ $disabled:
59+ image-color: #ffffff66
60+
61+ ScrollBarSlider
62+
63+ ScrollBarValueLabel
64+
65+HorizontalScrollBar < UIScrollBar
66+ orientation: horizontal
67+ height: 13
68+ width: 39
69+ image-source: /images/ui/scrollbar
70+ image-clip: 0 65 52 13
71+ image-border: 1
72+
73+ $disabled:
74+ color: #bbbbbb88
75+
76+ UIButton
77+ id: decrementButton
78+ anchors.top: parent.top
79+ anchors.left: parent.left
80+ image-source: /images/ui/scrollbar
81+ image-clip: 0 39 13 13
82+ image-color: #ffffffff
83+ size: 13 13
84+ $hover:
85+ image-clip: 13 39 13 13
86+ $pressed:
87+ image-clip: 26 39 13 13
88+ $disabled:
89+ image-color: #ffffff66
90+
91+ UIButton
92+ id: incrementButton
93+ anchors.bottom: parent.bottom
94+ anchors.right: parent.right
95+ size: 13 13
96+ image-source: /images/ui/scrollbar
97+ image-clip: 0 52 13 13
98+ image-color: #ffffffff
99+ $hover:
100+ image-clip: 13 52 13 13
101+ $pressed:
102+ image-clip: 26 52 13 13
103+ $disabled:
104+ image-color: #ffffff66
105+
106+ ScrollBarSlider
107+
108+ ScrollBarValueLabel
A RD_Client/data/styles/10-separators.otui +13-0 View file
@@ -0,0 +1,13 @@
1+HorizontalSeparator < UIWidget
2+ image-source: /images/ui/separator_horizontal
3+ image-border: 1
4+ height: 2
5+ phantom: true
6+ focusable: false
7+
8+VerticalSeparator < UIWidget
9+ image-source: /images/ui/separator_vertical
10+ image-border: 1
11+ width: 2
12+ phantom: true
13+ focusable: false
A RD_Client/data/styles/10-splitters.otui +9-0 View file
@@ -0,0 +1,9 @@
1+Splitter < UISplitter
2+ size: 4 4
3+ opacity: 0
4+ background: #ffffff44
5+
6+ResizeBorder < UIResizeBorder
7+ size: 4 4
8+ opacity: 0
9+ background: #ffffff44
A RD_Client/data/styles/10-textedits.otui +20-0 View file
@@ -0,0 +1,20 @@
1+TextEdit < UITextEdit
2+ font: verdana-11px-antialised
3+ color: #272727
4+ size: 86 22
5+ text-offset: 0 4
6+ opacity: 1
7+ padding: 4
8+ image-source: /images/ui/textedit
9+ image-border: 1
10+ selection-color: #272727
11+ selection-background-color: #cccccc
12+ $disabled:
13+ color: #27272788
14+ opacity: 0.5
15+
16+PasswordTextEdit < TextEdit
17+ text-hidden: true
18+
19+MultilineTextEdit < TextEdit
20+ multiline: true
A RD_Client/data/styles/10-windows.otui +35-0 View file
@@ -0,0 +1,35 @@
1+Window < UIWindow
2+ font: verdana-11px-antialised
3+ size: 200 200
4+ opacity: 1
5+ color: #dfdfdf
6+ text-offset: 0 6
7+ text-align: top
8+ image-source: /images/ui/window
9+ image-border: 6
10+ image-border-top: 27
11+ padding-top: 36
12+ padding-left: 16
13+ padding-right: 16
14+ padding-bottom: 16
15+
16+ $disabled:
17+ color: #dfdfdf88
18+
19+ $dragging:
20+ opacity: 0.8
21+
22+HeadlessWindow < UIWindow
23+ image-source: /images/ui/window_headless
24+ image-border: 5
25+ padding: 5
26+
27+MainWindow < Window
28+ anchors.centerIn: parent
29+
30+StaticWindow < Window
31+ &static: true
32+
33+StaticMainWindow < StaticWindow
34+ anchors.centerIn: parent
35+
A RD_Client/data/styles/20-imageview.otui +6-0 View file
@@ -0,0 +1,6 @@
1+ImageView < UIImageView
2+ image-smooth: false
3+ image-fixed-ratio: true
4+ draggable: true
5+ border-width: 2
6+ border-color: #000000
A RD_Client/data/styles/20-popupmenus.otui +83-0 View file
@@ -0,0 +1,83 @@
1+PopupMenuButton < UIButton
2+ height: 18
3+ size: 0 21
4+ text-offset: 4 0
5+ text-align: left
6+ font: verdana-11px-antialised
7+
8+ color: #aaaaaa
9+ background-color: alpha
10+
11+ $hover !disabled:
12+ color: #ffffff
13+ background-color: #ffffff44
14+ image-clip: 0 40 20 20
15+
16+ $disabled:
17+ color: #555555
18+
19+PopupMenuShortcutLabel < Label
20+ font: verdana-11px-antialised
21+ text-align: right
22+ anchors.fill: parent
23+ margin-right: 2
24+ margin-left: 5
25+
26+PopupMenuSeparator < UIWidget
27+ margin-left: 2
28+ margin-right: 2
29+ margin-bottom: 1
30+ image-source: /images/ui/menubox
31+ image-border-left: 1
32+ image-border-right: 1
33+ image-clip: 0 0 32 2
34+ height: 2
35+ phantom: true
36+
37+PopupMenu < UIPopupMenu
38+ width: 50
39+ image-source: /images/ui/menubox
40+ image-border: 3
41+ padding: 3
42+
43+PopupScrollMenuButton < UIButton
44+ height: 18
45+ size: 0 21
46+ text-offset: 4 0
47+ text-align: left
48+ font: verdana-11px-antialised
49+
50+ color: #aaaaaa
51+ background-color: alpha
52+
53+ $hover !disabled:
54+ color: #ffffff
55+ background-color: #ffffff44
56+ image-clip: 0 40 20 20
57+
58+ $disabled:
59+ color: #555555
60+
61+PopupScrollMenuShortcutLabel < Label
62+ font: verdana-11px-antialised
63+ text-align: right
64+ anchors.fill: parent
65+ margin-right: 2
66+ margin-left: 5
67+
68+PopupScrollMenuSeparator < UIWidget
69+ margin-left: 2
70+ margin-right: 2
71+ margin-bottom: 1
72+ image-source: /images/ui/menubox
73+ image-border-left: 1
74+ image-border-right: 1
75+ image-clip: 0 0 32 2
76+ height: 2
77+ phantom: true
78+
79+PopupScrollMenu < UIPopupScrollMenu
80+ width: 50
81+ image-source: /images/ui/menubox
82+ image-border: 3
83+ padding: 3
A RD_Client/data/styles/20-smallscrollbar.otui +60-0 View file
@@ -0,0 +1,60 @@
1+SmallScrollBar < UIScrollBar
2+ orientation: vertical
3+ margin-bottom: 1
4+ step: 20
5+ width: 8
6+ image-source: /images/ui/scrollbar
7+ image-clip: 39 0 13 65
8+ image-border: 1
9+ pixels-scroll: true
10+
11+ UIButton
12+ id: decrementButton
13+ anchors.top: parent.top
14+ anchors.left: parent.left
15+ image-source: /images/ui/scrollbar
16+ image-clip: 0 0 13 13
17+ image-color: #ffffffff
18+ size: 8 8
19+ $hover:
20+ image-clip: 13 0 13 13
21+ $pressed:
22+ image-clip: 26 0 13 13
23+ $disabled:
24+ image-color: #ffffff66
25+
26+ UIButton
27+ id: incrementButton
28+ anchors.bottom: parent.bottom
29+ anchors.right: parent.right
30+ size: 8 8
31+ image-source: /images/ui/scrollbar
32+ image-clip: 0 13 13 13
33+ image-color: #ffffffff
34+ $hover:
35+ image-clip: 13 13 13 13
36+ $pressed:
37+ image-clip: 26 13 13 13
38+ $disabled:
39+ image-color: #ffffff66
40+
41+ UIButton
42+ id: sliderButton
43+ anchors.centerIn: parent
44+ size: 8 11
45+ image-source: /images/ui/scrollbar
46+ image-clip: 0 26 13 13
47+ image-border: 2
48+ image-color: #ffffffff
49+ $hover:
50+ image-clip: 13 26 13 13
51+ $pressed:
52+ image-clip: 26 26 13 13
53+ $disabled:
54+ image-color: #ffffff66
55+
56+ Label
57+ id: valueLabel
58+ anchors.fill: parent
59+ color: white
60+ text-align: center
A RD_Client/data/styles/20-spinboxes.otui +34-0 View file
@@ -0,0 +1,34 @@
1+SpinBox < TextEdit
2+ __class: UISpinBox
3+ text-align: left
4+ size: 86 22
5+ padding: 0
6+ padding-left: 2
7+
8+ Button
9+ id: up
10+ size: 11 11
11+ image-source: /images/ui/spinbox_up
12+ image-border: 1
13+ image-clip: 0 0 10 10
14+ anchors.top: parent.top
15+ anchors.right: parent.right
16+
17+ $hover:
18+ image-clip: 0 10 10 10
19+ $pressed:
20+ image-clip: 0 20 10 10
21+
22+ Button
23+ id: down
24+ size: 11 11
25+ image-source: /images/ui/spinbox_down
26+ image-border: 1
27+ image-clip: 0 0 10 10
28+ anchors.bottom: parent.bottom
29+ anchors.right: parent.right
30+
31+ $hover:
32+ image-clip: 0 10 10 10
33+ $pressed:
34+ image-clip: 0 20 10 10
A RD_Client/data/styles/20-tabbars.otui +131-0 View file
@@ -0,0 +1,131 @@
1+MoveableTabBar < UIMoveableTabBar
2+ size: 80 21
3+MoveableTabBarPanel < Panel
4+MoveableTabBarButton < UIButton
5+ size: 20 21
6+ image-source: /images/ui/tabbutton_square
7+ image-color: #dfdfdf
8+ image-clip: 0 0 20 21
9+ image-border: 3
10+ image-border-bottom: 0
11+ icon-color: #dfdfdf
12+ color: #dfdfdf
13+ anchors.top: parent.top
14+ anchors.left: parent.left
15+ padding: 5
16+
17+ $hover !checked:
18+ image-clip: 0 21 20 21
19+ color: #dfdfdf
20+
21+ $disabled:
22+ image-color: #dfdfdf88
23+ icon-color: #dfdfdf
24+
25+ $checked:
26+ image-clip: 0 42 20 21
27+ color: #dfdfdf
28+
29+ $on !checked:
30+ color: #de6f6f
31+
32+TabBar < UITabBar
33+ size: 80 21
34+ Panel
35+ id: buttonsPanel
36+ anchors.fill: parent
37+TabBarPanel < Panel
38+TabBarButton < UIButton
39+ size: 20 21
40+ image-source: /images/ui/tabbutton_square
41+ image-source: /images/ui/tabbutton_square
42+ image-color: #dfdfdf
43+ image-clip: 0 0 20 21
44+ image-border: 3
45+ image-border-bottom: 0
46+ icon-color: #dfdfdf
47+ color: #dfdfdf
48+ anchors.top: parent.top
49+ padding: 5
50+
51+ $first:
52+ anchors.left: parent.left
53+
54+ $!first:
55+ anchors.left: prev.right
56+ margin-left: 5
57+
58+ $hover !checked:
59+ image-clip: 0 21 20 21
60+ color: #dfdfdf
61+
62+ $disabled:
63+ image-color: #dfdfdf88
64+ icon-color: #dfdfdf
65+
66+ $checked:
67+ image-clip: 0 42 20 21
68+ color: #dfdfdf
69+
70+ $on !checked:
71+ color: #dfdfdf
72+
73+TabBarRounded < TabBar
74+TabBarRoundedPanel < TabBarPanel
75+TabBarRoundedButton < TabBarButton
76+ image-source: /images/ui/tabbutton_rounded
77+ size: 22 23
78+ image-clip: 0 0 22 23
79+
80+ $hover !checked:
81+ image-clip: 0 23 22 23
82+
83+ $checked:
84+ image-clip: 0 46 22 23
85+
86+TabBarVertical < UITabBar
87+ width: 96
88+ ScrollableFlatPanel
89+ id: buttonsPanel
90+ anchors.top: parent.top
91+ anchors.left: parent.left
92+ anchors.right: scrollBar.left
93+ anchors.bottom: parent.bottom
94+ vertical-scrollbar: scrollBar
95+ margin-right: 1
96+ padding-top: 10
97+
98+ VerticalScrollBar
99+ id: scrollBar
100+ anchors.top: parent.top
101+ anchors.bottom: parent.bottom
102+ anchors.right: parent.right
103+ step: 16
104+ pixels-scroll: true
105+ $!on:
106+ width: 0
107+TabBarVerticalPanel < Panel
108+TabBarVerticalButton < UIButton
109+ size: 48 48
110+ color: #aaaaaa
111+ anchors.left: parent.left
112+ anchors.right: parent.right
113+ text-align: bottom
114+ icon-align: top
115+ icon-offset-y: 2
116+ icon-color: #888888
117+ $first:
118+ anchors.top: parent.top
119+ $!first:
120+ anchors.top: prev.bottom
121+ margin-top: 10
122+ $hover !checked:
123+ color: white
124+ icon-color: #dfdfdf
125+ $disabled:
126+ icon-color: #333333
127+ $checked:
128+ icon-color: #ffffff
129+ color: #80c7f8
130+ $on !checked:
131+ color: #F55E5E
A RD_Client/data/styles/20-tables.otui +62-0 View file
@@ -0,0 +1,62 @@
1+Table < UITable
2+ layout: verticalBox
3+ header-column-style: TableHeaderColumn
4+ header-row-style: TableHeaderRow
5+ column-style: TableColumn
6+ row-style: TableRow
7+
8+TableData < UIScrollArea
9+ layout: verticalBox
10+
11+TableRow < UITableRow
12+ layout: horizontalBox
13+ height: 10
14+ text-wrap: true
15+ focusable: true
16+ even-background-color: alpha
17+ odd-background-color: #00000022
18+
19+ $focus:
20+ background-color: #294f6d
21+ color: #ffffff
22+
23+TableColumn < Label
24+ width: 30
25+ text-wrap: true
26+ focusable: false
27+
28+TableHeaderRow < Label
29+ layout: horizontalBox
30+ focusable: false
31+ height: 10
32+ text-wrap: true
33+
34+TableHeaderColumn < UITableHeaderColumn
35+ font: verdana-11px-antialised
36+ background-color: alpha
37+ color: #dfdfdfff
38+ height: 23
39+ focusable: true
40+ text-offset: 0 0
41+ image-source: /images/ui/button
42+ image-color: #dfdfdf
43+ image-clip: 0 0 22 23
44+ image-border: 3
45+ padding: 5 10 5 10
46+ enabled: false
47+ focusable: false
48+
49+ $hover !disabled:
50+ image-clip: 0 23 22 23
51+
52+ $pressed:
53+ image-clip: 0 46 22 23
54+ text-offset: 1 1
55+
56+ $disabled:
57+ color: #dfdfdf88
58+ opacity: 0.8
59+
60+SortableTableHeaderColumn < TableHeaderColumn
61+ enabled: true
62+ focusable: true
A RD_Client/data/styles/20-topmenu.otui +116-0 View file
@@ -0,0 +1,116 @@
1+TopButton < UIButton
2+ size: 26 26
3+ image-source: /images/ui/button_top
4+ image-clip: 0 0 26 26
5+ image-border: 3
6+ image-color: #ffffffff
7+ icon-color: #ffffffff
8+
9+ $on:
10+ image-source: /images/ui/button_top_blink
11+
12+ $hover !disabled:
13+ image-color: #ffffff99
14+ image-clip: 26 0 26 26
15+
16+ $pressed:
17+ image-clip: 52 0 26 26
18+
19+ $disabled:
20+ image-color: #ffffff44
21+ icon-color: #ffffff44
22+
23+TopToggleButton < UIButton
24+ size: 26 26
25+ image-source: /images/ui/button_top
26+ image-clip: 0 0 26 26
27+ image-color: #ffffffff
28+ image-border: 3
29+ icon-color: #ffffffff
30+
31+ $hover !disabled:
32+ image-color: #ffffff99
33+ image-clip: 26 0 26 26
34+
35+ $pressed:
36+ image-clip: 52 0 26 26
37+
38+ $disabled:
39+ image-color: #ffffff44
40+ icon-color: #ffffff44
41+
42+TopMenuButtonsPanel < Panel
43+ layout:
44+ type: horizontalBox
45+ spacing: 4
46+ fit-children: true
47+ padding: 6 4
48+
49+TopMenuPanel < Panel
50+ height: 36
51+ image-source: /images/ui/panel_top
52+ image-repeated: true
53+ focusable: false
54+
55+TopMenuFrameCounterLabel < Label
56+ font: verdana-11px-rounded
57+ color: white
58+ margin-top: 4
59+ margin-left: 5
60+
61+TopMenuPingLabel < Label
62+ font: verdana-11px-rounded
63+
64+TopMenu < TopMenuPanel
65+ id: topMenu
66+ anchors.top: parent.top
67+ anchors.left: parent.left
68+ anchors.right: parent.right
69+
70+ TopMenuButtonsPanel
71+ id: leftButtonsPanel
72+ anchors.top: parent.top
73+ anchors.bottom: parent.bottom
74+ anchors.left: parent.left
75+
76+ TopMenuButtonsPanel
77+ id: leftGameButtonsPanel
78+ anchors.top: parent.top
79+ anchors.bottom: parent.bottom
80+ anchors.left: prev.right
81+ visible: false
82+
83+ TopMenuFrameCounterLabel
84+ id: fpsLabel
85+ text-auto-resize: true
86+ anchors.top: parent.top
87+ anchors.left: leftGameButtonsPanel.right
88+
89+ TopMenuPingLabel
90+ color: white
91+ id: pingLabel
92+ text-auto-resize: true
93+ anchors.top: fpsLabel.bottom
94+ anchors.left: fpsLabel.left
95+
96+ Label
97+ id: onlineLabel
98+ anchors.top: parent.top
99+ anchors.bottom: parent.bottom
100+ anchors.horizontalCenter: parent.horizontalCenter
101+ font: verdana-11px-antialised
102+ text-align: center
103+ text-auto-resize: true
104+
105+ TopMenuButtonsPanel
106+ id: rightButtonsPanel
107+ anchors.top: parent.top
108+ anchors.bottom: parent.bottom
109+ anchors.right: parent.right
110+
111+ TopMenuButtonsPanel
112+ id: rightGameButtonsPanel
113+ anchors.top: parent.top
114+ anchors.bottom: parent.bottom
115+ anchors.right: prev.left
116+ visible: false
A RD_Client/data/styles/30-inputboxes.otui +30-0 View file
@@ -0,0 +1,30 @@
1+InputBoxLabel < Label
2+ fixed-size: true
3+ text-align: left
4+InputBoxLineEdit < TextEdit
5+InputBoxTextEdit < MultilineTextEdit
6+ text-wrap: true
7+InputBoxSpinBox < SpinBox
8+InputBoxCheckBox < CheckBox
9+InputBoxComboBox < ComboBox
10+InputBoxComboBoxPopupMenu < ComboBoxPopupMenu
11+InputBoxComboBoxPopupMenuButton < ComboBoxPopupMenuButton
12+InputBoxButton < Button
13+ margin-left: 10
14+ fixed-size: true
15+
16+InputBoxButtonsPanel < Panel
17+ height: 20
18+ margin-top: 4
19+ focusable: false
20+ layout:
21+ type: horizontalBox
22+ align-right: true
23+
24+InputBoxWindow < MainWindow
25+ __class: UIInputBox
26+ width: 260
27+ layout:
28+ type: verticalBox
29+ fit-children: true
30+ spacing: 2
A RD_Client/data/styles/30-messageboxes.otui +15-0 View file
@@ -0,0 +1,15 @@
1+MessageBoxLabel < Label
2+ id: messageBoxLabel
3+ anchors.horizontalCenter: parent.horizontalCenter
4+ anchors.top: parent.top
5+ text-wrap: true
6+ text-auto-resize: true
7+
8+MessageBoxButtonHolder < UIWidget
9+ id: buttonHolder
10+ margin-top: 10
11+ anchors.bottom: parent.bottom
12+
13+MessageBoxButton < Button
14+ margin-left: 10
15+ width: 80
Top