Platforms to show: All Mac Windows Linux Cross-Platform
DisplayMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Resolution | MBS Util Plugin | ✅ Yes | ✅ Yes | ❌ No | ❌ No | Desktop only |
- 10 properties
- property Depth as Integer
- property displaynum as Integer
- property GammaColor as color
- property GammaIntensity as Integer
- property Height as Integer
- property hz as Integer
- property Left as Integer
- property Top as Integer
- property Width as Integer
- property NativeGamma as memoryblock
- 14 methods
- method CanDepth(depth as Integer) As Boolean
- method FadeGamma(intensity as Integer, col As Color)
- method FadeGammaTo(intensity as Integer, col As Color, ticks as Integer)
- method GetBestResolution(width as Integer, height as Integer, depth as Integer, safe As Boolean) As ResolutionMBS
- method GetBestResolution(width as Integer, height as Integer, safe As Boolean) As ResolutionMBS
- method GetCurrentResolution As ResolutionMBS
- method GetLargestResolution(depth as Integer, safe As Boolean) As ResolutionMBS
- method GetLargestResolution(safe As Boolean) As ResolutionMBS
- method GetResolution(num as Integer) As ResolutionMBS
- method ResolutionCount(depth as Integer, safe As Boolean) as Integer
- method ResolutionCount(safe As Boolean) as Integer
- method SetDepth(depth as Integer) As Boolean
- method SwitchTo(width as Integer, height as Integer, depth as Integer, safe As Boolean) As Boolean
- method Update
This class has no sub classes.
Blog Entries
- MBS Xojo Plugins, version 17.3pr3
- MBS Xojo Plugins, version 17.2pr6
- MBS REALbasic Plugins Version 10.4 release notes
- MBS REALbasic Plugins, version 10.4pr11
- MBS REALbasic Plugins, version 10.4pr4
- MBS Plugins 10.3 Release Notes
- MBS REALbasic plug-ins version 9.5
Xojo Developer Magazine
Release notes
- Version 17.3
- Updated DisplayMBS class for 64-bit Mac.
- Version 17.2
- Fixed a bug in resolution switching in DisplayMBS to better find best resolution.
Some useful global functions for this class:
- GetDisplayMBS(num as Integer) As DisplayMBS
Some examples using this class:
- /Util/Current Mode
- /Util/Resplugin Examples/Color Fading
- /Util/Resplugin Examples/Current Mode
- /Util/Resplugin Examples/Game Switch
- /Util/Resplugin Examples/Invert Video
- /Util/Resplugin Examples/Modes and Fading
- /Util/Resplugin Examples/Rainbow
- /Util/Resplugin Examples/Thunder
Some related classes:
The items on this page are in the following plugins: MBS Util Plugin.
DisclosureTriangle - DNSAddressRecordMBS
