| 136 | } |
| 137 | |
| 138 | int UpdateGamma(int gamma) |
| 139 | { |
| 140 | if (gamma) { |
| 141 | gamma_correction = 130 - gamma; |
| 142 | ApplyGamma(system_palette, logical_palette, 256); |
| 143 | palette_update(); |
| 144 | } |
| 145 | SaveGamma(); |
| 146 | return 130 - gamma_correction; |
| 147 | } |
| 148 | |
| 149 | void SetFadeLevel(DWORD fadeval) |
| 150 | { |
no test coverage detected