struct nk_style_tab {
struct nk_style_item background;
struct nk_color border_color;
struct nk_color text;
struct nk_style_button tab_maximize_button;
struct nk_style_button tab_minimize_button;
struct nk_style_button node_maximize_button;
struct nk_style_button node_minimize_button;
enum nk_symbol_type sym_minimize;
enum nk_symbol_type sym_maximize;
float border;
float rounding;
float indent;
struct nk_vec2 padding;
struct nk_vec2 spacing;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | NkStyleTab.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | BACKGROUND
The struct member offsets. |
| public static final int | BORDER
The struct member offsets. |
| public static final int | BORDER_COLOR
The struct member offsets. |
| public static final int | INDENT
The struct member offsets. |
| public static final int | NODE_MAXIMIZE_BUTTON
The struct member offsets. |
| public static final int | NODE_MINIMIZE_BUTTON
The struct member offsets. |
| public static final int | PADDING
The struct member offsets. |
| public static final int | ROUNDING
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | SPACING
The struct member offsets. |
| public static final int | SYM_MAXIMIZE
The struct member offsets. |
| public static final int | SYM_MINIMIZE
The struct member offsets. |
| public static final int | TAB_MAXIMIZE_BUTTON
The struct member offsets. |
| public static final int | TAB_MINIMIZE_BUTTON
The struct member offsets. |
| public static final int | TEXT
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | NkStyleTab(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public NkStyleItem | |
| public NkStyleTab | |
| public NkStyleTab | |
| public float | |
| public NkStyleTab | |
| public NkColor | |
| public NkStyleTab | |
| public NkStyleTab | |
| public static NkStyleTab | |
| public static NkStyleTab. | calloc(int
the buffer capacity capacity)Returns a new |
| public static NkStyleTab | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static NkStyleTab. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static NkStyleTab | |
| public static NkStyleTab | |
| public static NkStyleTab. | |
| public static NkStyleTab. | |
| protected NkStyleTab | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static NkStyleTab | |
| public static NkStyleTab | |
| public static NkStyleTab. | create(int
the buffer capacity capacity)Returns a new |
| public static NkStyleTab. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static NkStyleTab | |
| public static NkStyleTab. | |
| public float | |
| public NkStyleTab | |
| public static NkStyleTab | |
| public static NkStyleTab. | malloc(int
the buffer capacity capacity)Returns a new |
| public static NkStyleTab | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static NkStyleTab. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static NkStyleTab | |
| public static NkStyleTab | |
| public static NkStyleTab. | |
| public static NkStyleTab. | |
| public static NkStyleItem | |
| public static void | |
| public static float | |
| public static void | |
| public static NkColor | |
| public static void | |
| public static float | |
| public static void | |
| public static NkStyleButton | |
| public static void | |
| public static NkStyleButton | |
| public static void | |
| public NkStyleButton | |
| public NkStyleTab | node_maximize_button(NkStyleButton value)
Copies the specified |
| public NkStyleTab | node_maximize_button(Consumer<NkStyleButton> consumer)
Passes the |
| public NkStyleButton | |
| public NkStyleTab | node_minimize_button(NkStyleButton value)
Copies the specified |
| public NkStyleTab | node_minimize_button(Consumer<NkStyleButton> consumer)
Passes the |
| public static NkVec2 | |
| public static void | |
| public static float | |
| public static void | |
| public static NkVec2 | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static NkStyleButton | |
| public static void | |
| public static NkStyleButton | |
| public static void | |
| public static NkColor | |
| public static void | |
| public NkVec2 | |
| public NkStyleTab | |
| public NkStyleTab | |
| public float | |
| public NkStyleTab | |
| public NkStyleTab | set(NkStyleItem background, NkColor border_color, NkColor text, NkStyleButton tab_maximize_button, NkStyleButton tab_minimize_button, NkStyleButton node_maximize_button, NkStyleButton node_minimize_button, int sym_minimize, int sym_maximize, float border, float rounding, float indent, NkVec2 padding, NkVec2 spacing)
Initializes this struct with the specified values. |
| public NkStyleTab | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public NkVec2 | |
| public NkStyleTab | |
| public NkStyleTab | |
| public int | |
| public NkStyleTab | |
| public int | |
| public NkStyleTab | |
| public NkStyleButton | |
| public NkStyleTab | tab_maximize_button(NkStyleButton value)
Copies the specified |
| public NkStyleTab | tab_maximize_button(Consumer<NkStyleButton> consumer)
Passes the |
| public NkStyleButton | |
| public NkStyleTab | tab_minimize_button(NkStyleButton value)
Copies the specified |
| public NkStyleTab | tab_minimize_button(Consumer<NkStyleButton> consumer)
Passes the |
| public NkColor | |
| public NkStyleTab | |
| public NkStyleTab |