aboutsummaryrefslogtreecommitdiffstats
path: root/src/gamma-vidmode.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gamma-vidmode.c')
-rw-r--r--src/gamma-vidmode.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/gamma-vidmode.c b/src/gamma-vidmode.c
index f9be408..e8f6d63 100644
--- a/src/gamma-vidmode.c
+++ b/src/gamma-vidmode.c
@@ -143,6 +143,16 @@ vidmode_free(vidmode_state_t *state)
}
void
+vidmode_print_help(FILE *f)
+{
+ fputs(_("Adjust gamma ramps with the X VidMode extension.\n"), f);
+ fputs("\n", f);
+
+ fputs(_(" screen=N\tX screen to apply adjustments to\n"), f);
+ fputs("\n", f);
+}
+
+void
vidmode_restore(vidmode_state_t *state)
{
uint16_t *gamma_r = &state->saved_ramps[0*state->ramp_size];