]> icculus.org git repositories - divverent/nexuiz.git/blob - scmenu/options/color.menu
-Moved Options::Table1 to Options::Panel::*::Table1
[divverent/nexuiz.git] / scmenu / options / color.menu
1 // Property of Alientrap/AK
2 // options/color.menu
3 Item Window ColorControl
4 {
5         size      '600 600'
6         Derive Picture Table1
7         {
8                 picture "gfx/table1"
9                 size    '600 600'
10         }
11
12         Item Layout Layout
13         {
14                 direction [Nex_DefaultVertDirection]
15                 size      '600 600'
16                 origin    '300 50'
17                 alignment [AlignFirst]
18
19                 // We want to see the changes immediatelly
20                 DeriveTemplate Nex_Composition Nex_Color_Option_Slider
21                 {
22                         DeriveTemplate Nex_Automation_Option_Slider Automation
23                         {}
24                         DeriveTemplate TextButton       Description
25                         {}
26                         DeriveTemplate Slider           Slider
27                         {
28                                 action  Nex_Action_TestOnChange
29                         }
30                         DeriveTemplate ValueButton      Value
31                         {}
32                 }
33
34                 Derive Nex_Option_Slider Brightness
35                 {
36                         text    "Brightness"
37                         target  "::Data::Color::Brightness::Value"
38                 }
39                 Derive Nex_Option_Slider Contrast
40                 {
41                         text    "Contrast"
42                         target  "::Data::Color::Contrast::Value"
43                 }
44                 Derive Nex_Option_Slider HWGamma
45                 {
46                         text    "HW Gamma Support"
47                         target  "::Data::Color::HWGamma::Switch"
48                 }
49                 Derive Nex_Option_Slider Gamma
50                 {
51                         text    "Gamma"
52                         target  "::Data::Color::Gamma::Value"
53                 }
54                 Derive Nex_Line Seperator1
55                 {}
56                 Derive Nex_Option_Slider ExtendedControl
57                 {
58                         text    "Color Control"
59                         target  "::Data::Color::Extended::Active::Switch"
60                 }
61                 // Low part
62                 Derive Nex_Option_Slider DarkRed
63                 {
64                         text    "Dark Red"
65                         target  "::Data::Color::Extended::Low::Red::Value"
66                 }
67                 Derive Nex_Option_Slider DarkGreen
68                 {
69                         text    "Dark Green"
70                         target  "::Data::Color::Extended::Low::Green::Value"
71                 }
72                 Derive Nex_Option_Slider DarkBlue
73                 {
74                         text    "Dark Blue"
75                         target  "::Data::Color::Extended::Low::Blue::Value"
76                 }
77                 // Mid part
78                 Derive Nex_Option_Slider MidRed
79                 {
80                         text    "Grey Red"
81                         target  "::Data::Color::Extended::Mid::Red::Value"
82                 }
83                 Derive Nex_Option_Slider MidGreen
84                 {
85                         text    "Grey Green"
86                         target  "::Data::Color::Extended::Mid::Green::Value"
87                 }
88                 Derive Nex_Option_Slider MidBlue
89                 {
90                         text    "Grey Blue"
91                         target  "::Data::Color::Extended::Mid::Blue::Value"
92                 }
93                 // High part
94                 Derive Nex_Option_Slider HighRed
95                 {
96                         text    "White Red"
97                         target  "::Data::Color::Extended::High::Red::Value"
98                 }
99                 Derive Nex_Option_Slider HighGreen
100                 {
101                         text    "White Green"
102                         target  "::Data::Color::Extended::High::Green::Value"
103                 }
104                 Derive Nex_Option_Slider HighBlue
105                 {
106                         text    "White Blue"
107                         target  "::Data::Color::Extended::High::Blue::Value"
108                 }
109                 Derive Nex_Line Seperator2
110                 {}
111                 Derive TextButton Cancel
112                 {
113                         normal  "Cancel changes"
114                         action  Nex_Action_Color_Cancel
115                 }
116                 Derive TextButton Reset
117                 {
118                         normal  "Reset to default"
119                         action  Nex_Action_Color_Reset
120                 }
121         }
122 }