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