]> icculus.org git repositories - divverent/nexuiz.git/blob - data/menu/creategame/maplist.menu
menu-div0test -> menu
[divverent/nexuiz.git] / data / menu / creategame / maplist.menu
1 // Property of Alientrap/AK
2 //
3 // creategame/maplist.menu
4 Item Window MapList
5 {
6         size '900 585'
7         pos  '30 50'
8
9         DeriveTemplate Nex_Composition Nex_Option_MapType
10         {
11                 DeriveTemplate Nex_Automation_Option_Switch Automation
12                 {}
13                 DeriveTemplate TextButton Description
14                 {}
15                 DeriveTemplate SwitchButton Switch
16                 {
17                         size    '200 12'
18                         action  Nex_Action_Maplist_ChangeMapType
19                 }
20         }
21         Derive Nex_Option_MapType MapQuery
22         {
23                 pos     '0 0'
24                 size    '380 20'
25                 text    "Map Type:"
26                 target  "Data::Server::Map::Query::Switch"
27         }
28         Derive Nex_Option_MapType Votable
29         {
30                 pos     '380 0'
31                 size    '260 20'
32                 text    "Voting:"
33                 target  "Data::Server::Map::Votable::Switch"
34         }
35         Derive Nex_Option_MapType Random
36         {
37                 pos     '640 0'
38                 size    '200 20'
39                 text    "Selection:"
40                 target  "Data::Server::Map::Random::Switch"
41         }
42         Derive Label MapsLabel
43         {
44                 pos     '0 20'
45                 text    "Available maps:"
46         }
47         Derive List Maps
48         {
49                 pos     '0 40'
50                 size    '425 478'
51
52                 target  "::Data::Server::Map::List"
53                 action  Nex_Action_Cycle_Add
54         }
55         Derive Label CycleLabel
56         {
57                 pos     '475 20'
58                 text    "Maps in cycle:"
59         }
60         Derive List Cycle
61         {
62                 pos     '475 40'
63                 size    '400 440'
64
65                 target  "::Data::Server::Map::Cycle"
66                 action  Nex_Action_Cycle_Remove
67         }
68         Item Layout Panel
69         {
70                 pos     '445 507'
71                 size    '425 30'
72                 direction       [Nex_DefaultHorzDirection]
73                 flag            [FlagEmbedded]
74
75                 Derive TextButton Add
76                 {
77                         normal  "Add"
78
79                         action  Nex_Action_Cycle_Add
80                 }
81                 Derive TextButton Remove
82                 {
83                         normal  "Remove"
84
85                         action  Nex_Action_Cycle_Remove
86                 }
87                 Derive TextButton MoveUp
88                 {
89                         normal  "Move Up"
90
91                         action  Nex_Action_Cycle_MoveUp
92                 }
93                 Derive TextButton MoveDown
94                 {
95                         normal  "Move Down"
96
97                         action  Nex_Action_Cycle_MoveDown
98                 }
99                 Derive TextButton Clear
100                 {
101                         normal  "Clear"
102
103                         action  Nex_Action_Cycle_Clear
104                 }
105         }
106 }