Class NkStyleWindowHeader

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class NkStyleWindowHeader extends Struct<NkStyleWindowHeader> implements NativeResource

 struct nk_style_window_header {
     struct nk_style_item normal;
     struct nk_style_item hover;
     struct nk_style_item active;
     struct nk_style_button close_button;
     struct nk_style_button minimize_button;
     enum nk_symbol_type close_symbol;
     enum nk_symbol_type minimize_symbol;
     enum nk_symbol_type maximize_symbol;
     struct nk_color label_normal;
     struct nk_color label_hover;
     struct nk_color label_active;
     enum nk_style_header_align align;
     struct nk_vec2 padding;
     struct nk_vec2 label_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.
    • CLOSE_BUTTON

      public static final int CLOSE_BUTTON
      The struct member offsets.
    • MINIMIZE_BUTTON

      public static final int MINIMIZE_BUTTON
      The struct member offsets.
    • CLOSE_SYMBOL

      public static final int CLOSE_SYMBOL
      The struct member offsets.
    • MINIMIZE_SYMBOL

      public static final int MINIMIZE_SYMBOL
      The struct member offsets.
    • MAXIMIZE_SYMBOL

      public static final int MAXIMIZE_SYMBOL
      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.
    • ALIGN

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

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

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

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

    • NkStyleWindowHeader

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