accidently commited parts of the new demos menu with the last commit, here is the...
[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                 }
29
30                 Derive List FileList
31                 {
32                         size    '300 340'
33                         target  "::Data::Demos::FileList::Demos"
34         
35                         action  Nex_Demos_CopyToFilename
36                 }
37
38                 Item Arrangement Filename
39                 {
40                         flag            [FlagEmbedded]
41                         direction       [Nex_DefaultHorzDirection]
42         
43                         Derive TextButton Label
44                         {
45                                 normal  "Demo Name :"
46                                 link    "##next"
47                         }
48                         Derive EditBox Name
49                         {
50                                 //size  '260 11'
51                                 target  "::Data::Demos::Filename::Text"
52         
53                                 action  Nex_Action_TestOnChange
54                                 select  Nex_Action_TestOnSelect
55                         }
56                 }
57         }
58         Item Layout Button
59         {
60                 size            '872 901'
61                 alignment       [AlignCenter]
62                 origin          '395 552'
63                 direction       '30 0'
64                 
65                 Derive PictureButton Start
66                 {
67                         normal  "$gfx/create_b_start"
68                         action  Nex_Demos_Start
69                 }
70         }
71 }