public static class NkStyleWindow.Buffer extends org.lwjgl.system.StructBuffer<NkStyleWindow,NkStyleWindow.Buffer> implements org.lwjgl.system.NativeResource
NkStyleWindow structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
NkStyleWindow.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
NkColor |
background()
Returns a
NkColor view of the background field. |
NkStyleWindow.Buffer |
background(java.util.function.Consumer<NkColor> consumer)
Passes the
background field to the specified Consumer. |
NkStyleWindow.Buffer |
background(NkColor value)
Copies the specified
NkColor to the background field. |
NkColor |
border_color()
Returns a
NkColor view of the border_color field. |
NkStyleWindow.Buffer |
border_color(java.util.function.Consumer<NkColor> consumer)
Passes the
border_color field to the specified Consumer. |
NkStyleWindow.Buffer |
border_color(NkColor value)
Copies the specified
NkColor to the border_color field. |
float |
border()
Returns the value of the
border field. |
NkStyleWindow.Buffer |
border(float value)
Sets the specified value to the
border field. |
NkColor |
combo_border_color()
Returns a
NkColor view of the combo_border_color field. |
NkStyleWindow.Buffer |
combo_border_color(java.util.function.Consumer<NkColor> consumer)
Passes the
combo_border_color field to the specified Consumer. |
NkStyleWindow.Buffer |
combo_border_color(NkColor value)
Copies the specified
NkColor to the combo_border_color field. |
float |
combo_border()
Returns the value of the
combo_border field. |
NkStyleWindow.Buffer |
combo_border(float value)
Sets the specified value to the
combo_border field. |
NkVec2 |
combo_padding()
Returns a
NkVec2 view of the combo_padding field. |
NkStyleWindow.Buffer |
combo_padding(java.util.function.Consumer<NkVec2> consumer)
Passes the
combo_padding field to the specified Consumer. |
NkStyleWindow.Buffer |
combo_padding(NkVec2 value)
Copies the specified
NkVec2 to the combo_padding field. |
NkColor |
contextual_border_color()
Returns a
NkColor view of the contextual_border_color field. |
NkStyleWindow.Buffer |
contextual_border_color(java.util.function.Consumer<NkColor> consumer)
Passes the
contextual_border_color field to the specified Consumer. |
NkStyleWindow.Buffer |
contextual_border_color(NkColor value)
Copies the specified
NkColor to the contextual_border_color field. |
float |
contextual_border()
Returns the value of the
contextual_border field. |
NkStyleWindow.Buffer |
contextual_border(float value)
Sets the specified value to the
contextual_border field. |
NkVec2 |
contextual_padding()
Returns a
NkVec2 view of the contextual_padding field. |
NkStyleWindow.Buffer |
contextual_padding(java.util.function.Consumer<NkVec2> consumer)
Passes the
contextual_padding field to the specified Consumer. |
NkStyleWindow.Buffer |
contextual_padding(NkVec2 value)
Copies the specified
NkVec2 to the contextual_padding field. |
NkStyleItem |
fixed_background()
Returns a
NkStyleItem view of the fixed_background field. |
NkStyleWindow.Buffer |
fixed_background(java.util.function.Consumer<NkStyleItem> consumer)
Passes the
fixed_background field to the specified Consumer. |
NkStyleWindow.Buffer |
fixed_background(NkStyleItem value)
Copies the specified
NkStyleItem to the fixed_background field. |
NkColor |
group_border_color()
Returns a
NkColor view of the group_border_color field. |
NkStyleWindow.Buffer |
group_border_color(java.util.function.Consumer<NkColor> consumer)
Passes the
group_border_color field to the specified Consumer. |
NkStyleWindow.Buffer |
group_border_color(NkColor value)
Copies the specified
NkColor to the group_border_color field. |
float |
group_border()
Returns the value of the
group_border field. |
NkStyleWindow.Buffer |
group_border(float value)
Sets the specified value to the
group_border field. |
NkVec2 |
group_padding()
Returns a
NkVec2 view of the group_padding field. |
NkStyleWindow.Buffer |
group_padding(java.util.function.Consumer<NkVec2> consumer)
Passes the
group_padding field to the specified Consumer. |
NkStyleWindow.Buffer |
group_padding(NkVec2 value)
Copies the specified
NkVec2 to the group_padding field. |
NkStyleWindowHeader |
header()
Returns a
NkStyleWindowHeader view of the header field. |
NkStyleWindow.Buffer |
header(java.util.function.Consumer<NkStyleWindowHeader> consumer)
Passes the
header field to the specified Consumer. |
NkStyleWindow.Buffer |
header(NkStyleWindowHeader value)
Copies the specified
NkStyleWindowHeader to the header field. |
NkColor |
menu_border_color()
Returns a
NkColor view of the menu_border_color field. |
NkStyleWindow.Buffer |
menu_border_color(java.util.function.Consumer<NkColor> consumer)
Passes the
menu_border_color field to the specified Consumer. |
NkStyleWindow.Buffer |
menu_border_color(NkColor value)
Copies the specified
NkColor to the menu_border_color field. |
float |
menu_border()
Returns the value of the
menu_border field. |
NkStyleWindow.Buffer |
menu_border(float value)
Sets the specified value to the
menu_border field. |
NkVec2 |
menu_padding()
Returns a
NkVec2 view of the menu_padding field. |
NkStyleWindow.Buffer |
menu_padding(java.util.function.Consumer<NkVec2> consumer)
Passes the
menu_padding field to the specified Consumer. |
NkStyleWindow.Buffer |
menu_padding(NkVec2 value)
Copies the specified
NkVec2 to the menu_padding field. |
float |
min_row_height_padding()
Returns the value of the
min_row_height_padding field. |
NkStyleWindow.Buffer |
min_row_height_padding(float value)
Sets the specified value to the
min_row_height_padding field. |
NkVec2 |
min_size()
Returns a
NkVec2 view of the min_size field. |
NkStyleWindow.Buffer |
min_size(java.util.function.Consumer<NkVec2> consumer)
Passes the
min_size field to the specified Consumer. |
NkStyleWindow.Buffer |
min_size(NkVec2 value)
Copies the specified
NkVec2 to the min_size field. |
NkVec2 |
padding()
Returns a
NkVec2 view of the padding field. |
NkStyleWindow.Buffer |
padding(java.util.function.Consumer<NkVec2> consumer)
Passes the
padding field to the specified Consumer. |
NkStyleWindow.Buffer |
padding(NkVec2 value)
Copies the specified
NkVec2 to the padding field. |
NkColor |
popup_border_color()
Returns a
NkColor view of the popup_border_color field. |
NkStyleWindow.Buffer |
popup_border_color(java.util.function.Consumer<NkColor> consumer)
Passes the
popup_border_color field to the specified Consumer. |
NkStyleWindow.Buffer |
popup_border_color(NkColor value)
Copies the specified
NkColor to the popup_border_color field. |
float |
popup_border()
Returns the value of the
popup_border field. |
NkStyleWindow.Buffer |
popup_border(float value)
Sets the specified value to the
popup_border field. |
NkVec2 |
popup_padding()
Returns a
NkVec2 view of the popup_padding field. |
NkStyleWindow.Buffer |
popup_padding(java.util.function.Consumer<NkVec2> consumer)
Passes the
popup_padding field to the specified Consumer. |
NkStyleWindow.Buffer |
popup_padding(NkVec2 value)
Copies the specified
NkVec2 to the popup_padding field. |
float |
rounding()
Returns the value of the
rounding field. |
NkStyleWindow.Buffer |
rounding(float value)
Sets the specified value to the
rounding field. |
NkStyleItem |
scaler()
Returns a
NkStyleItem view of the scaler field. |
NkStyleWindow.Buffer |
scaler(java.util.function.Consumer<NkStyleItem> consumer)
Passes the
scaler field to the specified Consumer. |
NkStyleWindow.Buffer |
scaler(NkStyleItem value)
Copies the specified
NkStyleItem to the scaler field. |
NkVec2 |
scrollbar_size()
Returns a
NkVec2 view of the scrollbar_size field. |
NkStyleWindow.Buffer |
scrollbar_size(java.util.function.Consumer<NkVec2> consumer)
Passes the
scrollbar_size field to the specified Consumer. |
NkStyleWindow.Buffer |
scrollbar_size(NkVec2 value)
Copies the specified
NkVec2 to the scrollbar_size field. |
NkVec2 |
spacing()
Returns a
NkVec2 view of the spacing field. |
NkStyleWindow.Buffer |
spacing(java.util.function.Consumer<NkVec2> consumer)
Passes the
spacing field to the specified Consumer. |
NkStyleWindow.Buffer |
spacing(NkVec2 value)
Copies the specified
NkVec2 to the spacing field. |
NkColor |
tooltip_border_color()
Returns a
NkColor view of the tooltip_border_color field. |
NkStyleWindow.Buffer |
tooltip_border_color(java.util.function.Consumer<NkColor> consumer)
Passes the
tooltip_border_color field to the specified Consumer. |
NkStyleWindow.Buffer |
tooltip_border_color(NkColor value)
Copies the specified
NkColor to the tooltip_border_color field. |
float |
tooltip_border()
Returns the value of the
tooltip_border field. |
NkStyleWindow.Buffer |
tooltip_border(float value)
Sets the specified value to the
tooltip_border field. |
NkVec2 |
tooltip_padding()
Returns a
NkVec2 view of the tooltip_padding field. |
NkStyleWindow.Buffer |
tooltip_padding(java.util.function.Consumer<NkVec2> consumer)
Passes the
tooltip_padding field to the specified Consumer. |
NkStyleWindow.Buffer |
tooltip_padding(NkVec2 value)
Copies the specified
NkVec2 to the tooltip_padding field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
NkStyleWindow.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 NkStyleWindow.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 NkStyleWindowHeader header()
NkStyleWindowHeader view of the header field.public NkStyleItem fixed_background()
NkStyleItem view of the fixed_background field.public NkColor popup_border_color()
NkColor view of the popup_border_color field.public NkColor combo_border_color()
NkColor view of the combo_border_color field.public NkColor contextual_border_color()
NkColor view of the contextual_border_color field.public NkColor menu_border_color()
NkColor view of the menu_border_color field.public NkColor group_border_color()
NkColor view of the group_border_color field.public NkColor tooltip_border_color()
NkColor view of the tooltip_border_color field.public NkStyleItem scaler()
NkStyleItem view of the scaler field.public float border()
border field.public float combo_border()
combo_border field.public float contextual_border()
contextual_border field.public float menu_border()
menu_border field.public float group_border()
group_border field.public float tooltip_border()
tooltip_border field.public float popup_border()
popup_border field.public float min_row_height_padding()
min_row_height_padding field.public float rounding()
rounding field.public NkVec2 contextual_padding()
NkVec2 view of the contextual_padding field.public NkStyleWindow.Buffer header(NkStyleWindowHeader value)
NkStyleWindowHeader to the header field.public NkStyleWindow.Buffer header(java.util.function.Consumer<NkStyleWindowHeader> consumer)
header field to the specified Consumer.public NkStyleWindow.Buffer fixed_background(NkStyleItem value)
NkStyleItem to the fixed_background field.public NkStyleWindow.Buffer fixed_background(java.util.function.Consumer<NkStyleItem> consumer)
fixed_background field to the specified Consumer.public NkStyleWindow.Buffer background(NkColor value)
NkColor to the background field.public NkStyleWindow.Buffer background(java.util.function.Consumer<NkColor> consumer)
background field to the specified Consumer.public NkStyleWindow.Buffer border_color(NkColor value)
NkColor to the border_color field.public NkStyleWindow.Buffer border_color(java.util.function.Consumer<NkColor> consumer)
border_color field to the specified Consumer.public NkStyleWindow.Buffer popup_border_color(NkColor value)
NkColor to the popup_border_color field.public NkStyleWindow.Buffer popup_border_color(java.util.function.Consumer<NkColor> consumer)
popup_border_color field to the specified Consumer.public NkStyleWindow.Buffer combo_border_color(NkColor value)
NkColor to the combo_border_color field.public NkStyleWindow.Buffer combo_border_color(java.util.function.Consumer<NkColor> consumer)
combo_border_color field to the specified Consumer.public NkStyleWindow.Buffer contextual_border_color(NkColor value)
NkColor to the contextual_border_color field.public NkStyleWindow.Buffer contextual_border_color(java.util.function.Consumer<NkColor> consumer)
contextual_border_color field to the specified Consumer.public NkStyleWindow.Buffer menu_border_color(NkColor value)
NkColor to the menu_border_color field.public NkStyleWindow.Buffer menu_border_color(java.util.function.Consumer<NkColor> consumer)
menu_border_color field to the specified Consumer.public NkStyleWindow.Buffer group_border_color(NkColor value)
NkColor to the group_border_color field.public NkStyleWindow.Buffer group_border_color(java.util.function.Consumer<NkColor> consumer)
group_border_color field to the specified Consumer.public NkStyleWindow.Buffer tooltip_border_color(NkColor value)
NkColor to the tooltip_border_color field.public NkStyleWindow.Buffer tooltip_border_color(java.util.function.Consumer<NkColor> consumer)
tooltip_border_color field to the specified Consumer.public NkStyleWindow.Buffer scaler(NkStyleItem value)
NkStyleItem to the scaler field.public NkStyleWindow.Buffer scaler(java.util.function.Consumer<NkStyleItem> consumer)
scaler field to the specified Consumer.public NkStyleWindow.Buffer border(float value)
border field.public NkStyleWindow.Buffer combo_border(float value)
combo_border field.public NkStyleWindow.Buffer contextual_border(float value)
contextual_border field.public NkStyleWindow.Buffer menu_border(float value)
menu_border field.public NkStyleWindow.Buffer group_border(float value)
group_border field.public NkStyleWindow.Buffer tooltip_border(float value)
tooltip_border field.public NkStyleWindow.Buffer popup_border(float value)
popup_border field.public NkStyleWindow.Buffer min_row_height_padding(float value)
min_row_height_padding field.public NkStyleWindow.Buffer rounding(float value)
rounding field.public NkStyleWindow.Buffer spacing(NkVec2 value)
NkVec2 to the spacing field.public NkStyleWindow.Buffer spacing(java.util.function.Consumer<NkVec2> consumer)
spacing field to the specified Consumer.public NkStyleWindow.Buffer scrollbar_size(NkVec2 value)
NkVec2 to the scrollbar_size field.public NkStyleWindow.Buffer scrollbar_size(java.util.function.Consumer<NkVec2> consumer)
scrollbar_size field to the specified Consumer.public NkStyleWindow.Buffer min_size(NkVec2 value)
NkVec2 to the min_size field.public NkStyleWindow.Buffer min_size(java.util.function.Consumer<NkVec2> consumer)
min_size field to the specified Consumer.public NkStyleWindow.Buffer padding(NkVec2 value)
NkVec2 to the padding field.public NkStyleWindow.Buffer padding(java.util.function.Consumer<NkVec2> consumer)
padding field to the specified Consumer.public NkStyleWindow.Buffer group_padding(NkVec2 value)
NkVec2 to the group_padding field.public NkStyleWindow.Buffer group_padding(java.util.function.Consumer<NkVec2> consumer)
group_padding field to the specified Consumer.public NkStyleWindow.Buffer popup_padding(NkVec2 value)
NkVec2 to the popup_padding field.public NkStyleWindow.Buffer popup_padding(java.util.function.Consumer<NkVec2> consumer)
popup_padding field to the specified Consumer.public NkStyleWindow.Buffer combo_padding(NkVec2 value)
NkVec2 to the combo_padding field.public NkStyleWindow.Buffer combo_padding(java.util.function.Consumer<NkVec2> consumer)
combo_padding field to the specified Consumer.public NkStyleWindow.Buffer contextual_padding(NkVec2 value)
NkVec2 to the contextual_padding field.public NkStyleWindow.Buffer contextual_padding(java.util.function.Consumer<NkVec2> consumer)
contextual_padding field to the specified Consumer.public NkStyleWindow.Buffer menu_padding(NkVec2 value)
NkVec2 to the menu_padding field.public NkStyleWindow.Buffer menu_padding(java.util.function.Consumer<NkVec2> consumer)
menu_padding field to the specified Consumer.public NkStyleWindow.Buffer tooltip_padding(NkVec2 value)
NkVec2 to the tooltip_padding field.public NkStyleWindow.Buffer tooltip_padding(java.util.function.Consumer<NkVec2> consumer)
tooltip_padding field to the specified Consumer.Copyright LWJGL. All Rights Reserved. License terms.