Class SDL_MessageBoxColor

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class SDL_MessageBoxColor extends Struct<SDL_MessageBoxColor> implements NativeResource
struct SDL_MessageBoxColor {
    Uint8 r;
    Uint8 g;
    Uint8 b;
}
  • Field Details

    • SIZEOF

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

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

      public static final int R
      The struct member offsets.
    • G

      public static final int G
      The struct member offsets.
    • B

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

    • SDL_MessageBoxColor

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