public static class NkStyleCombo.Buffer extends org.lwjgl.system.StructBuffer<NkStyleCombo,NkStyleCombo.Buffer> implements org.lwjgl.system.NativeResource
NkStyleCombo structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
NkStyleCombo.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
NkStyleItem |
active()
Returns a
NkStyleItem view of the active field. |
NkStyleCombo.Buffer |
active(java.util.function.Consumer<NkStyleItem> consumer)
Passes the
active field to the specified Consumer. |
NkStyleCombo.Buffer |
active(NkStyleItem value)
Copies the specified
NkStyleItem to the active field. |
NkColor |
border_color()
Returns a
NkColor view of the border_color field. |
NkStyleCombo.Buffer |
border_color(java.util.function.Consumer<NkColor> consumer)
Passes the
border_color field to the specified Consumer. |
NkStyleCombo.Buffer |
border_color(NkColor value)
Copies the specified
NkColor to the border_color field. |
float |
border()
Returns the value of the
border field. |
NkStyleCombo.Buffer |
border(float value)
Sets the specified value to the
border field. |
NkVec2 |
button_padding()
Returns a
NkVec2 view of the button_padding field. |
NkStyleCombo.Buffer |
button_padding(java.util.function.Consumer<NkVec2> consumer)
Passes the
button_padding field to the specified Consumer. |
NkStyleCombo.Buffer |
button_padding(NkVec2 value)
Copies the specified
NkVec2 to the button_padding field. |
NkStyleButton |
button()
Returns a
NkStyleButton view of the button field. |
NkStyleCombo.Buffer |
button(java.util.function.Consumer<NkStyleButton> consumer)
Passes the
button field to the specified Consumer. |
NkStyleCombo.Buffer |
button(NkStyleButton value)
Copies the specified
NkStyleButton to the button field. |
NkVec2 |
content_padding()
Returns a
NkVec2 view of the content_padding field. |
NkStyleCombo.Buffer |
content_padding(java.util.function.Consumer<NkVec2> consumer)
Passes the
content_padding field to the specified Consumer. |
NkStyleCombo.Buffer |
content_padding(NkVec2 value)
Copies the specified
NkVec2 to the content_padding field. |
NkStyleItem |
hover()
Returns a
NkStyleItem view of the hover field. |
NkStyleCombo.Buffer |
hover(java.util.function.Consumer<NkStyleItem> consumer)
Passes the
hover field to the specified Consumer. |
NkStyleCombo.Buffer |
hover(NkStyleItem value)
Copies the specified
NkStyleItem to the hover field. |
NkColor |
label_active()
Returns a
NkColor view of the label_active field. |
NkStyleCombo.Buffer |
label_active(java.util.function.Consumer<NkColor> consumer)
Passes the
label_active field to the specified Consumer. |
NkStyleCombo.Buffer |
label_active(NkColor value)
Copies the specified
NkColor to the label_active field. |
NkColor |
label_hover()
Returns a
NkColor view of the label_hover field. |
NkStyleCombo.Buffer |
label_hover(java.util.function.Consumer<NkColor> consumer)
Passes the
label_hover field to the specified Consumer. |
NkStyleCombo.Buffer |
label_hover(NkColor value)
Copies the specified
NkColor to the label_hover field. |
NkColor |
label_normal()
Returns a
NkColor view of the label_normal field. |
NkStyleCombo.Buffer |
label_normal(java.util.function.Consumer<NkColor> consumer)
Passes the
label_normal field to the specified Consumer. |
NkStyleCombo.Buffer |
label_normal(NkColor value)
Copies the specified
NkColor to the label_normal field. |
NkStyleItem |
normal()
Returns a
NkStyleItem view of the normal field. |
NkStyleCombo.Buffer |
normal(java.util.function.Consumer<NkStyleItem> consumer)
Passes the
normal field to the specified Consumer. |
NkStyleCombo.Buffer |
normal(NkStyleItem value)
Copies the specified
NkStyleItem to the normal field. |
float |
rounding()
Returns the value of the
rounding field. |
NkStyleCombo.Buffer |
rounding(float value)
Sets the specified value to the
rounding field. |
NkVec2 |
spacing()
Returns a
NkVec2 view of the spacing field. |
NkStyleCombo.Buffer |
spacing(java.util.function.Consumer<NkVec2> consumer)
Passes the
spacing field to the specified Consumer. |
NkStyleCombo.Buffer |
spacing(NkVec2 value)
Copies the specified
NkVec2 to the spacing field. |
int |
sym_active()
Returns the value of the
sym_active field. |
NkStyleCombo.Buffer |
sym_active(int value)
Sets the specified value to the
sym_active field. |
int |
sym_hover()
Returns the value of the
sym_hover field. |
NkStyleCombo.Buffer |
sym_hover(int value)
Sets the specified value to the
sym_hover field. |
int |
sym_normal()
Returns the value of the
sym_normal field. |
NkStyleCombo.Buffer |
sym_normal(int value)
Sets the specified value to the
sym_normal field. |
NkColor |
symbol_active()
Returns a
NkColor view of the symbol_active field. |
NkStyleCombo.Buffer |
symbol_active(java.util.function.Consumer<NkColor> consumer)
Passes the
symbol_active field to the specified Consumer. |
NkStyleCombo.Buffer |
symbol_active(NkColor value)
Copies the specified
NkColor to the symbol_active field. |
NkColor |
symbol_hover()
Returns a
NkColor view of the symbol_hover field. |
NkStyleCombo.Buffer |
symbol_hover(java.util.function.Consumer<NkColor> consumer)
Passes the
symbol_hover field to the specified Consumer. |
NkStyleCombo.Buffer |
symbol_hover(NkColor value)
Copies the specified
NkColor to the symbol_hover field. |
NkColor |
symbol_normal()
Returns a
NkColor view of the symbol_normal field. |
NkStyleCombo.Buffer |
symbol_normal(java.util.function.Consumer<NkColor> consumer)
Passes the
symbol_normal field to the specified Consumer. |
NkStyleCombo.Buffer |
symbol_normal(NkColor value)
Copies the specified
NkColor to the symbol_normal field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
NkStyleCombo.Buffer instance backed by the specified container.
Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values
will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided
by NkStyleCombo.SIZEOF, and its mark will be undefined.
The created buffer instance holds a strong reference to the container object.
public Buffer(long address,
int cap)
public NkStyleItem normal()
NkStyleItem view of the normal field.public NkStyleItem hover()
NkStyleItem view of the hover field.public NkStyleItem active()
NkStyleItem view of the active field.public NkStyleButton button()
NkStyleButton view of the button field.public int sym_normal()
sym_normal field.public int sym_hover()
sym_hover field.public int sym_active()
sym_active field.public float border()
border field.public float rounding()
rounding field.public NkStyleCombo.Buffer normal(NkStyleItem value)
NkStyleItem to the normal field.public NkStyleCombo.Buffer normal(java.util.function.Consumer<NkStyleItem> consumer)
normal field to the specified Consumer.public NkStyleCombo.Buffer hover(NkStyleItem value)
NkStyleItem to the hover field.public NkStyleCombo.Buffer hover(java.util.function.Consumer<NkStyleItem> consumer)
hover field to the specified Consumer.public NkStyleCombo.Buffer active(NkStyleItem value)
NkStyleItem to the active field.public NkStyleCombo.Buffer active(java.util.function.Consumer<NkStyleItem> consumer)
active field to the specified Consumer.public NkStyleCombo.Buffer border_color(NkColor value)
NkColor to the border_color field.public NkStyleCombo.Buffer border_color(java.util.function.Consumer<NkColor> consumer)
border_color field to the specified Consumer.public NkStyleCombo.Buffer label_normal(NkColor value)
NkColor to the label_normal field.public NkStyleCombo.Buffer label_normal(java.util.function.Consumer<NkColor> consumer)
label_normal field to the specified Consumer.public NkStyleCombo.Buffer label_hover(NkColor value)
NkColor to the label_hover field.public NkStyleCombo.Buffer label_hover(java.util.function.Consumer<NkColor> consumer)
label_hover field to the specified Consumer.public NkStyleCombo.Buffer label_active(NkColor value)
NkColor to the label_active field.public NkStyleCombo.Buffer label_active(java.util.function.Consumer<NkColor> consumer)
label_active field to the specified Consumer.public NkStyleCombo.Buffer symbol_normal(NkColor value)
NkColor to the symbol_normal field.public NkStyleCombo.Buffer symbol_normal(java.util.function.Consumer<NkColor> consumer)
symbol_normal field to the specified Consumer.public NkStyleCombo.Buffer symbol_hover(NkColor value)
NkColor to the symbol_hover field.public NkStyleCombo.Buffer symbol_hover(java.util.function.Consumer<NkColor> consumer)
symbol_hover field to the specified Consumer.public NkStyleCombo.Buffer symbol_active(NkColor value)
NkColor to the symbol_active field.public NkStyleCombo.Buffer symbol_active(java.util.function.Consumer<NkColor> consumer)
symbol_active field to the specified Consumer.public NkStyleCombo.Buffer button(NkStyleButton value)
NkStyleButton to the button field.public NkStyleCombo.Buffer button(java.util.function.Consumer<NkStyleButton> consumer)
button field to the specified Consumer.public NkStyleCombo.Buffer sym_normal(int value)
sym_normal field.public NkStyleCombo.Buffer sym_hover(int value)
sym_hover field.public NkStyleCombo.Buffer sym_active(int value)
sym_active field.public NkStyleCombo.Buffer border(float value)
border field.public NkStyleCombo.Buffer rounding(float value)
rounding field.public NkStyleCombo.Buffer content_padding(NkVec2 value)
NkVec2 to the content_padding field.public NkStyleCombo.Buffer content_padding(java.util.function.Consumer<NkVec2> consumer)
content_padding field to the specified Consumer.public NkStyleCombo.Buffer button_padding(NkVec2 value)
NkVec2 to the button_padding field.public NkStyleCombo.Buffer button_padding(java.util.function.Consumer<NkVec2> consumer)
button_padding field to the specified Consumer.public NkStyleCombo.Buffer spacing(NkVec2 value)
NkVec2 to the spacing field.public NkStyleCombo.Buffer spacing(java.util.function.Consumer<NkVec2> consumer)
spacing field to the specified Consumer.Copyright LWJGL. All Rights Reserved. License terms.