Class NkStyleProperty

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

@NativeType("struct nk_style_property") public class NkStyleProperty extends Struct<NkStyleProperty> implements NativeResource
struct nk_style_property {
    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;
    enum nk_symbol_type sym_left;
    enum nk_symbol_type sym_right;
    float border;
    float rounding;
    struct nk_vec2 padding;
    float color_factor;
    float disabled_factor;
    struct nk_style_edit edit;
    struct nk_style_button inc_button;
    struct nk_style_button dec_button;
    nk_handle userdata;
    nk_draw_begin draw_begin;
    nk_draw_end draw_end;
}
  • 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.
    • SYM_LEFT

      public static final int SYM_LEFT
      The struct member offsets.
    • SYM_RIGHT

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

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

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

      public static final int PADDING
      The struct member offsets.
    • COLOR_FACTOR

      public static final int COLOR_FACTOR
      The struct member offsets.
    • DISABLED_FACTOR

      public static final int DISABLED_FACTOR
      The struct member offsets.
    • EDIT

      public static final int EDIT
      The struct member offsets.
    • INC_BUTTON

      public static final int INC_BUTTON
      The struct member offsets.
    • DEC_BUTTON

      public static final int DEC_BUTTON
      The struct member offsets.
    • USERDATA

      public static final int USERDATA
      The struct member offsets.
    • DRAW_BEGIN

      public static final int DRAW_BEGIN
      The struct member offsets.
    • DRAW_END

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

    • NkStyleProperty

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