]> icculus.org git repositories - divverent/nexuiz.git/blob - data/menu/creategame/maplist.menu
new menu from morphed
[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    '900 20'
25                 text    "Map Type:"
26                 target  "Data::Server::Map::Query::Switch"
27         }
28         Derive Label MapsLabel
29         {
30                 pos     '0 20'
31                 text    "Map List:"
32         }
33         Derive List Maps
34         {
35                 pos     '0 40'
36                 size    '425 478'
37
38                 target  "::Data::Server::Map::List"
39                 action  Nex_Action_Cycle_Add
40         }
41         Derive Label CycleLabel
42         {
43                 pos     '475 20'
44                 text    "Cycle List:"
45         }
46         Derive List Cycle
47         {
48                 pos     '475 40'
49                 size    '400 440'
50
51                 target  "::Data::Server::Map::Cycle"
52                 action  Nex_Action_Cycle_Remove
53         }
54         Item Layout Panel
55         {
56                 pos     '445 507'
57                 size    '425 30'
58                 direction       [Nex_DefaultHorzDirection]
59                 flag            [FlagEmbedded]
60
61                 Derive TextButton Add
62                 {
63                         normal  "Add"
64
65                         action  Nex_Action_Cycle_Add
66                 }
67                 Derive TextButton Remove
68                 {
69                         normal  "Remove"
70
71                         action  Nex_Action_Cycle_Remove
72                 }
73                 Derive TextButton MoveUp
74                 {
75                         normal  "Move Up"
76
77                         action  Nex_Action_Cycle_MoveUp
78                 }
79                 Derive TextButton MoveDown
80                 {
81                         normal  "Move Down"
82
83                         action  Nex_Action_Cycle_MoveDown
84                 }
85                 Derive TextButton Clear
86                 {
87                         normal  "Clear"
88
89                         action  Nex_Action_Cycle_Clear
90                 }
91         }
92 }