]> icculus.org git repositories - divverent/nexuiz.git/blob - data/menu/demos.menu
add cl_showplayers to the menu (Player options)
[divverent/nexuiz.git] / data / menu / demos.menu
1 // Property of Alientrap
2 //
3 // Quit window
4 Item Window Demos
5 {
6         Derive Picture Table1
7         {
8                 picture "gfx/join_border"
9                 size    '910 610'
10         }
11         Derive Picture Table2
12         {
13                 picture "gfx/join_background"
14                 pos     '28 32'
15                 size    '854 481'
16         }
17
18         Item Layout Select
19         {
20                 size            '872 501'
21                 direction       '0 8'
22                 alignment       [AlignCenter]
23                 origin          '460 44'
24
25                 Item Task_Job SyncCategory
26                 {
27                         update  Nex_Demos_SyncData
28                         init    Nex_Demos_SyncData
29                 }
30
31                 Derive MultiLabel Description
32                 {
33                         text    "Available demos in 'data/demos':"
34                         size    '400 12'
35                 }
36                 Item Layout FileLayout
37                 {
38                         size    '800 370'
39                         direction       '1 0'
40
41                         Item ScrollWindow Scroll
42                         {
43                                 size    '780 370'
44
45                                 Derive List FileList
46                                 {
47                                         size    '780 370'
48                                         target  "::Data::Demos::FileList::Demos"
49                 
50                                         action  Nex_Demos_Start
51                                 }
52                         }
53                         Item VScrollBar Scroller
54                         {
55                                 pos     '0 0'
56                                 size    '20 370'
57                                 target  "##prev"
58                         }
59                 }
60                 Derive PictureButton Start
61                 {
62                         normal  "$gfx/create_b_start"
63                         action  Nex_Demos_Start
64                 }
65         }
66 // until its fixed in the engine..
67 Ignore
68 {
69         Item Layout Settings
70         {
71                 size            '1000 200'
72                 alignment       [AlignLeft]
73                 pos             '50 540'
74                 direction       '0 10'
75                 
76                 Derive Nex_Option_Switch AutoDemo
77                 {
78                         text    "Automatically record a Demo when playing"
79                         target  "Data::Demos::AutoDemo::Switch"
80                 }
81                 DeriveTemplate Nex_Composition Option_EditBox
82                 {
83                         DeriveTemplate Nex_Automation_Option_EditBox Automation
84                         {}
85                         DeriveTemplate TextButton Description
86                         {}
87                         DeriveTemplate EditBox EditBox
88                         {
89                                 size    '600 12'
90                                 action  Nex_Action_TestOnChange
91                                 select  Nex_Action_TestOnSelect
92                         }
93                 }
94                 Derive Option_EditBox AutoDemoFormat
95                 {
96                         text    "Demo Name Format"
97                         target  "Data::Demos::AutoDemoFormat::Text"
98                 }
99         }
100 }
101 }