struct nk_style_edit {
struct nk_style_item normal;
struct nk_style_item hover;
struct nk_style_item active;
struct nk_color border_color;
struct nk_style_scrollbar scrollbar;
struct nk_color cursor_normal;
struct nk_color cursor_hover;
struct nk_color cursor_text_normal;
struct nk_color cursor_text_hover;
struct nk_color text_normal;
struct nk_color text_hover;
struct nk_color text_active;
struct nk_color selected_normal;
struct nk_color selected_hover;
struct nk_color selected_text_normal;
struct nk_color selected_text_hover;
float border;
float rounding;
float cursor_size;
struct nk_vec2 scrollbar_size;
struct nk_vec2 padding;
float row_padding;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | NkStyleEdit.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ACTIVE
The struct member offsets. |
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | BORDER
The struct member offsets. |
| public static final int | BORDER_COLOR
The struct member offsets. |
| public static final int | CURSOR_HOVER
The struct member offsets. |
| public static final int | CURSOR_NORMAL
The struct member offsets. |
| public static final int | CURSOR_SIZE
The struct member offsets. |
| public static final int | CURSOR_TEXT_HOVER
The struct member offsets. |
| public static final int | CURSOR_TEXT_NORMAL
The struct member offsets. |
| public static final int | HOVER
The struct member offsets. |
| public static final int | NORMAL
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 | ROW_PADDING
The struct member offsets. |
| public static final int | SCROLLBAR
The struct member offsets. |
| public static final int | SCROLLBAR_SIZE
The struct member offsets. |
| public static final int | SELECTED_HOVER
The struct member offsets. |
| public static final int | SELECTED_NORMAL
The struct member offsets. |
| public static final int | SELECTED_TEXT_HOVER
The struct member offsets. |
| public static final int | SELECTED_TEXT_NORMAL
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | TEXT_ACTIVE
The struct member offsets. |
| public static final int | TEXT_HOVER
The struct member offsets. |
| public static final int | TEXT_NORMAL
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | NkStyleEdit(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public NkStyleItem | |
| public NkStyleEdit | |
| public NkStyleEdit | |
| public float | |
| public NkStyleEdit | |
| public NkColor | |
| public NkStyleEdit | |
| public NkStyleEdit | |
| public static NkStyleEdit | |
| public static NkStyleEdit. | calloc(int
the buffer capacity capacity)Returns a new |
| public static NkStyleEdit | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static NkStyleEdit. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static NkStyleEdit | |
| public static NkStyleEdit | |
| public static NkStyleEdit. | |
| public static NkStyleEdit. | |
| protected NkStyleEdit | 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 NkStyleEdit | |
| public static NkStyleEdit | |
| public static NkStyleEdit. | create(int
the buffer capacity capacity)Returns a new |
| public static NkStyleEdit. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static NkStyleEdit | |
| public static NkStyleEdit. | |
| public NkColor | |
| public NkStyleEdit | |
| public NkStyleEdit | |
| public NkColor | |
| public NkStyleEdit | |
| public NkStyleEdit | |
| public float | |
| public NkStyleEdit | |
| public NkColor | |
| public NkStyleEdit | |
| public NkStyleEdit | cursor_text_hover(Consumer<NkColor> consumer)
Passes the |
| public NkColor | |
| public NkStyleEdit | |
| public NkStyleEdit | cursor_text_normal(Consumer<NkColor> consumer)
Passes the |
| public NkStyleItem | |
| public NkStyleEdit | |
| public NkStyleEdit | |
| public static NkStyleEdit | |
| public static NkStyleEdit. | malloc(int
the buffer capacity capacity)Returns a new |
| public static NkStyleEdit | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static NkStyleEdit. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static NkStyleEdit | |
| public static NkStyleEdit | |
| public static NkStyleEdit. | |
| public static NkStyleEdit. | |
| public static NkStyleItem | |
| public static void | |
| public static float | |
| public static void | |
| public static NkColor | |
| public static void | |
| public static NkColor | |
| public static void | |
| public static NkColor | |
| public static void | |
| public static float | |
| public static void | |
| public static NkColor | |
| public static void | |
| public static NkColor | |
| public static void | |
| public static NkStyleItem | |
| public static void | |
| public static NkStyleItem | |
| public static void | |
| public NkStyleItem | |
| public NkStyleEdit | |
| public NkStyleEdit | |
| public static NkVec2 | |
| public static void | |
| public static float | |
| public static void | |
| public static float | |
| public static void | |
| public static NkStyleScrollbar | |
| public static void | |
| public static NkVec2 | |
| public static void | |
| public static NkColor | |
| public static void | |
| public static NkColor | |
| public static void | |
| public static NkColor | |
| public static void | |
| public static NkColor | |
| public static void | |
| public static NkColor | |
| public static void | |
| public static NkColor | |
| public static void | |
| public static NkColor | |
| public static void | |
| public NkVec2 | |
| public NkStyleEdit | |
| public NkStyleEdit | |
| public float | |
| public NkStyleEdit | |
| public float | |
| public NkStyleEdit | |
| public NkStyleScrollbar | |
| public NkStyleEdit | |
| public NkStyleEdit | |
| public NkVec2 | |
| public NkStyleEdit | |
| public NkStyleEdit | |
| public NkColor | |
| public NkStyleEdit | |
| public NkStyleEdit | selected_hover(Consumer<NkColor> consumer)
Passes the |
| public NkColor | |
| public NkStyleEdit | |
| public NkStyleEdit | selected_normal(Consumer<NkColor> consumer)
Passes the |
| public NkColor | |
| public NkStyleEdit | |
| public NkStyleEdit | selected_text_hover(Consumer<NkColor> consumer)
Passes the |
| public NkColor | |
| public NkStyleEdit | |
| public NkStyleEdit | selected_text_normal(Consumer<NkColor> consumer)
Passes the |
| public NkStyleEdit | set(NkStyleItem normal, NkStyleItem hover, NkStyleItem active, NkColor border_color, NkStyleScrollbar scrollbar, NkColor cursor_normal, NkColor cursor_hover, NkColor cursor_text_normal, NkColor cursor_text_hover, NkColor text_normal, NkColor text_hover, NkColor text_active, NkColor selected_normal, NkColor selected_hover, NkColor selected_text_normal, NkColor selected_text_hover, float border, float rounding, float cursor_size, NkVec2 scrollbar_size, NkVec2 padding, float row_padding)
Initializes this struct with the specified values. |
| public NkStyleEdit | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public NkColor | |
| public NkStyleEdit | |
| public NkStyleEdit | |
| public NkColor | |
| public NkStyleEdit | |
| public NkStyleEdit | |
| public NkColor | |
| public NkStyleEdit | |
| public NkStyleEdit |