chaos.desktopext: Functions Modinfo Source  

DesktopExt

DesktopExt dient der Komunikation zwischen BMax und dem Desktop, ohne dabei auf MaxGUI Funktionen zurück greifen zu müssen.

Functions

Function DesktopCount:Int ()
ReturnsAnzahl als Integer.
DescriptionAnzahl der Desktops (Monitore) abfragen.
Information
WindowsMacOSXLinux
XX

Function DesktopDepth:Int (screen:Int=0)
ReturnsTiefe als Integer.
DescriptionTiefe des Desktops (Monitors) abfragen.
Information
ParameterWertBeschreibungWindowsMacOSXLinux
screen0Primärer Desktop (Monitor)XXX
screen1 - xSekundäre Desktops (Monitore)X

Function DesktopHeight:Int (screen:Int=0)
ReturnsHöhe als Integer.
DescriptionHöhe des Desktops (Monitors) abfragen.
Information
ParameterWertBeschreibungWindowsMacOSXLinux
screen-1Gesammthöhe aller Desktops (Monitore)X
screen0Primärer Desktop (Monitor)XXX
screen1 - xSekundäre Desktops (Monitore)XX

Function DesktopHertz:Int (screen:Int=0)
ReturnsWiederholrate als Integer.
DescriptionWiederholrate des Desktops (Monitors) abfragen.
Information
ParameterWertBeschreibungWindowsMacOSXLinux
screen0Primärer Desktop (Monitor)XXX
screen1 - xSekundäre Desktops (Monitore)X

Function DesktopMouseX:Int ()
ReturnsX-Koordinate als Integer.
DescriptionGlobale Maus X-Koordinate abfragen.
Information
WindowsMacOSXLinux
X

Function DesktopMouseY:Int ()
ReturnsY-Koordinate als Integer.
DescriptionGlobale Maus Y-Koordinate abfragen.
Information
WindowsMacOSXLinux
X

Function DesktopPixmap:TPixmap (flag:Byte = True)
ReturnsScreenshot als TPixmap.
DescriptionScreenshot des Desktops in einer Pixmap erstellen.
Information
WindowsMacOSXLinux
X

Function DesktopWidth:Int (screen:Int=0)
ReturnsBreite als Integer.
DescriptionBreite des Desktops (Monitors) abfragen.
Information
ParameterWertBeschreibungWindowsMacOSXLinux
screen-1Gesammtbreite aller Desktops (Monitore)X
screen0Primärer Desktop (Monitor)XXX
screen1 - xSekundäre Desktops (Monitore)XX

Function DesktopX:Int (screen:Int = 0)
ReturnsX-koordinate als Integer.
DescriptionX-Koordinate des Desktops (Monitors) abfragen.
Information
ParameterWertBeschreibungWindowsMacOSXLinux
screen0Primärer Desktop (Monitor)X
screen1 - xSekundäre Desktops (Monitore)X

Function DesktopY:Int (screen:Int = 0)
ReturnsY-koordinate als Integer.
DescriptionY-Koordinate des Desktops (Monitors) abfragen.
Information
ParameterWertBeschreibungWindowsMacOSXLinux
screen0Primärer Desktop (Monitor)X
screen1 - xSekundäre Desktops (Monitore)X

Function GetDesktopMode:Int (width:Int Var, height:Int Var, depth:Int Var, hertz:Int Var, screen:Int=0)
DescriptionBreite, Höhe, Tiefe und Wiederholrate des Desktops (Monitors) abfragen.
InformationKompatibilität siehe DesktopWidth(), DesktopHeight(), DesktopDepth() und DesktopHertz()

Module Information

Version1.12
ModserverBlitzHelp
AuthorhamZta, Suco-X, d-bug
LicensePublic Domain
Contactd-bug@chaos-interactive.de
Homepagewww.chaos-interactive.de
History1.12 Macos 'identifer screen not found' bug behoben
History1.11 Win32 Unterstützung mehrerer Desktops überarbeitet (danke klepto2 und Suco-X)
History1.10 Unterstützung mehrerer Monitore für Win32 implementiert
History1.09 Pixmap wird wieder konvertiert
History1.08 Optionaler Flip und Pixmapformatierung bei DesktopPixmap implementiert
History1.07 Unterstützung mehrerer Monitore für MacOS implementiert
History1.06 'TPixmap not found' repariert
History1.05 DesktopMouseX() bzw DesktopMouseY() für Win32
History1.04 DesktopPixmap() für Win32
History1.03 Dokumentation ist ab jetzt in deutsch
History1.02 Scope von dbug. nach chaos. geändert
History1.01 ReleaseDC eingefügt
History1.00 Erster Release (16.05.2006)