Package org.lwjgl.nuklear
Class NkStyleEdit
- All Implemented Interfaces:
AutoCloseable
,NativeResource
,Pointer
struct nk_style_edit {
{@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 NkStyleScrollbar struct nk_style_scrollbar} scrollbar;
{@link NkColor struct nk_color} cursor_normal;
{@link NkColor struct nk_color} cursor_hover;
{@link NkColor struct nk_color} cursor_text_normal;
{@link NkColor struct nk_color} cursor_text_hover;
{@link NkColor struct nk_color} text_normal;
{@link NkColor struct nk_color} text_hover;
{@link NkColor struct nk_color} text_active;
{@link NkColor struct nk_color} selected_normal;
{@link NkColor struct nk_color} selected_hover;
{@link NkColor struct nk_color} selected_text_normal;
{@link NkColor struct nk_color} selected_text_hover;
float border;
float rounding;
float cursor_size;
{@link NkVec2 struct nk_vec2} scrollbar_size;
{@link NkVec2 struct nk_vec2} padding;
float row_padding;
float color_factor;
float disabled_factor;
}
-
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 size in bytes.static final int
The struct member offsets.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
ConstructorsConstructorDescriptionNkStyleEdit
(ByteBuffer container) Creates aNkStyleEdit
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.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 NkStyleEdit
calloc()
Returns a newNkStyleEdit
instance allocated withmemCalloc
.static NkStyleEdit.Buffer
calloc
(int capacity) Returns a newNkStyleEdit.Buffer
instance allocated withmemCalloc
.static NkStyleEdit.Buffer
calloc
(int capacity, MemoryStack stack) Returns a newNkStyleEdit.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static NkStyleEdit
calloc
(MemoryStack stack) Returns a newNkStyleEdit
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static NkStyleEdit
Deprecated.static NkStyleEdit.Buffer
callocStack
(int capacity) Deprecated.static NkStyleEdit.Buffer
callocStack
(int capacity, MemoryStack stack) Deprecated.static NkStyleEdit
callocStack
(MemoryStack stack) Deprecated.float
color_factor
(float value) Sets the specified value to thecolor_factor
field.static NkStyleEdit
create()
Returns a newNkStyleEdit
instance allocated withBufferUtils
.static NkStyleEdit.Buffer
create
(int capacity) Returns a newNkStyleEdit.Buffer
instance allocated withBufferUtils
.static NkStyleEdit
create
(long address) Returns a newNkStyleEdit
instance for the specified memory address.static NkStyleEdit.Buffer
create
(long address, int capacity) Create aNkStyleEdit.Buffer
instance at the specified memory.static @Nullable NkStyleEdit
createSafe
(long address) static @Nullable NkStyleEdit.Buffer
createSafe
(long address, int capacity) cursor_hover
(Consumer<NkColor> consumer) Passes thecursor_hover
field to the specifiedConsumer
.cursor_hover
(NkColor value) Copies the specifiedNkColor
to thecursor_hover
field.cursor_normal
(Consumer<NkColor> consumer) Passes thecursor_normal
field to the specifiedConsumer
.cursor_normal
(NkColor value) Copies the specifiedNkColor
to thecursor_normal
field.float
cursor_size
(float value) Sets the specified value to thecursor_size
field.cursor_text_hover
(Consumer<NkColor> consumer) Passes thecursor_text_hover
field to the specifiedConsumer
.cursor_text_hover
(NkColor value) Copies the specifiedNkColor
to thecursor_text_hover
field.cursor_text_normal
(Consumer<NkColor> consumer) Passes thecursor_text_normal
field to the specifiedConsumer
.cursor_text_normal
(NkColor value) Copies the specifiedNkColor
to thecursor_text_normal
field.float
disabled_factor
(float value) Sets the specified value to thedisabled_factor
field.hover()
hover
(Consumer<NkStyleItem> consumer) Passes thehover
field to the specifiedConsumer
.hover
(NkStyleItem value) Copies the specifiedNkStyleItem
to thehover
field.static NkStyleEdit
malloc()
Returns a newNkStyleEdit
instance allocated withmemAlloc
.static NkStyleEdit.Buffer
malloc
(int capacity) Returns a newNkStyleEdit.Buffer
instance allocated withmemAlloc
.static NkStyleEdit.Buffer
malloc
(int capacity, MemoryStack stack) Returns a newNkStyleEdit.Buffer
instance allocated on the specifiedMemoryStack
.static NkStyleEdit
malloc
(MemoryStack stack) Returns a newNkStyleEdit
instance allocated on the specifiedMemoryStack
.static NkStyleEdit
Deprecated.static NkStyleEdit.Buffer
mallocStack
(int capacity) Deprecated.static NkStyleEdit.Buffer
mallocStack
(int capacity, MemoryStack stack) Deprecated.static NkStyleEdit
mallocStack
(MemoryStack stack) Deprecated.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
ncolor_factor
(long struct) Unsafe version ofcolor_factor()
.static void
ncolor_factor
(long struct, float value) Unsafe version ofcolor_factor
.static NkColor
ncursor_hover
(long struct) Unsafe version ofcursor_hover()
.static void
ncursor_hover
(long struct, NkColor value) Unsafe version ofcursor_hover
.static NkColor
ncursor_normal
(long struct) Unsafe version ofcursor_normal()
.static void
ncursor_normal
(long struct, NkColor value) Unsafe version ofcursor_normal
.static float
ncursor_size
(long struct) Unsafe version ofcursor_size()
.static void
ncursor_size
(long struct, float value) Unsafe version ofcursor_size
.static NkColor
ncursor_text_hover
(long struct) Unsafe version ofcursor_text_hover()
.static void
ncursor_text_hover
(long struct, NkColor value) Unsafe version ofcursor_text_hover
.static NkColor
ncursor_text_normal
(long struct) Unsafe version ofcursor_text_normal()
.static void
ncursor_text_normal
(long struct, NkColor value) Unsafe version ofcursor_text_normal
.static float
ndisabled_factor
(long struct) Unsafe version ofdisabled_factor()
.static void
ndisabled_factor
(long struct, float value) Unsafe version ofdisabled_factor
.static NkStyleItem
nhover
(long struct) Unsafe version ofhover()
.static void
nhover
(long struct, NkStyleItem value) Unsafe version ofhover
.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 float
nrow_padding
(long struct) Unsafe version ofrow_padding()
.static void
nrow_padding
(long struct, float value) Unsafe version ofrow_padding
.static NkStyleScrollbar
nscrollbar
(long struct) Unsafe version ofscrollbar()
.static void
nscrollbar
(long struct, NkStyleScrollbar value) Unsafe version ofscrollbar
.static NkVec2
nscrollbar_size
(long struct) Unsafe version ofscrollbar_size()
.static void
nscrollbar_size
(long struct, NkVec2 value) Unsafe version ofscrollbar_size
.static NkColor
nselected_hover
(long struct) Unsafe version ofselected_hover()
.static void
nselected_hover
(long struct, NkColor value) Unsafe version ofselected_hover
.static NkColor
nselected_normal
(long struct) Unsafe version ofselected_normal()
.static void
nselected_normal
(long struct, NkColor value) Unsafe version ofselected_normal
.static NkColor
nselected_text_hover
(long struct) Unsafe version ofselected_text_hover()
.static void
nselected_text_hover
(long struct, NkColor value) Unsafe version ofselected_text_hover
.static NkColor
nselected_text_normal
(long struct) Unsafe version ofselected_text_normal()
.static void
nselected_text_normal
(long struct, NkColor value) Unsafe version ofselected_text_normal
.static NkColor
ntext_active
(long struct) Unsafe version oftext_active()
.static void
ntext_active
(long struct, NkColor value) Unsafe version oftext_active
.static NkColor
ntext_hover
(long struct) Unsafe version oftext_hover()
.static void
ntext_hover
(long struct, NkColor value) Unsafe version oftext_hover
.static NkColor
ntext_normal
(long struct) Unsafe version oftext_normal()
.static void
ntext_normal
(long struct, NkColor value) Unsafe version oftext_normal
.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.float
row_padding
(float value) Sets the specified value to therow_padding
field.scrollbar
(Consumer<NkStyleScrollbar> consumer) Passes thescrollbar
field to the specifiedConsumer
.scrollbar
(NkStyleScrollbar value) Copies the specifiedNkStyleScrollbar
to thescrollbar
field.scrollbar_size
(Consumer<NkVec2> consumer) Passes thescrollbar_size
field to the specifiedConsumer
.scrollbar_size
(NkVec2 value) Copies the specifiedNkVec2
to thescrollbar_size
field.selected_hover
(Consumer<NkColor> consumer) Passes theselected_hover
field to the specifiedConsumer
.selected_hover
(NkColor value) Copies the specifiedNkColor
to theselected_hover
field.selected_normal
(Consumer<NkColor> consumer) Passes theselected_normal
field to the specifiedConsumer
.selected_normal
(NkColor value) Copies the specifiedNkColor
to theselected_normal
field.selected_text_hover
(Consumer<NkColor> consumer) Passes theselected_text_hover
field to the specifiedConsumer
.selected_text_hover
(NkColor value) Copies the specifiedNkColor
to theselected_text_hover
field.selected_text_normal
(Consumer<NkColor> consumer) Passes theselected_text_normal
field to the specifiedConsumer
.selected_text_normal
(NkColor value) Copies the specifiedNkColor
to theselected_text_normal
field.set
(NkStyleEdit src) Copies the specified struct data to this struct.set
(NkStyleItem normal, NkStyleItem hover, NkStyleItem active, NkColor border_color, NkStyleScrollbar scrollbar, NkColor cursor_normal, NkColor cursor_hover, NkColor cursor_text_normal, NkColor cursor_text_hover, NkColor text_normal, NkColor text_hover, NkColor text_active, NkColor selected_normal, NkColor selected_hover, NkColor selected_text_normal, NkColor selected_text_hover, float border, float rounding, float cursor_size, NkVec2 scrollbar_size, NkVec2 padding, float row_padding, float color_factor, float disabled_factor) Initializes this struct with the specified values.int
sizeof()
Returnssizeof(struct)
.text_active
(Consumer<NkColor> consumer) Passes thetext_active
field to the specifiedConsumer
.text_active
(NkColor value) Copies the specifiedNkColor
to thetext_active
field.text_hover
(Consumer<NkColor> consumer) Passes thetext_hover
field to the specifiedConsumer
.text_hover
(NkColor value) Copies the specifiedNkColor
to thetext_hover
field.text_normal
(Consumer<NkColor> consumer) Passes thetext_normal
field to the specifiedConsumer
.text_normal
(NkColor value) Copies the specifiedNkColor
to thetext_normal
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. -
SCROLLBAR
public static final int SCROLLBARThe 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_TEXT_NORMAL
public static final int CURSOR_TEXT_NORMALThe struct member offsets. -
CURSOR_TEXT_HOVER
public static final int CURSOR_TEXT_HOVERThe struct member offsets. -
TEXT_NORMAL
public static final int TEXT_NORMALThe struct member offsets. -
TEXT_HOVER
public static final int TEXT_HOVERThe struct member offsets. -
TEXT_ACTIVE
public static final int TEXT_ACTIVEThe struct member offsets. -
SELECTED_NORMAL
public static final int SELECTED_NORMALThe struct member offsets. -
SELECTED_HOVER
public static final int SELECTED_HOVERThe struct member offsets. -
SELECTED_TEXT_NORMAL
public static final int SELECTED_TEXT_NORMALThe struct member offsets. -
SELECTED_TEXT_HOVER
public static final int SELECTED_TEXT_HOVERThe struct member offsets. -
BORDER
public static final int BORDERThe struct member offsets. -
ROUNDING
public static final int ROUNDINGThe struct member offsets. -
CURSOR_SIZE
public static final int CURSOR_SIZEThe struct member offsets. -
SCROLLBAR_SIZE
public static final int SCROLLBAR_SIZEThe struct member offsets. -
PADDING
public static final int PADDINGThe struct member offsets. -
ROW_PADDING
public static final int ROW_PADDINGThe 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.
-
-
Constructor Details
-
NkStyleEdit
Creates aNkStyleEdit
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<NkStyleEdit>
-
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.
-
scrollbar
- Returns:
- a
NkStyleScrollbar
view of thescrollbar
field.
-
cursor_normal
- Returns:
- a
NkColor
view of thecursor_normal
field.
-
cursor_hover
- Returns:
- a
NkColor
view of thecursor_hover
field.
-
cursor_text_normal
- Returns:
- a
NkColor
view of thecursor_text_normal
field.
-
cursor_text_hover
- Returns:
- a
NkColor
view of thecursor_text_hover
field.
-
text_normal
- Returns:
- a
NkColor
view of thetext_normal
field.
-
text_hover
- Returns:
- a
NkColor
view of thetext_hover
field.
-
text_active
- Returns:
- a
NkColor
view of thetext_active
field.
-
selected_normal
- Returns:
- a
NkColor
view of theselected_normal
field.
-
selected_hover
- Returns:
- a
NkColor
view of theselected_hover
field.
-
selected_text_normal
- Returns:
- a
NkColor
view of theselected_text_normal
field.
-
selected_text_hover
- Returns:
- a
NkColor
view of theselected_text_hover
field.
-
border
public float border()- Returns:
- the value of the
border
field.
-
rounding
public float rounding()- Returns:
- the value of the
rounding
field.
-
cursor_size
public float cursor_size()- Returns:
- the value of the
cursor_size
field.
-
scrollbar_size
- Returns:
- a
NkVec2
view of thescrollbar_size
field.
-
padding
- Returns:
- a
NkVec2
view of thepadding
field.
-
row_padding
public float row_padding()- Returns:
- the value of the
row_padding
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.
-
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
. -
scrollbar
Copies the specifiedNkStyleScrollbar
to thescrollbar
field. -
scrollbar
Passes thescrollbar
field to the specifiedConsumer
. -
cursor_normal
Copies the specifiedNkColor
to thecursor_normal
field. -
cursor_normal
Passes thecursor_normal
field to the specifiedConsumer
. -
cursor_hover
Copies the specifiedNkColor
to thecursor_hover
field. -
cursor_hover
Passes thecursor_hover
field to the specifiedConsumer
. -
cursor_text_normal
Copies the specifiedNkColor
to thecursor_text_normal
field. -
cursor_text_normal
Passes thecursor_text_normal
field to the specifiedConsumer
. -
cursor_text_hover
Copies the specifiedNkColor
to thecursor_text_hover
field. -
cursor_text_hover
Passes thecursor_text_hover
field to the specifiedConsumer
. -
text_normal
Copies the specifiedNkColor
to thetext_normal
field. -
text_normal
Passes thetext_normal
field to the specifiedConsumer
. -
text_hover
Copies the specifiedNkColor
to thetext_hover
field. -
text_hover
Passes thetext_hover
field to the specifiedConsumer
. -
text_active
Copies the specifiedNkColor
to thetext_active
field. -
text_active
Passes thetext_active
field to the specifiedConsumer
. -
selected_normal
Copies the specifiedNkColor
to theselected_normal
field. -
selected_normal
Passes theselected_normal
field to the specifiedConsumer
. -
selected_hover
Copies the specifiedNkColor
to theselected_hover
field. -
selected_hover
Passes theselected_hover
field to the specifiedConsumer
. -
selected_text_normal
Copies the specifiedNkColor
to theselected_text_normal
field. -
selected_text_normal
Passes theselected_text_normal
field to the specifiedConsumer
. -
selected_text_hover
Copies the specifiedNkColor
to theselected_text_hover
field. -
selected_text_hover
Passes theselected_text_hover
field to the specifiedConsumer
. -
border
Sets the specified value to theborder
field. -
rounding
Sets the specified value to therounding
field. -
cursor_size
Sets the specified value to thecursor_size
field. -
scrollbar_size
Copies the specifiedNkVec2
to thescrollbar_size
field. -
scrollbar_size
Passes thescrollbar_size
field to the specifiedConsumer
. -
padding
Copies the specifiedNkVec2
to thepadding
field. -
padding
Passes thepadding
field to the specifiedConsumer
. -
row_padding
Sets the specified value to therow_padding
field. -
color_factor
Sets the specified value to thecolor_factor
field. -
disabled_factor
Sets the specified value to thedisabled_factor
field. -
set
public NkStyleEdit set(NkStyleItem normal, NkStyleItem hover, NkStyleItem active, NkColor border_color, NkStyleScrollbar scrollbar, NkColor cursor_normal, NkColor cursor_hover, NkColor cursor_text_normal, NkColor cursor_text_hover, NkColor text_normal, NkColor text_hover, NkColor text_active, NkColor selected_normal, NkColor selected_hover, NkColor selected_text_normal, NkColor selected_text_hover, float border, float rounding, float cursor_size, NkVec2 scrollbar_size, NkVec2 padding, float row_padding, float color_factor, float disabled_factor) 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 newNkStyleEdit
instance allocated withmemAlloc
. The instance must be explicitly freed. -
calloc
Returns a newNkStyleEdit
instance allocated withmemCalloc
. The instance must be explicitly freed. -
create
Returns a newNkStyleEdit
instance allocated withBufferUtils
. -
create
Returns a newNkStyleEdit
instance for the specified memory address. -
createSafe
-
malloc
Returns a newNkStyleEdit.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
Returns a newNkStyleEdit.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
Returns a newNkStyleEdit.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
Create aNkStyleEdit.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 newNkStyleEdit
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
calloc
Returns a newNkStyleEdit
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
malloc
Returns a newNkStyleEdit.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
calloc
Returns a newNkStyleEdit.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()
. -
nscrollbar
Unsafe version ofscrollbar()
. -
ncursor_normal
Unsafe version ofcursor_normal()
. -
ncursor_hover
Unsafe version ofcursor_hover()
. -
ncursor_text_normal
Unsafe version ofcursor_text_normal()
. -
ncursor_text_hover
Unsafe version ofcursor_text_hover()
. -
ntext_normal
Unsafe version oftext_normal()
. -
ntext_hover
Unsafe version oftext_hover()
. -
ntext_active
Unsafe version oftext_active()
. -
nselected_normal
Unsafe version ofselected_normal()
. -
nselected_hover
Unsafe version ofselected_hover()
. -
nselected_text_normal
Unsafe version ofselected_text_normal()
. -
nselected_text_hover
Unsafe version ofselected_text_hover()
. -
nborder
public static float nborder(long struct) Unsafe version ofborder()
. -
nrounding
public static float nrounding(long struct) Unsafe version ofrounding()
. -
ncursor_size
public static float ncursor_size(long struct) Unsafe version ofcursor_size()
. -
nscrollbar_size
Unsafe version ofscrollbar_size()
. -
npadding
Unsafe version ofpadding()
. -
nrow_padding
public static float nrow_padding(long struct) Unsafe version ofrow_padding()
. -
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()
. -
nnormal
Unsafe version ofnormal
. -
nhover
Unsafe version ofhover
. -
nactive
Unsafe version ofactive
. -
nborder_color
Unsafe version ofborder_color
. -
nscrollbar
Unsafe version ofscrollbar
. -
ncursor_normal
Unsafe version ofcursor_normal
. -
ncursor_hover
Unsafe version ofcursor_hover
. -
ncursor_text_normal
Unsafe version ofcursor_text_normal
. -
ncursor_text_hover
Unsafe version ofcursor_text_hover
. -
ntext_normal
Unsafe version oftext_normal
. -
ntext_hover
Unsafe version oftext_hover
. -
ntext_active
Unsafe version oftext_active
. -
nselected_normal
Unsafe version ofselected_normal
. -
nselected_hover
Unsafe version ofselected_hover
. -
nselected_text_normal
Unsafe version ofselected_text_normal
. -
nselected_text_hover
Unsafe version ofselected_text_hover
. -
nborder
public static void nborder(long struct, float value) Unsafe version ofborder
. -
nrounding
public static void nrounding(long struct, float value) Unsafe version ofrounding
. -
ncursor_size
public static void ncursor_size(long struct, float value) Unsafe version ofcursor_size
. -
nscrollbar_size
Unsafe version ofscrollbar_size
. -
npadding
Unsafe version ofpadding
. -
nrow_padding
public static void nrow_padding(long struct, float value) Unsafe version ofrow_padding
. -
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
.
-