rename menu directories
[divverent/nexuiz.git] / data / menu / options / player.menu
1 // Property of Alientrap/AK
2 // options/player.menu
3 Item Window Player
4 {
5         size      '760 600'
6
7         Derive Picture Table1
8         {
9                 picture "gfx/table1"
10                 size    '760 600'
11         }
12
13         Item Window Avatar
14         {
15                 size    '300 600'
16                 pos     '20 20'
17                 flag    [FlagEmbedded]
18
19                 Derive Picture Picture
20                 {
21                         size    '300 400'
22                         picture "gfx/m_white"
23                 }
24                 Derive Rect Overlay
25                 {
26                         size            '300 15'
27                         drawFlag        [DrawFlagAdditive]
28                         alpha           0.4
29                 }
30                 Derive MultiLabel Description
31                 {
32                         size    '300 200'
33                         pos     '0 400'
34                         wrap    27
35                         fontSize '11 11 0'
36                 }
37                 Derive TextButton Prev
38                 {
39                         pos     '0 0'
40                         normal  "<<"
41
42                         action  Nex_Action_Avatar_Prev
43                 }
44                 Derive Label Name
45                 {
46                         pos             '24 0'
47                         size            '276 12'
48                         alignment       [AlignCenter]
49                 }
50                 Derive TextButton Next
51                 {
52                         pos     '278 0'
53                         normal  ">>"
54
55                         action  Nex_Action_Avatar_Next
56                 }
57                 Item Task_Job Job
58                 {
59                         init    Nex_Automation_UpdateAvatar
60                 }
61         }
62         Item Layout Settings
63         {
64                 pos             '320 20'
65                 size            '440 600'
66                 origin          '180 0'
67                 flag            [FlagEmbedded]
68                 alignment       [AlignFirst]
69                 direction       [Nex_DefaultVertDirection]
70
71                 Derive Nex_Composition Name
72                 {
73                         Derive TextButton Description
74                         {
75                                 normal  "Player name"
76                                 link    "EditBox"
77                         }
78                         Derive EditBox EditBox
79                         {
80                                 size    '182 20'
81                                 target  "Data::Player::Name::Text"
82                         }
83                 }
84                 Derive Nex_Composition TeamColor
85                 {
86                         text    "Team color"
87                         target  "::Data::Player::TeamColor::TextSwitch"
88
89                         Derive Nex_Automation_Option_Slider Automation
90                         {}
91                         Derive TextButton Description
92                         {}
93                         Derive Slider Slider
94                         {}
95                         Derive PictureValueButton Value
96                         {
97                                 color           "1.0 1.0 1.0"
98                                 colorPressed    "1.0 1.0 1.0"
99                                 colorSelected   "1.0 1.0 1.0"
100                         }
101                 }
102                 Derive Nex_Option_Slider FOV
103                 {
104                         text    "Field of View"
105                         target  "::Data::Player::FOV::Value"
106                 }
107                 Derive Nex_Option_Slider ViewSize
108                 {
109                         text    "View Size"
110                         target  "::Data::Player::ViewSize::Value"
111                 }
112                 Derive Nex_Option_Slider CrosshairType
113                 {
114                         text    "Crosshair Type"
115                         target  "::Data::Player::Crosshair::Type::Switch"
116                 }
117                 Derive Nex_Option_Slider CrosshairSize
118                 {
119                         text    "Crosshair Size"
120                         target  "::Data::Player::Crosshair::Size::Value"
121                 }
122                 Derive Nex_Void Seperator1
123                 {}
124                 Derive PictureButton Apply
125                 {
126                         normal          "$gfx/m_apply"
127
128                         action  Nex_Action_Player_Apply
129                 }
130                 Derive TextButton Reset
131                 {
132                         alignment [AlignRight]
133                         normal  "Reset"
134                         init    Nex_Action_ResetData
135                         target  "::Data::Player"
136                 }
137         }
138 }