Hi,
Is it possible to set the display, screen, and/or window gamma in
pyglet? I'm looking for something similar to pygame.display.set_gamma
and pygame.display.set_gamma_ramp. Here are their docstrings:
set_gamma(...)
pygame.display.set_gamma(r, [g, b]) -> bool
change the brightness of the display
Sets the display gamma to the given amounts. If green and blue
are ommitted, the red value will be used for all three colors.
The color arguments are floating point values with 1.0 being the
normal value. If you are using a display mode with a hardware
palette, this will simply update the palette you are using. Not
all hardware supports gamma. The return value will be true on
success.
set_gamma_ramp(...)
pygame.display.set_gamma_ramp(r, g, b) -> bool
advanced control over the display gamma ramps
Pass three sequences with 256 elements. Each element must be a
'16bit' unsigned integer value. This is from 0 to 65536.
If you are using a display mode with a hardware
palette, this will simply update the palette you are using.
Not all hardware supports gamma. The return value will be
true on success.
Thanks,
Martin
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pyglet-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/pyglet-users?hl=en
-~----------~----~----~----~------~----~------~--~---