Package org.lwjgl.nuklear
Class NkStyleSlider
- All Implemented Interfaces:
AutoCloseable
,NativeResource
,Pointer
struct nk_style_slider {
{@link NkStyleItem struct nk_style_item} normal;
{@link NkStyleItem struct nk_style_item} hover;
{@link NkStyleItem struct nk_style_item} active;
{@link NkColor struct nk_color} border_color;
{@link NkColor struct nk_color} bar_normal;
{@link NkColor struct nk_color} bar_hover;
{@link NkColor struct nk_color} bar_active;
{@link NkColor struct nk_color} bar_filled;
{@link NkStyleItem struct nk_style_item} cursor_normal;
{@link NkStyleItem struct nk_style_item} cursor_hover;
{@link NkStyleItem struct nk_style_item} cursor_active;
float border;
float rounding;
float bar_height;
{@link NkVec2 struct nk_vec2} padding;
{@link NkVec2 struct nk_vec2} spacing;
{@link NkVec2 struct nk_vec2} cursor_size;
float color_factor;
float disabled_factor;
int show_buttons;
{@link NkStyleButton struct nk_style_button} inc_button;
{@link NkStyleButton struct nk_style_button} dec_button;
enum nk_symbol_type inc_symbol;
enum nk_symbol_type dec_symbol;
{@link NkHandle nk_handle} userdata;
{@link NkDrawBeginCallbackI nk_draw_begin} draw_begin;
{@link NkDrawEndCallbackI nk_draw_end} draw_end;
}
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidation
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The struct member offsets.static final int
The struct alignment in bytes.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct size in bytes.static final int
The struct member offsets.static final int
The struct member offsets.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionNkStyleSlider
(ByteBuffer container) Creates aNkStyleSlider
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptionactive()
active
(Consumer<NkStyleItem> consumer) Passes theactive
field to the specifiedConsumer
.active
(NkStyleItem value) Copies the specifiedNkStyleItem
to theactive
field.bar_active
(Consumer<NkColor> consumer) Passes thebar_active
field to the specifiedConsumer
.bar_active
(NkColor value) Copies the specifiedNkColor
to thebar_active
field.bar_filled
(Consumer<NkColor> consumer) Passes thebar_filled
field to the specifiedConsumer
.bar_filled
(NkColor value) Copies the specifiedNkColor
to thebar_filled
field.float
bar_height
(float value) Sets the specified value to thebar_height
field.Passes thebar_hover
field to the specifiedConsumer
.Copies the specifiedNkColor
to thebar_hover
field.bar_normal
(Consumer<NkColor> consumer) Passes thebar_normal
field to the specifiedConsumer
.bar_normal
(NkColor value) Copies the specifiedNkColor
to thebar_normal
field.float
border()
border
(float value) Sets the specified value to theborder
field.border_color
(Consumer<NkColor> consumer) Passes theborder_color
field to the specifiedConsumer
.border_color
(NkColor value) Copies the specifiedNkColor
to theborder_color
field.static NkStyleSlider
calloc()
Returns a newNkStyleSlider
instance allocated withmemCalloc
.static NkStyleSlider.Buffer
calloc
(int capacity) Returns a newNkStyleSlider.Buffer
instance allocated withmemCalloc
.static NkStyleSlider.Buffer
calloc
(int capacity, MemoryStack stack) Returns a newNkStyleSlider.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static NkStyleSlider
calloc
(MemoryStack stack) Returns a newNkStyleSlider
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static NkStyleSlider
Deprecated.static NkStyleSlider.Buffer
callocStack
(int capacity) Deprecated.static NkStyleSlider.Buffer
callocStack
(int capacity, MemoryStack stack) Deprecated.static NkStyleSlider
callocStack
(MemoryStack stack) Deprecated.float
color_factor
(float value) Sets the specified value to thecolor_factor
field.static NkStyleSlider
create()
Returns a newNkStyleSlider
instance allocated withBufferUtils
.static NkStyleSlider.Buffer
create
(int capacity) Returns a newNkStyleSlider.Buffer
instance allocated withBufferUtils
.static NkStyleSlider
create
(long address) Returns a newNkStyleSlider
instance for the specified memory address.static NkStyleSlider.Buffer
create
(long address, int capacity) Create aNkStyleSlider.Buffer
instance at the specified memory.static @Nullable NkStyleSlider
createSafe
(long address) static @Nullable NkStyleSlider.Buffer
createSafe
(long address, int capacity) cursor_active
(Consumer<NkStyleItem> consumer) Passes thecursor_active
field to the specifiedConsumer
.cursor_active
(NkStyleItem value) Copies the specifiedNkStyleItem
to thecursor_active
field.cursor_hover
(Consumer<NkStyleItem> consumer) Passes thecursor_hover
field to the specifiedConsumer
.cursor_hover
(NkStyleItem value) Copies the specifiedNkStyleItem
to thecursor_hover
field.cursor_normal
(Consumer<NkStyleItem> consumer) Passes thecursor_normal
field to the specifiedConsumer
.cursor_normal
(NkStyleItem value) Copies the specifiedNkStyleItem
to thecursor_normal
field.cursor_size
(Consumer<NkVec2> consumer) Passes thecursor_size
field to the specifiedConsumer
.cursor_size
(NkVec2 value) Copies the specifiedNkVec2
to thecursor_size
field.dec_button
(Consumer<NkStyleButton> consumer) Passes thedec_button
field to the specifiedConsumer
.dec_button
(NkStyleButton value) Copies the specifiedNkStyleButton
to thedec_button
field.int
dec_symbol
(int value) Sets the specified value to thedec_symbol
field.float
disabled_factor
(float value) Sets the specified value to thedisabled_factor
field.@Nullable NkDrawBeginCallback
draw_begin
(@Nullable NkDrawBeginCallbackI value) Sets the specified value to thedraw_begin
field.@Nullable NkDrawEndCallback
draw_end()
draw_end
(@Nullable NkDrawEndCallbackI value) Sets the specified value to thedraw_end
field.hover()
hover
(Consumer<NkStyleItem> consumer) Passes thehover
field to the specifiedConsumer
.hover
(NkStyleItem value) Copies the specifiedNkStyleItem
to thehover
field.inc_button
(Consumer<NkStyleButton> consumer) Passes theinc_button
field to the specifiedConsumer
.inc_button
(NkStyleButton value) Copies the specifiedNkStyleButton
to theinc_button
field.int
inc_symbol
(int value) Sets the specified value to theinc_symbol
field.static NkStyleSlider
malloc()
Returns a newNkStyleSlider
instance allocated withmemAlloc
.static NkStyleSlider.Buffer
malloc
(int capacity) Returns a newNkStyleSlider.Buffer
instance allocated withmemAlloc
.static NkStyleSlider.Buffer
malloc
(int capacity, MemoryStack stack) Returns a newNkStyleSlider.Buffer
instance allocated on the specifiedMemoryStack
.static NkStyleSlider
malloc
(MemoryStack stack) Returns a newNkStyleSlider
instance allocated on the specifiedMemoryStack
.static NkStyleSlider
Deprecated.static NkStyleSlider.Buffer
mallocStack
(int capacity) Deprecated.static NkStyleSlider.Buffer
mallocStack
(int capacity, MemoryStack stack) Deprecated.static NkStyleSlider
mallocStack
(MemoryStack stack) Deprecated.static NkStyleItem
nactive
(long struct) Unsafe version ofactive()
.static void
nactive
(long struct, NkStyleItem value) Unsafe version ofactive
.static NkColor
nbar_active
(long struct) Unsafe version ofbar_active()
.static void
nbar_active
(long struct, NkColor value) Unsafe version ofbar_active
.static NkColor
nbar_filled
(long struct) Unsafe version ofbar_filled()
.static void
nbar_filled
(long struct, NkColor value) Unsafe version ofbar_filled
.static float
nbar_height
(long struct) Unsafe version ofbar_height()
.static void
nbar_height
(long struct, float value) Unsafe version ofbar_height
.static NkColor
nbar_hover
(long struct) Unsafe version ofbar_hover()
.static void
nbar_hover
(long struct, NkColor value) Unsafe version ofbar_hover
.static NkColor
nbar_normal
(long struct) Unsafe version ofbar_normal()
.static void
nbar_normal
(long struct, NkColor value) Unsafe version ofbar_normal
.static float
nborder
(long struct) Unsafe version ofborder()
.static void
nborder
(long struct, float value) Unsafe version ofborder
.static NkColor
nborder_color
(long struct) Unsafe version ofborder_color()
.static void
nborder_color
(long struct, NkColor value) Unsafe version ofborder_color
.static float
ncolor_factor
(long struct) Unsafe version ofcolor_factor()
.static void
ncolor_factor
(long struct, float value) Unsafe version ofcolor_factor
.static NkStyleItem
ncursor_active
(long struct) Unsafe version ofcursor_active()
.static void
ncursor_active
(long struct, NkStyleItem value) Unsafe version ofcursor_active
.static NkStyleItem
ncursor_hover
(long struct) Unsafe version ofcursor_hover()
.static void
ncursor_hover
(long struct, NkStyleItem value) Unsafe version ofcursor_hover
.static NkStyleItem
ncursor_normal
(long struct) Unsafe version ofcursor_normal()
.static void
ncursor_normal
(long struct, NkStyleItem value) Unsafe version ofcursor_normal
.static NkVec2
ncursor_size
(long struct) Unsafe version ofcursor_size()
.static void
ncursor_size
(long struct, NkVec2 value) Unsafe version ofcursor_size
.static NkStyleButton
ndec_button
(long struct) Unsafe version ofdec_button()
.static void
ndec_button
(long struct, NkStyleButton value) Unsafe version ofdec_button
.static int
ndec_symbol
(long struct) Unsafe version ofdec_symbol()
.static void
ndec_symbol
(long struct, int value) Unsafe version ofdec_symbol
.static float
ndisabled_factor
(long struct) Unsafe version ofdisabled_factor()
.static void
ndisabled_factor
(long struct, float value) Unsafe version ofdisabled_factor
.static @Nullable NkDrawBeginCallback
ndraw_begin
(long struct) Unsafe version ofdraw_begin()
.static void
ndraw_begin
(long struct, @Nullable NkDrawBeginCallbackI value) Unsafe version ofdraw_begin
.static @Nullable NkDrawEndCallback
ndraw_end
(long struct) Unsafe version ofdraw_end()
.static void
ndraw_end
(long struct, @Nullable NkDrawEndCallbackI value) Unsafe version ofdraw_end
.static NkStyleItem
nhover
(long struct) Unsafe version ofhover()
.static void
nhover
(long struct, NkStyleItem value) Unsafe version ofhover
.static NkStyleButton
ninc_button
(long struct) Unsafe version ofinc_button()
.static void
ninc_button
(long struct, NkStyleButton value) Unsafe version ofinc_button
.static int
ninc_symbol
(long struct) Unsafe version ofinc_symbol()
.static void
ninc_symbol
(long struct, int value) Unsafe version ofinc_symbol
.static NkStyleItem
nnormal
(long struct) Unsafe version ofnormal()
.static void
nnormal
(long struct, NkStyleItem value) Unsafe version ofnormal
.normal()
normal
(Consumer<NkStyleItem> consumer) Passes thenormal
field to the specifiedConsumer
.normal
(NkStyleItem value) Copies the specifiedNkStyleItem
to thenormal
field.static NkVec2
npadding
(long struct) Unsafe version ofpadding()
.static void
Unsafe version ofpadding
.static float
nrounding
(long struct) Unsafe version ofrounding()
.static void
nrounding
(long struct, float value) Unsafe version ofrounding
.static int
nshow_buttons
(long struct) Unsafe version ofshow_buttons()
.static void
nshow_buttons
(long struct, int value) Unsafe version ofshow_buttons
.static NkVec2
nspacing
(long struct) Unsafe version ofspacing()
.static void
Unsafe version ofspacing
.static NkHandle
nuserdata
(long struct) Unsafe version ofuserdata()
.static void
Unsafe version ofuserdata
.padding()
Passes thepadding
field to the specifiedConsumer
.Copies the specifiedNkVec2
to thepadding
field.float
rounding()
rounding
(float value) Sets the specified value to therounding
field.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, float color_factor, float disabled_factor, 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.set
(NkStyleSlider src) Copies the specified struct data to this struct.int
show_buttons
(int value) Sets the specified value to theshow_buttons
field.int
sizeof()
Returnssizeof(struct)
.spacing()
Passes thespacing
field to the specifiedConsumer
.Copies the specifiedNkVec2
to thespacing
field.userdata()
Passes theuserdata
field to the specifiedConsumer
.Copies the specifiedNkHandle
to theuserdata
field.Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toString
Methods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
NORMAL
public static final int NORMALThe struct member offsets. -
HOVER
public static final int HOVERThe struct member offsets. -
ACTIVE
public static final int ACTIVEThe struct member offsets. -
BORDER_COLOR
public static final int BORDER_COLORThe struct member offsets. -
BAR_NORMAL
public static final int BAR_NORMALThe struct member offsets. -
BAR_HOVER
public static final int BAR_HOVERThe struct member offsets. -
BAR_ACTIVE
public static final int BAR_ACTIVEThe struct member offsets. -
BAR_FILLED
public static final int BAR_FILLEDThe struct member offsets. -
CURSOR_NORMAL
public static final int CURSOR_NORMALThe struct member offsets. -
CURSOR_HOVER
public static final int CURSOR_HOVERThe struct member offsets. -
CURSOR_ACTIVE
public static final int CURSOR_ACTIVEThe struct member offsets. -
BORDER
public static final int BORDERThe struct member offsets. -
ROUNDING
public static final int ROUNDINGThe struct member offsets. -
BAR_HEIGHT
public static final int BAR_HEIGHTThe struct member offsets. -
PADDING
public static final int PADDINGThe struct member offsets. -
SPACING
public static final int SPACINGThe struct member offsets. -
CURSOR_SIZE
public static final int CURSOR_SIZEThe struct member offsets. -
COLOR_FACTOR
public static final int COLOR_FACTORThe struct member offsets. -
DISABLED_FACTOR
public static final int DISABLED_FACTORThe struct member offsets. -
SHOW_BUTTONS
public static final int SHOW_BUTTONSThe struct member offsets. -
INC_BUTTON
public static final int INC_BUTTONThe struct member offsets. -
DEC_BUTTON
public static final int DEC_BUTTONThe struct member offsets. -
INC_SYMBOL
public static final int INC_SYMBOLThe struct member offsets. -
DEC_SYMBOL
public static final int DEC_SYMBOLThe struct member offsets. -
USERDATA
public static final int USERDATAThe struct member offsets. -
DRAW_BEGIN
public static final int DRAW_BEGINThe struct member offsets. -
DRAW_END
public static final int DRAW_ENDThe struct member offsets.
-
-
Constructor Details
-
NkStyleSlider
Creates aNkStyleSlider
instance at the current position of the specifiedByteBuffer
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.
-
-
Method Details
-
sizeof
public int sizeof()Description copied from class:Struct
Returnssizeof(struct)
.- Specified by:
sizeof
in classStruct<NkStyleSlider>
-
normal
- Returns:
- a
NkStyleItem
view of thenormal
field.
-
hover
- Returns:
- a
NkStyleItem
view of thehover
field.
-
active
- Returns:
- a
NkStyleItem
view of theactive
field.
-
border_color
- Returns:
- a
NkColor
view of theborder_color
field.
-
bar_normal
- Returns:
- a
NkColor
view of thebar_normal
field.
-
bar_hover
- Returns:
- a
NkColor
view of thebar_hover
field.
-
bar_active
- Returns:
- a
NkColor
view of thebar_active
field.
-
bar_filled
- Returns:
- a
NkColor
view of thebar_filled
field.
-
cursor_normal
- Returns:
- a
NkStyleItem
view of thecursor_normal
field.
-
cursor_hover
- Returns:
- a
NkStyleItem
view of thecursor_hover
field.
-
cursor_active
- Returns:
- a
NkStyleItem
view of thecursor_active
field.
-
border
public float border()- Returns:
- the value of the
border
field.
-
rounding
public float rounding()- Returns:
- the value of the
rounding
field.
-
bar_height
public float bar_height()- Returns:
- the value of the
bar_height
field.
-
padding
- Returns:
- a
NkVec2
view of thepadding
field.
-
spacing
- Returns:
- a
NkVec2
view of thespacing
field.
-
cursor_size
- Returns:
- a
NkVec2
view of thecursor_size
field.
-
color_factor
public float color_factor()- Returns:
- the value of the
color_factor
field.
-
disabled_factor
public float disabled_factor()- Returns:
- the value of the
disabled_factor
field.
-
show_buttons
public int show_buttons()- Returns:
- the value of the
show_buttons
field.
-
inc_button
- Returns:
- a
NkStyleButton
view of theinc_button
field.
-
dec_button
- Returns:
- a
NkStyleButton
view of thedec_button
field.
-
inc_symbol
public int inc_symbol()- Returns:
- the value of the
inc_symbol
field.
-
dec_symbol
public int dec_symbol()- Returns:
- the value of the
dec_symbol
field.
-
userdata
- Returns:
- a
NkHandle
view of theuserdata
field.
-
draw_begin
- Returns:
- the value of the
draw_begin
field.
-
draw_end
- Returns:
- the value of the
draw_end
field.
-
normal
Copies the specifiedNkStyleItem
to thenormal
field. -
normal
Passes thenormal
field to the specifiedConsumer
. -
hover
Copies the specifiedNkStyleItem
to thehover
field. -
hover
Passes thehover
field to the specifiedConsumer
. -
active
Copies the specifiedNkStyleItem
to theactive
field. -
active
Passes theactive
field to the specifiedConsumer
. -
border_color
Copies the specifiedNkColor
to theborder_color
field. -
border_color
Passes theborder_color
field to the specifiedConsumer
. -
bar_normal
Copies the specifiedNkColor
to thebar_normal
field. -
bar_normal
Passes thebar_normal
field to the specifiedConsumer
. -
bar_hover
Copies the specifiedNkColor
to thebar_hover
field. -
bar_hover
Passes thebar_hover
field to the specifiedConsumer
. -
bar_active
Copies the specifiedNkColor
to thebar_active
field. -
bar_active
Passes thebar_active
field to the specifiedConsumer
. -
bar_filled
Copies the specifiedNkColor
to thebar_filled
field. -
bar_filled
Passes thebar_filled
field to the specifiedConsumer
. -
cursor_normal
Copies the specifiedNkStyleItem
to thecursor_normal
field. -
cursor_normal
Passes thecursor_normal
field to the specifiedConsumer
. -
cursor_hover
Copies the specifiedNkStyleItem
to thecursor_hover
field. -
cursor_hover
Passes thecursor_hover
field to the specifiedConsumer
. -
cursor_active
Copies the specifiedNkStyleItem
to thecursor_active
field. -
cursor_active
Passes thecursor_active
field to the specifiedConsumer
. -
border
Sets the specified value to theborder
field. -
rounding
Sets the specified value to therounding
field. -
bar_height
Sets the specified value to thebar_height
field. -
padding
Copies the specifiedNkVec2
to thepadding
field. -
padding
Passes thepadding
field to the specifiedConsumer
. -
spacing
Copies the specifiedNkVec2
to thespacing
field. -
spacing
Passes thespacing
field to the specifiedConsumer
. -
cursor_size
Copies the specifiedNkVec2
to thecursor_size
field. -
cursor_size
Passes thecursor_size
field to the specifiedConsumer
. -
color_factor
Sets the specified value to thecolor_factor
field. -
disabled_factor
Sets the specified value to thedisabled_factor
field. -
show_buttons
Sets the specified value to theshow_buttons
field. -
inc_button
Copies the specifiedNkStyleButton
to theinc_button
field. -
inc_button
Passes theinc_button
field to the specifiedConsumer
. -
dec_button
Copies the specifiedNkStyleButton
to thedec_button
field. -
dec_button
Passes thedec_button
field to the specifiedConsumer
. -
inc_symbol
Sets the specified value to theinc_symbol
field. -
dec_symbol
Sets the specified value to thedec_symbol
field. -
userdata
Copies the specifiedNkHandle
to theuserdata
field. -
userdata
Passes theuserdata
field to the specifiedConsumer
. -
draw_begin
Sets the specified value to thedraw_begin
field. -
draw_end
Sets the specified value to thedraw_end
field. -
set
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, float color_factor, float disabled_factor, 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. -
set
Copies the specified struct data to this struct.- Parameters:
src
- the source struct- Returns:
- this struct
-
malloc
Returns a newNkStyleSlider
instance allocated withmemAlloc
. The instance must be explicitly freed. -
calloc
Returns a newNkStyleSlider
instance allocated withmemCalloc
. The instance must be explicitly freed. -
create
Returns a newNkStyleSlider
instance allocated withBufferUtils
. -
create
Returns a newNkStyleSlider
instance for the specified memory address. -
createSafe
-
malloc
Returns a newNkStyleSlider.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
Returns a newNkStyleSlider.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
Returns a newNkStyleSlider.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
Create aNkStyleSlider.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
-
mallocStack
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)
instead. -
callocStack
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)
instead. -
mallocStack
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)
instead. -
callocStack
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)
instead. -
mallocStack
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)
instead. -
callocStack
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)
instead. -
mallocStack
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)
instead. -
callocStack
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)
instead. -
malloc
Returns a newNkStyleSlider
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
calloc
Returns a newNkStyleSlider
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
malloc
Returns a newNkStyleSlider.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
calloc
Returns a newNkStyleSlider.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
nnormal
Unsafe version ofnormal()
. -
nhover
Unsafe version ofhover()
. -
nactive
Unsafe version ofactive()
. -
nborder_color
Unsafe version ofborder_color()
. -
nbar_normal
Unsafe version ofbar_normal()
. -
nbar_hover
Unsafe version ofbar_hover()
. -
nbar_active
Unsafe version ofbar_active()
. -
nbar_filled
Unsafe version ofbar_filled()
. -
ncursor_normal
Unsafe version ofcursor_normal()
. -
ncursor_hover
Unsafe version ofcursor_hover()
. -
ncursor_active
Unsafe version ofcursor_active()
. -
nborder
public static float nborder(long struct) Unsafe version ofborder()
. -
nrounding
public static float nrounding(long struct) Unsafe version ofrounding()
. -
nbar_height
public static float nbar_height(long struct) Unsafe version ofbar_height()
. -
npadding
Unsafe version ofpadding()
. -
nspacing
Unsafe version ofspacing()
. -
ncursor_size
Unsafe version ofcursor_size()
. -
ncolor_factor
public static float ncolor_factor(long struct) Unsafe version ofcolor_factor()
. -
ndisabled_factor
public static float ndisabled_factor(long struct) Unsafe version ofdisabled_factor()
. -
nshow_buttons
public static int nshow_buttons(long struct) Unsafe version ofshow_buttons()
. -
ninc_button
Unsafe version ofinc_button()
. -
ndec_button
Unsafe version ofdec_button()
. -
ninc_symbol
public static int ninc_symbol(long struct) Unsafe version ofinc_symbol()
. -
ndec_symbol
public static int ndec_symbol(long struct) Unsafe version ofdec_symbol()
. -
nuserdata
Unsafe version ofuserdata()
. -
ndraw_begin
Unsafe version ofdraw_begin()
. -
ndraw_end
Unsafe version ofdraw_end()
. -
nnormal
Unsafe version ofnormal
. -
nhover
Unsafe version ofhover
. -
nactive
Unsafe version ofactive
. -
nborder_color
Unsafe version ofborder_color
. -
nbar_normal
Unsafe version ofbar_normal
. -
nbar_hover
Unsafe version ofbar_hover
. -
nbar_active
Unsafe version ofbar_active
. -
nbar_filled
Unsafe version ofbar_filled
. -
ncursor_normal
Unsafe version ofcursor_normal
. -
ncursor_hover
Unsafe version ofcursor_hover
. -
ncursor_active
Unsafe version ofcursor_active
. -
nborder
public static void nborder(long struct, float value) Unsafe version ofborder
. -
nrounding
public static void nrounding(long struct, float value) Unsafe version ofrounding
. -
nbar_height
public static void nbar_height(long struct, float value) Unsafe version ofbar_height
. -
npadding
Unsafe version ofpadding
. -
nspacing
Unsafe version ofspacing
. -
ncursor_size
Unsafe version ofcursor_size
. -
ncolor_factor
public static void ncolor_factor(long struct, float value) Unsafe version ofcolor_factor
. -
ndisabled_factor
public static void ndisabled_factor(long struct, float value) Unsafe version ofdisabled_factor
. -
nshow_buttons
public static void nshow_buttons(long struct, int value) Unsafe version ofshow_buttons
. -
ninc_button
Unsafe version ofinc_button
. -
ndec_button
Unsafe version ofdec_button
. -
ninc_symbol
public static void ninc_symbol(long struct, int value) Unsafe version ofinc_symbol
. -
ndec_symbol
public static void ndec_symbol(long struct, int value) Unsafe version ofdec_symbol
. -
nuserdata
Unsafe version ofuserdata
. -
ndraw_begin
Unsafe version ofdraw_begin
. -
ndraw_end
Unsafe version ofdraw_end
.
-