]> icculus.org git repositories - divverent/nexuiz.git/blob - scmenu/data/color.menu
-Changed some item names to fit to the global name convention.
[divverent/nexuiz.git] / scmenu / data / color.menu
1 // Property of Alientrap
2 //
3 // data/color.menu
4
5 // v_color prefix and other color controlling cvars
6 Item DataContainer Color
7 {
8         // normal options
9         Item Data_Cvar Gamma
10         {
11                 cvarName        "v_gamma"
12                 defValue        1.0
13                 Item DataLink_Value Value
14                 {
15                         minValue        0.0
16                         maxValue        4.0
17                         stepValue       0.05
18                         link            "##up"
19                 }
20         }
21         Item Data_Cvar Brightness
22         {
23                 cvarName        "v_brightness"
24                 defValue        0.0
25                 Item DataLink_Value Value
26                 {
27                         minValue        0.0
28                         maxValue        3.0
29                         stepValue       0.05
30                         link            "##up"
31                 }
32         }
33         Item Data_Cvar Contrast
34         {
35                 cvarName        "v_contrast"
36                 defValue        1.0
37                 Item DataLink_Value Value
38                 {
39                         minValue        0.0
40                         maxValue        3.0
41                         stepValue       0.05
42                         link            "##up"
43                 }
44         }
45         Item Data_Cvar HWGamma // read-only
46         {
47                 cvarName        "v_hwgamma"
48                 defValue        1.0
49                 Derive DataLink_OnOffSwitch Switch
50                 {
51                         link            "##up"
52                 }
53         }
54         // extended options
55         Item DataContainer Extended
56         {
57                 Item Data_Cvar Active
58                 {
59                         cvarName        "v_color_enable"
60                         defValue        0.0
61                         Derive DataLink_OnOffSwitch Switch
62                         {
63                                 link            "##up"
64                         }
65                 }
66                 Item Container Low
67                 {
68                         Item Data_Cvar Red
69                         {
70                                 cvarName        "v_color_black_r"
71                                 defValue        0.0
72                                 [DataLink_ZeroOneValue]
73                         }
74                         Item Data_Cvar Green
75                         {
76                                 cvarName        "v_color_black_g"
77                                 defValue        0.0
78                                 [DataLink_ZeroOneValue]
79                         }
80                         Item Data_Cvar Blue
81                         {
82                                 cvarName        "v_color_black_b"
83                                 defValue        0.0
84                                 [DataLink_ZeroOneValue]
85                         }
86                 }
87                 Item Container Mid
88                 {
89                         Item Data_Cvar Red
90                         {
91                                 cvarName        "v_color_grey_r"
92                                 defValue        0.5
93                                 [DataLink_ZeroOneValue]
94                         }
95                         Item Data_Cvar Green
96                         {
97                                 cvarName        "v_color_grey_g"
98                                 defValue        0.5
99                                 [DataLink_ZeroOneValue]
100                         }
101                         Item Data_Cvar Blue
102                         {
103                                 cvarName        "v_color_grey_b"
104                                 defValue        0.5
105                                 [DataLink_ZeroOneValue]
106                         }
107                 }
108                 Item Container High
109                 {
110                         Item Data_Cvar Red
111                         {
112                                 cvarName        "v_color_white_r"
113                                 defValue        1.0
114                                 [DataLink_ZeroOneValue]
115                         }
116                         Item Data_Cvar Green
117                         {
118                                 cvarName        "v_color_white_g"
119                                 defValue        1.0
120                                 [DataLink_ZeroOneValue]
121                         }
122                         Item Data_Cvar Blue
123                         {
124                                 cvarName        "v_color_white_b"
125                                 defValue        1.0
126                                 [DataLink_ZeroOneValue]
127                         }
128                 }
129         }
130 }