Class NkStyleCombo

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class NkStyleCombo extends Struct<NkStyleCombo> implements NativeResource

Layout


 struct nk_style_combo {
     struct nk_style_item normal;
     struct nk_style_item hover;
     struct nk_style_item active;
     struct nk_color border_color;
     struct nk_color label_normal;
     struct nk_color label_hover;
     struct nk_color label_active;
     struct nk_color symbol_normal;
     struct nk_color symbol_hover;
     struct nk_color symbol_active;
     struct nk_style_button button;
     enum nk_symbol_type sym_normal;
     enum nk_symbol_type sym_hover;
     enum nk_symbol_type sym_active;
     float border;
     float rounding;
     struct nk_vec2 content_padding;
     struct nk_vec2 button_padding;
     struct nk_vec2 spacing;
 }
  • Field Details

    • SIZEOF

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

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

      public static final int NORMAL
      The struct member offsets.
    • HOVER

      public static final int HOVER
      The struct member offsets.
    • ACTIVE

      public static final int ACTIVE
      The struct member offsets.
    • BORDER_COLOR

      public static final int BORDER_COLOR
      The struct member offsets.
    • LABEL_NORMAL

      public static final int LABEL_NORMAL
      The struct member offsets.
    • LABEL_HOVER

      public static final int LABEL_HOVER
      The struct member offsets.
    • LABEL_ACTIVE

      public static final int LABEL_ACTIVE
      The struct member offsets.
    • SYMBOL_NORMAL

      public static final int SYMBOL_NORMAL
      The struct member offsets.
    • SYMBOL_HOVER

      public static final int SYMBOL_HOVER
      The struct member offsets.
    • SYMBOL_ACTIVE

      public static final int SYMBOL_ACTIVE
      The struct member offsets.
    • BUTTON

      public static final int BUTTON
      The struct member offsets.
    • SYM_NORMAL

      public static final int SYM_NORMAL
      The struct member offsets.
    • SYM_HOVER

      public static final int SYM_HOVER
      The struct member offsets.
    • SYM_ACTIVE

      public static final int SYM_ACTIVE
      The struct member offsets.
    • BORDER

      public static final int BORDER
      The struct member offsets.
    • ROUNDING

      public static final int ROUNDING
      The struct member offsets.
    • CONTENT_PADDING

      public static final int CONTENT_PADDING
      The struct member offsets.
    • BUTTON_PADDING

      public static final int BUTTON_PADDING
      The struct member offsets.
    • SPACING

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

    • NkStyleCombo

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