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