Platforms to show: All Mac Windows Linux Cross-Platform

GammaMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Remote Control MBS ComputerControl Plugin 8.4 ✅ Yes ✅ Yes ❌ No ❌ No Desktop, Console & Web
A class to change the gamma settings of the display.

You can use that class to change the gamma table. For example to invert the screen or increase/decrease one of the colors.

Works on Mac OS X and Windows.

  • 6 properties
    • property Available as Boolean
    • property Lasterror as Integer
    • property Size as Integer
    • property Blue(Index as Integer) as Double
    • property Green(Index as Integer) as Double
    • property Red(Index as Integer) as Double
  • 3 methods
    • method Constructor(mainwindow as DesktopWindow, displayIndex as integer = 0)
    • method Constructor(mainwindow as window = nil, displayIndex as Integer = 0)
    • method SetGamma(gammaScale as Double = 1.0) as boolean

This class has no sub classes.

Some examples using this class:

Blog Entries

Xojo Developer Magazine

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

GammaFadeMBS   -   GifBlockMBS

💬 Ask a question or report a problem
The biggest plugin in space...