Renamed CURSOR_CAPTURED to CURSOR_DISABLED.
New gamma ramp API.