]> icculus.org git repositories - divverent/nexuiz.git/blob - menu/video.menu
grappling hook
[divverent/nexuiz.git] / menu / video.menu
1 /*
2 Property of Alientrap
3
4 Video menu
5 */
6 //////
7 // Resolution
8 ////
9 // Text
10 {
11         type            ITEM_TEXTBUTTON
12         name            video_resolution_text
13         parent          video
14         text            "Resolution"
15         pos                     "0 0 0"
16         //font_size     "10 10 0"
17         alignment       16              // TEXT_ALIGN_RIGHTPOS
18         flag            256             // FLAG_AUTOSETCLICK
19         key                     nex_redirect_key
20 }
21 // Switch
22 {
23         type            ITEM_TEXTSWITCH
24         name            video_resolution_switch
25         parent          video_resolution_text
26         pos                     "10 0 0"
27         //font_size     "10 10 0"
28         flag            260             // FLAG_AUTOSETCLICK | FLAG_NOSELECT
29         init            nex_video_resolution_switch
30 }
31 //////
32 // Bits per pixel
33 ////
34 // Text
35 {
36         type            ITEM_TEXTBUTTON
37         name            video_bpp_text
38         parent          video
39         text            "Bits per pixel"
40         pos                     "0 15 0"
41         //font_size     "10 10 0"
42         alignment       16              // TEXT_ALIGN_RIGHTPOS
43         flag            256             // FLAG_AUTOSETCLICK
44         key                     nex_redirect_key
45 }
46 // Switch
47 {
48         type            ITEM_TEXTSWITCH
49         name            video_bpp_switch
50         parent          video_bpp_text
51         pos                     "10 15 0"
52         //font_size     "10 10 0"
53         flag            260             // FLAG_AUTOSETCLICK | FLAG_NOSELECT
54         text            "'16''32'"
55         reinit          nex_video_bpp_reinit
56 }
57 //////
58 // Fullscreen
59 ////
60 // Text
61 {
62         type            ITEM_TEXTBUTTON
63         name            video_fullscreen_text
64         parent          video
65         text            "Fullscreen"
66         pos                     "0 30 0"
67         //font_size     "10 10 0"
68         alignment       16              // TEXT_ALIGN_RIGHTPOS
69         flag            256             // FLAG_AUTOSETCLICK
70         key                     nex_redirect_key
71 }
72 // Switch
73 {
74         type            ITEM_TEXTSWITCH
75         name            video_fullscreen_switch
76         parent          video_fullscreen_text
77         pos                     "10 30 0"
78         //font_size     "10 10 0"
79         flag            260             // FLAG_AUTOSETCLICK | FLAG_NOSELECT
80         text            "'Off''On'"
81         reinit          nex_video_fullscreen_reinit
82 }
83 /////
84 // Apply
85 ///
86 {
87         type            ITEM_TEXTBUTTON
88         name            video_apply
89         parent          video
90         pos                     "10 60 0"
91         //font_size     "10 10 0"
92         flag            256             // FLAG_AUTOSETCLICK
93         text            "Apply"
94         action          nex_video_apply
95 }
96
97