Package org.lwjgl.nuklear
Class NkStyleScrollbar
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.nuklear.NkStyleScrollbar
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,org.lwjgl.system.NativeResource
,org.lwjgl.system.Pointer
public class NkStyleScrollbar extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResource
Member documentation
inc_symbol
– one of:dec_symbol
– seeinc_symbol
Layout
struct nk_style_scrollbar {
struct nk_style_item
normal;struct nk_style_item
hover;struct nk_style_item
active;struct nk_color
border_color;struct nk_style_item
cursor_normal;struct nk_style_item
cursor_hover;struct nk_style_item
cursor_active;struct nk_color
cursor_border_color; float border; float rounding; float border_cursor; float rounding_cursor;struct nk_vec2
padding; 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; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NkStyleScrollbar.Buffer
An array ofNkStyleScrollbar
structs.
-
Field Summary
Fields Modifier and Type Field Description static int
ACTIVE
The struct member offsets.static int
ALIGNOF
The struct alignment in bytes.static int
BORDER
BORDER_COLOR
BORDER_CURSOR
CURSOR_ACTIVE
CURSOR_BORDER_COLOR
CURSOR_HOVER
CURSOR_NORMAL
DEC_BUTTON
DEC_SYMBOL
DRAW_BEGIN
DRAW_END
HOVER
INC_BUTTON
INC_SYMBOL
NORMAL
PADDING
ROUNDING
ROUNDING_CURSOR
SHOW_BUTTONSThe struct member offsets.static int
SIZEOF
The struct size in bytes.static int
USERDATA
The struct member offsets.
-
Constructor Summary
Constructors Constructor Description NkStyleScrollbar(java.nio.ByteBuffer container)
Creates aNkStyleScrollbar
instance at the current position of the specifiedByteBuffer
container.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description NkStyleItem
active()
Returns aNkStyleItem
view of theactive
field.NkStyleScrollbar
active(java.util.function.Consumer<NkStyleItem> consumer)
Passes theactive
field to the specifiedConsumer
.NkStyleScrollbar
active(NkStyleItem value)
Copies the specifiedNkStyleItem
to theactive
field.float
border()
Returns the value of theborder
field.NkStyleScrollbar
border(float value)
Sets the specified value to theborder
field.NkColor
border_color()
Returns aNkColor
view of theborder_color
field.NkStyleScrollbar
border_color(java.util.function.Consumer<NkColor> consumer)
Passes theborder_color
field to the specifiedConsumer
.NkStyleScrollbar
border_color(NkColor value)
Copies the specifiedNkColor
to theborder_color
field.float
border_cursor()
Returns the value of theborder_cursor
field.NkStyleScrollbar
border_cursor(float value)
Sets the specified value to theborder_cursor
field.static NkStyleScrollbar
calloc()
Returns a newNkStyleScrollbar
instance allocated withmemCalloc
.static NkStyleScrollbar.Buffer
calloc(int capacity)
Returns a newNkStyleScrollbar.Buffer
instance allocated withmemCalloc
.static NkStyleScrollbar
callocStack()
Returns a newNkStyleScrollbar
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static NkStyleScrollbar.Buffer
callocStack(int capacity)
Returns a newNkStyleScrollbar.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static NkStyleScrollbar.Buffer
callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newNkStyleScrollbar.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static NkStyleScrollbar
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newNkStyleScrollbar
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static NkStyleScrollbar
create()
Returns a newNkStyleScrollbar
instance allocated withBufferUtils
.static NkStyleScrollbar.Buffer
create(int capacity)
Returns a newNkStyleScrollbar.Buffer
instance allocated withBufferUtils
.static NkStyleScrollbar
create(long address)
Returns a newNkStyleScrollbar
instance for the specified memory address.static NkStyleScrollbar.Buffer
create(long address, int capacity)
Create aNkStyleScrollbar.Buffer
instance at the specified memory.static NkStyleScrollbar
createSafe(long address)
static NkStyleScrollbar.Buffer
createSafe(long address, int capacity)
NkStyleItem
cursor_active()
Returns aNkStyleItem
view of thecursor_active
field.NkStyleScrollbar
cursor_active(java.util.function.Consumer<NkStyleItem> consumer)
Passes thecursor_active
field to the specifiedConsumer
.NkStyleScrollbar
cursor_active(NkStyleItem value)
Copies the specifiedNkStyleItem
to thecursor_active
field.NkColor
cursor_border_color()
Returns aNkColor
view of thecursor_border_color
field.NkStyleScrollbar
cursor_border_color(java.util.function.Consumer<NkColor> consumer)
Passes thecursor_border_color
field to the specifiedConsumer
.NkStyleScrollbar
cursor_border_color(NkColor value)
Copies the specifiedNkColor
to thecursor_border_color
field.NkStyleItem
cursor_hover()
Returns aNkStyleItem
view of thecursor_hover
field.NkStyleScrollbar
cursor_hover(java.util.function.Consumer<NkStyleItem> consumer)
Passes thecursor_hover
field to the specifiedConsumer
.NkStyleScrollbar
cursor_hover(NkStyleItem value)
Copies the specifiedNkStyleItem
to thecursor_hover
field.NkStyleItem
cursor_normal()
Returns aNkStyleItem
view of thecursor_normal
field.NkStyleScrollbar
cursor_normal(java.util.function.Consumer<NkStyleItem> consumer)
Passes thecursor_normal
field to the specifiedConsumer
.NkStyleScrollbar
cursor_normal(NkStyleItem value)
Copies the specifiedNkStyleItem
to thecursor_normal
field.NkStyleButton
dec_button()
Returns aNkStyleButton
view of thedec_button
field.NkStyleScrollbar
dec_button(java.util.function.Consumer<NkStyleButton> consumer)
Passes thedec_button
field to the specifiedConsumer
.NkStyleScrollbar
dec_button(NkStyleButton value)
Copies the specifiedNkStyleButton
to thedec_button
field.int
dec_symbol()
Returns the value of thedec_symbol
field.NkStyleScrollbar
dec_symbol(int value)
Sets the specified value to thedec_symbol
field.NkDrawBeginCallback
draw_begin()
Returns the value of thedraw_begin
field.NkStyleScrollbar
draw_begin(NkDrawBeginCallbackI value)
Sets the specified value to thedraw_begin
field.NkDrawEndCallback
draw_end()
Returns the value of thedraw_end
field.NkStyleScrollbar
draw_end(NkDrawEndCallbackI value)
Sets the specified value to thedraw_end
field.NkStyleItem
hover()
Returns aNkStyleItem
view of thehover
field.NkStyleScrollbar
hover(java.util.function.Consumer<NkStyleItem> consumer)
Passes thehover
field to the specifiedConsumer
.NkStyleScrollbar
hover(NkStyleItem value)
Copies the specifiedNkStyleItem
to thehover
field.NkStyleButton
inc_button()
Returns aNkStyleButton
view of theinc_button
field.NkStyleScrollbar
inc_button(java.util.function.Consumer<NkStyleButton> consumer)
Passes theinc_button
field to the specifiedConsumer
.NkStyleScrollbar
inc_button(NkStyleButton value)
Copies the specifiedNkStyleButton
to theinc_button
field.int
inc_symbol()
Returns the value of theinc_symbol
field.NkStyleScrollbar
inc_symbol(int value)
Sets the specified value to theinc_symbol
field.static NkStyleScrollbar
malloc()
Returns a newNkStyleScrollbar
instance allocated withmemAlloc
.static NkStyleScrollbar.Buffer
malloc(int capacity)
Returns a newNkStyleScrollbar.Buffer
instance allocated withmemAlloc
.static NkStyleScrollbar
mallocStack()
Returns a newNkStyleScrollbar
instance allocated on the thread-localMemoryStack
.static NkStyleScrollbar.Buffer
mallocStack(int capacity)
Returns a newNkStyleScrollbar.Buffer
instance allocated on the thread-localMemoryStack
.static NkStyleScrollbar.Buffer
mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newNkStyleScrollbar.Buffer
instance allocated on the specifiedMemoryStack
.static NkStyleScrollbar
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newNkStyleScrollbar
instance allocated on the specifiedMemoryStack
.static NkStyleItem
nactive(long struct)
Unsafe version ofactive()
.static void
nactive(long struct, NkStyleItem value)
Unsafe version ofactive
.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
nborder_cursor(long struct)
Unsafe version ofborder_cursor()
.static void
nborder_cursor(long struct, float value)
Unsafe version ofborder_cursor
.static NkStyleItem
ncursor_active(long struct)
Unsafe version ofcursor_active()
.static void
ncursor_active(long struct, NkStyleItem value)
Unsafe version ofcursor_active
.static NkColor
ncursor_border_color(long struct)
Unsafe version ofcursor_border_color()
.static void
ncursor_border_color(long struct, NkColor value)
Unsafe version ofcursor_border_color
.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 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 NkDrawBeginCallback
ndraw_begin(long struct)
Unsafe version ofdraw_begin()
.static void
ndraw_begin(long struct, NkDrawBeginCallbackI value)
Unsafe version ofdraw_begin
.static NkDrawEndCallback
ndraw_end(long struct)
Unsafe version ofdraw_end()
.static void
ndraw_end(long struct, 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
.NkStyleItem
normal()
Returns aNkStyleItem
view of thenormal
field.NkStyleScrollbar
normal(java.util.function.Consumer<NkStyleItem> consumer)
Passes thenormal
field to the specifiedConsumer
.NkStyleScrollbar
normal(NkStyleItem value)
Copies the specifiedNkStyleItem
to thenormal
field.static NkVec2
npadding(long struct)
Unsafe version ofpadding()
.static void
npadding(long struct, NkVec2 value)
Unsafe version ofpadding
.static float
nrounding(long struct)
Unsafe version ofrounding()
.static void
nrounding(long struct, float value)
Unsafe version ofrounding
.static float
nrounding_cursor(long struct)
Unsafe version ofrounding_cursor()
.static void
nrounding_cursor(long struct, float value)
Unsafe version ofrounding_cursor
.static int
nshow_buttons(long struct)
Unsafe version ofshow_buttons()
.static void
nshow_buttons(long struct, int value)
Unsafe version ofshow_buttons
.static NkHandle
nuserdata(long struct)
Unsafe version ofuserdata()
.static void
nuserdata(long struct, NkHandle value)
Unsafe version ofuserdata
.NkVec2
padding()
Returns aNkVec2
view of thepadding
field.NkStyleScrollbar
padding(java.util.function.Consumer<NkVec2> consumer)
Passes thepadding
field to the specifiedConsumer
.NkStyleScrollbar
padding(NkVec2 value)
Copies the specifiedNkVec2
to thepadding
field.float
rounding()
Returns the value of therounding
field.NkStyleScrollbar
rounding(float value)
Sets the specified value to therounding
field.float
rounding_cursor()
Returns the value of therounding_cursor
field.NkStyleScrollbar
rounding_cursor(float value)
Sets the specified value to therounding_cursor
field.NkStyleScrollbar
set(NkStyleItem normal, NkStyleItem hover, NkStyleItem active, NkColor border_color, NkStyleItem cursor_normal, NkStyleItem cursor_hover, NkStyleItem cursor_active, NkColor cursor_border_color, float border, float rounding, float border_cursor, float rounding_cursor, NkVec2 padding, 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.NkStyleScrollbar
set(NkStyleScrollbar src)
Copies the specified struct data to this struct.int
show_buttons()
Returns the value of theshow_buttons
field.NkStyleScrollbar
show_buttons(int value)
Sets the specified value to theshow_buttons
field.int
sizeof()
NkHandle
userdata()
Returns aNkHandle
view of theuserdata
field.NkStyleScrollbar
userdata(java.util.function.Consumer<NkHandle> consumer)
Passes theuserdata
field to the specifiedConsumer
.NkStyleScrollbar
userdata(NkHandle value)
Copies the specifiedNkHandle
to theuserdata
field.
-
-
-
Field Detail
-
SIZEOF
The struct size in bytes.
-
ALIGNOF
The struct alignment in bytes.
-
NORMAL, HOVER, ACTIVE, BORDER_COLOR, CURSOR_NORMAL, CURSOR_HOVER, CURSOR_ACTIVE, CURSOR_BORDER_COLOR, BORDER, ROUNDING, BORDER_CURSOR, ROUNDING_CURSOR, PADDING, SHOW_BUTTONS, INC_BUTTON, DEC_BUTTON, INC_SYMBOL, DEC_SYMBOL, USERDATA, DRAW_BEGIN, DRAW_END
The struct member offsets.
-
-
Constructor Detail
-
NkStyleScrollbar
public NkStyleScrollbar(java.nio.ByteBuffer container)
Creates aNkStyleScrollbar
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 Detail
-
sizeof
public int sizeof()
- Specified by:
sizeof
in classorg.lwjgl.system.Struct
-
normal
public NkStyleItem normal()
Returns aNkStyleItem
view of thenormal
field.
-
hover
public NkStyleItem hover()
Returns aNkStyleItem
view of thehover
field.
-
active
public NkStyleItem active()
Returns aNkStyleItem
view of theactive
field.
-
cursor_normal
public NkStyleItem cursor_normal()
Returns aNkStyleItem
view of thecursor_normal
field.
-
cursor_hover
public NkStyleItem cursor_hover()
Returns aNkStyleItem
view of thecursor_hover
field.
-
cursor_active
public NkStyleItem cursor_active()
Returns aNkStyleItem
view of thecursor_active
field.
-
cursor_border_color
public NkColor cursor_border_color()
Returns aNkColor
view of thecursor_border_color
field.
-
border
public float border()
Returns the value of theborder
field.
-
rounding
public float rounding()
Returns the value of therounding
field.
-
border_cursor
public float border_cursor()
Returns the value of theborder_cursor
field.
-
rounding_cursor
public float rounding_cursor()
Returns the value of therounding_cursor
field.
-
show_buttons
public int show_buttons()
Returns the value of theshow_buttons
field.
-
inc_button
public NkStyleButton inc_button()
Returns aNkStyleButton
view of theinc_button
field.
-
dec_button
public NkStyleButton dec_button()
Returns aNkStyleButton
view of thedec_button
field.
-
inc_symbol
public int inc_symbol()
Returns the value of theinc_symbol
field.
-
dec_symbol
public int dec_symbol()
Returns the value of thedec_symbol
field.
-
draw_begin
@Nullable public NkDrawBeginCallback draw_begin()
Returns the value of thedraw_begin
field.
-
draw_end
@Nullable public NkDrawEndCallback draw_end()
Returns the value of thedraw_end
field.
-
normal
public NkStyleScrollbar normal(NkStyleItem value)
Copies the specifiedNkStyleItem
to thenormal
field.
-
normal
public NkStyleScrollbar normal(java.util.function.Consumer<NkStyleItem> consumer)
Passes thenormal
field to the specifiedConsumer
.
-
hover
public NkStyleScrollbar hover(NkStyleItem value)
Copies the specifiedNkStyleItem
to thehover
field.
-
hover
public NkStyleScrollbar hover(java.util.function.Consumer<NkStyleItem> consumer)
Passes thehover
field to the specifiedConsumer
.
-
active
public NkStyleScrollbar active(NkStyleItem value)
Copies the specifiedNkStyleItem
to theactive
field.
-
active
public NkStyleScrollbar active(java.util.function.Consumer<NkStyleItem> consumer)
Passes theactive
field to the specifiedConsumer
.
-
border_color
public NkStyleScrollbar border_color(NkColor value)
Copies the specifiedNkColor
to theborder_color
field.
-
border_color
public NkStyleScrollbar border_color(java.util.function.Consumer<NkColor> consumer)
Passes theborder_color
field to the specifiedConsumer
.
-
cursor_normal
public NkStyleScrollbar cursor_normal(NkStyleItem value)
Copies the specifiedNkStyleItem
to thecursor_normal
field.
-
cursor_normal
public NkStyleScrollbar cursor_normal(java.util.function.Consumer<NkStyleItem> consumer)
Passes thecursor_normal
field to the specifiedConsumer
.
-
cursor_hover
public NkStyleScrollbar cursor_hover(NkStyleItem value)
Copies the specifiedNkStyleItem
to thecursor_hover
field.
-
cursor_hover
public NkStyleScrollbar cursor_hover(java.util.function.Consumer<NkStyleItem> consumer)
Passes thecursor_hover
field to the specifiedConsumer
.
-
cursor_active
public NkStyleScrollbar cursor_active(NkStyleItem value)
Copies the specifiedNkStyleItem
to thecursor_active
field.
-
cursor_active
public NkStyleScrollbar cursor_active(java.util.function.Consumer<NkStyleItem> consumer)
Passes thecursor_active
field to the specifiedConsumer
.
-
cursor_border_color
public NkStyleScrollbar cursor_border_color(NkColor value)
Copies the specifiedNkColor
to thecursor_border_color
field.
-
cursor_border_color
public NkStyleScrollbar cursor_border_color(java.util.function.Consumer<NkColor> consumer)
Passes thecursor_border_color
field to the specifiedConsumer
.
-
border
public NkStyleScrollbar border(float value)
Sets the specified value to theborder
field.
-
rounding
public NkStyleScrollbar rounding(float value)
Sets the specified value to therounding
field.
-
border_cursor
public NkStyleScrollbar border_cursor(float value)
Sets the specified value to theborder_cursor
field.
-
rounding_cursor
public NkStyleScrollbar rounding_cursor(float value)
Sets the specified value to therounding_cursor
field.
-
padding
public NkStyleScrollbar padding(NkVec2 value)
Copies the specifiedNkVec2
to thepadding
field.
-
padding
public NkStyleScrollbar padding(java.util.function.Consumer<NkVec2> consumer)
Passes thepadding
field to the specifiedConsumer
.
-
show_buttons
public NkStyleScrollbar show_buttons(int value)
Sets the specified value to theshow_buttons
field.
-
inc_button
public NkStyleScrollbar inc_button(NkStyleButton value)
Copies the specifiedNkStyleButton
to theinc_button
field.
-
inc_button
public NkStyleScrollbar inc_button(java.util.function.Consumer<NkStyleButton> consumer)
Passes theinc_button
field to the specifiedConsumer
.
-
dec_button
public NkStyleScrollbar dec_button(NkStyleButton value)
Copies the specifiedNkStyleButton
to thedec_button
field.
-
dec_button
public NkStyleScrollbar dec_button(java.util.function.Consumer<NkStyleButton> consumer)
Passes thedec_button
field to the specifiedConsumer
.
-
inc_symbol
public NkStyleScrollbar inc_symbol(int value)
Sets the specified value to theinc_symbol
field.
-
dec_symbol
public NkStyleScrollbar dec_symbol(int value)
Sets the specified value to thedec_symbol
field.
-
userdata
public NkStyleScrollbar userdata(NkHandle value)
Copies the specifiedNkHandle
to theuserdata
field.
-
userdata
public NkStyleScrollbar userdata(java.util.function.Consumer<NkHandle> consumer)
Passes theuserdata
field to the specifiedConsumer
.
-
draw_begin
public NkStyleScrollbar draw_begin(@Nullable NkDrawBeginCallbackI value)
Sets the specified value to thedraw_begin
field.
-
draw_end
public NkStyleScrollbar draw_end(@Nullable NkDrawEndCallbackI value)
Sets the specified value to thedraw_end
field.
-
set
public NkStyleScrollbar set(NkStyleItem normal, NkStyleItem hover, NkStyleItem active, NkColor border_color, NkStyleItem cursor_normal, NkStyleItem cursor_hover, NkStyleItem cursor_active, NkColor cursor_border_color, float border, float rounding, float border_cursor, float rounding_cursor, NkVec2 padding, 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
public NkStyleScrollbar set(NkStyleScrollbar src)
Copies the specified struct data to this struct.- Parameters:
src
- the source struct- Returns:
- this struct
-
malloc
public static NkStyleScrollbar malloc()
Returns a newNkStyleScrollbar
instance allocated withmemAlloc
. The instance must be explicitly freed.
-
calloc
public static NkStyleScrollbar calloc()
Returns a newNkStyleScrollbar
instance allocated withmemCalloc
. The instance must be explicitly freed.
-
create
public static NkStyleScrollbar create()
Returns a newNkStyleScrollbar
instance allocated withBufferUtils
.
-
create
public static NkStyleScrollbar create(long address)
Returns a newNkStyleScrollbar
instance for the specified memory address.
-
createSafe
@Nullable public static NkStyleScrollbar createSafe(long address)
-
malloc
public static NkStyleScrollbar.Buffer malloc(int capacity)
Returns a newNkStyleScrollbar.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
public static NkStyleScrollbar.Buffer calloc(int capacity)
Returns a newNkStyleScrollbar.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
public static NkStyleScrollbar.Buffer create(int capacity)
Returns a newNkStyleScrollbar.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
public static NkStyleScrollbar.Buffer create(long address, int capacity)
Create aNkStyleScrollbar.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
@Nullable public static NkStyleScrollbar.Buffer createSafe(long address, int capacity)
-
mallocStack
public static NkStyleScrollbar mallocStack()
Returns a newNkStyleScrollbar
instance allocated on the thread-localMemoryStack
.
-
callocStack
public static NkStyleScrollbar callocStack()
Returns a newNkStyleScrollbar
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.
-
mallocStack
public static NkStyleScrollbar mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newNkStyleScrollbar
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
callocStack
public static NkStyleScrollbar callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newNkStyleScrollbar
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
mallocStack
public static NkStyleScrollbar.Buffer mallocStack(int capacity)
Returns a newNkStyleScrollbar.Buffer
instance allocated on the thread-localMemoryStack
.- Parameters:
capacity
- the buffer capacity
-
callocStack
public static NkStyleScrollbar.Buffer callocStack(int capacity)
Returns a newNkStyleScrollbar.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacity
-
mallocStack
public static NkStyleScrollbar.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newNkStyleScrollbar.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocatecapacity
- the buffer capacity
-
callocStack
public static NkStyleScrollbar.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newNkStyleScrollbar.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocatecapacity
- the buffer capacity
-
nnormal
public static NkStyleItem nnormal(long struct)
Unsafe version ofnormal()
.
-
nhover
public static NkStyleItem nhover(long struct)
Unsafe version ofhover()
.
-
nactive
public static NkStyleItem nactive(long struct)
Unsafe version ofactive()
.
-
nborder_color
public static NkColor nborder_color(long struct)
Unsafe version ofborder_color()
.
-
ncursor_normal
public static NkStyleItem ncursor_normal(long struct)
Unsafe version ofcursor_normal()
.
-
ncursor_hover
public static NkStyleItem ncursor_hover(long struct)
Unsafe version ofcursor_hover()
.
-
ncursor_active
public static NkStyleItem ncursor_active(long struct)
Unsafe version ofcursor_active()
.
-
ncursor_border_color
public static NkColor ncursor_border_color(long struct)
Unsafe version ofcursor_border_color()
.
-
nborder
public static float nborder(long struct)
Unsafe version ofborder()
.
-
nrounding
public static float nrounding(long struct)
Unsafe version ofrounding()
.
-
nborder_cursor
public static float nborder_cursor(long struct)
Unsafe version ofborder_cursor()
.
-
nrounding_cursor
public static float nrounding_cursor(long struct)
Unsafe version ofrounding_cursor()
.
-
nshow_buttons
public static int nshow_buttons(long struct)
Unsafe version ofshow_buttons()
.
-
ninc_button
public static NkStyleButton ninc_button(long struct)
Unsafe version ofinc_button()
.
-
ndec_button
public static NkStyleButton ndec_button(long struct)
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
public static NkHandle nuserdata(long struct)
Unsafe version ofuserdata()
.
-
ndraw_begin
@Nullable public static NkDrawBeginCallback ndraw_begin(long struct)
Unsafe version ofdraw_begin()
.
-
ndraw_end
@Nullable public static NkDrawEndCallback ndraw_end(long struct)
Unsafe version ofdraw_end()
.
-
nnormal
public static void nnormal(long struct, NkStyleItem value)
Unsafe version ofnormal
.
-
nhover
public static void nhover(long struct, NkStyleItem value)
Unsafe version ofhover
.
-
nactive
public static void nactive(long struct, NkStyleItem value)
Unsafe version ofactive
.
-
nborder_color
public static void nborder_color(long struct, NkColor value)
Unsafe version ofborder_color
.
-
ncursor_normal
public static void ncursor_normal(long struct, NkStyleItem value)
Unsafe version ofcursor_normal
.
-
ncursor_hover
public static void ncursor_hover(long struct, NkStyleItem value)
Unsafe version ofcursor_hover
.
-
ncursor_active
public static void ncursor_active(long struct, NkStyleItem value)
Unsafe version ofcursor_active
.
-
ncursor_border_color
public static void ncursor_border_color(long struct, NkColor value)
Unsafe version ofcursor_border_color
.
-
nborder
public static void nborder(long struct, float value)
Unsafe version ofborder
.
-
nrounding
public static void nrounding(long struct, float value)
Unsafe version ofrounding
.
-
nborder_cursor
public static void nborder_cursor(long struct, float value)
Unsafe version ofborder_cursor
.
-
nrounding_cursor
public static void nrounding_cursor(long struct, float value)
Unsafe version ofrounding_cursor
.
-
nshow_buttons
public static void nshow_buttons(long struct, int value)
Unsafe version ofshow_buttons
.
-
ninc_button
public static void ninc_button(long struct, NkStyleButton value)
Unsafe version ofinc_button
.
-
ndec_button
public static void ndec_button(long struct, NkStyleButton value)
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
.
-
ndraw_begin
public static void ndraw_begin(long struct, @Nullable NkDrawBeginCallbackI value)
Unsafe version ofdraw_begin
.
-
ndraw_end
public static void ndraw_end(long struct, @Nullable NkDrawEndCallbackI value)
Unsafe version ofdraw_end
.
-
-