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