Package org.lwjgl.sdl

Class SDL_MessageBoxButtonData

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class SDL_MessageBoxButtonData extends Struct<SDL_MessageBoxButtonData> implements NativeResource

 struct SDL_MessageBoxButtonData {
     SDL_MessageBoxButtonFlags flags;
     int buttonID;
     char const * text;
 }
  • Field Details

    • SIZEOF

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

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

      public static final int FLAGS
      The struct member offsets.
    • BUTTONID

      public static final int BUTTONID
      The struct member offsets.
    • TEXT

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

    • SDL_MessageBoxButtonData

      public SDL_MessageBoxButtonData(ByteBuffer container)
      Creates a SDL_MessageBoxButtonData 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