public class NkStyleSelectable
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
struct nk_style_selectable {
struct nk_style_item normal;
struct nk_style_item hover;
struct nk_style_item pressed;
struct nk_style_item normal_active;
struct nk_style_item hover_active;
struct nk_style_item pressed_active;
struct nk_color text_normal;
struct nk_color text_hover;
struct nk_color text_pressed;
struct nk_color text_normal_active;
struct nk_color text_hover_active;
struct nk_color text_pressed_active;
struct nk_color text_background;
nk_flags text_alignment;
float rounding;
struct nk_vec2 padding;
struct nk_vec2 touch_padding;
struct nk_vec2 image_padding;
nk_handle userdata;
nk_draw_begin draw_begin;
nk_draw_end draw_end;
}| Modifier and Type | Class and Description |
|---|---|
static class |
NkStyleSelectable.Buffer
An array of
NkStyleSelectable structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
DRAW_BEGIN
The struct member offsets.
|
static int |
DRAW_END
The struct member offsets.
|
static int |
HOVER
The struct member offsets.
|
static int |
HOVER_ACTIVE
The struct member offsets.
|
static int |
IMAGE_PADDING
The struct member offsets.
|
static int |
NORMAL
The struct member offsets.
|
static int |
NORMAL_ACTIVE
The struct member offsets.
|
static int |
PADDING
The struct member offsets.
|
static int |
PRESSED
The struct member offsets.
|
static int |
PRESSED_ACTIVE
The struct member offsets.
|
static int |
ROUNDING
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
TEXT_ALIGNMENT
The struct member offsets.
|
static int |
TEXT_BACKGROUND
The struct member offsets.
|
static int |
TEXT_HOVER
The struct member offsets.
|
static int |
TEXT_HOVER_ACTIVE
The struct member offsets.
|
static int |
TEXT_NORMAL
The struct member offsets.
|
static int |
TEXT_NORMAL_ACTIVE
The struct member offsets.
|
static int |
TEXT_PRESSED
The struct member offsets.
|
static int |
TEXT_PRESSED_ACTIVE
The struct member offsets.
|
static int |
TOUCH_PADDING
The struct member offsets.
|
static int |
USERDATA
The struct member offsets.
|
| Constructor and Description |
|---|
NkStyleSelectable(java.nio.ByteBuffer container)
Creates a
NkStyleSelectable instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static NkStyleSelectable |
calloc()
Returns a new
NkStyleSelectable instance allocated with memCalloc. |
static NkStyleSelectable.Buffer |
calloc(int capacity)
Returns a new
NkStyleSelectable.Buffer instance allocated with memCalloc. |
static NkStyleSelectable |
callocStack()
Returns a new
NkStyleSelectable instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static NkStyleSelectable.Buffer |
callocStack(int capacity)
Returns a new
NkStyleSelectable.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static NkStyleSelectable.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
NkStyleSelectable.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static NkStyleSelectable |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
NkStyleSelectable instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static NkStyleSelectable |
create()
Returns a new
NkStyleSelectable instance allocated with BufferUtils. |
static NkStyleSelectable.Buffer |
create(int capacity)
Returns a new
NkStyleSelectable.Buffer instance allocated with BufferUtils. |
static NkStyleSelectable |
create(long address)
Returns a new
NkStyleSelectable instance for the specified memory address. |
static NkStyleSelectable.Buffer |
create(long address,
int capacity)
Create a
NkStyleSelectable.Buffer instance at the specified memory. |
static NkStyleSelectable |
createSafe(long address)
|
static NkStyleSelectable.Buffer |
createSafe(long address,
int capacity)
|
NkDrawBeginCallback |
draw_begin()
Returns the value of the
draw_begin field. |
NkStyleSelectable |
draw_begin(NkDrawBeginCallbackI value)
Sets the specified value to the
draw_begin field. |
NkDrawEndCallback |
draw_end()
Returns the value of the
draw_end field. |
NkStyleSelectable |
draw_end(NkDrawEndCallbackI value)
Sets the specified value to the
draw_end field. |
NkStyleItem |
hover_active()
Returns a
NkStyleItem view of the hover_active field. |
NkStyleSelectable |
hover_active(java.util.function.Consumer<NkStyleItem> consumer)
Passes the
hover_active field to the specified Consumer. |
NkStyleSelectable |
hover_active(NkStyleItem value)
Copies the specified
NkStyleItem to the hover_active field. |
NkStyleItem |
hover()
Returns a
NkStyleItem view of the hover field. |
NkStyleSelectable |
hover(java.util.function.Consumer<NkStyleItem> consumer)
Passes the
hover field to the specified Consumer. |
NkStyleSelectable |
hover(NkStyleItem value)
Copies the specified
NkStyleItem to the hover field. |
NkVec2 |
image_padding()
Returns a
NkVec2 view of the image_padding field. |
NkStyleSelectable |
image_padding(java.util.function.Consumer<NkVec2> consumer)
Passes the
image_padding field to the specified Consumer. |
NkStyleSelectable |
image_padding(NkVec2 value)
Copies the specified
NkVec2 to the image_padding field. |
static NkStyleSelectable |
malloc()
Returns a new
NkStyleSelectable instance allocated with memAlloc. |
static NkStyleSelectable.Buffer |
malloc(int capacity)
Returns a new
NkStyleSelectable.Buffer instance allocated with memAlloc. |
static NkStyleSelectable |
mallocStack()
Returns a new
NkStyleSelectable instance allocated on the thread-local MemoryStack. |
static NkStyleSelectable.Buffer |
mallocStack(int capacity)
Returns a new
NkStyleSelectable.Buffer instance allocated on the thread-local MemoryStack. |
static NkStyleSelectable.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
NkStyleSelectable.Buffer instance allocated on the specified MemoryStack. |
static NkStyleSelectable |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
NkStyleSelectable instance allocated on the specified MemoryStack. |
static NkDrawBeginCallback |
ndraw_begin(long struct)
Unsafe version of
draw_begin(). |
static void |
ndraw_begin(long struct,
NkDrawBeginCallbackI value)
Unsafe version of
draw_begin. |
static NkDrawEndCallback |
ndraw_end(long struct)
Unsafe version of
draw_end(). |
static void |
ndraw_end(long struct,
NkDrawEndCallbackI value)
Unsafe version of
draw_end. |
static NkStyleItem |
nhover_active(long struct)
Unsafe version of
hover_active(). |
static void |
nhover_active(long struct,
NkStyleItem value)
Unsafe version of
hover_active. |
static NkStyleItem |
nhover(long struct)
Unsafe version of
hover(). |
static void |
nhover(long struct,
NkStyleItem value)
Unsafe version of
hover. |
static NkVec2 |
nimage_padding(long struct)
Unsafe version of
image_padding(). |
static void |
nimage_padding(long struct,
NkVec2 value)
Unsafe version of
image_padding. |
static NkStyleItem |
nnormal_active(long struct)
Unsafe version of
normal_active(). |
static void |
nnormal_active(long struct,
NkStyleItem value)
Unsafe version of
normal_active. |
static NkStyleItem |
nnormal(long struct)
Unsafe version of
normal(). |
static void |
nnormal(long struct,
NkStyleItem value)
Unsafe version of
normal. |
NkStyleItem |
normal_active()
Returns a
NkStyleItem view of the normal_active field. |
NkStyleSelectable |
normal_active(java.util.function.Consumer<NkStyleItem> consumer)
Passes the
normal_active field to the specified Consumer. |
NkStyleSelectable |
normal_active(NkStyleItem value)
Copies the specified
NkStyleItem to the normal_active field. |
NkStyleItem |
normal()
Returns a
NkStyleItem view of the normal field. |
NkStyleSelectable |
normal(java.util.function.Consumer<NkStyleItem> consumer)
Passes the
normal field to the specified Consumer. |
NkStyleSelectable |
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 NkStyleItem |
npressed_active(long struct)
Unsafe version of
pressed_active(). |
static void |
npressed_active(long struct,
NkStyleItem value)
Unsafe version of
pressed_active. |
static NkStyleItem |
npressed(long struct)
Unsafe version of
pressed(). |
static void |
npressed(long struct,
NkStyleItem value)
Unsafe version of
pressed. |
static float |
nrounding(long struct)
Unsafe version of
rounding(). |
static void |
nrounding(long struct,
float value)
Unsafe version of
rounding. |
static int |
ntext_alignment(long struct)
Unsafe version of
text_alignment(). |
static void |
ntext_alignment(long struct,
int value)
Unsafe version of
text_alignment. |
static NkColor |
ntext_background(long struct)
Unsafe version of
text_background(). |
static void |
ntext_background(long struct,
NkColor value)
Unsafe version of
text_background. |
static NkColor |
ntext_hover_active(long struct)
Unsafe version of
text_hover_active(). |
static void |
ntext_hover_active(long struct,
NkColor value)
Unsafe version of
text_hover_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_active(long struct)
Unsafe version of
text_normal_active(). |
static void |
ntext_normal_active(long struct,
NkColor value)
Unsafe version of
text_normal_active. |
static NkColor |
ntext_normal(long struct)
Unsafe version of
text_normal(). |
static void |
ntext_normal(long struct,
NkColor value)
Unsafe version of
text_normal. |
static NkColor |
ntext_pressed_active(long struct)
Unsafe version of
text_pressed_active(). |
static void |
ntext_pressed_active(long struct,
NkColor value)
Unsafe version of
text_pressed_active. |
static NkColor |
ntext_pressed(long struct)
Unsafe version of
text_pressed(). |
static void |
ntext_pressed(long struct,
NkColor value)
Unsafe version of
text_pressed. |
static NkVec2 |
ntouch_padding(long struct)
Unsafe version of
touch_padding(). |
static void |
ntouch_padding(long struct,
NkVec2 value)
Unsafe version of
touch_padding. |
static NkHandle |
nuserdata(long struct)
Unsafe version of
userdata(). |
static void |
nuserdata(long struct,
NkHandle value)
Unsafe version of
userdata. |
NkVec2 |
padding()
Returns a
NkVec2 view of the padding field. |
NkStyleSelectable |
padding(java.util.function.Consumer<NkVec2> consumer)
Passes the
padding field to the specified Consumer. |
NkStyleSelectable |
padding(NkVec2 value)
Copies the specified
NkVec2 to the padding field. |
NkStyleItem |
pressed_active()
Returns a
NkStyleItem view of the pressed_active field. |
NkStyleSelectable |
pressed_active(java.util.function.Consumer<NkStyleItem> consumer)
Passes the
pressed_active field to the specified Consumer. |
NkStyleSelectable |
pressed_active(NkStyleItem value)
Copies the specified
NkStyleItem to the pressed_active field. |
NkStyleItem |
pressed()
Returns a
NkStyleItem view of the pressed field. |
NkStyleSelectable |
pressed(java.util.function.Consumer<NkStyleItem> consumer)
Passes the
pressed field to the specified Consumer. |
NkStyleSelectable |
pressed(NkStyleItem value)
Copies the specified
NkStyleItem to the pressed field. |
float |
rounding()
Returns the value of the
rounding field. |
NkStyleSelectable |
rounding(float value)
Sets the specified value to the
rounding field. |
NkStyleSelectable |
set(NkStyleItem normal,
NkStyleItem hover,
NkStyleItem pressed,
NkStyleItem normal_active,
NkStyleItem hover_active,
NkStyleItem pressed_active,
NkColor text_normal,
NkColor text_hover,
NkColor text_pressed,
NkColor text_normal_active,
NkColor text_hover_active,
NkColor text_pressed_active,
NkColor text_background,
int text_alignment,
float rounding,
NkVec2 padding,
NkVec2 touch_padding,
NkVec2 image_padding,
NkHandle userdata,
NkDrawBeginCallbackI draw_begin,
NkDrawEndCallbackI draw_end)
Initializes this struct with the specified values.
|
NkStyleSelectable |
set(NkStyleSelectable src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
text_alignment()
Returns the value of the
text_alignment field. |
NkStyleSelectable |
text_alignment(int value)
Sets the specified value to the
text_alignment field. |
NkColor |
text_background()
Returns a
NkColor view of the text_background field. |
NkStyleSelectable |
text_background(java.util.function.Consumer<NkColor> consumer)
Passes the
text_background field to the specified Consumer. |
NkStyleSelectable |
text_background(NkColor value)
Copies the specified
NkColor to the text_background field. |
NkColor |
text_hover_active()
Returns a
NkColor view of the text_hover_active field. |
NkStyleSelectable |
text_hover_active(java.util.function.Consumer<NkColor> consumer)
Passes the
text_hover_active field to the specified Consumer. |
NkStyleSelectable |
text_hover_active(NkColor value)
Copies the specified
NkColor to the text_hover_active field. |
NkColor |
text_hover()
Returns a
NkColor view of the text_hover field. |
NkStyleSelectable |
text_hover(java.util.function.Consumer<NkColor> consumer)
Passes the
text_hover field to the specified Consumer. |
NkStyleSelectable |
text_hover(NkColor value)
Copies the specified
NkColor to the text_hover field. |
NkColor |
text_normal_active()
Returns a
NkColor view of the text_normal_active field. |
NkStyleSelectable |
text_normal_active(java.util.function.Consumer<NkColor> consumer)
Passes the
text_normal_active field to the specified Consumer. |
NkStyleSelectable |
text_normal_active(NkColor value)
Copies the specified
NkColor to the text_normal_active field. |
NkColor |
text_normal()
Returns a
NkColor view of the text_normal field. |
NkStyleSelectable |
text_normal(java.util.function.Consumer<NkColor> consumer)
Passes the
text_normal field to the specified Consumer. |
NkStyleSelectable |
text_normal(NkColor value)
Copies the specified
NkColor to the text_normal field. |
NkColor |
text_pressed_active()
Returns a
NkColor view of the text_pressed_active field. |
NkStyleSelectable |
text_pressed_active(java.util.function.Consumer<NkColor> consumer)
Passes the
text_pressed_active field to the specified Consumer. |
NkStyleSelectable |
text_pressed_active(NkColor value)
Copies the specified
NkColor to the text_pressed_active field. |
NkColor |
text_pressed()
Returns a
NkColor view of the text_pressed field. |
NkStyleSelectable |
text_pressed(java.util.function.Consumer<NkColor> consumer)
Passes the
text_pressed field to the specified Consumer. |
NkStyleSelectable |
text_pressed(NkColor value)
Copies the specified
NkColor to the text_pressed field. |
NkVec2 |
touch_padding()
Returns a
NkVec2 view of the touch_padding field. |
NkStyleSelectable |
touch_padding(java.util.function.Consumer<NkVec2> consumer)
Passes the
touch_padding field to the specified Consumer. |
NkStyleSelectable |
touch_padding(NkVec2 value)
Copies the specified
NkVec2 to the touch_padding field. |
NkHandle |
userdata()
Returns a
NkHandle view of the userdata field. |
NkStyleSelectable |
userdata(java.util.function.Consumer<NkHandle> consumer)
Passes the
userdata field to the specified Consumer. |
NkStyleSelectable |
userdata(NkHandle value)
Copies the specified
NkHandle to the userdata 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 PRESSED
public static final int NORMAL_ACTIVE
public static final int HOVER_ACTIVE
public static final int PRESSED_ACTIVE
public static final int TEXT_NORMAL
public static final int TEXT_HOVER
public static final int TEXT_PRESSED
public static final int TEXT_NORMAL_ACTIVE
public static final int TEXT_HOVER_ACTIVE
public static final int TEXT_PRESSED_ACTIVE
public static final int TEXT_BACKGROUND
public static final int TEXT_ALIGNMENT
public static final int ROUNDING
public static final int PADDING
public static final int TOUCH_PADDING
public static final int IMAGE_PADDING
public static final int USERDATA
public static final int DRAW_BEGIN
public static final int DRAW_END
public NkStyleSelectable(java.nio.ByteBuffer container)
NkStyleSelectable 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 pressed()
NkStyleItem view of the pressed field.public NkStyleItem normal_active()
NkStyleItem view of the normal_active field.public NkStyleItem hover_active()
NkStyleItem view of the hover_active field.public NkStyleItem pressed_active()
NkStyleItem view of the pressed_active field.public NkColor text_normal_active()
NkColor view of the text_normal_active field.public NkColor text_hover_active()
NkColor view of the text_hover_active field.public NkColor text_pressed_active()
NkColor view of the text_pressed_active field.public NkColor text_background()
NkColor view of the text_background field.public int text_alignment()
text_alignment field.public float rounding()
rounding field.@Nullable public NkDrawBeginCallback draw_begin()
draw_begin field.@Nullable public NkDrawEndCallback draw_end()
draw_end field.public NkStyleSelectable normal(NkStyleItem value)
NkStyleItem to the normal field.public NkStyleSelectable normal(java.util.function.Consumer<NkStyleItem> consumer)
normal field to the specified Consumer.public NkStyleSelectable hover(NkStyleItem value)
NkStyleItem to the hover field.public NkStyleSelectable hover(java.util.function.Consumer<NkStyleItem> consumer)
hover field to the specified Consumer.public NkStyleSelectable pressed(NkStyleItem value)
NkStyleItem to the pressed field.public NkStyleSelectable pressed(java.util.function.Consumer<NkStyleItem> consumer)
pressed field to the specified Consumer.public NkStyleSelectable normal_active(NkStyleItem value)
NkStyleItem to the normal_active field.public NkStyleSelectable normal_active(java.util.function.Consumer<NkStyleItem> consumer)
normal_active field to the specified Consumer.public NkStyleSelectable hover_active(NkStyleItem value)
NkStyleItem to the hover_active field.public NkStyleSelectable hover_active(java.util.function.Consumer<NkStyleItem> consumer)
hover_active field to the specified Consumer.public NkStyleSelectable pressed_active(NkStyleItem value)
NkStyleItem to the pressed_active field.public NkStyleSelectable pressed_active(java.util.function.Consumer<NkStyleItem> consumer)
pressed_active field to the specified Consumer.public NkStyleSelectable text_normal(NkColor value)
NkColor to the text_normal field.public NkStyleSelectable text_normal(java.util.function.Consumer<NkColor> consumer)
text_normal field to the specified Consumer.public NkStyleSelectable text_hover(NkColor value)
NkColor to the text_hover field.public NkStyleSelectable text_hover(java.util.function.Consumer<NkColor> consumer)
text_hover field to the specified Consumer.public NkStyleSelectable text_pressed(NkColor value)
NkColor to the text_pressed field.public NkStyleSelectable text_pressed(java.util.function.Consumer<NkColor> consumer)
text_pressed field to the specified Consumer.public NkStyleSelectable text_normal_active(NkColor value)
NkColor to the text_normal_active field.public NkStyleSelectable text_normal_active(java.util.function.Consumer<NkColor> consumer)
text_normal_active field to the specified Consumer.public NkStyleSelectable text_hover_active(NkColor value)
NkColor to the text_hover_active field.public NkStyleSelectable text_hover_active(java.util.function.Consumer<NkColor> consumer)
text_hover_active field to the specified Consumer.public NkStyleSelectable text_pressed_active(NkColor value)
NkColor to the text_pressed_active field.public NkStyleSelectable text_pressed_active(java.util.function.Consumer<NkColor> consumer)
text_pressed_active field to the specified Consumer.public NkStyleSelectable text_background(NkColor value)
NkColor to the text_background field.public NkStyleSelectable text_background(java.util.function.Consumer<NkColor> consumer)
text_background field to the specified Consumer.public NkStyleSelectable text_alignment(int value)
text_alignment field.public NkStyleSelectable rounding(float value)
rounding field.public NkStyleSelectable padding(NkVec2 value)
NkVec2 to the padding field.public NkStyleSelectable padding(java.util.function.Consumer<NkVec2> consumer)
padding field to the specified Consumer.public NkStyleSelectable touch_padding(NkVec2 value)
NkVec2 to the touch_padding field.public NkStyleSelectable touch_padding(java.util.function.Consumer<NkVec2> consumer)
touch_padding field to the specified Consumer.public NkStyleSelectable image_padding(NkVec2 value)
NkVec2 to the image_padding field.public NkStyleSelectable image_padding(java.util.function.Consumer<NkVec2> consumer)
image_padding field to the specified Consumer.public NkStyleSelectable userdata(NkHandle value)
NkHandle to the userdata field.public NkStyleSelectable userdata(java.util.function.Consumer<NkHandle> consumer)
userdata field to the specified Consumer.public NkStyleSelectable draw_begin(@Nullable NkDrawBeginCallbackI value)
draw_begin field.public NkStyleSelectable draw_end(@Nullable NkDrawEndCallbackI value)
draw_end field.public NkStyleSelectable set(NkStyleItem normal, NkStyleItem hover, NkStyleItem pressed, NkStyleItem normal_active, NkStyleItem hover_active, NkStyleItem pressed_active, NkColor text_normal, NkColor text_hover, NkColor text_pressed, NkColor text_normal_active, NkColor text_hover_active, NkColor text_pressed_active, NkColor text_background, int text_alignment, float rounding, NkVec2 padding, NkVec2 touch_padding, NkVec2 image_padding, NkHandle userdata, NkDrawBeginCallbackI draw_begin, NkDrawEndCallbackI draw_end)
public NkStyleSelectable set(NkStyleSelectable src)
src - the source structpublic static NkStyleSelectable malloc()
NkStyleSelectable instance allocated with memAlloc. The instance must be explicitly freed.public static NkStyleSelectable calloc()
NkStyleSelectable instance allocated with memCalloc. The instance must be explicitly freed.public static NkStyleSelectable create()
NkStyleSelectable instance allocated with BufferUtils.public static NkStyleSelectable create(long address)
NkStyleSelectable instance for the specified memory address.@Nullable public static NkStyleSelectable createSafe(long address)
public static NkStyleSelectable.Buffer malloc(int capacity)
NkStyleSelectable.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static NkStyleSelectable.Buffer calloc(int capacity)
NkStyleSelectable.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static NkStyleSelectable.Buffer create(int capacity)
NkStyleSelectable.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static NkStyleSelectable.Buffer create(long address, int capacity)
NkStyleSelectable.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static NkStyleSelectable.Buffer createSafe(long address, int capacity)
public static NkStyleSelectable mallocStack()
NkStyleSelectable instance allocated on the thread-local MemoryStack.public static NkStyleSelectable callocStack()
NkStyleSelectable instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static NkStyleSelectable mallocStack(org.lwjgl.system.MemoryStack stack)
NkStyleSelectable instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static NkStyleSelectable callocStack(org.lwjgl.system.MemoryStack stack)
NkStyleSelectable instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static NkStyleSelectable.Buffer mallocStack(int capacity)
NkStyleSelectable.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static NkStyleSelectable.Buffer callocStack(int capacity)
NkStyleSelectable.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static NkStyleSelectable.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
NkStyleSelectable.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static NkStyleSelectable.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
NkStyleSelectable.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 npressed(long struct)
pressed().public static NkStyleItem nnormal_active(long struct)
normal_active().public static NkStyleItem nhover_active(long struct)
hover_active().public static NkStyleItem npressed_active(long struct)
pressed_active().public static NkColor ntext_normal(long struct)
text_normal().public static NkColor ntext_hover(long struct)
text_hover().public static NkColor ntext_pressed(long struct)
text_pressed().public static NkColor ntext_normal_active(long struct)
text_normal_active().public static NkColor ntext_hover_active(long struct)
text_hover_active().public static NkColor ntext_pressed_active(long struct)
text_pressed_active().public static NkColor ntext_background(long struct)
text_background().public static int ntext_alignment(long struct)
text_alignment().public static float nrounding(long struct)
rounding().public static NkVec2 ntouch_padding(long struct)
touch_padding().public static NkVec2 nimage_padding(long struct)
image_padding().public static NkHandle nuserdata(long struct)
userdata().@Nullable public static NkDrawBeginCallback ndraw_begin(long struct)
draw_begin().@Nullable public static NkDrawEndCallback ndraw_end(long struct)
draw_end().public static void nnormal(long struct,
NkStyleItem value)
normal.public static void nhover(long struct,
NkStyleItem value)
hover.public static void npressed(long struct,
NkStyleItem value)
pressed.public static void nnormal_active(long struct,
NkStyleItem value)
normal_active.public static void nhover_active(long struct,
NkStyleItem value)
hover_active.public static void npressed_active(long struct,
NkStyleItem value)
pressed_active.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_pressed(long struct,
NkColor value)
text_pressed.public static void ntext_normal_active(long struct,
NkColor value)
text_normal_active.public static void ntext_hover_active(long struct,
NkColor value)
text_hover_active.public static void ntext_pressed_active(long struct,
NkColor value)
text_pressed_active.public static void ntext_background(long struct,
NkColor value)
text_background.public static void ntext_alignment(long struct,
int value)
text_alignment.public static void nrounding(long struct,
float value)
rounding.public static void ntouch_padding(long struct,
NkVec2 value)
touch_padding.public static void nimage_padding(long struct,
NkVec2 value)
image_padding.public static void ndraw_begin(long struct,
@Nullable
NkDrawBeginCallbackI value)
draw_begin.public static void ndraw_end(long struct,
@Nullable
NkDrawEndCallbackI value)
draw_end.Copyright LWJGL. All Rights Reserved. License terms.