+ // Refresh the temporary gamma; do this before adjusting the sliders,
+ // or variables will be used before their initialisation.
+ gamma_pattern.set_gamma_r(App::gamma.get_gamma_r());
+ gamma_pattern.set_gamma_g(App::gamma.get_gamma_g());
+ gamma_pattern.set_gamma_b(App::gamma.get_gamma_b());
+ gamma_pattern.set_black_level(App::gamma.get_black_level());
+ gamma_pattern.set_red_blue_level(App::gamma.get_red_blue_level());
+