Platforms to show: All Mac Windows Linux Cross-Platform

Back to GammaMBS class.

GammaMBS.Blue(Index as Integer) as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Remote Control MBS ComputerControl Plugin 8.4 ✅ Yes ✅ Yes ❌ No ❌ No Desktop, Console & Web
The blue value with the given index.

Index is from 0 to 255 and value from 0.0 to 1.0.
(Read and Write computed property)

GammaMBS.Constructor(mainwindow as DesktopWindow, displayIndex as integer = 0)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Remote Control MBS ComputerControl Plugin 22.0 ✅ Yes ✅ Yes ❌ No ❌ No Desktop only
Initializes the gamma class and queries the current gamma values.

On Windows a window is needed to get the exclusive access to the gamma controls.

The Available property is set to true if the constructor was successful.
Added displayIndex parameter in plugin version 14.1 to specify on Mac which display to handle.

If you like to pass nil for the window, please pass a variable, so Xojo knows which constructor to use and you avoid a compiler error.

See also:

GammaMBS.Constructor(mainwindow as window = nil, displayIndex as Integer = 0)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Remote Control MBS ComputerControl Plugin 8.4 ✅ Yes ✅ Yes ❌ No ❌ No Desktop only
Initializes the gamma class and queries the current gamma values.

On Windows a window is needed to get the exclusive access to the gamma controls.

The Available property is set to true if the constructor was successful.
Added displayIndex parameter in plugin version 14.1 to specify on Mac which display to handle.

If you like to pass nil for the window, please pass a variable, so Xojo knows which constructor to use and you avoid a compiler error.

See also:

GammaMBS.Green(Index as Integer) as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Remote Control MBS ComputerControl Plugin 8.4 ✅ Yes ✅ Yes ❌ No ❌ No Desktop, Console & Web
The green value with the given index.

Index is from 0 to 255 and value from 0.0 to 1.0.
(Read and Write computed property)

GammaMBS.Red(Index as Integer) as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Remote Control MBS ComputerControl Plugin 8.4 ✅ Yes ✅ Yes ❌ No ❌ No Desktop, Console & Web
The red value with the given index.

Index is from 0 to 255 and value from 0.0 to 1.0.
(Read and Write computed property)

GammaMBS.SetGamma(gammaScale as Double = 1.0) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Remote Control MBS ComputerControl Plugin 8.4 ✅ Yes ✅ Yes ❌ No ❌ No Desktop, Console & Web
Sets the gamma values.

The current table assigned to the main screen.
All values are multiplied with gammaScale

The items on this page are in the following plugins: MBS ComputerControl Plugin.


The biggest plugin in space...