Package io.github.libsdl4j.api.syswm
Class SDL_SysWMInfo
- java.lang.Object
-
- com.sun.jna.Structure
-
- io.github.libsdl4j.api.syswm.SDL_SysWMInfo
-
@FieldOrder({"version","subsystem","info"}) public final class SDL_SysWMInfo extends com.sun.jna.Structure
The custom window manager information structure.When this structure is returned, it holds information about which low level system it is using, and will be one of SDL_SYSWM_TYPE.
Your application has access to a special type of event
SDL_SYSWMEVENT
, which contains window-manager specific information and arrives whenever an unhandled window event occurs. This event is ignored by default, but you can enable it withSdlEvents.SDL_EventState(int, int)
.
-
-
Field Summary
Fields Modifier and Type Field Description SDL_SysWMInfoPlatformSpecific
info
int
subsystem
SDL_version
version
-
Constructor Summary
Constructors Constructor Description SDL_SysWMInfo()
SDL_SysWMInfo(com.sun.jna.Pointer p, SDL_version version)
SDL_SysWMInfo(SDL_version version)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
read()
-
Methods inherited from class com.sun.jna.Structure
allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFieldOrder, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeField
-
-
-
-
Field Detail
-
version
public SDL_version version
-
subsystem
public int subsystem
-
info
public SDL_SysWMInfoPlatformSpecific info
-
-
Constructor Detail
-
SDL_SysWMInfo
public SDL_SysWMInfo()
-
SDL_SysWMInfo
public SDL_SysWMInfo(SDL_version version)
-
SDL_SysWMInfo
public SDL_SysWMInfo(com.sun.jna.Pointer p, SDL_version version)
-
-