]> icculus.org git repositories - divverent/nexuiz.git/blob - data/menu/demos.menu
Demo menu is much better now. Scrollbar still missing
[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                 Item ScrollWindow Scroll
32                 {
33                         size    '800 390'
34
35                         Derive List FileList
36                         {
37                                 size    '800 390'
38                                 target  "::Data::Demos::FileList::Demos"
39                 
40                                 action  Nex_Demos_Start
41                         }
42                 }
43                 Item VScrollBar Scroller
44                 {
45                         pos     '100 0'
46                         size    '20 450'
47                         target  "##prev"
48                 }
49                 Derive PictureButton Start
50                 {
51                         normal  "$gfx/create_b_start"
52                         action  Nex_Demos_Start
53                 }
54         }
55         Item Layout Settings
56         {
57                 size            '1000 200'
58                 alignment       [AlignLeft]
59                 pos             '50 540'
60                 direction       '0 10'
61                 
62                 Derive Nex_Option_Switch AutoDemo
63                 {
64                         text    "Automaticly record a Demo when playing"
65                         target  "Data::Demos::AutoDemo::Switch"
66                 }
67                 DeriveTemplate Nex_Composition Option_EditBox
68                 {
69                         DeriveTemplate Nex_Automation_Option_EditBox Automation
70                         {}
71                         DeriveTemplate TextButton Description
72                         {}
73                         DeriveTemplate EditBox EditBox
74                         {
75                                 size    '600 12'
76                                 action  Nex_Action_TestOnChange
77                                 select  Nex_Action_TestOnSelect
78                         }
79                 }
80                 Derive Option_EditBox AutoDemoFormat
81                 {
82                         text    "Demo Name Format"
83                         target  "Data::Demos::AutoDemoFormat::Text"
84                 }
85         }
86 }