public class NkStyleEdit
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
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 |
|---|---|
static class |
NkStyleEdit.Buffer
An array of
NkStyleEdit structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ACTIVE
The struct member offsets.
|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
BORDER
The struct member offsets.
|
static int |
BORDER_COLOR
The struct member offsets.
|
static int |
CURSOR_HOVER
The struct member offsets.
|
static int |
CURSOR_NORMAL
The struct member offsets.
|
static int |
CURSOR_SIZE
The struct member offsets.
|
static int |
CURSOR_TEXT_HOVER
The struct member offsets.
|
static int |
CURSOR_TEXT_NORMAL
The struct member offsets.
|
static int |
HOVER
The struct member offsets.
|
static int |
NORMAL
The struct member offsets.
|
static int |
PADDING
The struct member offsets.
|
static int |
ROUNDING
The struct member offsets.
|
static int |
ROW_PADDING
The struct member offsets.
|
static int |
SCROLLBAR
The struct member offsets.
|
static int |
SCROLLBAR_SIZE
The struct member offsets.
|
static int |
SELECTED_HOVER
The struct member offsets.
|
static int |
SELECTED_NORMAL
The struct member offsets.
|
static int |
SELECTED_TEXT_HOVER
The struct member offsets.
|
static int |
SELECTED_TEXT_NORMAL
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
TEXT_ACTIVE
The struct member offsets.
|
static int |
TEXT_HOVER
The struct member offsets.
|
static int |
TEXT_NORMAL
The struct member offsets.
|
| Constructor and Description |
|---|
NkStyleEdit(java.nio.ByteBuffer container)
Creates a
NkStyleEdit instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
NkStyleItem |
active()
Returns a
NkStyleItem view of the active field. |
NkStyleEdit |
active(java.util.function.Consumer<NkStyleItem> consumer)
Passes the
active field to the specified Consumer. |
NkStyleEdit |
active(NkStyleItem value)
Copies the specified
NkStyleItem to the active field. |
NkColor |
border_color()
Returns a
NkColor view of the border_color field. |
NkStyleEdit |
border_color(java.util.function.Consumer<NkColor> consumer)
Passes the
border_color field to the specified Consumer. |
NkStyleEdit |
border_color(NkColor value)
Copies the specified
NkColor to the border_color field. |
float |
border()
Returns the value of the
border field. |
NkStyleEdit |
border(float value)
Sets the specified value to the
border field. |
static NkStyleEdit |
calloc()
Returns a new
NkStyleEdit instance allocated with memCalloc. |
static NkStyleEdit.Buffer |
calloc(int capacity)
Returns a new
NkStyleEdit.Buffer instance allocated with memCalloc. |
static NkStyleEdit |
callocStack()
Returns a new
NkStyleEdit instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static NkStyleEdit.Buffer |
callocStack(int capacity)
Returns a new
NkStyleEdit.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static NkStyleEdit.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
NkStyleEdit.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static NkStyleEdit |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
NkStyleEdit instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static NkStyleEdit |
create()
Returns a new
NkStyleEdit instance allocated with BufferUtils. |
static NkStyleEdit.Buffer |
create(int capacity)
Returns a new
NkStyleEdit.Buffer instance allocated with BufferUtils. |
static NkStyleEdit |
create(long address)
Returns a new
NkStyleEdit instance for the specified memory address. |
static NkStyleEdit.Buffer |
create(long address,
int capacity)
Create a
NkStyleEdit.Buffer instance at the specified memory. |
static NkStyleEdit |
createSafe(long address)
|
static NkStyleEdit.Buffer |
createSafe(long address,
int capacity)
|
NkColor |
cursor_hover()
Returns a
NkColor view of the cursor_hover field. |
NkStyleEdit |
cursor_hover(java.util.function.Consumer<NkColor> consumer)
Passes the
cursor_hover field to the specified Consumer. |
NkStyleEdit |
cursor_hover(NkColor value)
Copies the specified
NkColor to the cursor_hover field. |
NkColor |
cursor_normal()
Returns a
NkColor view of the cursor_normal field. |
NkStyleEdit |
cursor_normal(java.util.function.Consumer<NkColor> consumer)
Passes the
cursor_normal field to the specified Consumer. |
NkStyleEdit |
cursor_normal(NkColor value)
Copies the specified
NkColor to the cursor_normal field. |
float |
cursor_size()
Returns the value of the
cursor_size field. |
NkStyleEdit |
cursor_size(float value)
Sets the specified value to the
cursor_size field. |
NkColor |
cursor_text_hover()
Returns a
NkColor view of the cursor_text_hover field. |
NkStyleEdit |
cursor_text_hover(java.util.function.Consumer<NkColor> consumer)
Passes the
cursor_text_hover field to the specified Consumer. |
NkStyleEdit |
cursor_text_hover(NkColor value)
Copies the specified
NkColor to the cursor_text_hover field. |
NkColor |
cursor_text_normal()
Returns a
NkColor view of the cursor_text_normal field. |
NkStyleEdit |
cursor_text_normal(java.util.function.Consumer<NkColor> consumer)
Passes the
cursor_text_normal field to the specified Consumer. |
NkStyleEdit |
cursor_text_normal(NkColor value)
Copies the specified
NkColor to the cursor_text_normal field. |
NkStyleItem |
hover()
Returns a
NkStyleItem view of the hover field. |
NkStyleEdit |
hover(java.util.function.Consumer<NkStyleItem> consumer)
Passes the
hover field to the specified Consumer. |
NkStyleEdit |
hover(NkStyleItem value)
Copies the specified
NkStyleItem to the hover field. |
static NkStyleEdit |
malloc()
Returns a new
NkStyleEdit instance allocated with memAlloc. |
static NkStyleEdit.Buffer |
malloc(int capacity)
Returns a new
NkStyleEdit.Buffer instance allocated with memAlloc. |
static NkStyleEdit |
mallocStack()
Returns a new
NkStyleEdit instance allocated on the thread-local MemoryStack. |
static NkStyleEdit.Buffer |
mallocStack(int capacity)
Returns a new
NkStyleEdit.Buffer instance allocated on the thread-local MemoryStack. |
static NkStyleEdit.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
NkStyleEdit.Buffer instance allocated on the specified MemoryStack. |
static NkStyleEdit |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
NkStyleEdit instance allocated on the specified MemoryStack. |
static NkStyleItem |
nactive(long struct)
Unsafe version of
active(). |
static void |
nactive(long struct,
NkStyleItem value)
Unsafe version of
active. |
static NkColor |
nborder_color(long struct)
Unsafe version of
border_color(). |
static void |
nborder_color(long struct,
NkColor value)
Unsafe version of
border_color. |
static float |
nborder(long struct)
Unsafe version of
border(). |
static void |
nborder(long struct,
float value)
Unsafe version of
border. |
static NkColor |
ncursor_hover(long struct)
Unsafe version of
cursor_hover(). |
static void |
ncursor_hover(long struct,
NkColor value)
Unsafe version of
cursor_hover. |
static NkColor |
ncursor_normal(long struct)
Unsafe version of
cursor_normal(). |
static void |
ncursor_normal(long struct,
NkColor value)
Unsafe version of
cursor_normal. |
static float |
ncursor_size(long struct)
Unsafe version of
cursor_size(). |
static void |
ncursor_size(long struct,
float value)
Unsafe version of
cursor_size. |
static NkColor |
ncursor_text_hover(long struct)
Unsafe version of
cursor_text_hover(). |
static void |
ncursor_text_hover(long struct,
NkColor value)
Unsafe version of
cursor_text_hover. |
static NkColor |
ncursor_text_normal(long struct)
Unsafe version of
cursor_text_normal(). |
static void |
ncursor_text_normal(long struct,
NkColor value)
Unsafe version of
cursor_text_normal. |
static NkStyleItem |
nhover(long struct)
Unsafe version of
hover(). |
static void |
nhover(long struct,
NkStyleItem value)
Unsafe version of
hover. |
static NkStyleItem |
nnormal(long struct)
Unsafe version of
normal(). |
static void |
nnormal(long struct,
NkStyleItem value)
Unsafe version of
normal. |
NkStyleItem |
normal()
Returns a
NkStyleItem view of the normal field. |
NkStyleEdit |
normal(java.util.function.Consumer<NkStyleItem> consumer)
Passes the
normal field to the specified Consumer. |
NkStyleEdit |
normal(NkStyleItem value)
Copies the specified
NkStyleItem to the normal field. |
static NkVec2 |
npadding(long struct)
Unsafe version of
padding(). |
static void |
npadding(long struct,
NkVec2 value)
Unsafe version of
padding. |
static float |
nrounding(long struct)
Unsafe version of
rounding(). |
static void |
nrounding(long struct,
float value)
Unsafe version of
rounding. |
static float |
nrow_padding(long struct)
Unsafe version of
row_padding(). |
static void |
nrow_padding(long struct,
float value)
Unsafe version of
row_padding. |
static NkVec2 |
nscrollbar_size(long struct)
Unsafe version of
scrollbar_size(). |
static void |
nscrollbar_size(long struct,
NkVec2 value)
Unsafe version of
scrollbar_size. |
static NkStyleScrollbar |
nscrollbar(long struct)
Unsafe version of
scrollbar(). |
static void |
nscrollbar(long struct,
NkStyleScrollbar value)
Unsafe version of
scrollbar. |
static NkColor |
nselected_hover(long struct)
Unsafe version of
selected_hover(). |
static void |
nselected_hover(long struct,
NkColor value)
Unsafe version of
selected_hover. |
static NkColor |
nselected_normal(long struct)
Unsafe version of
selected_normal(). |
static void |
nselected_normal(long struct,
NkColor value)
Unsafe version of
selected_normal. |
static NkColor |
nselected_text_hover(long struct)
Unsafe version of
selected_text_hover(). |
static void |
nselected_text_hover(long struct,
NkColor value)
Unsafe version of
selected_text_hover. |
static NkColor |
nselected_text_normal(long struct)
Unsafe version of
selected_text_normal(). |
static void |
nselected_text_normal(long struct,
NkColor value)
Unsafe version of
selected_text_normal. |
static NkColor |
ntext_active(long struct)
Unsafe version of
text_active(). |
static void |
ntext_active(long struct,
NkColor value)
Unsafe version of
text_active. |
static NkColor |
ntext_hover(long struct)
Unsafe version of
text_hover(). |
static void |
ntext_hover(long struct,
NkColor value)
Unsafe version of
text_hover. |
static NkColor |
ntext_normal(long struct)
Unsafe version of
text_normal(). |
static void |
ntext_normal(long struct,
NkColor value)
Unsafe version of
text_normal. |
NkVec2 |
padding()
Returns a
NkVec2 view of the padding field. |
NkStyleEdit |
padding(java.util.function.Consumer<NkVec2> consumer)
Passes the
padding field to the specified Consumer. |
NkStyleEdit |
padding(NkVec2 value)
Copies the specified
NkVec2 to the padding field. |
float |
rounding()
Returns the value of the
rounding field. |
NkStyleEdit |
rounding(float value)
Sets the specified value to the
rounding field. |
float |
row_padding()
Returns the value of the
row_padding field. |
NkStyleEdit |
row_padding(float value)
Sets the specified value to the
row_padding field. |
NkVec2 |
scrollbar_size()
Returns a
NkVec2 view of the scrollbar_size field. |
NkStyleEdit |
scrollbar_size(java.util.function.Consumer<NkVec2> consumer)
Passes the
scrollbar_size field to the specified Consumer. |
NkStyleEdit |
scrollbar_size(NkVec2 value)
Copies the specified
NkVec2 to the scrollbar_size field. |
NkStyleScrollbar |
scrollbar()
Returns a
NkStyleScrollbar view of the scrollbar field. |
NkStyleEdit |
scrollbar(java.util.function.Consumer<NkStyleScrollbar> consumer)
Passes the
scrollbar field to the specified Consumer. |
NkStyleEdit |
scrollbar(NkStyleScrollbar value)
Copies the specified
NkStyleScrollbar to the scrollbar field. |
NkColor |
selected_hover()
Returns a
NkColor view of the selected_hover field. |
NkStyleEdit |
selected_hover(java.util.function.Consumer<NkColor> consumer)
Passes the
selected_hover field to the specified Consumer. |
NkStyleEdit |
selected_hover(NkColor value)
Copies the specified
NkColor to the selected_hover field. |
NkColor |
selected_normal()
Returns a
NkColor view of the selected_normal field. |
NkStyleEdit |
selected_normal(java.util.function.Consumer<NkColor> consumer)
Passes the
selected_normal field to the specified Consumer. |
NkStyleEdit |
selected_normal(NkColor value)
Copies the specified
NkColor to the selected_normal field. |
NkColor |
selected_text_hover()
Returns a
NkColor view of the selected_text_hover field. |
NkStyleEdit |
selected_text_hover(java.util.function.Consumer<NkColor> consumer)
Passes the
selected_text_hover field to the specified Consumer. |
NkStyleEdit |
selected_text_hover(NkColor value)
Copies the specified
NkColor to the selected_text_hover field. |
NkColor |
selected_text_normal()
Returns a
NkColor view of the selected_text_normal field. |
NkStyleEdit |
selected_text_normal(java.util.function.Consumer<NkColor> consumer)
Passes the
selected_text_normal field to the specified Consumer. |
NkStyleEdit |
selected_text_normal(NkColor value)
Copies the specified
NkColor to the selected_text_normal field. |
NkStyleEdit |
set(NkStyleEdit src)
Copies the specified struct data to this struct.
|
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.
|
int |
sizeof() |
NkColor |
text_active()
Returns a
NkColor view of the text_active field. |
NkStyleEdit |
text_active(java.util.function.Consumer<NkColor> consumer)
Passes the
text_active field to the specified Consumer. |
NkStyleEdit |
text_active(NkColor value)
Copies the specified
NkColor to the text_active field. |
NkColor |
text_hover()
Returns a
NkColor view of the text_hover field. |
NkStyleEdit |
text_hover(java.util.function.Consumer<NkColor> consumer)
Passes the
text_hover field to the specified Consumer. |
NkStyleEdit |
text_hover(NkColor value)
Copies the specified
NkColor to the text_hover field. |
NkColor |
text_normal()
Returns a
NkColor view of the text_normal field. |
NkStyleEdit |
text_normal(java.util.function.Consumer<NkColor> consumer)
Passes the
text_normal field to the specified Consumer. |
NkStyleEdit |
text_normal(NkColor value)
Copies the specified
NkColor to the text_normal field. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int NORMAL
public static final int HOVER
public static final int ACTIVE
public static final int BORDER_COLOR
public static final int SCROLLBAR
public static final int CURSOR_NORMAL
public static final int CURSOR_HOVER
public static final int CURSOR_TEXT_NORMAL
public static final int CURSOR_TEXT_HOVER
public static final int TEXT_NORMAL
public static final int TEXT_HOVER
public static final int TEXT_ACTIVE
public static final int SELECTED_NORMAL
public static final int SELECTED_HOVER
public static final int SELECTED_TEXT_NORMAL
public static final int SELECTED_TEXT_HOVER
public static final int BORDER
public static final int ROUNDING
public static final int CURSOR_SIZE
public static final int SCROLLBAR_SIZE
public static final int PADDING
public static final int ROW_PADDING
public NkStyleEdit(java.nio.ByteBuffer container)
NkStyleEdit 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.
public int sizeof()
sizeof in class org.lwjgl.system.Structpublic NkStyleItem normal()
NkStyleItem view of the normal field.public NkStyleItem hover()
NkStyleItem view of the hover field.public NkStyleItem active()
NkStyleItem view of the active field.public NkStyleScrollbar scrollbar()
NkStyleScrollbar view of the scrollbar field.public NkColor cursor_text_normal()
NkColor view of the cursor_text_normal field.public NkColor cursor_text_hover()
NkColor view of the cursor_text_hover field.public NkColor selected_normal()
NkColor view of the selected_normal field.public NkColor selected_text_normal()
NkColor view of the selected_text_normal field.public NkColor selected_text_hover()
NkColor view of the selected_text_hover field.public float border()
border field.public float rounding()
rounding field.public float cursor_size()
cursor_size field.public float row_padding()
row_padding field.public NkStyleEdit normal(NkStyleItem value)
NkStyleItem to the normal field.public NkStyleEdit normal(java.util.function.Consumer<NkStyleItem> consumer)
normal field to the specified Consumer.public NkStyleEdit hover(NkStyleItem value)
NkStyleItem to the hover field.public NkStyleEdit hover(java.util.function.Consumer<NkStyleItem> consumer)
hover field to the specified Consumer.public NkStyleEdit active(NkStyleItem value)
NkStyleItem to the active field.public NkStyleEdit active(java.util.function.Consumer<NkStyleItem> consumer)
active field to the specified Consumer.public NkStyleEdit border_color(NkColor value)
NkColor to the border_color field.public NkStyleEdit border_color(java.util.function.Consumer<NkColor> consumer)
border_color field to the specified Consumer.public NkStyleEdit scrollbar(NkStyleScrollbar value)
NkStyleScrollbar to the scrollbar field.public NkStyleEdit scrollbar(java.util.function.Consumer<NkStyleScrollbar> consumer)
scrollbar field to the specified Consumer.public NkStyleEdit cursor_normal(NkColor value)
NkColor to the cursor_normal field.public NkStyleEdit cursor_normal(java.util.function.Consumer<NkColor> consumer)
cursor_normal field to the specified Consumer.public NkStyleEdit cursor_hover(NkColor value)
NkColor to the cursor_hover field.public NkStyleEdit cursor_hover(java.util.function.Consumer<NkColor> consumer)
cursor_hover field to the specified Consumer.public NkStyleEdit cursor_text_normal(NkColor value)
NkColor to the cursor_text_normal field.public NkStyleEdit cursor_text_normal(java.util.function.Consumer<NkColor> consumer)
cursor_text_normal field to the specified Consumer.public NkStyleEdit cursor_text_hover(NkColor value)
NkColor to the cursor_text_hover field.public NkStyleEdit cursor_text_hover(java.util.function.Consumer<NkColor> consumer)
cursor_text_hover field to the specified Consumer.public NkStyleEdit text_normal(NkColor value)
NkColor to the text_normal field.public NkStyleEdit text_normal(java.util.function.Consumer<NkColor> consumer)
text_normal field to the specified Consumer.public NkStyleEdit text_hover(NkColor value)
NkColor to the text_hover field.public NkStyleEdit text_hover(java.util.function.Consumer<NkColor> consumer)
text_hover field to the specified Consumer.public NkStyleEdit text_active(NkColor value)
NkColor to the text_active field.public NkStyleEdit text_active(java.util.function.Consumer<NkColor> consumer)
text_active field to the specified Consumer.public NkStyleEdit selected_normal(NkColor value)
NkColor to the selected_normal field.public NkStyleEdit selected_normal(java.util.function.Consumer<NkColor> consumer)
selected_normal field to the specified Consumer.public NkStyleEdit selected_hover(NkColor value)
NkColor to the selected_hover field.public NkStyleEdit selected_hover(java.util.function.Consumer<NkColor> consumer)
selected_hover field to the specified Consumer.public NkStyleEdit selected_text_normal(NkColor value)
NkColor to the selected_text_normal field.public NkStyleEdit selected_text_normal(java.util.function.Consumer<NkColor> consumer)
selected_text_normal field to the specified Consumer.public NkStyleEdit selected_text_hover(NkColor value)
NkColor to the selected_text_hover field.public NkStyleEdit selected_text_hover(java.util.function.Consumer<NkColor> consumer)
selected_text_hover field to the specified Consumer.public NkStyleEdit border(float value)
border field.public NkStyleEdit rounding(float value)
rounding field.public NkStyleEdit cursor_size(float value)
cursor_size field.public NkStyleEdit scrollbar_size(NkVec2 value)
NkVec2 to the scrollbar_size field.public NkStyleEdit scrollbar_size(java.util.function.Consumer<NkVec2> consumer)
scrollbar_size field to the specified Consumer.public NkStyleEdit padding(NkVec2 value)
NkVec2 to the padding field.public NkStyleEdit padding(java.util.function.Consumer<NkVec2> consumer)
padding field to the specified Consumer.public NkStyleEdit row_padding(float value)
row_padding field.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)
public NkStyleEdit set(NkStyleEdit src)
src - the source structpublic static NkStyleEdit malloc()
NkStyleEdit instance allocated with memAlloc. The instance must be explicitly freed.public static NkStyleEdit calloc()
NkStyleEdit instance allocated with memCalloc. The instance must be explicitly freed.public static NkStyleEdit create()
NkStyleEdit instance allocated with BufferUtils.public static NkStyleEdit create(long address)
NkStyleEdit instance for the specified memory address.@Nullable public static NkStyleEdit createSafe(long address)
public static NkStyleEdit.Buffer malloc(int capacity)
NkStyleEdit.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static NkStyleEdit.Buffer calloc(int capacity)
NkStyleEdit.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static NkStyleEdit.Buffer create(int capacity)
NkStyleEdit.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static NkStyleEdit.Buffer create(long address, int capacity)
NkStyleEdit.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static NkStyleEdit.Buffer createSafe(long address, int capacity)
public static NkStyleEdit mallocStack()
NkStyleEdit instance allocated on the thread-local MemoryStack.public static NkStyleEdit callocStack()
NkStyleEdit instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static NkStyleEdit mallocStack(org.lwjgl.system.MemoryStack stack)
NkStyleEdit instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static NkStyleEdit callocStack(org.lwjgl.system.MemoryStack stack)
NkStyleEdit instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static NkStyleEdit.Buffer mallocStack(int capacity)
NkStyleEdit.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static NkStyleEdit.Buffer callocStack(int capacity)
NkStyleEdit.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static NkStyleEdit.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
NkStyleEdit.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static NkStyleEdit.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
NkStyleEdit.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatecapacity - the buffer capacitypublic static NkStyleItem nnormal(long struct)
normal().public static NkStyleItem nhover(long struct)
hover().public static NkStyleItem nactive(long struct)
active().public static NkColor nborder_color(long struct)
border_color().public static NkStyleScrollbar nscrollbar(long struct)
scrollbar().public static NkColor ncursor_normal(long struct)
cursor_normal().public static NkColor ncursor_hover(long struct)
cursor_hover().public static NkColor ncursor_text_normal(long struct)
cursor_text_normal().public static NkColor ncursor_text_hover(long struct)
cursor_text_hover().public static NkColor ntext_normal(long struct)
text_normal().public static NkColor ntext_hover(long struct)
text_hover().public static NkColor ntext_active(long struct)
text_active().public static NkColor nselected_normal(long struct)
selected_normal().public static NkColor nselected_hover(long struct)
selected_hover().public static NkColor nselected_text_normal(long struct)
selected_text_normal().public static NkColor nselected_text_hover(long struct)
selected_text_hover().public static float nborder(long struct)
border().public static float nrounding(long struct)
rounding().public static float ncursor_size(long struct)
cursor_size().public static NkVec2 nscrollbar_size(long struct)
scrollbar_size().public static float nrow_padding(long struct)
row_padding().public static void nnormal(long struct,
NkStyleItem value)
normal.public static void nhover(long struct,
NkStyleItem value)
hover.public static void nactive(long struct,
NkStyleItem value)
active.public static void nborder_color(long struct,
NkColor value)
border_color.public static void nscrollbar(long struct,
NkStyleScrollbar value)
scrollbar.public static void ncursor_normal(long struct,
NkColor value)
cursor_normal.public static void ncursor_hover(long struct,
NkColor value)
cursor_hover.public static void ncursor_text_normal(long struct,
NkColor value)
cursor_text_normal.public static void ncursor_text_hover(long struct,
NkColor value)
cursor_text_hover.public static void ntext_normal(long struct,
NkColor value)
text_normal.public static void ntext_hover(long struct,
NkColor value)
text_hover.public static void ntext_active(long struct,
NkColor value)
text_active.public static void nselected_normal(long struct,
NkColor value)
selected_normal.public static void nselected_hover(long struct,
NkColor value)
selected_hover.public static void nselected_text_normal(long struct,
NkColor value)
selected_text_normal.public static void nselected_text_hover(long struct,
NkColor value)
selected_text_hover.public static void nborder(long struct,
float value)
border.public static void nrounding(long struct,
float value)
rounding.public static void ncursor_size(long struct,
float value)
cursor_size.public static void nscrollbar_size(long struct,
NkVec2 value)
scrollbar_size.public static void nrow_padding(long struct,
float value)
row_padding.Copyright LWJGL. All Rights Reserved. License terms.