Package org.lwjgl.system.jawt
Class JAWTX11DrawingSurfaceInfo
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<JAWTX11DrawingSurfaceInfo>
org.lwjgl.system.jawt.JAWTX11DrawingSurfaceInfo
- All Implemented Interfaces:
org.lwjgl.system.Pointer
X11-specific declarations for AWT native interface.
Layout
struct JAWT_X11DrawingSurfaceInfo {
Drawable drawable();
Display * display();
VisualID visualID();
Colormap colormapID();
int depth();
}-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.lwjgl.system.Struct
org.lwjgl.system.Struct.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
org.lwjgl.system.Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct alignment in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct size in bytes.static final intThe struct member offsets.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionJAWTX11DrawingSurfaceInfo(ByteBuffer container) Creates aJAWTX11DrawingSurfaceInfoinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionlongthe colormapstatic JAWTX11DrawingSurfaceInfocreate(long address) Returns a newJAWTX11DrawingSurfaceInfoinstance for the specified memory address.create(long address, int capacity) Create aJAWTX11DrawingSurfaceInfo.Bufferinstance at the specified memory.static JAWTX11DrawingSurfaceInfocreateSafe(long address) createSafe(long address, int capacity) intdepth()the depthlongdisplay()the connection to the X serverlongdrawable()the drawablestatic longncolormapID(long struct) Unsafe version ofcolormapID().static intndepth(long struct) Unsafe version ofdepth().static longndisplay(long struct) Unsafe version ofdisplay().static longndrawable(long struct) Unsafe version ofdrawable().static longnvisualID(long struct) Unsafe version ofvisualID().intsizeof()longvisualID()the VisualIDMethods inherited from class org.lwjgl.system.Struct
clear, free, isNull, validateMethods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toString
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
DRAWABLE
public static final int DRAWABLEThe struct member offsets. -
DISPLAY
public static final int DISPLAYThe struct member offsets. -
VISUALID
public static final int VISUALIDThe struct member offsets. -
COLORMAPID
public static final int COLORMAPIDThe struct member offsets. -
DEPTH
public static final int DEPTHThe struct member offsets.
-
-
Constructor Details
-
JAWTX11DrawingSurfaceInfo
Creates aJAWTX11DrawingSurfaceInfoinstance at the current position of the specifiedByteBuffercontainer. Changes to the buffer's content will be visible to the struct instance and vice versa.The created instance holds a strong reference to the container object.
-
-
Method Details
-
sizeof
public int sizeof()- Specified by:
sizeofin classorg.lwjgl.system.Struct<JAWTX11DrawingSurfaceInfo>
-
drawable
public long drawable()the drawable -
display
public long display()the connection to the X server -
visualID
public long visualID()the VisualID -
colormapID
public long colormapID()the colormap -
depth
public int depth()the depth -
create
Returns a newJAWTX11DrawingSurfaceInfoinstance for the specified memory address. -
createSafe
-
create
Create aJAWTX11DrawingSurfaceInfo.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
ndrawable
public static long ndrawable(long struct) Unsafe version ofdrawable(). -
ndisplay
public static long ndisplay(long struct) Unsafe version ofdisplay(). -
nvisualID
public static long nvisualID(long struct) Unsafe version ofvisualID(). -
ncolormapID
public static long ncolormapID(long struct) Unsafe version ofcolormapID(). -
ndepth
public static int ndepth(long struct) Unsafe version ofdepth().
-