]> icculus.org git repositories - divverent/nexuiz.git/blob - data/menu/demos.menu
lossless jpegoptim run saving about 10 megabytes
[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         Item Layout Settings
67         {
68                 size            '1000 200'
69                 alignment       [AlignLeft]
70                 pos             '50 540'
71                 direction       '0 10'
72                 
73                 Derive Nex_Option_Switch AutoDemo
74                 {
75                         text    "Automaticly record a Demo when playing"
76                         target  "Data::Demos::AutoDemo::Switch"
77                 }
78                 DeriveTemplate Nex_Composition Option_EditBox
79                 {
80                         DeriveTemplate Nex_Automation_Option_EditBox Automation
81                         {}
82                         DeriveTemplate TextButton Description
83                         {}
84                         DeriveTemplate EditBox EditBox
85                         {
86                                 size    '600 12'
87                                 action  Nex_Action_TestOnChange
88                                 select  Nex_Action_TestOnSelect
89                         }
90                 }
91                 Derive Option_EditBox AutoDemoFormat
92                 {
93                         text    "Demo Name Format"
94                         target  "Data::Demos::AutoDemoFormat::Text"
95                 }
96         }
97 }