rename menu directories
[divverent/nexuiz.git] / data / menu / 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                 [DataLink_OnOffSwitch]
50         }
51         // extended options
52         Item DataContainer Extended
53         {
54                 Item Data_Cvar Active
55                 {
56                         cvarName        "v_color_enable"
57                         defValue        0.0
58                         [DataLink_OnOffSwitch]
59                 }
60                 Item Container Low
61                 {
62                         Item Data_Cvar Red
63                         {
64                                 cvarName        "v_color_black_r"
65                                 defValue        0.0
66                                 [DataLink_ZeroOneValue]
67                         }
68                         Item Data_Cvar Green
69                         {
70                                 cvarName        "v_color_black_g"
71                                 defValue        0.0
72                                 [DataLink_ZeroOneValue]
73                         }
74                         Item Data_Cvar Blue
75                         {
76                                 cvarName        "v_color_black_b"
77                                 defValue        0.0
78                                 [DataLink_ZeroOneValue]
79                         }
80                 }
81                 Item Container Mid
82                 {
83                         Item Data_Cvar Red
84                         {
85                                 cvarName        "v_color_grey_r"
86                                 defValue        0.5
87                                 [DataLink_ZeroOneValue]
88                         }
89                         Item Data_Cvar Green
90                         {
91                                 cvarName        "v_color_grey_g"
92                                 defValue        0.5
93                                 [DataLink_ZeroOneValue]
94                         }
95                         Item Data_Cvar Blue
96                         {
97                                 cvarName        "v_color_grey_b"
98                                 defValue        0.5
99                                 [DataLink_ZeroOneValue]
100                         }
101                 }
102                 Item Container High
103                 {
104                         Item Data_Cvar Red
105                         {
106                                 cvarName        "v_color_white_r"
107                                 defValue        1.0
108                                 [DataLink_ZeroOneValue]
109                         }
110                         Item Data_Cvar Green
111                         {
112                                 cvarName        "v_color_white_g"
113                                 defValue        1.0
114                                 [DataLink_ZeroOneValue]
115                         }
116                         Item Data_Cvar Blue
117                         {
118                                 cvarName        "v_color_white_b"
119                                 defValue        1.0
120                                 [DataLink_ZeroOneValue]
121                         }
122                 }
123         }
124 }