lossless jpegoptim run saving about 10 megabytes
[divverent/nexuiz.git] / data / menu / quit.menu
1 // Property of Alientrap
2 //
3 // Quit window
4 Item Window QuitWnd
5 {
6         pos     '300 300'
7         size    '400 80'
8         flag    [FlagHidden]
9
10         Derive Rect Background
11         {
12                 flag            [FlagSealOffMouse]
13                 color           '0 0 0'
14                 alpha           0.8
15                 Ignore {
16                         color           '0.1 0.1 0.1'
17                         drawFlag        [DrawFlagModulate]
18
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       '0.0 10'
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          "Quit Window"
49                                 link            "##up"
50                         }
51                 }
52                 Derive Label Text
53                 {
54                         color           '1.0 1.0 1.0'
55                         text            "Do you really want to quit?"
56                 }
57                 Item Arrangement Buttons
58                 {
59                         direction       '40 0'
60                         key             Nex_Quit_Key
61
62                         Derive TextButton Yes
63                         {
64                                 color   '1.0 1.0 1.0'
65                                 normal  "Yes"
66                                 action  Nex_Quit_Yes
67                         }
68                         Derive TextButton No
69                         {
70                                 color   '1.0 1.0 1.0'
71                                 normal  "No"
72                                 action  Nex_Quit_No
73                         }
74                 }
75         }
76 }