]> icculus.org git repositories - divverent/nexuiz.git/blob - data/menu/options/player.menu
Fixed the crosshair selection.
[divverent/nexuiz.git] / data / menu / options / player.menu
1 // Property of Alientrap/AK
2 // options/player.menu
3 Item Window Player
4 {
5         Derive Picture Table6
6         {
7                 picture "gfx/options_background"
8                 size    '734 540'
9                 pos     '146 35'
10         }
11
12         Item Window Avatar
13         {
14                 size    '300 600'
15                 pos     '156 45'
16                 flag    [FlagEmbedded]
17
18                 Derive Picture Table7
19                 {
20                         picture "gfx/options_playerpic_border"
21                         size    '320 420'
22                         pos     '-10 5'
23                 }
24                 Derive Picture Picture
25                 {
26                         size    '263 360'
27                         picture "gfx/m_white"
28                         pos     '19 36'
29                 }
30                 Derive MultiLabel Description
31                 {
32                         size    '300 200'
33                         pos     '10 415'
34                         wrap    27
35                         fontSize '11 11 0'
36                 }
37                 Derive Picture PrevPicture
38                 {
39                         size    '30 18'
40                         picture "gfx/options_playerpic_nav"
41                         pos     '0 0'
42                 }
43                 Derive TextButton Prev
44                 {
45                         pos     '3 3'
46                         normal  "<<"
47
48                         action  Nex_Action_Avatar_Prev
49                 }
50                 Derive Picture NamePicture
51                 {
52                         size    '240 18'
53                         picture "gfx/options_playerpic_nav_background"
54                         pos     '30 0'
55                 }
56                 Derive Label Name
57                 {
58                         pos             '30 4'
59                         color           "1 1 1"
60                         size            '270 12'
61                         alignment       [AlignCenter]
62                 }
63                 Derive Picture NextPicture
64                 {
65                         size    '30 18'
66                         picture "gfx/options_playerpic_nav"
67                         pos     '270 0'
68                 }
69                 Derive TextButton Next
70                 {
71                         pos     '275 3'
72                         normal  ">>"
73
74                         action  Nex_Action_Avatar_Next
75                 }
76                 Item Task_Job Job
77                 {
78                         init    Nex_Automation_UpdateAvatar
79                 }
80         }
81         Item Layout Settings
82         {
83                 pos             '460 50'
84                 size            '445 600'
85                 origin          '185 0'
86                 flag            [FlagEmbedded]
87                 alignment       [AlignFirst]
88                 direction       [Nex_DefaultVertDirection]
89
90                 Derive Nex_Composition Name
91                 {
92                         Derive TextButton Description
93                         {
94                                 normal  "Player name"
95                                 link    "EditBox"
96                         }
97                         Derive EditBox EditBox
98                         {
99                                 size    '182 20'
100                                 target  "Data::Player::Name::Text"
101                         }
102                 }
103                 Derive Nex_Composition TeamColor
104                 {
105                         text    "Team color"
106                         target  "::Data::Player::Color::TeamColor::TextSwitch"
107
108                         Derive Nex_Automation_Option_Slider Automation
109                         {}
110                         Derive TextButton Description
111                         {}
112                         Derive Slider Slider
113                         {
114                                 action  Nex_Action_TestOnChange
115                         }
116                         Derive PictureValueButton Value
117                         {
118                                 fontSize        [DefaultFontSize]
119
120                                 color           "1.0 1.0 1.0"
121                                 colorPressed    "1.0 1.0 1.0"
122                                 colorSelected   "1.0 1.0 1.0"
123                         }
124                 }
125                 Derive Nex_Composition ShirtColor
126                 {
127                         text    "Shirt color"
128                         target  "::Data::Player::Color::ShirtColor::TextSwitch"
129
130                         Derive Nex_Automation_Option_Slider Automation
131                         {}
132                         Derive TextButton Description
133                         {}
134                         Derive Slider Slider
135                         {
136                                 action  Nex_Action_TestOnChange
137                         }
138                         Derive PictureValueButton Value
139                         {
140                                 fontSize        [DefaultFontSize]
141
142                                 color           "1.0 1.0 1.0"
143                                 colorPressed    "1.0 1.0 1.0"
144                                 colorSelected   "1.0 1.0 1.0"
145                         }
146                 }
147                 Derive Nex_Option_Slider FOV
148                 {
149                         text    "Field of View"
150                         target  "::Data::Player::FOV::Value"
151                 }
152                 Derive Nex_Option_Slider ViewSize
153                 {
154                         text    "View Size"
155                         target  "::Data::Player::ViewSize::Value"
156                 }
157                 Derive Nex_Option_Slider CrosshairType
158                 {
159                         text    "Crosshair Type"
160                         target  "::Data::Player::Crosshair::Type::Switch"
161                 }
162                 Derive Nex_Option_Slider CrosshairSize
163                 {
164                         text    "Crosshair Size"
165                         target  "::Data::Player::Crosshair::Size::Value"
166                 }
167                 Derive Nex_Option_Switch WeaponAutoswitch
168                 {
169                         text    "Weapon autoswitch"
170                         target  "::Data::Player::WeaponAutoswitch::Switch"
171                 }
172                 Derive Nex_Void Seperator1
173                 {}
174                 Derive PictureButton Apply
175                 {
176                         normal          "$gfx/options_b_apply"
177
178                         action  Nex_Action_Player_Apply
179                 }
180                 Derive TextButton Reset
181                 {
182                         alignment [AlignRight]
183                         normal  "Reset"
184                         init    Nex_Action_ResetData
185                         target  "::Data::Player"
186                 }
187         }
188 }