]> icculus.org git repositories - divverent/nexuiz.git/blob - data/menu/data/color.menu
menu: "OpenGL 2 Contrast (SLOW)" -> r_glsl_contrastboost
[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 GLSLContrastBoost
22         {
23                 cvarName        "r_glsl_contrastboost"
24                 defValue        1.0
25                 Item DataLink_Value Value
26                 {
27                         minValue        1.0
28                         maxValue        8.0
29                         stepValue       0.1
30                         link            "##up"
31                 }
32         }
33         Item Data_Cvar Brightness
34         {
35                 cvarName        "v_brightness"
36                 defValue        0.0
37                 Item DataLink_Value Value
38                 {
39                         minValue        0.0
40                         maxValue        0.5
41                         stepValue       0.02
42                         link            "##up"
43                 }
44         }
45         Item Data_Cvar Contrast
46         {
47                 cvarName        "v_contrast"
48                 defValue        1.0
49                 Item DataLink_Value Value
50                 {
51                         minValue        0.0
52                         maxValue        3.0
53                         stepValue       0.05
54                         link            "##up"
55                 }
56         }
57         Item Data_Cvar HWGamma // read-only
58         {
59                 cvarName        "v_hwgamma"
60                 defValue        1.0
61                 [DataLink_OnOffSwitch]
62         }
63         // extended options
64         Item DataContainer Extended
65         {
66                 Item Data_Cvar Active
67                 {
68                         cvarName        "v_color_enable"
69                         defValue        0.0
70                         [DataLink_OnOffSwitch]
71                 }
72                 Item Container Low
73                 {
74                         Item Data_Cvar Red
75                         {
76                                 cvarName        "v_color_black_r"
77                                 defValue        0.0
78                                 [DataLink_ZeroOneValue]
79                         }
80                         Item Data_Cvar Green
81                         {
82                                 cvarName        "v_color_black_g"
83                                 defValue        0.0
84                                 [DataLink_ZeroOneValue]
85                         }
86                         Item Data_Cvar Blue
87                         {
88                                 cvarName        "v_color_black_b"
89                                 defValue        0.0
90                                 [DataLink_ZeroOneValue]
91                         }
92                 }
93                 Item Container Mid
94                 {
95                         Item Data_Cvar Red
96                         {
97                                 cvarName        "v_color_grey_r"
98                                 defValue        0.5
99                                 [DataLink_ZeroOneValue]
100                         }
101                         Item Data_Cvar Green
102                         {
103                                 cvarName        "v_color_grey_g"
104                                 defValue        0.5
105                                 [DataLink_ZeroOneValue]
106                         }
107                         Item Data_Cvar Blue
108                         {
109                                 cvarName        "v_color_grey_b"
110                                 defValue        0.5
111                                 [DataLink_ZeroOneValue]
112                         }
113                 }
114                 Item Container High
115                 {
116                         Item Data_Cvar Red
117                         {
118                                 cvarName        "v_color_white_r"
119                                 defValue        1.0
120                                 [DataLink_ZeroOneValue]
121                         }
122                         Item Data_Cvar Green
123                         {
124                                 cvarName        "v_color_white_g"
125                                 defValue        1.0
126                                 [DataLink_ZeroOneValue]
127                         }
128                         Item Data_Cvar Blue
129                         {
130                                 cvarName        "v_color_white_b"
131                                 defValue        1.0
132                                 [DataLink_ZeroOneValue]
133                         }
134                 }
135         }
136 }