public static class NkStyleWindowHeader.Buffer extends org.lwjgl.system.StructBuffer<NkStyleWindowHeader,NkStyleWindowHeader.Buffer> implements org.lwjgl.system.NativeResource
NkStyleWindowHeader structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
NkStyleWindowHeader.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. |
NkStyleWindowHeader.Buffer |
active(java.util.function.Consumer<NkStyleItem> consumer)
Passes the
active field to the specified Consumer. |
NkStyleWindowHeader.Buffer |
active(NkStyleItem value)
Copies the specified
NkStyleItem to the active field. |
int |
align()
Returns the value of the
align field. |
NkStyleWindowHeader.Buffer |
align(int value)
Sets the specified value to the
align field. |
NkStyleButton |
close_button()
Returns a
NkStyleButton view of the close_button field. |
NkStyleWindowHeader.Buffer |
close_button(java.util.function.Consumer<NkStyleButton> consumer)
Passes the
close_button field to the specified Consumer. |
NkStyleWindowHeader.Buffer |
close_button(NkStyleButton value)
Copies the specified
NkStyleButton to the close_button field. |
int |
close_symbol()
Returns the value of the
close_symbol field. |
NkStyleWindowHeader.Buffer |
close_symbol(int value)
Sets the specified value to the
close_symbol field. |
NkStyleItem |
hover()
Returns a
NkStyleItem view of the hover field. |
NkStyleWindowHeader.Buffer |
hover(java.util.function.Consumer<NkStyleItem> consumer)
Passes the
hover field to the specified Consumer. |
NkStyleWindowHeader.Buffer |
hover(NkStyleItem value)
Copies the specified
NkStyleItem to the hover field. |
NkColor |
label_active()
Returns a
NkColor view of the label_active field. |
NkStyleWindowHeader.Buffer |
label_active(java.util.function.Consumer<NkColor> consumer)
Passes the
label_active field to the specified Consumer. |
NkStyleWindowHeader.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. |
NkStyleWindowHeader.Buffer |
label_hover(java.util.function.Consumer<NkColor> consumer)
Passes the
label_hover field to the specified Consumer. |
NkStyleWindowHeader.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. |
NkStyleWindowHeader.Buffer |
label_normal(java.util.function.Consumer<NkColor> consumer)
Passes the
label_normal field to the specified Consumer. |
NkStyleWindowHeader.Buffer |
label_normal(NkColor value)
Copies the specified
NkColor to the label_normal field. |
NkVec2 |
label_padding()
Returns a
NkVec2 view of the label_padding field. |
NkStyleWindowHeader.Buffer |
label_padding(java.util.function.Consumer<NkVec2> consumer)
Passes the
label_padding field to the specified Consumer. |
NkStyleWindowHeader.Buffer |
label_padding(NkVec2 value)
Copies the specified
NkVec2 to the label_padding field. |
int |
maximize_symbol()
Returns the value of the
maximize_symbol field. |
NkStyleWindowHeader.Buffer |
maximize_symbol(int value)
Sets the specified value to the
maximize_symbol field. |
NkStyleButton |
minimize_button()
Returns a
NkStyleButton view of the minimize_button field. |
NkStyleWindowHeader.Buffer |
minimize_button(java.util.function.Consumer<NkStyleButton> consumer)
Passes the
minimize_button field to the specified Consumer. |
NkStyleWindowHeader.Buffer |
minimize_button(NkStyleButton value)
Copies the specified
NkStyleButton to the minimize_button field. |
int |
minimize_symbol()
Returns the value of the
minimize_symbol field. |
NkStyleWindowHeader.Buffer |
minimize_symbol(int value)
Sets the specified value to the
minimize_symbol field. |
NkStyleItem |
normal()
Returns a
NkStyleItem view of the normal field. |
NkStyleWindowHeader.Buffer |
normal(java.util.function.Consumer<NkStyleItem> consumer)
Passes the
normal field to the specified Consumer. |
NkStyleWindowHeader.Buffer |
normal(NkStyleItem value)
Copies the specified
NkStyleItem to the normal field. |
NkVec2 |
padding()
Returns a
NkVec2 view of the padding field. |
NkStyleWindowHeader.Buffer |
padding(java.util.function.Consumer<NkVec2> consumer)
Passes the
padding field to the specified Consumer. |
NkStyleWindowHeader.Buffer |
padding(NkVec2 value)
Copies the specified
NkVec2 to the padding field. |
NkVec2 |
spacing()
Returns a
NkVec2 view of the spacing field. |
NkStyleWindowHeader.Buffer |
spacing(java.util.function.Consumer<NkVec2> consumer)
Passes the
spacing field to the specified Consumer. |
NkStyleWindowHeader.Buffer |
spacing(NkVec2 value)
Copies the specified
NkVec2 to the spacing field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
NkStyleWindowHeader.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 NkStyleWindowHeader.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 close_button()
NkStyleButton view of the close_button field.public NkStyleButton minimize_button()
NkStyleButton view of the minimize_button field.public int close_symbol()
close_symbol field.public int minimize_symbol()
minimize_symbol field.public int maximize_symbol()
maximize_symbol field.public int align()
align field.public NkStyleWindowHeader.Buffer normal(NkStyleItem value)
NkStyleItem to the normal field.public NkStyleWindowHeader.Buffer normal(java.util.function.Consumer<NkStyleItem> consumer)
normal field to the specified Consumer.public NkStyleWindowHeader.Buffer hover(NkStyleItem value)
NkStyleItem to the hover field.public NkStyleWindowHeader.Buffer hover(java.util.function.Consumer<NkStyleItem> consumer)
hover field to the specified Consumer.public NkStyleWindowHeader.Buffer active(NkStyleItem value)
NkStyleItem to the active field.public NkStyleWindowHeader.Buffer active(java.util.function.Consumer<NkStyleItem> consumer)
active field to the specified Consumer.public NkStyleWindowHeader.Buffer close_button(NkStyleButton value)
NkStyleButton to the close_button field.public NkStyleWindowHeader.Buffer close_button(java.util.function.Consumer<NkStyleButton> consumer)
close_button field to the specified Consumer.public NkStyleWindowHeader.Buffer minimize_button(NkStyleButton value)
NkStyleButton to the minimize_button field.public NkStyleWindowHeader.Buffer minimize_button(java.util.function.Consumer<NkStyleButton> consumer)
minimize_button field to the specified Consumer.public NkStyleWindowHeader.Buffer close_symbol(int value)
close_symbol field.public NkStyleWindowHeader.Buffer minimize_symbol(int value)
minimize_symbol field.public NkStyleWindowHeader.Buffer maximize_symbol(int value)
maximize_symbol field.public NkStyleWindowHeader.Buffer label_normal(NkColor value)
NkColor to the label_normal field.public NkStyleWindowHeader.Buffer label_normal(java.util.function.Consumer<NkColor> consumer)
label_normal field to the specified Consumer.public NkStyleWindowHeader.Buffer label_hover(NkColor value)
NkColor to the label_hover field.public NkStyleWindowHeader.Buffer label_hover(java.util.function.Consumer<NkColor> consumer)
label_hover field to the specified Consumer.public NkStyleWindowHeader.Buffer label_active(NkColor value)
NkColor to the label_active field.public NkStyleWindowHeader.Buffer label_active(java.util.function.Consumer<NkColor> consumer)
label_active field to the specified Consumer.public NkStyleWindowHeader.Buffer align(int value)
align field.public NkStyleWindowHeader.Buffer padding(NkVec2 value)
NkVec2 to the padding field.public NkStyleWindowHeader.Buffer padding(java.util.function.Consumer<NkVec2> consumer)
padding field to the specified Consumer.public NkStyleWindowHeader.Buffer label_padding(NkVec2 value)
NkVec2 to the label_padding field.public NkStyleWindowHeader.Buffer label_padding(java.util.function.Consumer<NkVec2> consumer)
label_padding field to the specified Consumer.public NkStyleWindowHeader.Buffer spacing(NkVec2 value)
NkVec2 to the spacing field.public NkStyleWindowHeader.Buffer spacing(java.util.function.Consumer<NkVec2> consumer)
spacing field to the specified Consumer.Copyright LWJGL. All Rights Reserved. License terms.