Class SDL_PenProximityEvent

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class SDL_PenProximityEvent extends Struct<SDL_PenProximityEvent> implements NativeResource
struct SDL_PenProximityEvent {
    SDL_EventType type;
    Uint32 reserved;
    Uint64 timestamp;
    SDL_WindowID windowID;
    SDL_PenID which;
}
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • TYPE

      public static final int TYPE
      The struct member offsets.
    • RESERVED

      public static final int RESERVED
      The struct member offsets.
    • TIMESTAMP

      public static final int TIMESTAMP
      The struct member offsets.
    • WINDOWID

      public static final int WINDOWID
      The struct member offsets.
    • WHICH

      public static final int WHICH
      The struct member offsets.
  • Constructor Details

    • SDL_PenProximityEvent

      public SDL_PenProximityEvent(ByteBuffer container)
      Creates a SDL_PenProximityEvent instance at the current position of the specified ByteBuffer container. 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