lossless jpegoptim run saving about 10 megabytes
[divverent/nexuiz.git] / data / menu / messagebox.menu
1 // Property of Alientrap
2 //
3 // message box window
4 // messagebox.menu
5
6 // MessageBoxWnd::Layout::Title::Caption
7 // MessageBoxWnd::Layout::Text
8 // MessageBoxWnd::Layout::Buttons::Left
9 // MessageBoxWnd::Layout::Buttons::Right
10 Item Window MessageBoxWnd
11 {
12         pos     '300 300'
13         size    '400 80'
14         flag    [FlagHidden]
15
16         Derive Rect Background
17         {
18                 flag            [FlagSealOffMouse]
19                 color           '0 0 0'
20                 alpha           0.8
21                 Ignore {
22                         color           '0.1 0.1 0.1'
23                         drawFlag        [DrawFlagModulate]
24
25
26                         Derive Rect Layer
27                         {
28                                 color           '0.3 0.3 0.3'
29                                 drawFlag        [DrawFlagAdditive]
30                         }
31                 }
32         }
33         Item Layout Layout
34         {
35                 origin          '200 0'
36                 direction       '0.0 10'
37                 flag            [FlagEmbedded]
38                 alignment       [AlignCenter]
39
40                 Item FloatingArea Title
41                 {
42                         size            '400 13'
43                         target          "##up up"
44                         Derive Rect Background
45                         {
46                                 //color         '0.5 0.5 0.5'
47                                 color           '0.05 0.05 0.05'
48                         }
49                         Derive TextButton Caption
50                         {
51                                 color           '1.0 1.0 1.0'
52                                 size            '400 11'
53                                 alignment       [AlignCenter]
54                                 //normal        "Message Box Window"
55                                 link            "##up"
56                         }
57                 }
58                 Derive Label Text
59                 {
60                         color           '1.0 1.0 1.0'
61                         //text          "MessageBox Text"
62                 }
63                 Item Arrangement Buttons
64                 {
65                         direction       '40 0'
66                         key             Nex_MessageBox_Key
67
68                         Derive TextButton Left
69                         {
70                                 color   '1.0 1.0 1.0'
71                                 //normal "Left"
72                                 action  Nex_MessageBox_LeftButton
73                         }
74                         Derive TextButton Right
75                         {
76                                 color   '1.0 1.0 1.0'
77                                 //normal "Right"
78                                 action  Nex_MessageBox_RightButton
79                         }
80                 }
81         }
82 }