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