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