-
-
Notifications
You must be signed in to change notification settings - Fork 250
/
Copy pathgeneral.otui
101 lines (86 loc) · 2.25 KB
/
general.otui
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
Panel
OptionCheckBox
id: showPing
!text: tr('Show connection ping')
!tooltip: tr('Display connection speed to the server (milliseconds)')
OptionCheckBox
id: showLeftPanel
!text: tr('Show left panel')
OptionCheckBox
id: showRightExtraPanel
!text: tr('Show an extra right panel')
OptionCheckBox
id: openMaximized
!text: tr('Open containers maximized')
OptionCheckBox
id: displayNames
!text: tr('Display creature names')
OptionCheckBox
id: displayHealth
!text: tr('Display creature health bars')
OptionCheckBox
id: displayMana
!text: tr('Display player mana bar')
OptionCheckBox
id: displayText
!text: tr('Display text messages')
OptionCheckBox
id: enableHighlightMouseTarget
!text: tr('Highlight mouse target')
Label
id: creatureInformationScaleLabel
anchors.left: parent.left
anchors.right: parent.right
anchors.top: prev.bottom
margin-top: 12
@onSetup: |
local value = modules.client_options.getOption('creatureInformationScale')
self:setText(tr('Creature Infromation Scale: %sx', value))
OptionScrollbar
id: creatureInformationScale
anchors.left: parent.left
anchors.right: parent.right
anchors.top: prev.bottom
margin-top: 3
minimum: 1
maximum: 9
Label
id: textScaleLabel
anchors.left: parent.left
anchors.right: parent.right
anchors.top: prev.bottom
margin-top: 12
@onSetup: |
local value = modules.client_options.getOption('textScale')
self:setText(tr('Text Scale: %sx', value))
OptionScrollbar
id: textScale
anchors.left: parent.left
anchors.right: parent.right
anchors.top: prev.bottom
margin-top: 3
minimum: 1
maximum: 9
Label
id: chooseCrosshairLabel
!text: tr('Crosshair:')
phantom: false
anchors.left: prev.left
anchors.top: prev.bottom
margin-top: 13
ComboBox
id: crosshair
width: 120
anchors.left: prev.right
anchors.top: prev.top
margin-top: -4
margin-left: 5
mouse-scroll: false
Button
id: changeLocale
!text: tr('Change language')
@onClick: modules.client_locales.createWindow()
anchors.top: prev.bottom
anchors.left: parent.left
margin-top: 12
width: 120