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