Class NkStyleToggle

    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • NORMAL, HOVER, ACTIVE, BORDER_COLOR, CURSOR_NORMAL, CURSOR_HOVER, TEXT_NORMAL, TEXT_HOVER, TEXT_ACTIVE, TEXT_BACKGROUND, TEXT_ALIGNMENT, PADDING, TOUCH_PADDING, SPACING, BORDER, USERDATA, DRAW_BEGIN, DRAW_END

        The struct member offsets.
    • Constructor Detail

      • NkStyleToggle

        public NkStyleToggle​(java.nio.ByteBuffer container)
        Creates a NkStyleToggle 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.