]> icculus.org git repositories - divverent/nexuiz.git/blob - data/menu/options/video.menu
new menu from morphed
[divverent/nexuiz.git] / data / menu / options / video.menu
1 // Property of Alientrap/AK
2 // options/key.menu
3 Item Window Video
4 {
5         Derive Picture Table6
6         {
7                 picture "gfx/options_background"
8                 size    '734 540'
9                 pos     '146 35'
10         }
11
12         Item Layout Layout
13         {
14                 pos             '156 45'
15                 size            '440 800'
16                 origin          '280 0'
17                 alignment       [AlignFirst]
18                 direction       [Nex_DefaultVertDirection]
19
20                 DeriveTemplate Composition Nex_Video_Option_Switch
21                 {
22                         direction       [Nex_DefaultHorzDirection]
23
24                         DeriveTemplate Nex_Automation_Option_Switch Automation
25                         {}
26                         DeriveTemplate TextButton       Description
27                         {}
28                         DeriveTemplate SwitchButton     Switch
29                         {}
30                 }
31                 Derive Nex_Video_Option_Switch Resolution
32                 {
33                         text    "Resolution"
34                         target  "::Data::Video::Resolution::Switch"
35                 }
36                 Derive Nex_Video_Option_Switch Bpp
37                 {
38                         text    "Bits Per Pixel"
39                         target  "::Data::Video::BPP::Switch"
40                 }
41                 Derive Nex_Video_Option_Switch Fullscreen
42                 {
43                         text    "Fullscreen"
44                         target  "::Data::Video::Fullscreen::Switch"
45                 }
46                 Derive Nex_Void Seperator1
47                 {}
48                 Derive PictureButton Apply
49                 {
50                         normal          "$gfx/options_b_apply"
51
52                         action  Nex_Action_Video_Apply
53                 }
54                 Derive TextButton Reset
55                 {
56                         normal  "Reset to default"
57                         init    Nex_Action_ResetData
58                         target  "::Data::Video"
59                 }
60         }
61 }