Package org.lwjgl.sdl

Class SDL_MessageBoxData

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class SDL_MessageBoxData extends Struct<SDL_MessageBoxData> implements NativeResource

 struct SDL_MessageBoxData {
     SDL_MessageBoxFlags flags;
     SDL_Window * window;
     char const * title;
     char const * message;
     int numbuttons;
     {@link SDL_MessageBoxButtonData SDL_MessageBoxButtonData} const * buttons;
     {@link SDL_MessageBoxColorScheme SDL_MessageBoxColorScheme} const * colorScheme;
 }
  • 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.
    • WINDOW

      public static final int WINDOW
      The struct member offsets.
    • TITLE

      public static final int TITLE
      The struct member offsets.
    • MESSAGE

      public static final int MESSAGE
      The struct member offsets.
    • NUMBUTTONS

      public static final int NUMBUTTONS
      The struct member offsets.
    • BUTTONS

      public static final int BUTTONS
      The struct member offsets.
    • COLORSCHEME

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

    • SDL_MessageBoxData

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