]> icculus.org git repositories - divverent/nexuiz.git/blob - data/scmenu/credits.menu
give menu source its own directory
[divverent/nexuiz.git] / data / scmenu / credits.menu
1 // Property of Alientrap/AK
2 //
3 // credits.menu
4 Item Window CreditsWnd
5 {
6         pos     '300 300'
7         size    '400 400'
8         flag    [FlagHidden]
9
10         Derive Rect Background
11         {
12                 flag            [FlagSealOffMouse]
13                 color           '0.0 0.0 0.0'
14                 alpha           0.8
15                 Ignore
16                 {
17                         color           '0.1 0.1 0.1'
18                         drawFlag        [DrawFlagModulate]
19
20                         Derive Rect Layer
21                         {
22                                 color           '0.3 0.3 0.3'
23                                 drawFlag        [DrawFlagAdditive]
24                         }
25                 }
26         }
27         Item Layout Layout
28         {
29                 origin          '200 0'
30                 direction       [Nex_DefaultVertDirection]
31                 flag            [FlagEmbedded]
32                 alignment       [AlignCenter]
33
34                 Item FloatingArea Title
35                 {
36                         size            '400 13'
37                         target          "##up up"
38                         Derive Rect Background
39                         {
40                                 //color         '0.5 0.5 0.5'
41                                 color           '0.05 0.05 0.05'
42                         }
43                         Derive TextButton Caption
44                         {
45                                 color           '1.0 1.0 1.0'
46                                 size            '400 11'
47                                 alignment       [AlignCenter]
48                                 normal          "Credits"
49                                 link            "##up"
50                         }
51                 }
52                 Item Arrangement Items
53                 {
54                         direction       [Nex_DefaultVertDirection]
55                         key             Nex_Credits_Key
56                         alignment       [AlignCenter]
57
58                         Item Window Scroller
59                         {
60                                 size            '400 350'
61
62                                 Item Task_Job Job
63                                 {
64                                         direction       '0 50'
65                                         reinit          Nex_Credits_SetSizeX
66                                         update          Nex_Credits_Scroll
67                                 }
68
69                                 Derive Nex_Credits Credits
70                                 {
71                                         color           '1.0 1.0 1.0'
72                                         alignment       [AlignCenter]
73                                         target          "betacredits.txt"
74                                 }
75                         }
76
77                         Derive TextButton Close
78                         {
79                                 color   '1.0 1.0 1.0'
80                                 normal  "Close"
81                                 action  Nex_Credits_Toggle
82                         }
83                 }
84         }
85 }