]> icculus.org git repositories - divverent/nexuiz.git/blob - data/menu/options/player.menu
now supporting shirt colors
[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::TeamColor::TextSwitch"
107
108                         Derive Nex_Automation_Option_Slider Automation
109                         {}
110                         Derive TextButton Description
111                         {}
112                         Derive Slider Slider
113                         {}
114                         Derive PictureValueButton Value
115                         {
116                                 color           "1.0 1.0 1.0"
117                                 colorPressed    "1.0 1.0 1.0"
118                                 colorSelected   "1.0 1.0 1.0"
119                         }
120                 }
121                 Derive Nex_Composition ShirtColor
122                 {
123                         text    "Shirt color"
124                         target  "::Data::Player::ShirtColor::TextSwitch"
125
126                         Derive Nex_Automation_Option_Slider Automation
127                         {}
128                         Derive TextButton Description
129                         {}
130                         Derive Slider Slider
131                         {}
132                         Derive PictureValueButton Value
133                         {
134                                 color           "1.0 1.0 1.0"
135                                 colorPressed    "1.0 1.0 1.0"
136                                 colorSelected   "1.0 1.0 1.0"
137                         }
138                 }               
139                 Derive Nex_Option_Slider FOV
140                 {
141                         text    "Field of View"
142                         target  "::Data::Player::FOV::Value"
143                 }
144                 Derive Nex_Option_Slider ViewSize
145                 {
146                         text    "View Size"
147                         target  "::Data::Player::ViewSize::Value"
148                 }
149                 Derive Nex_Option_Slider CrosshairType
150                 {
151                         text    "Crosshair Type"
152                         target  "::Data::Player::Crosshair::Type::Switch"
153                 }
154                 Derive Nex_Option_Slider CrosshairSize
155                 {
156                         text    "Crosshair Size"
157                         target  "::Data::Player::Crosshair::Size::Value"
158                 }
159                 Derive Nex_Option_Switch WeaponAutoswitch
160                 {
161                         text    "Weapon autoswitch"
162                         target  "::Data::Player::WeaponAutoswitch::Switch"
163                 }
164                 Derive Nex_Void Seperator1
165                 {}
166                 Derive PictureButton Apply
167                 {
168                         normal          "$gfx/options_b_apply"
169
170                         action  Nex_Action_Player_Apply
171                 }
172                 Derive TextButton Reset
173                 {
174                         alignment [AlignRight]
175                         normal  "Reset"
176                         init    Nex_Action_ResetData
177                         target  "::Data::Player"
178                 }
179         }
180 }