]> icculus.org git repositories - divverent/nexuiz.git/blob - data/menu/creategame/maplist.menu
give menu source its own directory
[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
8         DeriveTemplate Nex_Composition Nex_Option_MapType
9         {
10                 DeriveTemplate Nex_Automation_Option_Switch Automation
11                 {}
12                 DeriveTemplate TextButton Description
13                 {}
14                 DeriveTemplate SwitchButton Switch
15                 {
16                         size    '200 12'
17                         action  Nex_Action_Maplist_ChangeMapType
18                 }
19         }
20         Derive Nex_Option_MapType MapQuery
21         {
22                 pos     '0 0'
23                 size    '900 20'
24                 text    "Map Type:"
25                 target  "Data::Server::Map::Query::Switch"
26         }
27         Derive Label MapsLabel
28         {
29                 pos     '0 20'
30                 text    "Map List:"
31         }
32         Derive List Maps
33         {
34                 pos     '0 40'
35                 size    '425 500'
36
37                 target  "::Data::Server::Map::List"
38                 action  Nex_Action_Cycle_Add
39         }
40         Derive Label CycleLabel
41         {
42                 pos     '475 20'
43                 text    "Cycle List:"
44         }
45         Derive List Cycle
46         {
47                 pos     '475 40'
48                 size    '425 450'
49
50                 target  "::Data::Server::Map::Cycle"
51                 action  Nex_Action_Cycle_Remove
52         }
53         Item Layout Panel
54         {
55                 pos     '475 470'
56                 size    '425 30'
57                 direction       [Nex_DefaultHorzDirection]
58                 flag            [FlagEmbedded]
59
60                 Derive TextButton Add
61                 {
62                         normal  "Add"
63
64                         action  Nex_Action_Cycle_Add
65                 }
66                 Derive TextButton Remove
67                 {
68                         normal  "Remove"
69
70                         action  Nex_Action_Cycle_Remove
71                 }
72                 Derive TextButton MoveUp
73                 {
74                         normal  "Move Up"
75
76                         action  Nex_Action_Cycle_MoveUp
77                 }
78                 Derive TextButton MoveDown
79                 {
80                         normal  "Move Down"
81
82                         action  Nex_Action_Cycle_MoveDown
83                 }
84                 Derive TextButton Clear
85                 {
86                         normal  "Clear"
87
88                         action  Nex_Action_Cycle_Clear
89                 }
90         }
91 }