rename menu directories
[divverent/nexuiz.git] / data / menu / options / video.menu
1 // Property of Alientrap/AK
2 // options/key.menu
3 Item Window Video
4 {
5         size    '600 600'
6
7         Derive Picture Table1
8         {
9                 picture "gfx/table1"
10                 size    '600 600'
11         }
12
13         Item Layout Layout
14         {
15                 direction       [Nex_DefaultVertDirection]
16                 size            '600 600'
17                 origin          '300 50'
18                 alignment       [AlignFirst]
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/m_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 }