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.NativeResourceMember documentation
inc_symbol– one of:dec_symbol– seeinc_symbol
Layout
struct nk_style_scrollbar {struct nk_style_itemnormal;struct nk_style_itemhover;struct nk_style_itemactive;struct nk_colorborder_color;struct nk_style_itemcursor_normal;struct nk_style_itemcursor_hover;struct nk_style_itemcursor_active;struct nk_colorcursor_border_color; float border; float rounding; float border_cursor; float rounding_cursor;struct nk_vec2padding; int show_buttons;struct nk_style_buttoninc_button;struct nk_style_buttondec_button; enum nk_symbol_type inc_symbol; enum nk_symbol_type dec_symbol;nk_handleuserdata;nk_draw_begindraw_begin;nk_draw_enddraw_end; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNkStyleScrollbar.BufferAn array ofNkStyleScrollbarstructs.
-
Field Summary
Fields Modifier and Type Field Description static intACTIVEThe struct member offsets.static intALIGNOFThe struct alignment in bytes.static intBORDER
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 intSIZEOFThe struct size in bytes.static intUSERDATAThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description NkStyleScrollbar(java.nio.ByteBuffer container)Creates aNkStyleScrollbarinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description NkStyleItemactive()Returns aNkStyleItemview of theactivefield.NkStyleScrollbaractive(java.util.function.Consumer<NkStyleItem> consumer)Passes theactivefield to the specifiedConsumer.NkStyleScrollbaractive(NkStyleItem value)Copies the specifiedNkStyleItemto theactivefield.floatborder()Returns the value of theborderfield.NkStyleScrollbarborder(float value)Sets the specified value to theborderfield.NkColorborder_color()Returns aNkColorview of theborder_colorfield.NkStyleScrollbarborder_color(java.util.function.Consumer<NkColor> consumer)Passes theborder_colorfield to the specifiedConsumer.NkStyleScrollbarborder_color(NkColor value)Copies the specifiedNkColorto theborder_colorfield.floatborder_cursor()Returns the value of theborder_cursorfield.NkStyleScrollbarborder_cursor(float value)Sets the specified value to theborder_cursorfield.static NkStyleScrollbarcalloc()Returns a newNkStyleScrollbarinstance allocated withmemCalloc.static NkStyleScrollbar.Buffercalloc(int capacity)Returns a newNkStyleScrollbar.Bufferinstance allocated withmemCalloc.static NkStyleScrollbarcallocStack()Returns a newNkStyleScrollbarinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static NkStyleScrollbar.BuffercallocStack(int capacity)Returns a newNkStyleScrollbar.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static NkStyleScrollbar.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newNkStyleScrollbar.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static NkStyleScrollbarcallocStack(org.lwjgl.system.MemoryStack stack)Returns a newNkStyleScrollbarinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static NkStyleScrollbarcreate()Returns a newNkStyleScrollbarinstance allocated withBufferUtils.static NkStyleScrollbar.Buffercreate(int capacity)Returns a newNkStyleScrollbar.Bufferinstance allocated withBufferUtils.static NkStyleScrollbarcreate(long address)Returns a newNkStyleScrollbarinstance for the specified memory address.static NkStyleScrollbar.Buffercreate(long address, int capacity)Create aNkStyleScrollbar.Bufferinstance at the specified memory.static NkStyleScrollbarcreateSafe(long address)static NkStyleScrollbar.BuffercreateSafe(long address, int capacity)NkStyleItemcursor_active()Returns aNkStyleItemview of thecursor_activefield.NkStyleScrollbarcursor_active(java.util.function.Consumer<NkStyleItem> consumer)Passes thecursor_activefield to the specifiedConsumer.NkStyleScrollbarcursor_active(NkStyleItem value)Copies the specifiedNkStyleItemto thecursor_activefield.NkColorcursor_border_color()Returns aNkColorview of thecursor_border_colorfield.NkStyleScrollbarcursor_border_color(java.util.function.Consumer<NkColor> consumer)Passes thecursor_border_colorfield to the specifiedConsumer.NkStyleScrollbarcursor_border_color(NkColor value)Copies the specifiedNkColorto thecursor_border_colorfield.NkStyleItemcursor_hover()Returns aNkStyleItemview of thecursor_hoverfield.NkStyleScrollbarcursor_hover(java.util.function.Consumer<NkStyleItem> consumer)Passes thecursor_hoverfield to the specifiedConsumer.NkStyleScrollbarcursor_hover(NkStyleItem value)Copies the specifiedNkStyleItemto thecursor_hoverfield.NkStyleItemcursor_normal()Returns aNkStyleItemview of thecursor_normalfield.NkStyleScrollbarcursor_normal(java.util.function.Consumer<NkStyleItem> consumer)Passes thecursor_normalfield to the specifiedConsumer.NkStyleScrollbarcursor_normal(NkStyleItem value)Copies the specifiedNkStyleItemto thecursor_normalfield.NkStyleButtondec_button()Returns aNkStyleButtonview of thedec_buttonfield.NkStyleScrollbardec_button(java.util.function.Consumer<NkStyleButton> consumer)Passes thedec_buttonfield to the specifiedConsumer.NkStyleScrollbardec_button(NkStyleButton value)Copies the specifiedNkStyleButtonto thedec_buttonfield.intdec_symbol()Returns the value of thedec_symbolfield.NkStyleScrollbardec_symbol(int value)Sets the specified value to thedec_symbolfield.NkDrawBeginCallbackdraw_begin()Returns the value of thedraw_beginfield.NkStyleScrollbardraw_begin(NkDrawBeginCallbackI value)Sets the specified value to thedraw_beginfield.NkDrawEndCallbackdraw_end()Returns the value of thedraw_endfield.NkStyleScrollbardraw_end(NkDrawEndCallbackI value)Sets the specified value to thedraw_endfield.NkStyleItemhover()Returns aNkStyleItemview of thehoverfield.NkStyleScrollbarhover(java.util.function.Consumer<NkStyleItem> consumer)Passes thehoverfield to the specifiedConsumer.NkStyleScrollbarhover(NkStyleItem value)Copies the specifiedNkStyleItemto thehoverfield.NkStyleButtoninc_button()Returns aNkStyleButtonview of theinc_buttonfield.NkStyleScrollbarinc_button(java.util.function.Consumer<NkStyleButton> consumer)Passes theinc_buttonfield to the specifiedConsumer.NkStyleScrollbarinc_button(NkStyleButton value)Copies the specifiedNkStyleButtonto theinc_buttonfield.intinc_symbol()Returns the value of theinc_symbolfield.NkStyleScrollbarinc_symbol(int value)Sets the specified value to theinc_symbolfield.static NkStyleScrollbarmalloc()Returns a newNkStyleScrollbarinstance allocated withmemAlloc.static NkStyleScrollbar.Buffermalloc(int capacity)Returns a newNkStyleScrollbar.Bufferinstance allocated withmemAlloc.static NkStyleScrollbarmallocStack()Returns a newNkStyleScrollbarinstance allocated on the thread-localMemoryStack.static NkStyleScrollbar.BuffermallocStack(int capacity)Returns a newNkStyleScrollbar.Bufferinstance allocated on the thread-localMemoryStack.static NkStyleScrollbar.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newNkStyleScrollbar.Bufferinstance allocated on the specifiedMemoryStack.static NkStyleScrollbarmallocStack(org.lwjgl.system.MemoryStack stack)Returns a newNkStyleScrollbarinstance allocated on the specifiedMemoryStack.static NkStyleItemnactive(long struct)Unsafe version ofactive().static voidnactive(long struct, NkStyleItem value)Unsafe version ofactive.static floatnborder(long struct)Unsafe version ofborder().static voidnborder(long struct, float value)Unsafe version ofborder.static NkColornborder_color(long struct)Unsafe version ofborder_color().static voidnborder_color(long struct, NkColor value)Unsafe version ofborder_color.static floatnborder_cursor(long struct)Unsafe version ofborder_cursor().static voidnborder_cursor(long struct, float value)Unsafe version ofborder_cursor.static NkStyleItemncursor_active(long struct)Unsafe version ofcursor_active().static voidncursor_active(long struct, NkStyleItem value)Unsafe version ofcursor_active.static NkColorncursor_border_color(long struct)Unsafe version ofcursor_border_color().static voidncursor_border_color(long struct, NkColor value)Unsafe version ofcursor_border_color.static NkStyleItemncursor_hover(long struct)Unsafe version ofcursor_hover().static voidncursor_hover(long struct, NkStyleItem value)Unsafe version ofcursor_hover.static NkStyleItemncursor_normal(long struct)Unsafe version ofcursor_normal().static voidncursor_normal(long struct, NkStyleItem value)Unsafe version ofcursor_normal.static NkStyleButtonndec_button(long struct)Unsafe version ofdec_button().static voidndec_button(long struct, NkStyleButton value)Unsafe version ofdec_button.static intndec_symbol(long struct)Unsafe version ofdec_symbol().static voidndec_symbol(long struct, int value)Unsafe version ofdec_symbol.static NkDrawBeginCallbackndraw_begin(long struct)Unsafe version ofdraw_begin().static voidndraw_begin(long struct, NkDrawBeginCallbackI value)Unsafe version ofdraw_begin.static NkDrawEndCallbackndraw_end(long struct)Unsafe version ofdraw_end().static voidndraw_end(long struct, NkDrawEndCallbackI value)Unsafe version ofdraw_end.static NkStyleItemnhover(long struct)Unsafe version ofhover().static voidnhover(long struct, NkStyleItem value)Unsafe version ofhover.static NkStyleButtonninc_button(long struct)Unsafe version ofinc_button().static voidninc_button(long struct, NkStyleButton value)Unsafe version ofinc_button.static intninc_symbol(long struct)Unsafe version ofinc_symbol().static voidninc_symbol(long struct, int value)Unsafe version ofinc_symbol.static NkStyleItemnnormal(long struct)Unsafe version ofnormal().static voidnnormal(long struct, NkStyleItem value)Unsafe version ofnormal.NkStyleItemnormal()Returns aNkStyleItemview of thenormalfield.NkStyleScrollbarnormal(java.util.function.Consumer<NkStyleItem> consumer)Passes thenormalfield to the specifiedConsumer.NkStyleScrollbarnormal(NkStyleItem value)Copies the specifiedNkStyleItemto thenormalfield.static NkVec2npadding(long struct)Unsafe version ofpadding().static voidnpadding(long struct, NkVec2 value)Unsafe version ofpadding.static floatnrounding(long struct)Unsafe version ofrounding().static voidnrounding(long struct, float value)Unsafe version ofrounding.static floatnrounding_cursor(long struct)Unsafe version ofrounding_cursor().static voidnrounding_cursor(long struct, float value)Unsafe version ofrounding_cursor.static intnshow_buttons(long struct)Unsafe version ofshow_buttons().static voidnshow_buttons(long struct, int value)Unsafe version ofshow_buttons.static NkHandlenuserdata(long struct)Unsafe version ofuserdata().static voidnuserdata(long struct, NkHandle value)Unsafe version ofuserdata.NkVec2padding()Returns aNkVec2view of thepaddingfield.NkStyleScrollbarpadding(java.util.function.Consumer<NkVec2> consumer)Passes thepaddingfield to the specifiedConsumer.NkStyleScrollbarpadding(NkVec2 value)Copies the specifiedNkVec2to thepaddingfield.floatrounding()Returns the value of theroundingfield.NkStyleScrollbarrounding(float value)Sets the specified value to theroundingfield.floatrounding_cursor()Returns the value of therounding_cursorfield.NkStyleScrollbarrounding_cursor(float value)Sets the specified value to therounding_cursorfield.NkStyleScrollbarset(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.NkStyleScrollbarset(NkStyleScrollbar src)Copies the specified struct data to this struct.intshow_buttons()Returns the value of theshow_buttonsfield.NkStyleScrollbarshow_buttons(int value)Sets the specified value to theshow_buttonsfield.intsizeof()NkHandleuserdata()Returns aNkHandleview of theuserdatafield.NkStyleScrollbaruserdata(java.util.function.Consumer<NkHandle> consumer)Passes theuserdatafield to the specifiedConsumer.NkStyleScrollbaruserdata(NkHandle value)Copies the specifiedNkHandleto theuserdatafield.
-
-
-
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 aNkStyleScrollbarinstance at the current position of the specifiedByteBuffercontainer. 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:
sizeofin classorg.lwjgl.system.Struct
-
normal
public NkStyleItem normal()
Returns aNkStyleItemview of thenormalfield.
-
normal
public NkStyleScrollbar normal(java.util.function.Consumer<NkStyleItem> consumer)
Passes thenormalfield to the specifiedConsumer.
-
hover
public NkStyleItem hover()
Returns aNkStyleItemview of thehoverfield.
-
hover
public NkStyleScrollbar hover(java.util.function.Consumer<NkStyleItem> consumer)
Passes thehoverfield to the specifiedConsumer.
-
active
public NkStyleItem active()
Returns aNkStyleItemview of theactivefield.
-
active
public NkStyleScrollbar active(java.util.function.Consumer<NkStyleItem> consumer)
Passes theactivefield to the specifiedConsumer.
-
border_color
public NkStyleScrollbar border_color(java.util.function.Consumer<NkColor> consumer)
Passes theborder_colorfield to the specifiedConsumer.
-
cursor_normal
public NkStyleItem cursor_normal()
Returns aNkStyleItemview of thecursor_normalfield.
-
cursor_normal
public NkStyleScrollbar cursor_normal(java.util.function.Consumer<NkStyleItem> consumer)
Passes thecursor_normalfield to the specifiedConsumer.
-
cursor_hover
public NkStyleItem cursor_hover()
Returns aNkStyleItemview of thecursor_hoverfield.
-
cursor_hover
public NkStyleScrollbar cursor_hover(java.util.function.Consumer<NkStyleItem> consumer)
Passes thecursor_hoverfield to the specifiedConsumer.
-
cursor_active
public NkStyleItem cursor_active()
Returns aNkStyleItemview of thecursor_activefield.
-
cursor_active
public NkStyleScrollbar cursor_active(java.util.function.Consumer<NkStyleItem> consumer)
Passes thecursor_activefield to the specifiedConsumer.
-
cursor_border_color
public NkColor cursor_border_color()
Returns aNkColorview of thecursor_border_colorfield.
-
cursor_border_color
public NkStyleScrollbar cursor_border_color(java.util.function.Consumer<NkColor> consumer)
Passes thecursor_border_colorfield to the specifiedConsumer.
-
border
public float border()
Returns the value of theborderfield.
-
rounding
public float rounding()
Returns the value of theroundingfield.
-
border_cursor
public float border_cursor()
Returns the value of theborder_cursorfield.
-
rounding_cursor
public float rounding_cursor()
Returns the value of therounding_cursorfield.
-
padding
public NkStyleScrollbar padding(java.util.function.Consumer<NkVec2> consumer)
Passes thepaddingfield to the specifiedConsumer.
-
show_buttons
public int show_buttons()
Returns the value of theshow_buttonsfield.
-
inc_button
public NkStyleButton inc_button()
Returns aNkStyleButtonview of theinc_buttonfield.
-
inc_button
public NkStyleScrollbar inc_button(java.util.function.Consumer<NkStyleButton> consumer)
Passes theinc_buttonfield to the specifiedConsumer.
-
dec_button
public NkStyleButton dec_button()
Returns aNkStyleButtonview of thedec_buttonfield.
-
dec_button
public NkStyleScrollbar dec_button(java.util.function.Consumer<NkStyleButton> consumer)
Passes thedec_buttonfield to the specifiedConsumer.
-
inc_symbol
public int inc_symbol()
Returns the value of theinc_symbolfield.
-
dec_symbol
public int dec_symbol()
Returns the value of thedec_symbolfield.
-
userdata
public NkStyleScrollbar userdata(java.util.function.Consumer<NkHandle> consumer)
Passes theuserdatafield to the specifiedConsumer.
-
draw_begin
@Nullable public NkDrawBeginCallback draw_begin()
Returns the value of thedraw_beginfield.
-
draw_end
@Nullable public NkDrawEndCallback draw_end()
Returns the value of thedraw_endfield.
-
normal
public NkStyleScrollbar normal(NkStyleItem value)
Copies the specifiedNkStyleItemto thenormalfield.
-
hover
public NkStyleScrollbar hover(NkStyleItem value)
Copies the specifiedNkStyleItemto thehoverfield.
-
active
public NkStyleScrollbar active(NkStyleItem value)
Copies the specifiedNkStyleItemto theactivefield.
-
border_color
public NkStyleScrollbar border_color(NkColor value)
Copies the specifiedNkColorto theborder_colorfield.
-
cursor_normal
public NkStyleScrollbar cursor_normal(NkStyleItem value)
Copies the specifiedNkStyleItemto thecursor_normalfield.
-
cursor_hover
public NkStyleScrollbar cursor_hover(NkStyleItem value)
Copies the specifiedNkStyleItemto thecursor_hoverfield.
-
cursor_active
public NkStyleScrollbar cursor_active(NkStyleItem value)
Copies the specifiedNkStyleItemto thecursor_activefield.
-
cursor_border_color
public NkStyleScrollbar cursor_border_color(NkColor value)
Copies the specifiedNkColorto thecursor_border_colorfield.
-
border
public NkStyleScrollbar border(float value)
Sets the specified value to theborderfield.
-
rounding
public NkStyleScrollbar rounding(float value)
Sets the specified value to theroundingfield.
-
border_cursor
public NkStyleScrollbar border_cursor(float value)
Sets the specified value to theborder_cursorfield.
-
rounding_cursor
public NkStyleScrollbar rounding_cursor(float value)
Sets the specified value to therounding_cursorfield.
-
padding
public NkStyleScrollbar padding(NkVec2 value)
Copies the specifiedNkVec2to thepaddingfield.
-
show_buttons
public NkStyleScrollbar show_buttons(int value)
Sets the specified value to theshow_buttonsfield.
-
inc_button
public NkStyleScrollbar inc_button(NkStyleButton value)
Copies the specifiedNkStyleButtonto theinc_buttonfield.
-
dec_button
public NkStyleScrollbar dec_button(NkStyleButton value)
Copies the specifiedNkStyleButtonto thedec_buttonfield.
-
inc_symbol
public NkStyleScrollbar inc_symbol(int value)
Sets the specified value to theinc_symbolfield.
-
dec_symbol
public NkStyleScrollbar dec_symbol(int value)
Sets the specified value to thedec_symbolfield.
-
userdata
public NkStyleScrollbar userdata(NkHandle value)
Copies the specifiedNkHandleto theuserdatafield.
-
draw_begin
public NkStyleScrollbar draw_begin(@Nullable NkDrawBeginCallbackI value)
Sets the specified value to thedraw_beginfield.
-
draw_end
public NkStyleScrollbar draw_end(@Nullable NkDrawEndCallbackI value)
Sets the specified value to thedraw_endfield.
-
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 newNkStyleScrollbarinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static NkStyleScrollbar calloc()
Returns a newNkStyleScrollbarinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static NkStyleScrollbar create()
Returns a newNkStyleScrollbarinstance allocated withBufferUtils.
-
create
public static NkStyleScrollbar create(long address)
Returns a newNkStyleScrollbarinstance for the specified memory address.
-
createSafe
@Nullable public static NkStyleScrollbar createSafe(long address)
-
malloc
public static NkStyleScrollbar.Buffer malloc(int capacity)
Returns a newNkStyleScrollbar.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static NkStyleScrollbar.Buffer calloc(int capacity)
Returns a newNkStyleScrollbar.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static NkStyleScrollbar.Buffer create(int capacity)
Returns a newNkStyleScrollbar.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static NkStyleScrollbar.Buffer create(long address, int capacity)
Create aNkStyleScrollbar.Bufferinstance 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 newNkStyleScrollbarinstance allocated on the thread-localMemoryStack.
-
callocStack
public static NkStyleScrollbar callocStack()
Returns a newNkStyleScrollbarinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.
-
mallocStack
public static NkStyleScrollbar mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newNkStyleScrollbarinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
callocStack
public static NkStyleScrollbar callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newNkStyleScrollbarinstance allocated on the specifiedMemoryStackand 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.Bufferinstance allocated on the thread-localMemoryStack.- Parameters:
capacity- the buffer capacity
-
callocStack
public static NkStyleScrollbar.Buffer callocStack(int capacity)
Returns a newNkStyleScrollbar.Bufferinstance allocated on the thread-localMemoryStackand 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.Bufferinstance 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.Bufferinstance allocated on the specifiedMemoryStackand 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.
-
-