]> icculus.org git repositories - divverent/nexuiz.git/blob - menusrc/options.menu
The color control menu should be finished now - the pattern should perhaps be adjuste...
[divverent/nexuiz.git] / menusrc / options.menu
1 /*
2 Property of Alientrap
3
4 Option menus
5 */
6 {
7         type    ITEM_WINDOW
8         name    options
9 }
10 // std menu stuff
11 {
12         type    ITEM_REFERENCE
13         name    options_bg_ref
14         parent  options
15         link    background
16 }
17 {
18         type    ITEM_REFERENCE
19         name    options_mainframe
20         parent  options
21         link    mainframe
22         orderpos 1000
23 }
24 {
25         type    ITEM_REFERENCE
26         name    options_panel_ref
27         parent  options
28         link    opt_panel
29         origin  "200 145"
30 }
31 // side panel
32 {
33         type    ITEM_WINDOW
34         name    opt_panel
35 }
36 // side panel entries
37 {
38         type    ITEM_TEXTBUTTON
39         name    opt_panel_game
40         parent  opt_panel
41         text    "Game"
42         pos             "0 0"
43 }
44 {
45         type    ITEM_TEXTBUTTON
46         name    opt_panel_controls
47         parent  opt_panel
48         text    "Controls"
49         pos             "0 15"
50 }{
51         type    ITEM_TEXTBUTTON
52         name    opt_panel_sound
53         parent  opt_panel
54         text    "Sound"
55         pos             "0 30"
56 }
57 {
58         type    ITEM_TEXTBUTTON
59         name    opt_panel_effects
60         parent  opt_panel
61         text    "Effects"
62         pos             "0 45"
63 }
64 {
65         type    ITEM_TEXTBUTTON
66         name    opt_panel_colctrl
67         parent  opt_panel
68         text    "Color Control"
69         pos             "0 60"
70         action  nex_cc
71 }
72 // ref for the 'working' window
73 {
74         type    ITEM_REFERENCE
75         name    options_settings_ref
76         parent  options
77         link    options_game
78         origin  "400 200"
79 }
80 // sub windows
81 // game
82 {
83         type    ITEM_WINDOW
84         name    options_game
85 }
86 // color control
87 {
88         type    ITEM_WINDOW
89         name    options_cc
90         origin  "200"
91 }
92 {
93         type    ITEM_TEXTBUTTON
94         name    options_cc_reset
95         parent  options_cc
96         text    "Reset to defaults"
97         pos             "0 0"
98         alignment       16
99         action  nex_cc_reset
100 }
101 //////
102 // Hardware Gamma Control
103 ////
104 // Text
105 {
106         type    ITEM_TEXTBUTTON
107         name            options_cc_hwgamma_text
108         parent          options_cc
109         text            "Hardware Gamma Control"
110         pos                     "0 15 0"
111         //font_size     "10 10 0"
112         alignment       16              // TEXT_ALIGN_RIGHTPOS
113         flag            256             // FLAG_AUTOSETCLICK
114         key                     nex_redirect_key
115         reinit          nex_cc_check_hwgamma
116 }
117 // Switch
118 {
119         type    ITEM_TEXTSWITCH
120         name            options_cc_hwgamma_switch
121         parent          options_cc_hwgamma_text
122         pos                     "10 15 0"
123         //font_size     "10 10 0"
124         flag            260             // FLAG_AUTOSETCLICK | FLAG_NOSELECT
125         text            "'Off''On'"
126         cvarname        "v_hwgamma"
127         cvartype        1               // CVAR_INT
128         reinit          nex_cvar_slider // can use it also here
129 }
130 //////
131 // Gamma
132 ////
133 // Menu Button
134 {
135         type            ITEM_TEXTBUTTON
136         name            options_cc_gamma_text
137         parent          options_cc
138         text            "Gamma"
139         pos                     "0 30 0"
140         //font_size     "10 10 0"
141         alignment       16              // TEXT_ALIGN_LEFTPOS
142         flag            256             // FLAG_AUTOSETCLICK
143         key                     nex_redirect_key        // redirects input to the child
144         refresh         nex_cc_check_gamma
145 }
146 // Slider
147 {
148         type            ITEM_SLIDER
149         name            options_cc_gamma_slider
150         parent          options_cc_gamma_text
151         pos                     "10 30 0"
152         size            "100 10 0"
153         //size          "100 10 0"
154         flag            260             // FLAG_AUTOSETCLICK | FLAG_NOSELECT
155         cvarname        "v_gamma"
156         cvartype        4               // CVAR_STEP
157         min_value       1
158         max_value       5
159         step            0.125
160         init            nex_cvar_slider
161         action          nex_cc_ncolor_enable
162 }
163 // Text
164 {
165         type            ITEM_TEXT
166         name            options_cc_gamma_slidertext
167         parent          options_cc_gamma_text
168         link            options_cc_gamma_slider
169         pos                     "120 30 0"
170         //font_size "10 10 0"
171         maxlen          4
172         init            nex_slidertext
173 }
174 //////
175 // Contrast
176 ////
177 // Menu Button
178 {
179         type            ITEM_TEXTBUTTON
180         name            options_cc_contrast_text
181         parent          options_cc
182         text            "Contrast"
183         pos                     "0 45 0"
184         //font_size     "10 10 0"
185         alignment       16              // TEXT_ALIGN_LEFTPOS
186         flag            256             // FLAG_AUTOSETCLICK
187         key                     nex_redirect_key        // redirects input to the child
188         refresh         nex_cc_check_ncolor_enable
189 }
190 // Slider
191 {
192         type            ITEM_SLIDER
193         name            options_cc_contrast_slider
194         parent          options_cc_contrast_text
195         pos                     "10 45 0"
196         size            "100 8 0"
197         //size          "100 10 0"
198         flag            260             // FLAG_AUTOSETCLICK | FLAG_NOSELECT
199         cvarname        "v_contrast"
200         cvartype        4               // CVAR_STEP
201         min_value       1
202         max_value       5
203         step            0.125
204         init            nex_cvar_slider
205         action          nex_cc_ncolor_enable
206 }
207 // Text
208 {
209         type            ITEM_TEXT
210         name            options_cc_contrast_slidertext
211         parent          options_cc_contrast_text
212         link            options_cc_contrast_slider
213         pos                     "120 45 0"
214         //font_size "10 10 0"
215         maxlen          4
216         init            nex_slidertext
217 }
218 //////
219 // Brightness
220 ////
221 // Menu Button
222 {
223         type            ITEM_TEXTBUTTON
224         name            options_cc_brightness_text
225         parent          options_cc
226         text            "Brightness"
227         pos                     "0 60 0"
228         //font_size     "10 10 0"
229         alignment       16              // TEXT_ALIGN_LEFTPOS
230         flag            256             // FLAG_AUTOSETCLICK
231         key                     nex_redirect_key        // redirects input to the child
232         refresh         nex_cc_check_ncolor_enable
233 }
234 // Slider
235 {
236         type            ITEM_SLIDER
237         name            options_cc_brightness_slider
238         parent          options_cc_brightness_text
239         pos                     "10 60 0"
240         size            "100 8 0"
241         //size          "100 10 0"
242         flag            260             // FLAG_AUTOSETCLICK | FLAG_NOSELECT
243         cvarname        "v_brightness"
244         cvartype        4               // CVAR_STEP
245         min_value       0
246         max_value       0.8
247         step            0.05
248         init            nex_cvar_slider
249         action          nex_cc_ncolor_enable
250 }
251 // Text
252 {
253         type            ITEM_TEXT
254         name            options_cc_brightness_slidertext
255         parent          options_cc_brightness_text
256         link            options_cc_brightness_slider
257         pos                     "120 60 0"
258         //font_size "10 10 0"
259         maxlen          4
260         init            nex_slidertext
261 }
262 //////
263 // Color Level Controls
264 ////
265 // Text
266 {
267         type    ITEM_TEXTBUTTON
268         name            options_cc_color_level_controls_text
269         parent          options_cc
270         text            "Color Level Controls"
271         pos                     "0 75 0"
272         //font_size     "10 10 0"
273         alignment       16              // TEXT_ALIGN_RIGHTPOS
274         flag            256             // FLAG_AUTOSETCLICK
275         key                     nex_redirect_key
276 }
277 // Switch
278 {
279         type    ITEM_TEXTSWITCH
280         name            options_cc_color_level_controls_switch
281         parent          options_cc_color_level_controls_text
282         pos                     "10 75 0"
283         //font_size     "10 10 0"
284         flag            260             // FLAG_AUTOSETCLICK | FLAG_NOSELECT
285         text            "'Off''On'"
286         cvarname        "v_color_enable"
287         cvartype        1               // CVAR_INT
288         reinit          nex_cvar_slider // can use it also here
289 }
290 //////
291 // Black: Red
292 ////
293 // Menu Button
294 {
295         type            ITEM_TEXTBUTTON
296         name            options_cc_black_red_text
297         parent          options_cc
298         text            "Black: Red  "
299         pos                     "0 90 0"
300         //font_size     "10 10 0"
301         alignment       16              // TEXT_ALIGN_LEFTPOS
302         flag            256             // FLAG_AUTOSETCLICK
303         key                     nex_redirect_key        // redirects input to the child
304         refresh         nex_cc_check_color_enable
305 }
306 // Slider
307 {
308         type            ITEM_SLIDER
309         name            options_cc_black_red_slider
310         parent          options_cc_black_red_text
311         pos                     "10 90 0"
312         size            "100 8 0"
313         //size          "100 10 0"
314         flag            260             // FLAG_AUTOSETCLICK | FLAG_NOSELECT
315         cvarname        "v_color_black_r"
316         cvartype        4               // CVAR_STEP
317         min_value       0
318         max_value       0.80
319         step            0.125
320         init            nex_cvar_slider
321         action          nex_cc_color_enable
322 }
323 // Text
324 {
325         type            ITEM_TEXT
326         name            options_cc_black_red_slidertext
327         parent          options_cc_black_red_text
328         link            options_cc_black_red_slider
329         pos                     "120 90 0"
330         //font_size "10 10 0"
331         maxlen          4
332         init            nex_slidertext
333 }
334 //////
335 // Black: Green
336 ////
337 // Menu Button
338 {
339         type            ITEM_TEXTBUTTON
340         name            options_cc_black_green_text
341         parent          options_cc
342         text            "Black: Green"
343         pos                     "0 105 0"
344         //font_size     "10 10 0"
345         alignment       16              // TEXT_ALIGN_LEFTPOS
346         flag            256             // FLAG_AUTOSETCLICK
347         key                     nex_redirect_key        // redirects input to the child
348         refresh         nex_cc_check_color_enable
349 }
350 // Slider
351 {
352         type            ITEM_SLIDER
353         name            options_cc_black_green_slider
354         parent          options_cc_black_green_text
355         pos                     "10 105 0"
356         size            "100 8 0"
357         //size          "100 10 0"
358         flag            260             // FLAG_AUTOSETCLICK | FLAG_NOSELECT
359         cvarname        "v_color_black_g"
360         cvartype        4               // CVAR_STEO
361         min_value       0
362         max_value       0.80
363         step            0.125
364         init            nex_cvar_slider
365         action          nex_cc_color_enable
366 }
367 // Text
368 {
369         type            ITEM_TEXT
370         name            options_cc_black_green_slidertext
371         parent          options_cc_black_green_text
372         link            options_cc_black_green_slider
373         pos                     "120 105 0"
374         //font_size "10 10 0"
375         maxlen          4
376         init            nex_slidertext
377 }
378 //////
379 // Black: Blue
380 ////
381 // Menu Button
382 {
383         type            ITEM_TEXTBUTTON
384         name            options_cc_black_blue_text
385         parent          options_cc
386         text            "Black: Blue "
387         pos                     "0 120 0"
388         //font_size     "10 10 0"
389         alignment       16              // TEXT_ALIGN_LEFTPOS
390         flag            256             // FLAG_AUTOSETCLICK
391         key                     nex_redirect_key        // redirects input to the child
392         refresh         nex_cc_check_color_enable
393 }
394 // Slider
395 {
396         type            ITEM_SLIDER
397         name            options_cc_black_blue_slider
398         parent          options_cc_black_blue_text
399         pos                     "10 120 0"
400         size            "100 8 0"
401         //size          "100 10 0"
402         flag            260             // FLAG_AUTOSETCLICK | FLAG_NOSELECT
403         cvarname        "v_color_black_b"
404         cvartype        4               // CVAR_STEP
405         min_value       0
406         max_value       0.80
407         step            0.125
408         init            nex_cvar_slider
409         action          nex_cc_color_enable
410 }
411 // Text
412 {
413         type            ITEM_TEXT
414         name            options_cc_black_blue_slidertext
415         parent          options_cc_black_blue_text
416         link            options_cc_black_blue_slider
417         pos                     "120 120 0"
418         //font_size "10 10 0"
419         maxlen          4
420         init            nex_slidertext
421 }
422 //////
423 // Black: Grey
424 ////
425 // Menu Button
426 {
427         type            ITEM_TEXTBUTTON
428         name            options_cc_black_grey_text
429         parent          options_cc
430         text            "Black: Grey "
431         pos                     "0 135 0"
432         //font_size     "10 10 0"
433         alignment       16              // TEXT_ALIGN_LEFTPOS
434         flag            256             // FLAG_AUTOSETCLICK
435         key                     nex_redirect_key        // redirects input to the child
436         refresh         nex_cc_check_color_enable
437 }
438 // Slider
439 {
440         type            ITEM_SLIDER
441         name            options_cc_black_grey_slider
442         parent          options_cc_black_grey_text
443         pos                     "10 135 0"
444         size            "100 8 0"
445         //size          "100 10 0"
446         flag            260             // FLAG_AUTOSETCLICK | FLAG_NOSELECT
447         cvarname        "v_color_black"
448         cvartype        1               // CVAR_INT
449         min_value       0
450         max_value       0.8
451         step            0.125
452         init            nex_cc_grey
453         action          nex_cc_color_enable
454 }
455 // Text
456 {
457         type            ITEM_TEXT
458         name            options_cc_black_grey_slidertext
459         parent          options_cc_black_grey_text
460         link            options_cc_black_grey_slider
461         pos                     "120 135 0"
462         //font_size "10 10 0"
463         maxlen          4
464         init            nex_slidertext
465 }
466 //////
467 // Grey: Red
468 ////
469 // Menu Button
470 {
471         type            ITEM_TEXTBUTTON
472         name            options_cc_grey_red_text
473         parent          options_cc
474         text            "Grey: Red  "
475         pos                     "0 150 0"
476         //font_size     "10 10 0"
477         alignment       16              // TEXT_ALIGN_LEFTPOS
478         flag            256             // FLAG_AUTOSETCLICK
479         key                     nex_redirect_key        // redirects input to the child
480         refresh         nex_cc_check_color_enable
481 }
482 // Slider
483 {
484         type            ITEM_SLIDER
485         name            options_cc_grey_red_slider
486         parent          options_cc_grey_red_text
487         pos                     "10 150 0"
488         size            "100 8 0"
489         //size          "100 10 0"
490         flag            260             // FLAG_AUTOSETCLICK | FLAG_NOSELECT
491         cvarname        "v_color_grey_r"
492         cvartype        4               // CVAR_STEP
493         min_value       0
494         max_value       0.80
495         step            0.125
496         init            nex_cvar_slider
497         action          nex_cc_color_enable
498 }
499 // Text
500 {
501         type            ITEM_TEXT
502         name            options_cc_grey_red_slidertext
503         parent          options_cc_grey_red_text
504         link            options_cc_grey_red_slider
505         pos                     "120 150 0"
506         //font_size "10 10 0"
507         maxlen          4
508         init            nex_slidertext
509 }
510 //////
511 // Grey: Green
512 ////
513 // Menu Button
514 {
515         type            ITEM_TEXTBUTTON
516         name            options_cc_grey_green_text
517         parent          options_cc
518         text            "Grey: Green"
519         pos                     "0 165 0"
520         //font_size     "10 10 0"
521         alignment       16              // TEXT_ALIGN_LEFTPOS
522         flag            256             // FLAG_AUTOSETCLICK
523         key                     nex_redirect_key        // redirects input to the child
524         refresh         nex_cc_check_color_enable
525 }
526 // Slider
527 {
528         type            ITEM_SLIDER
529         name            options_cc_grey_green_slider
530         parent          options_cc_grey_green_text
531         pos                     "10 165 0"
532         size            "100 8 0"
533         //size          "100 10 0"
534         flag            260             // FLAG_AUTOSETCLICK | FLAG_NOSELECT
535         cvarname        "v_color_grey_g"
536         cvartype        4               // CVAR_STEO
537         min_value       0
538         max_value       0.80
539         step            0.125
540         init            nex_cvar_slider
541         action          nex_cc_color_enable
542 }
543 // Text
544 {
545         type            ITEM_TEXT
546         name            options_cc_grey_green_slidertext
547         parent          options_cc_grey_green_text
548         link            options_cc_grey_green_slider
549         pos                     "120 165 0"
550         //font_size "10 10 0"
551         maxlen          4
552         init            nex_slidertext
553 }
554 //////
555 // Grey: Blue
556 ////
557 // Menu Button
558 {
559         type            ITEM_TEXTBUTTON
560         name            options_cc_grey_blue_text
561         parent          options_cc
562         text            "Grey: Blue "
563         pos                     "0 180 0"
564         //font_size     "10 10 0"
565         alignment       16              // TEXT_ALIGN_LEFTPOS
566         flag            256             // FLAG_AUTOSETCLICK
567         key                     nex_redirect_key        // redirects input to the child
568         refresh         nex_cc_check_color_enable
569 }
570 // Slider
571 {
572         type            ITEM_SLIDER
573         name            options_cc_grey_blue_slider
574         parent          options_cc_grey_blue_text
575         pos                     "10 180 0"
576         size            "100 8 0"
577         //size          "100 10 0"
578         flag            260             // FLAG_AUTOSETCLICK | FLAG_NOSELECT
579         cvarname        "v_color_grey_b"
580         cvartype        4               // CVAR_STEP
581         min_value       0
582         max_value       0.80
583         step            0.125
584         init            nex_cvar_slider
585         action          nex_cc_color_enable
586 }
587 // Text
588 {
589         type            ITEM_TEXT
590         name            options_cc_grey_blue_slidertext
591         parent          options_cc_grey_blue_text
592         link            options_cc_grey_blue_slider
593         pos                     "120 180 0"
594         //font_size "10 10 0"
595         maxlen          4
596         init            nex_slidertext
597 }
598 //////
599 // Grey: Grey
600 ////
601 // Menu Button
602 {
603         type            ITEM_TEXTBUTTON
604         name            options_cc_grey_grey_text
605         parent          options_cc
606         text            "Grey: Grey "
607         pos                     "0 195 0"
608         //font_size     "10 10 0"
609         alignment       16              // TEXT_ALIGN_LEFTPOS
610         flag            256             // FLAG_AUTOSETCLICK
611         key                     nex_redirect_key        // redirects input to the child
612         refresh         nex_cc_check_color_enable
613 }
614 // Slider
615 {
616         type            ITEM_SLIDER
617         name            options_cc_grey_grey_slider
618         parent          options_cc_grey_grey_text
619         pos                     "10 195 0"
620         size            "100 8 0"
621         //size          "100 10 0"
622         flag            260             // FLAG_AUTOSETCLICK | FLAG_NOSELECT
623         cvarname        "v_color_grey"
624         cvartype        1               // CVAR_INT
625         min_value       0
626         max_value       0.8
627         step            0.125
628         init            nex_cc_grey
629         action          nex_cc_color_enable
630 }
631 // Text
632 {
633         type            ITEM_TEXT
634         name            options_cc_grey_grey_slidertext
635         parent          options_cc_grey_grey_text
636         link            options_cc_grey_grey_slider
637         pos                     "120 195 0"
638         //font_size "10 10 0"
639         maxlen          4
640         init            nex_slidertext
641 }
642 //////
643 // White: Red
644 ////
645 // Menu Button
646 {
647         type            ITEM_TEXTBUTTON
648         name            options_cc_white_red_text
649         parent          options_cc
650         text            "White: Red  "
651         pos                     "0 210 0"
652         //font_size     "10 10 0"
653         alignment       16              // TEXT_ALIGN_LEFTPOS
654         flag            256             // FLAG_AUTOSETCLICK
655         key                     nex_redirect_key        // redirects input to the child
656         refresh         nex_cc_check_color_enable
657 }
658 // Slider
659 {
660         type            ITEM_SLIDER
661         name            options_cc_white_red_slider
662         parent          options_cc_white_red_text
663         pos                     "10 210 0"
664         size            "100 8 0"
665         //size          "100 10 0"
666         flag            260             // FLAG_AUTOSETCLICK | FLAG_NOSELECT
667         cvarname        "v_color_white_r"
668         cvartype        4               // CVAR_STEP
669         min_value       0
670         max_value       0.80
671         step            0.125
672         init            nex_cvar_slider
673         action          nex_cc_color_enable
674 }
675 // Text
676 {
677         type            ITEM_TEXT
678         name            options_cc_white_red_slidertext
679         parent          options_cc_white_red_text
680         link            options_cc_white_red_slider
681         pos                     "120 210 0"
682         //font_size "10 10 0"
683         maxlen          4
684         init            nex_slidertext
685 }
686 //////
687 // White: Green
688 ////
689 // Menu Button
690 {
691         type            ITEM_TEXTBUTTON
692         name            options_cc_white_green_text
693         parent          options_cc
694         text            "White: Green"
695         pos                     "0 225 0"
696         //font_size     "10 10 0"
697         alignment       16              // TEXT_ALIGN_LEFTPOS
698         flag            256             // FLAG_AUTOSETCLICK
699         key                     nex_redirect_key        // redirects input to the child
700         refresh         nex_cc_check_color_enable
701 }
702 // Slider
703 {
704         type            ITEM_SLIDER
705         name            options_cc_white_green_slider
706         parent          options_cc_white_green_text
707         pos                     "10 225 0"
708         size            "100 8 0"
709         //size          "100 10 0"
710         flag            260             // FLAG_AUTOSETCLICK | FLAG_NOSELECT
711         cvarname        "v_color_white_g"
712         cvartype        4               // CVAR_STEO
713         min_value       0
714         max_value       0.80
715         step            0.125
716         init            nex_cvar_slider
717         action          nex_cc_color_enable
718 }
719 // Text
720 {
721         type            ITEM_TEXT
722         name            options_cc_white_green_slidertext
723         parent          options_cc_white_green_text
724         link            options_cc_white_green_slider
725         pos                     "120 225 0"
726         //font_size "10 10 0"
727         maxlen          4
728         init            nex_slidertext
729 }
730 //////
731 // White: Blue
732 ////
733 // Menu Button
734 {
735         type            ITEM_TEXTBUTTON
736         name            options_cc_white_blue_text
737         parent          options_cc
738         text            "White: Blue "
739         pos                     "0 240 0"
740         //font_size     "10 10 0"
741         alignment       16              // TEXT_ALIGN_LEFTPOS
742         flag            256             // FLAG_AUTOSETCLICK
743         key                     nex_redirect_key        // redirects input to the child
744         refresh         nex_cc_check_color_enable
745 }
746 // Slider
747 {
748         type            ITEM_SLIDER
749         name            options_cc_white_blue_slider
750         parent          options_cc_white_blue_text
751         pos                     "10 240 0"
752         size            "100 8 0"
753         //size          "100 10 0"
754         flag            260             // FLAG_AUTOSETCLICK | FLAG_NOSELECT
755         cvarname        "v_color_white_b"
756         cvartype        4               // CVAR_STEP
757         min_value       0
758         max_value       0.80
759         step            0.125
760         init            nex_cvar_slider
761         action          nex_cc_color_enable
762 }
763 // Text
764 {
765         type            ITEM_TEXT
766         name            options_cc_white_blue_slidertext
767         parent          options_cc_white_blue_text
768         link            options_cc_white_blue_slider
769         pos                     "120 240 0"
770         //font_size "10 10 0"
771         maxlen          4
772         init            nex_slidertext
773 }
774 //////
775 // White: Grey
776 ////
777 // Menu Button
778 {
779         type            ITEM_TEXTBUTTON
780         name            options_cc_white_grey_text
781         parent          options_cc
782         text            "White: Grey "
783         pos                     "0 255 0"
784         //font_size     "10 10 0"
785         alignment       16              // TEXT_ALIGN_LEFTPOS
786         flag            256             // FLAG_AUTOSETCLICK
787         key                     nex_redirect_key        // redirects input to the child
788         refresh         nex_cc_check_color_enable
789 }
790 // Slider
791 {
792         type            ITEM_SLIDER
793         name            options_cc_white_grey_slider
794         parent          options_cc_white_grey_text
795         pos                     "10 255 0"
796         size            "100 8 0"
797         //size          "100 10 0"
798         flag            260             // FLAG_AUTOSETCLICK | FLAG_NOSELECT
799         cvarname        "v_color_white"
800         cvartype        1               // CVAR_INT
801         min_value       0
802         max_value       0.8
803         step            0.125
804         init            nex_cc_grey
805         action          nex_cc_color_enable
806 }
807 // Text
808 {
809         type            ITEM_TEXT
810         name            options_cc_white_grey_slidertext
811         parent          options_cc_white_grey_text
812         link            options_cc_white_grey_slider
813         pos                     "120 255 0"
814         //font_size "10 10 0"
815         maxlen          4
816         init            nex_slidertext
817 }
818 // dither pattern
819 {
820         type            ITEM_PICTURE
821         name            options_cc_pattern_pic
822         parent          options_cc
823         picture         "gfx/m_cc_pattern"
824         pos                     "-243.75 270"
825         size            "487.5 137.5"
826 }