public static class BNDwidgetTheme.Buffer extends org.lwjgl.system.StructBuffer<BNDwidgetTheme,BNDwidgetTheme.Buffer> implements org.lwjgl.system.NativeResource
BNDwidgetTheme structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
BNDwidgetTheme.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
NVGColor |
innerColor()
Returns a
NVGColor view of the innerColor field. |
BNDwidgetTheme.Buffer |
innerColor(java.util.function.Consumer<NVGColor> consumer)
Passes the
innerColor field to the specified Consumer. |
BNDwidgetTheme.Buffer |
innerColor(NVGColor value)
Copies the specified
NVGColor to the innerColor field. |
NVGColor |
innerSelectedColor()
Returns a
NVGColor view of the innerSelectedColor field. |
BNDwidgetTheme.Buffer |
innerSelectedColor(java.util.function.Consumer<NVGColor> consumer)
Passes the
innerSelectedColor field to the specified Consumer. |
BNDwidgetTheme.Buffer |
innerSelectedColor(NVGColor value)
Copies the specified
NVGColor to the innerSelectedColor field. |
NVGColor |
itemColor()
Returns a
NVGColor view of the itemColor field. |
BNDwidgetTheme.Buffer |
itemColor(java.util.function.Consumer<NVGColor> consumer)
Passes the
itemColor field to the specified Consumer. |
BNDwidgetTheme.Buffer |
itemColor(NVGColor value)
Copies the specified
NVGColor to the itemColor field. |
NVGColor |
outlineColor()
Returns a
NVGColor view of the outlineColor field. |
BNDwidgetTheme.Buffer |
outlineColor(java.util.function.Consumer<NVGColor> consumer)
Passes the
outlineColor field to the specified Consumer. |
BNDwidgetTheme.Buffer |
outlineColor(NVGColor value)
Copies the specified
NVGColor to the outlineColor field. |
int |
shadeDown()
Returns the value of the
shadeDown field. |
BNDwidgetTheme.Buffer |
shadeDown(int value)
Sets the specified value to the
shadeDown field. |
int |
shadeTop()
Returns the value of the
shadeTop field. |
BNDwidgetTheme.Buffer |
shadeTop(int value)
Sets the specified value to the
shadeTop field. |
NVGColor |
textColor()
Returns a
NVGColor view of the textColor field. |
BNDwidgetTheme.Buffer |
textColor(java.util.function.Consumer<NVGColor> consumer)
Passes the
textColor field to the specified Consumer. |
BNDwidgetTheme.Buffer |
textColor(NVGColor value)
Copies the specified
NVGColor to the textColor field. |
NVGColor |
textSelectedColor()
Returns a
NVGColor view of the textSelectedColor field. |
BNDwidgetTheme.Buffer |
textSelectedColor(java.util.function.Consumer<NVGColor> consumer)
Passes the
textSelectedColor field to the specified Consumer. |
BNDwidgetTheme.Buffer |
textSelectedColor(NVGColor value)
Copies the specified
NVGColor to the textSelectedColor field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
BNDwidgetTheme.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 BNDwidgetTheme.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 NVGColor innerSelectedColor()
NVGColor view of the innerSelectedColor field.public NVGColor textSelectedColor()
NVGColor view of the textSelectedColor field.public int shadeTop()
shadeTop field.public int shadeDown()
shadeDown field.public BNDwidgetTheme.Buffer outlineColor(NVGColor value)
NVGColor to the outlineColor field.public BNDwidgetTheme.Buffer outlineColor(java.util.function.Consumer<NVGColor> consumer)
outlineColor field to the specified Consumer.public BNDwidgetTheme.Buffer itemColor(NVGColor value)
NVGColor to the itemColor field.public BNDwidgetTheme.Buffer itemColor(java.util.function.Consumer<NVGColor> consumer)
itemColor field to the specified Consumer.public BNDwidgetTheme.Buffer innerColor(NVGColor value)
NVGColor to the innerColor field.public BNDwidgetTheme.Buffer innerColor(java.util.function.Consumer<NVGColor> consumer)
innerColor field to the specified Consumer.public BNDwidgetTheme.Buffer innerSelectedColor(NVGColor value)
NVGColor to the innerSelectedColor field.public BNDwidgetTheme.Buffer innerSelectedColor(java.util.function.Consumer<NVGColor> consumer)
innerSelectedColor field to the specified Consumer.public BNDwidgetTheme.Buffer textColor(NVGColor value)
NVGColor to the textColor field.public BNDwidgetTheme.Buffer textColor(java.util.function.Consumer<NVGColor> consumer)
textColor field to the specified Consumer.public BNDwidgetTheme.Buffer textSelectedColor(NVGColor value)
NVGColor to the textSelectedColor field.public BNDwidgetTheme.Buffer textSelectedColor(java.util.function.Consumer<NVGColor> consumer)
textSelectedColor field to the specified Consumer.public BNDwidgetTheme.Buffer shadeTop(int value)
shadeTop field.public BNDwidgetTheme.Buffer shadeDown(int value)
shadeDown field.Copyright LWJGL. All Rights Reserved. License terms.