public class NkStyleSlider
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
inc_symbol – one of:dec_symbol – see inc_symbol
struct nk_style_slider {
struct nk_style_item normal;
struct nk_style_item hover;
struct nk_style_item active;
struct nk_color border_color;
struct nk_color bar_normal;
struct nk_color bar_hover;
struct nk_color bar_active;
struct nk_color bar_filled;
struct nk_style_item cursor_normal;
struct nk_style_item cursor_hover;
struct nk_style_item cursor_active;
float border;
float rounding;
float bar_height;
struct nk_vec2 padding;
struct nk_vec2 spacing;
struct nk_vec2 cursor_size;
int show_buttons;
struct nk_style_button inc_button;
struct nk_style_button dec_button;
enum nk_symbol_type inc_symbol;
enum nk_symbol_type dec_symbol;
nk_handle userdata;
nk_draw_begin draw_begin;
nk_draw_end draw_end;
}| Modifier and Type | Class and Description |
|---|---|
static class |
NkStyleSlider.Buffer
An array of
NkStyleSlider structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ACTIVE
The struct member offsets.
|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
BAR_ACTIVE
The struct member offsets.
|
static int |
BAR_FILLED
The struct member offsets.
|
static int |
BAR_HEIGHT
The struct member offsets.
|
static int |
BAR_HOVER
The struct member offsets.
|
static int |
BAR_NORMAL
The struct member offsets.
|
static int |
BORDER
The struct member offsets.
|
static int |
BORDER_COLOR
The struct member offsets.
|
static int |
CURSOR_ACTIVE
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 |
DEC_BUTTON
The struct member offsets.
|
static int |
DEC_SYMBOL
The struct member offsets.
|
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 |
INC_BUTTON
The struct member offsets.
|
static int |
INC_SYMBOL
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 |
SHOW_BUTTONS
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
SPACING
The struct member offsets.
|
static int |
USERDATA
The struct member offsets.
|
| Constructor and Description |
|---|
NkStyleSlider(java.nio.ByteBuffer container)
Creates a
NkStyleSlider 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. |
NkStyleSlider |
active(java.util.function.Consumer<NkStyleItem> consumer)
Passes the
active field to the specified Consumer. |
NkStyleSlider |
active(NkStyleItem value)
Copies the specified
NkStyleItem to the active field. |
NkColor |
bar_active()
Returns a
NkColor view of the bar_active field. |
NkStyleSlider |
bar_active(java.util.function.Consumer<NkColor> consumer)
Passes the
bar_active field to the specified Consumer. |
NkStyleSlider |
bar_active(NkColor value)
Copies the specified
NkColor to the bar_active field. |
NkColor |
bar_filled()
Returns a
NkColor view of the bar_filled field. |
NkStyleSlider |
bar_filled(java.util.function.Consumer<NkColor> consumer)
Passes the
bar_filled field to the specified Consumer. |
NkStyleSlider |
bar_filled(NkColor value)
Copies the specified
NkColor to the bar_filled field. |
float |
bar_height()
Returns the value of the
bar_height field. |
NkStyleSlider |
bar_height(float value)
Sets the specified value to the
bar_height field. |
NkColor |
bar_hover()
Returns a
NkColor view of the bar_hover field. |
NkStyleSlider |
bar_hover(java.util.function.Consumer<NkColor> consumer)
Passes the
bar_hover field to the specified Consumer. |
NkStyleSlider |
bar_hover(NkColor value)
Copies the specified
NkColor to the bar_hover field. |
NkColor |
bar_normal()
Returns a
NkColor view of the bar_normal field. |
NkStyleSlider |
bar_normal(java.util.function.Consumer<NkColor> consumer)
Passes the
bar_normal field to the specified Consumer. |
NkStyleSlider |
bar_normal(NkColor value)
Copies the specified
NkColor to the bar_normal field. |
NkColor |
border_color()
Returns a
NkColor view of the border_color field. |
NkStyleSlider |
border_color(java.util.function.Consumer<NkColor> consumer)
Passes the
border_color field to the specified Consumer. |
NkStyleSlider |
border_color(NkColor value)
Copies the specified
NkColor to the border_color field. |
float |
border()
Returns the value of the
border field. |
NkStyleSlider |
border(float value)
Sets the specified value to the
border field. |
static NkStyleSlider |
calloc()
Returns a new
NkStyleSlider instance allocated with memCalloc. |
static NkStyleSlider.Buffer |
calloc(int capacity)
Returns a new
NkStyleSlider.Buffer instance allocated with memCalloc. |
static NkStyleSlider |
callocStack()
Returns a new
NkStyleSlider instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static NkStyleSlider.Buffer |
callocStack(int capacity)
Returns a new
NkStyleSlider.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static NkStyleSlider.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
NkStyleSlider.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static NkStyleSlider |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
NkStyleSlider instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static NkStyleSlider |
create()
Returns a new
NkStyleSlider instance allocated with BufferUtils. |
static NkStyleSlider.Buffer |
create(int capacity)
Returns a new
NkStyleSlider.Buffer instance allocated with BufferUtils. |
static NkStyleSlider |
create(long address)
Returns a new
NkStyleSlider instance for the specified memory address. |
static NkStyleSlider.Buffer |
create(long address,
int capacity)
Create a
NkStyleSlider.Buffer instance at the specified memory. |
static NkStyleSlider |
createSafe(long address)
|
static NkStyleSlider.Buffer |
createSafe(long address,
int capacity)
|
NkStyleItem |
cursor_active()
Returns a
NkStyleItem view of the cursor_active field. |
NkStyleSlider |
cursor_active(java.util.function.Consumer<NkStyleItem> consumer)
Passes the
cursor_active field to the specified Consumer. |
NkStyleSlider |
cursor_active(NkStyleItem value)
Copies the specified
NkStyleItem to the cursor_active field. |
NkStyleItem |
cursor_hover()
Returns a
NkStyleItem view of the cursor_hover field. |
NkStyleSlider |
cursor_hover(java.util.function.Consumer<NkStyleItem> consumer)
Passes the
cursor_hover field to the specified Consumer. |
NkStyleSlider |
cursor_hover(NkStyleItem value)
Copies the specified
NkStyleItem to the cursor_hover field. |
NkStyleItem |
cursor_normal()
Returns a
NkStyleItem view of the cursor_normal field. |
NkStyleSlider |
cursor_normal(java.util.function.Consumer<NkStyleItem> consumer)
Passes the
cursor_normal field to the specified Consumer. |
NkStyleSlider |
cursor_normal(NkStyleItem value)
Copies the specified
NkStyleItem to the cursor_normal field. |
NkVec2 |
cursor_size()
Returns a
NkVec2 view of the cursor_size field. |
NkStyleSlider |
cursor_size(java.util.function.Consumer<NkVec2> consumer)
Passes the
cursor_size field to the specified Consumer. |
NkStyleSlider |
cursor_size(NkVec2 value)
Copies the specified
NkVec2 to the cursor_size field. |
NkStyleButton |
dec_button()
Returns a
NkStyleButton view of the dec_button field. |
NkStyleSlider |
dec_button(java.util.function.Consumer<NkStyleButton> consumer)
Passes the
dec_button field to the specified Consumer. |
NkStyleSlider |
dec_button(NkStyleButton value)
Copies the specified
NkStyleButton to the dec_button field. |
int |
dec_symbol()
Returns the value of the
dec_symbol field. |
NkStyleSlider |
dec_symbol(int value)
Sets the specified value to the
dec_symbol field. |
NkDrawBeginCallback |
draw_begin()
Returns the value of the
draw_begin field. |
NkStyleSlider |
draw_begin(NkDrawBeginCallbackI value)
Sets the specified value to the
draw_begin field. |
NkDrawEndCallback |
draw_end()
Returns the value of the
draw_end field. |
NkStyleSlider |
draw_end(NkDrawEndCallbackI value)
Sets the specified value to the
draw_end field. |
NkStyleItem |
hover()
Returns a
NkStyleItem view of the hover field. |
NkStyleSlider |
hover(java.util.function.Consumer<NkStyleItem> consumer)
Passes the
hover field to the specified Consumer. |
NkStyleSlider |
hover(NkStyleItem value)
Copies the specified
NkStyleItem to the hover field. |
NkStyleButton |
inc_button()
Returns a
NkStyleButton view of the inc_button field. |
NkStyleSlider |
inc_button(java.util.function.Consumer<NkStyleButton> consumer)
Passes the
inc_button field to the specified Consumer. |
NkStyleSlider |
inc_button(NkStyleButton value)
Copies the specified
NkStyleButton to the inc_button field. |
int |
inc_symbol()
Returns the value of the
inc_symbol field. |
NkStyleSlider |
inc_symbol(int value)
Sets the specified value to the
inc_symbol field. |
static NkStyleSlider |
malloc()
Returns a new
NkStyleSlider instance allocated with memAlloc. |
static NkStyleSlider.Buffer |
malloc(int capacity)
Returns a new
NkStyleSlider.Buffer instance allocated with memAlloc. |
static NkStyleSlider |
mallocStack()
Returns a new
NkStyleSlider instance allocated on the thread-local MemoryStack. |
static NkStyleSlider.Buffer |
mallocStack(int capacity)
Returns a new
NkStyleSlider.Buffer instance allocated on the thread-local MemoryStack. |
static NkStyleSlider.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
NkStyleSlider.Buffer instance allocated on the specified MemoryStack. |
static NkStyleSlider |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
NkStyleSlider 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 |
nbar_active(long struct)
Unsafe version of
bar_active(). |
static void |
nbar_active(long struct,
NkColor value)
Unsafe version of
bar_active. |
static NkColor |
nbar_filled(long struct)
Unsafe version of
bar_filled(). |
static void |
nbar_filled(long struct,
NkColor value)
Unsafe version of
bar_filled. |
static float |
nbar_height(long struct)
Unsafe version of
bar_height(). |
static void |
nbar_height(long struct,
float value)
Unsafe version of
bar_height. |
static NkColor |
nbar_hover(long struct)
Unsafe version of
bar_hover(). |
static void |
nbar_hover(long struct,
NkColor value)
Unsafe version of
bar_hover. |
static NkColor |
nbar_normal(long struct)
Unsafe version of
bar_normal(). |
static void |
nbar_normal(long struct,
NkColor value)
Unsafe version of
bar_normal. |
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 NkStyleItem |
ncursor_active(long struct)
Unsafe version of
cursor_active(). |
static void |
ncursor_active(long struct,
NkStyleItem value)
Unsafe version of
cursor_active. |
static NkStyleItem |
ncursor_hover(long struct)
Unsafe version of
cursor_hover(). |
static void |
ncursor_hover(long struct,
NkStyleItem value)
Unsafe version of
cursor_hover. |
static NkStyleItem |
ncursor_normal(long struct)
Unsafe version of
cursor_normal(). |
static void |
ncursor_normal(long struct,
NkStyleItem value)
Unsafe version of
cursor_normal. |
static NkVec2 |
ncursor_size(long struct)
Unsafe version of
cursor_size(). |
static void |
ncursor_size(long struct,
NkVec2 value)
Unsafe version of
cursor_size. |
static NkStyleButton |
ndec_button(long struct)
Unsafe version of
dec_button(). |
static void |
ndec_button(long struct,
NkStyleButton value)
Unsafe version of
dec_button. |
static int |
ndec_symbol(long struct)
Unsafe version of
dec_symbol(). |
static void |
ndec_symbol(long struct,
int value)
Unsafe version of
dec_symbol. |
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(long struct)
Unsafe version of
hover(). |
static void |
nhover(long struct,
NkStyleItem value)
Unsafe version of
hover. |
static NkStyleButton |
ninc_button(long struct)
Unsafe version of
inc_button(). |
static void |
ninc_button(long struct,
NkStyleButton value)
Unsafe version of
inc_button. |
static int |
ninc_symbol(long struct)
Unsafe version of
inc_symbol(). |
static void |
ninc_symbol(long struct,
int value)
Unsafe version of
inc_symbol. |
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. |
NkStyleSlider |
normal(java.util.function.Consumer<NkStyleItem> consumer)
Passes the
normal field to the specified Consumer. |
NkStyleSlider |
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 int |
nshow_buttons(long struct)
Unsafe version of
show_buttons(). |
static void |
nshow_buttons(long struct,
int value)
Unsafe version of
show_buttons. |
static NkVec2 |
nspacing(long struct)
Unsafe version of
spacing(). |
static void |
nspacing(long struct,
NkVec2 value)
Unsafe version of
spacing. |
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. |
NkStyleSlider |
padding(java.util.function.Consumer<NkVec2> consumer)
Passes the
padding field to the specified Consumer. |
NkStyleSlider |
padding(NkVec2 value)
Copies the specified
NkVec2 to the padding field. |
float |
rounding()
Returns the value of the
rounding field. |
NkStyleSlider |
rounding(float value)
Sets the specified value to the
rounding field. |
NkStyleSlider |
set(NkStyleItem normal,
NkStyleItem hover,
NkStyleItem active,
NkColor border_color,
NkColor bar_normal,
NkColor bar_hover,
NkColor bar_active,
NkColor bar_filled,
NkStyleItem cursor_normal,
NkStyleItem cursor_hover,
NkStyleItem cursor_active,
float border,
float rounding,
float bar_height,
NkVec2 padding,
NkVec2 spacing,
NkVec2 cursor_size,
int show_buttons,
NkStyleButton inc_button,
NkStyleButton dec_button,
int inc_symbol,
int dec_symbol,
NkHandle userdata,
NkDrawBeginCallbackI draw_begin,
NkDrawEndCallbackI draw_end)
Initializes this struct with the specified values.
|
NkStyleSlider |
set(NkStyleSlider src)
Copies the specified struct data to this struct.
|
int |
show_buttons()
Returns the value of the
show_buttons field. |
NkStyleSlider |
show_buttons(int value)
Sets the specified value to the
show_buttons field. |
int |
sizeof() |
NkVec2 |
spacing()
Returns a
NkVec2 view of the spacing field. |
NkStyleSlider |
spacing(java.util.function.Consumer<NkVec2> consumer)
Passes the
spacing field to the specified Consumer. |
NkStyleSlider |
spacing(NkVec2 value)
Copies the specified
NkVec2 to the spacing field. |
NkHandle |
userdata()
Returns a
NkHandle view of the userdata field. |
NkStyleSlider |
userdata(java.util.function.Consumer<NkHandle> consumer)
Passes the
userdata field to the specified Consumer. |
NkStyleSlider |
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 ACTIVE
public static final int BORDER_COLOR
public static final int BAR_NORMAL
public static final int BAR_HOVER
public static final int BAR_ACTIVE
public static final int BAR_FILLED
public static final int CURSOR_NORMAL
public static final int CURSOR_HOVER
public static final int CURSOR_ACTIVE
public static final int BORDER
public static final int ROUNDING
public static final int BAR_HEIGHT
public static final int PADDING
public static final int SPACING
public static final int CURSOR_SIZE
public static final int SHOW_BUTTONS
public static final int INC_BUTTON
public static final int DEC_BUTTON
public static final int INC_SYMBOL
public static final int DEC_SYMBOL
public static final int USERDATA
public static final int DRAW_BEGIN
public static final int DRAW_END
public NkStyleSlider(java.nio.ByteBuffer container)
NkStyleSlider 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 NkStyleItem cursor_normal()
NkStyleItem view of the cursor_normal field.public NkStyleItem cursor_hover()
NkStyleItem view of the cursor_hover field.public NkStyleItem cursor_active()
NkStyleItem view of the cursor_active field.public float border()
border field.public float rounding()
rounding field.public float bar_height()
bar_height field.public int show_buttons()
show_buttons field.public NkStyleButton inc_button()
NkStyleButton view of the inc_button field.public NkStyleButton dec_button()
NkStyleButton view of the dec_button field.public int inc_symbol()
inc_symbol field.public int dec_symbol()
dec_symbol field.@Nullable public NkDrawBeginCallback draw_begin()
draw_begin field.@Nullable public NkDrawEndCallback draw_end()
draw_end field.public NkStyleSlider normal(NkStyleItem value)
NkStyleItem to the normal field.public NkStyleSlider normal(java.util.function.Consumer<NkStyleItem> consumer)
normal field to the specified Consumer.public NkStyleSlider hover(NkStyleItem value)
NkStyleItem to the hover field.public NkStyleSlider hover(java.util.function.Consumer<NkStyleItem> consumer)
hover field to the specified Consumer.public NkStyleSlider active(NkStyleItem value)
NkStyleItem to the active field.public NkStyleSlider active(java.util.function.Consumer<NkStyleItem> consumer)
active field to the specified Consumer.public NkStyleSlider border_color(NkColor value)
NkColor to the border_color field.public NkStyleSlider border_color(java.util.function.Consumer<NkColor> consumer)
border_color field to the specified Consumer.public NkStyleSlider bar_normal(NkColor value)
NkColor to the bar_normal field.public NkStyleSlider bar_normal(java.util.function.Consumer<NkColor> consumer)
bar_normal field to the specified Consumer.public NkStyleSlider bar_hover(NkColor value)
NkColor to the bar_hover field.public NkStyleSlider bar_hover(java.util.function.Consumer<NkColor> consumer)
bar_hover field to the specified Consumer.public NkStyleSlider bar_active(NkColor value)
NkColor to the bar_active field.public NkStyleSlider bar_active(java.util.function.Consumer<NkColor> consumer)
bar_active field to the specified Consumer.public NkStyleSlider bar_filled(NkColor value)
NkColor to the bar_filled field.public NkStyleSlider bar_filled(java.util.function.Consumer<NkColor> consumer)
bar_filled field to the specified Consumer.public NkStyleSlider cursor_normal(NkStyleItem value)
NkStyleItem to the cursor_normal field.public NkStyleSlider cursor_normal(java.util.function.Consumer<NkStyleItem> consumer)
cursor_normal field to the specified Consumer.public NkStyleSlider cursor_hover(NkStyleItem value)
NkStyleItem to the cursor_hover field.public NkStyleSlider cursor_hover(java.util.function.Consumer<NkStyleItem> consumer)
cursor_hover field to the specified Consumer.public NkStyleSlider cursor_active(NkStyleItem value)
NkStyleItem to the cursor_active field.public NkStyleSlider cursor_active(java.util.function.Consumer<NkStyleItem> consumer)
cursor_active field to the specified Consumer.public NkStyleSlider border(float value)
border field.public NkStyleSlider rounding(float value)
rounding field.public NkStyleSlider bar_height(float value)
bar_height field.public NkStyleSlider padding(NkVec2 value)
NkVec2 to the padding field.public NkStyleSlider padding(java.util.function.Consumer<NkVec2> consumer)
padding field to the specified Consumer.public NkStyleSlider spacing(NkVec2 value)
NkVec2 to the spacing field.public NkStyleSlider spacing(java.util.function.Consumer<NkVec2> consumer)
spacing field to the specified Consumer.public NkStyleSlider cursor_size(NkVec2 value)
NkVec2 to the cursor_size field.public NkStyleSlider cursor_size(java.util.function.Consumer<NkVec2> consumer)
cursor_size field to the specified Consumer.public NkStyleSlider show_buttons(int value)
show_buttons field.public NkStyleSlider inc_button(NkStyleButton value)
NkStyleButton to the inc_button field.public NkStyleSlider inc_button(java.util.function.Consumer<NkStyleButton> consumer)
inc_button field to the specified Consumer.public NkStyleSlider dec_button(NkStyleButton value)
NkStyleButton to the dec_button field.public NkStyleSlider dec_button(java.util.function.Consumer<NkStyleButton> consumer)
dec_button field to the specified Consumer.public NkStyleSlider inc_symbol(int value)
inc_symbol field.public NkStyleSlider dec_symbol(int value)
dec_symbol field.public NkStyleSlider userdata(NkHandle value)
NkHandle to the userdata field.public NkStyleSlider userdata(java.util.function.Consumer<NkHandle> consumer)
userdata field to the specified Consumer.public NkStyleSlider draw_begin(@Nullable NkDrawBeginCallbackI value)
draw_begin field.public NkStyleSlider draw_end(@Nullable NkDrawEndCallbackI value)
draw_end field.public NkStyleSlider set(NkStyleItem normal, NkStyleItem hover, NkStyleItem active, NkColor border_color, NkColor bar_normal, NkColor bar_hover, NkColor bar_active, NkColor bar_filled, NkStyleItem cursor_normal, NkStyleItem cursor_hover, NkStyleItem cursor_active, float border, float rounding, float bar_height, NkVec2 padding, NkVec2 spacing, NkVec2 cursor_size, int show_buttons, NkStyleButton inc_button, NkStyleButton dec_button, int inc_symbol, int dec_symbol, NkHandle userdata, NkDrawBeginCallbackI draw_begin, NkDrawEndCallbackI draw_end)
public NkStyleSlider set(NkStyleSlider src)
src - the source structpublic static NkStyleSlider malloc()
NkStyleSlider instance allocated with memAlloc. The instance must be explicitly freed.public static NkStyleSlider calloc()
NkStyleSlider instance allocated with memCalloc. The instance must be explicitly freed.public static NkStyleSlider create()
NkStyleSlider instance allocated with BufferUtils.public static NkStyleSlider create(long address)
NkStyleSlider instance for the specified memory address.@Nullable public static NkStyleSlider createSafe(long address)
public static NkStyleSlider.Buffer malloc(int capacity)
NkStyleSlider.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static NkStyleSlider.Buffer calloc(int capacity)
NkStyleSlider.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static NkStyleSlider.Buffer create(int capacity)
NkStyleSlider.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static NkStyleSlider.Buffer create(long address, int capacity)
NkStyleSlider.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static NkStyleSlider.Buffer createSafe(long address, int capacity)
public static NkStyleSlider mallocStack()
NkStyleSlider instance allocated on the thread-local MemoryStack.public static NkStyleSlider callocStack()
NkStyleSlider instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static NkStyleSlider mallocStack(org.lwjgl.system.MemoryStack stack)
NkStyleSlider instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static NkStyleSlider callocStack(org.lwjgl.system.MemoryStack stack)
NkStyleSlider instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static NkStyleSlider.Buffer mallocStack(int capacity)
NkStyleSlider.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static NkStyleSlider.Buffer callocStack(int capacity)
NkStyleSlider.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static NkStyleSlider.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
NkStyleSlider.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static NkStyleSlider.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
NkStyleSlider.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 NkColor nbar_normal(long struct)
bar_normal().public static NkColor nbar_hover(long struct)
bar_hover().public static NkColor nbar_active(long struct)
bar_active().public static NkColor nbar_filled(long struct)
bar_filled().public static NkStyleItem ncursor_normal(long struct)
cursor_normal().public static NkStyleItem ncursor_hover(long struct)
cursor_hover().public static NkStyleItem ncursor_active(long struct)
cursor_active().public static float nborder(long struct)
border().public static float nrounding(long struct)
rounding().public static float nbar_height(long struct)
bar_height().public static NkVec2 ncursor_size(long struct)
cursor_size().public static int nshow_buttons(long struct)
show_buttons().public static NkStyleButton ninc_button(long struct)
inc_button().public static NkStyleButton ndec_button(long struct)
dec_button().public static int ninc_symbol(long struct)
inc_symbol().public static int ndec_symbol(long struct)
dec_symbol().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 nactive(long struct,
NkStyleItem value)
active.public static void nborder_color(long struct,
NkColor value)
border_color.public static void nbar_normal(long struct,
NkColor value)
bar_normal.public static void nbar_active(long struct,
NkColor value)
bar_active.public static void nbar_filled(long struct,
NkColor value)
bar_filled.public static void ncursor_normal(long struct,
NkStyleItem value)
cursor_normal.public static void ncursor_hover(long struct,
NkStyleItem value)
cursor_hover.public static void ncursor_active(long struct,
NkStyleItem value)
cursor_active.public static void nborder(long struct,
float value)
border.public static void nrounding(long struct,
float value)
rounding.public static void nbar_height(long struct,
float value)
bar_height.public static void ncursor_size(long struct,
NkVec2 value)
cursor_size.public static void nshow_buttons(long struct,
int value)
show_buttons.public static void ninc_button(long struct,
NkStyleButton value)
inc_button.public static void ndec_button(long struct,
NkStyleButton value)
dec_button.public static void ninc_symbol(long struct,
int value)
inc_symbol.public static void ndec_symbol(long struct,
int value)
dec_symbol.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.