Class NkScroll

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class NkScroll extends Struct<NkScroll> implements NativeResource

 struct nk_scroll {
     nk_uint x;
     nk_uint y;
 }
  • Field Details

    • SIZEOF

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

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

      public static final int X
      The struct member offsets.
    • Y

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

    • NkScroll

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