Xojo Conferences
MBSSep2018MunichDE
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

GammaMBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class Remote Control MBS ComputerControl Plugin 8.4 Yes Yes No Yes No
Function: A class to change the gamma settings of the display.
Notes:
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.

Feedback, Comments & Corrections

  • 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
  • 2 methods
    • 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 which use this class:


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


GammaFadeMBS   -   GifBlockMBS




Links
MBS Xojo blog