]> icculus.org git repositories - divverent/nexuiz.git/blob - TeamNexuiz/menu/quit.menu
players now keep their speed (not optimal: they should keep their angle relative...
[divverent/nexuiz.git] / TeamNexuiz / menu / quit.menu
1 // Property of Alientrap\r
2 //\r
3 // Quit window\r
4 Item Window QuitWnd\r
5 {\r
6         pos     '300 300'\r
7         size    '400 80'\r
8         flag    [FlagHidden]\r
9 \r
10         Derive Rect Background\r
11         {\r
12                 flag            [FlagSealOffMouse]\r
13                 color           '0 0 0'\r
14                 alpha           0.8\r
15                 Ignore {\r
16                         color           '0.1 0.1 0.1'\r
17                         drawFlag        [DrawFlagModulate]\r
18 \r
19 \r
20                         Derive Rect Layer\r
21                         {\r
22                                 color           '0.3 0.3 0.3'\r
23                                 drawFlag        [DrawFlagAdditive]\r
24                         }\r
25                 }\r
26         }\r
27         Item Layout Layout\r
28         {\r
29                 origin          '200 0'\r
30                 direction       '0.0 10'\r
31                 flag            [FlagEmbedded]\r
32                 alignment       [AlignCenter]\r
33 \r
34                 Item FloatingArea Title\r
35                 {\r
36                         size            '400 13'\r
37                         target          "##up up"\r
38                         Derive Rect Background\r
39                         {\r
40                                 //color         '0.5 0.5 0.5'\r
41                                 color           '0.05 0.05 0.05'\r
42                         }\r
43                         Derive TextButton Caption\r
44                         {\r
45                                 color           '1.0 1.0 1.0'\r
46                                 size            '400 11'\r
47                                 alignment       [AlignCenter]\r
48                                 normal          "Quit Window"\r
49                                 link            "##up"\r
50                         }\r
51                 }\r
52                 Derive Label Text\r
53                 {\r
54                         color           '1.0 1.0 1.0'\r
55                         text            "Do you really want to quit?"\r
56                 }\r
57                 Item Arrangement Buttons\r
58                 {\r
59                         direction       '40 0'\r
60                         key             Nex_Quit_Key\r
61 \r
62                         Derive TextButton Yes\r
63                         {\r
64                                 color   '1.0 1.0 1.0'\r
65                                 normal  "Yes"\r
66                                 action  Nex_Quit_Yes\r
67                         }\r
68                         Derive TextButton No\r
69                         {\r
70                                 color   '1.0 1.0 1.0'\r
71                                 normal  "No"\r
72                                 action  Nex_Quit_No\r
73                         }\r
74                 }\r
75         }\r
76 }\r