Package org.lwjgl.nanovg
Class BNDtheme
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.nanovg.BNDtheme
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,org.lwjgl.system.NativeResource
,org.lwjgl.system.Pointer
public class BNDtheme extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResource
Describes the theme used to draw widgets.Member documentation
backgroundColor
– the background color of panels and windowsregularTheme
– theme for labelstoolTheme
– theme for tool buttonsradioTheme
– theme for radio buttonstextFieldTheme
– theme for text fieldsoptionTheme
– theme for option buttons (checkboxes)choiceTheme
– theme for choice buttons (comboboxes) Blender calls them "menu buttons"numberFieldTheme
– theme for number fieldssliderTheme
– theme for slider controlsscrollBarTheme
– theme for scrollbarstooltipTheme
– theme for tooltipsmenuTheme
– theme for menu backgroundsmenuItemTheme
– theme for menu itemsnodeTheme
– theme for nodes
Layout
struct BNDtheme {
NVGcolor
backgroundColor;BNDwidgetTheme
regularTheme;BNDwidgetTheme
toolTheme;BNDwidgetTheme
radioTheme;BNDwidgetTheme
textFieldTheme;BNDwidgetTheme
optionTheme;BNDwidgetTheme
choiceTheme;BNDwidgetTheme
numberFieldTheme;BNDwidgetTheme
sliderTheme;BNDwidgetTheme
scrollBarTheme;BNDwidgetTheme
tooltipTheme;BNDwidgetTheme
menuTheme;BNDwidgetTheme
menuItemTheme;BNDnodeTheme
nodeTheme; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BNDtheme.Buffer
An array ofBNDtheme
structs.
-
Field Summary
Fields Modifier and Type Field Description static int
ALIGNOF
The struct alignment in bytes.static int
BACKGROUNDCOLOR
CHOICETHEME
MENUITEMTHEME
MENUTHEME
NODETHEME
NUMBERFIELDTHEME
OPTIONTHEME
RADIOTHEME
REGULARTHEME
SCROLLBARTHEMEThe struct member offsets.static int
SIZEOF
The struct size in bytes.static int
SLIDERTHEME
TEXTFIELDTHEME
TOOLTHEME
TOOLTIPTHEMEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description BNDtheme(java.nio.ByteBuffer container)
Creates aBNDtheme
instance at the current position of the specifiedByteBuffer
container.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description NVGColor
backgroundColor()
Returns aNVGColor
view of thebackgroundColor
field.BNDtheme
backgroundColor(java.util.function.Consumer<NVGColor> consumer)
Passes thebackgroundColor
field to the specifiedConsumer
.BNDtheme
backgroundColor(NVGColor value)
Copies the specifiedNVGColor
to thebackgroundColor
field.static BNDtheme
calloc()
Returns a newBNDtheme
instance allocated withmemCalloc
.static BNDtheme.Buffer
calloc(int capacity)
Returns a newBNDtheme.Buffer
instance allocated withmemCalloc
.static BNDtheme
callocStack()
Returns a newBNDtheme
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static BNDtheme.Buffer
callocStack(int capacity)
Returns a newBNDtheme.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static BNDtheme.Buffer
callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newBNDtheme.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static BNDtheme
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newBNDtheme
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.BNDwidgetTheme
choiceTheme()
Returns aBNDwidgetTheme
view of thechoiceTheme
field.BNDtheme
choiceTheme(java.util.function.Consumer<BNDwidgetTheme> consumer)
Passes thechoiceTheme
field to the specifiedConsumer
.BNDtheme
choiceTheme(BNDwidgetTheme value)
Copies the specifiedBNDwidgetTheme
to thechoiceTheme
field.static BNDtheme
create()
Returns a newBNDtheme
instance allocated withBufferUtils
.static BNDtheme.Buffer
create(int capacity)
Returns a newBNDtheme.Buffer
instance allocated withBufferUtils
.static BNDtheme
create(long address)
Returns a newBNDtheme
instance for the specified memory address.static BNDtheme.Buffer
create(long address, int capacity)
Create aBNDtheme.Buffer
instance at the specified memory.static BNDtheme
createSafe(long address)
static BNDtheme.Buffer
createSafe(long address, int capacity)
static BNDtheme
malloc()
Returns a newBNDtheme
instance allocated withmemAlloc
.static BNDtheme.Buffer
malloc(int capacity)
Returns a newBNDtheme.Buffer
instance allocated withmemAlloc
.static BNDtheme
mallocStack()
Returns a newBNDtheme
instance allocated on the thread-localMemoryStack
.static BNDtheme.Buffer
mallocStack(int capacity)
Returns a newBNDtheme.Buffer
instance allocated on the thread-localMemoryStack
.static BNDtheme.Buffer
mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newBNDtheme.Buffer
instance allocated on the specifiedMemoryStack
.static BNDtheme
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newBNDtheme
instance allocated on the specifiedMemoryStack
.BNDwidgetTheme
menuItemTheme()
Returns aBNDwidgetTheme
view of themenuItemTheme
field.BNDtheme
menuItemTheme(java.util.function.Consumer<BNDwidgetTheme> consumer)
Passes themenuItemTheme
field to the specifiedConsumer
.BNDtheme
menuItemTheme(BNDwidgetTheme value)
Copies the specifiedBNDwidgetTheme
to themenuItemTheme
field.BNDwidgetTheme
menuTheme()
Returns aBNDwidgetTheme
view of themenuTheme
field.BNDtheme
menuTheme(java.util.function.Consumer<BNDwidgetTheme> consumer)
Passes themenuTheme
field to the specifiedConsumer
.BNDtheme
menuTheme(BNDwidgetTheme value)
Copies the specifiedBNDwidgetTheme
to themenuTheme
field.static NVGColor
nbackgroundColor(long struct)
Unsafe version ofbackgroundColor()
.static void
nbackgroundColor(long struct, NVGColor value)
Unsafe version ofbackgroundColor
.static BNDwidgetTheme
nchoiceTheme(long struct)
Unsafe version ofchoiceTheme()
.static void
nchoiceTheme(long struct, BNDwidgetTheme value)
Unsafe version ofchoiceTheme
.static BNDwidgetTheme
nmenuItemTheme(long struct)
Unsafe version ofmenuItemTheme()
.static void
nmenuItemTheme(long struct, BNDwidgetTheme value)
Unsafe version ofmenuItemTheme
.static BNDwidgetTheme
nmenuTheme(long struct)
Unsafe version ofmenuTheme()
.static void
nmenuTheme(long struct, BNDwidgetTheme value)
Unsafe version ofmenuTheme
.static BNDnodeTheme
nnodeTheme(long struct)
Unsafe version ofnodeTheme()
.static void
nnodeTheme(long struct, BNDnodeTheme value)
Unsafe version ofnodeTheme
.static BNDwidgetTheme
nnumberFieldTheme(long struct)
Unsafe version ofnumberFieldTheme()
.static void
nnumberFieldTheme(long struct, BNDwidgetTheme value)
Unsafe version ofnumberFieldTheme
.BNDnodeTheme
nodeTheme()
Returns aBNDnodeTheme
view of thenodeTheme
field.BNDtheme
nodeTheme(java.util.function.Consumer<BNDnodeTheme> consumer)
Passes thenodeTheme
field to the specifiedConsumer
.BNDtheme
nodeTheme(BNDnodeTheme value)
Copies the specifiedBNDnodeTheme
to thenodeTheme
field.static BNDwidgetTheme
noptionTheme(long struct)
Unsafe version ofoptionTheme()
.static void
noptionTheme(long struct, BNDwidgetTheme value)
Unsafe version ofoptionTheme
.static BNDwidgetTheme
nradioTheme(long struct)
Unsafe version ofradioTheme()
.static void
nradioTheme(long struct, BNDwidgetTheme value)
Unsafe version ofradioTheme
.static BNDwidgetTheme
nregularTheme(long struct)
Unsafe version ofregularTheme()
.static void
nregularTheme(long struct, BNDwidgetTheme value)
Unsafe version ofregularTheme
.static BNDwidgetTheme
nscrollBarTheme(long struct)
Unsafe version ofscrollBarTheme()
.static void
nscrollBarTheme(long struct, BNDwidgetTheme value)
Unsafe version ofscrollBarTheme
.static BNDwidgetTheme
nsliderTheme(long struct)
Unsafe version ofsliderTheme()
.static void
nsliderTheme(long struct, BNDwidgetTheme value)
Unsafe version ofsliderTheme
.static BNDwidgetTheme
ntextFieldTheme(long struct)
Unsafe version oftextFieldTheme()
.static void
ntextFieldTheme(long struct, BNDwidgetTheme value)
Unsafe version oftextFieldTheme
.static BNDwidgetTheme
ntoolTheme(long struct)
Unsafe version oftoolTheme()
.static void
ntoolTheme(long struct, BNDwidgetTheme value)
Unsafe version oftoolTheme
.static BNDwidgetTheme
ntooltipTheme(long struct)
Unsafe version oftooltipTheme()
.static void
ntooltipTheme(long struct, BNDwidgetTheme value)
Unsafe version oftooltipTheme
.BNDwidgetTheme
numberFieldTheme()
Returns aBNDwidgetTheme
view of thenumberFieldTheme
field.BNDtheme
numberFieldTheme(java.util.function.Consumer<BNDwidgetTheme> consumer)
Passes thenumberFieldTheme
field to the specifiedConsumer
.BNDtheme
numberFieldTheme(BNDwidgetTheme value)
Copies the specifiedBNDwidgetTheme
to thenumberFieldTheme
field.BNDwidgetTheme
optionTheme()
Returns aBNDwidgetTheme
view of theoptionTheme
field.BNDtheme
optionTheme(java.util.function.Consumer<BNDwidgetTheme> consumer)
Passes theoptionTheme
field to the specifiedConsumer
.BNDtheme
optionTheme(BNDwidgetTheme value)
Copies the specifiedBNDwidgetTheme
to theoptionTheme
field.BNDwidgetTheme
radioTheme()
Returns aBNDwidgetTheme
view of theradioTheme
field.BNDtheme
radioTheme(java.util.function.Consumer<BNDwidgetTheme> consumer)
Passes theradioTheme
field to the specifiedConsumer
.BNDtheme
radioTheme(BNDwidgetTheme value)
Copies the specifiedBNDwidgetTheme
to theradioTheme
field.BNDwidgetTheme
regularTheme()
Returns aBNDwidgetTheme
view of theregularTheme
field.BNDtheme
regularTheme(java.util.function.Consumer<BNDwidgetTheme> consumer)
Passes theregularTheme
field to the specifiedConsumer
.BNDtheme
regularTheme(BNDwidgetTheme value)
Copies the specifiedBNDwidgetTheme
to theregularTheme
field.BNDwidgetTheme
scrollBarTheme()
Returns aBNDwidgetTheme
view of thescrollBarTheme
field.BNDtheme
scrollBarTheme(java.util.function.Consumer<BNDwidgetTheme> consumer)
Passes thescrollBarTheme
field to the specifiedConsumer
.BNDtheme
scrollBarTheme(BNDwidgetTheme value)
Copies the specifiedBNDwidgetTheme
to thescrollBarTheme
field.BNDtheme
set(BNDtheme src)
Copies the specified struct data to this struct.BNDtheme
set(NVGColor backgroundColor, BNDwidgetTheme regularTheme, BNDwidgetTheme toolTheme, BNDwidgetTheme radioTheme, BNDwidgetTheme textFieldTheme, BNDwidgetTheme optionTheme, BNDwidgetTheme choiceTheme, BNDwidgetTheme numberFieldTheme, BNDwidgetTheme sliderTheme, BNDwidgetTheme scrollBarTheme, BNDwidgetTheme tooltipTheme, BNDwidgetTheme menuTheme, BNDwidgetTheme menuItemTheme, BNDnodeTheme nodeTheme)
Initializes this struct with the specified values.int
sizeof()
BNDwidgetTheme
sliderTheme()
Returns aBNDwidgetTheme
view of thesliderTheme
field.BNDtheme
sliderTheme(java.util.function.Consumer<BNDwidgetTheme> consumer)
Passes thesliderTheme
field to the specifiedConsumer
.BNDtheme
sliderTheme(BNDwidgetTheme value)
Copies the specifiedBNDwidgetTheme
to thesliderTheme
field.BNDwidgetTheme
textFieldTheme()
Returns aBNDwidgetTheme
view of thetextFieldTheme
field.BNDtheme
textFieldTheme(java.util.function.Consumer<BNDwidgetTheme> consumer)
Passes thetextFieldTheme
field to the specifiedConsumer
.BNDtheme
textFieldTheme(BNDwidgetTheme value)
Copies the specifiedBNDwidgetTheme
to thetextFieldTheme
field.BNDwidgetTheme
toolTheme()
Returns aBNDwidgetTheme
view of thetoolTheme
field.BNDtheme
toolTheme(java.util.function.Consumer<BNDwidgetTheme> consumer)
Passes thetoolTheme
field to the specifiedConsumer
.BNDtheme
toolTheme(BNDwidgetTheme value)
Copies the specifiedBNDwidgetTheme
to thetoolTheme
field.BNDwidgetTheme
tooltipTheme()
Returns aBNDwidgetTheme
view of thetooltipTheme
field.BNDtheme
tooltipTheme(java.util.function.Consumer<BNDwidgetTheme> consumer)
Passes thetooltipTheme
field to the specifiedConsumer
.BNDtheme
tooltipTheme(BNDwidgetTheme value)
Copies the specifiedBNDwidgetTheme
to thetooltipTheme
field.
-
-
-
Field Detail
-
SIZEOF
The struct size in bytes.
-
ALIGNOF
The struct alignment in bytes.
-
BACKGROUNDCOLOR, REGULARTHEME, TOOLTHEME, RADIOTHEME, TEXTFIELDTHEME, OPTIONTHEME, CHOICETHEME, NUMBERFIELDTHEME, SLIDERTHEME, SCROLLBARTHEME, TOOLTIPTHEME, MENUTHEME, MENUITEMTHEME, NODETHEME
The struct member offsets.
-
-
Constructor Detail
-
BNDtheme
public BNDtheme(java.nio.ByteBuffer container)
Creates aBNDtheme
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 Detail
-
sizeof
public int sizeof()
- Specified by:
sizeof
in classorg.lwjgl.system.Struct
-
backgroundColor
public NVGColor backgroundColor()
Returns aNVGColor
view of thebackgroundColor
field.
-
regularTheme
public BNDwidgetTheme regularTheme()
Returns aBNDwidgetTheme
view of theregularTheme
field.
-
toolTheme
public BNDwidgetTheme toolTheme()
Returns aBNDwidgetTheme
view of thetoolTheme
field.
-
radioTheme
public BNDwidgetTheme radioTheme()
Returns aBNDwidgetTheme
view of theradioTheme
field.
-
textFieldTheme
public BNDwidgetTheme textFieldTheme()
Returns aBNDwidgetTheme
view of thetextFieldTheme
field.
-
optionTheme
public BNDwidgetTheme optionTheme()
Returns aBNDwidgetTheme
view of theoptionTheme
field.
-
choiceTheme
public BNDwidgetTheme choiceTheme()
Returns aBNDwidgetTheme
view of thechoiceTheme
field.
-
numberFieldTheme
public BNDwidgetTheme numberFieldTheme()
Returns aBNDwidgetTheme
view of thenumberFieldTheme
field.
-
sliderTheme
public BNDwidgetTheme sliderTheme()
Returns aBNDwidgetTheme
view of thesliderTheme
field.
-
scrollBarTheme
public BNDwidgetTheme scrollBarTheme()
Returns aBNDwidgetTheme
view of thescrollBarTheme
field.
-
tooltipTheme
public BNDwidgetTheme tooltipTheme()
Returns aBNDwidgetTheme
view of thetooltipTheme
field.
-
menuTheme
public BNDwidgetTheme menuTheme()
Returns aBNDwidgetTheme
view of themenuTheme
field.
-
menuItemTheme
public BNDwidgetTheme menuItemTheme()
Returns aBNDwidgetTheme
view of themenuItemTheme
field.
-
nodeTheme
public BNDnodeTheme nodeTheme()
Returns aBNDnodeTheme
view of thenodeTheme
field.
-
backgroundColor
public BNDtheme backgroundColor(NVGColor value)
Copies the specifiedNVGColor
to thebackgroundColor
field.
-
backgroundColor
public BNDtheme backgroundColor(java.util.function.Consumer<NVGColor> consumer)
Passes thebackgroundColor
field to the specifiedConsumer
.
-
regularTheme
public BNDtheme regularTheme(BNDwidgetTheme value)
Copies the specifiedBNDwidgetTheme
to theregularTheme
field.
-
regularTheme
public BNDtheme regularTheme(java.util.function.Consumer<BNDwidgetTheme> consumer)
Passes theregularTheme
field to the specifiedConsumer
.
-
toolTheme
public BNDtheme toolTheme(BNDwidgetTheme value)
Copies the specifiedBNDwidgetTheme
to thetoolTheme
field.
-
toolTheme
public BNDtheme toolTheme(java.util.function.Consumer<BNDwidgetTheme> consumer)
Passes thetoolTheme
field to the specifiedConsumer
.
-
radioTheme
public BNDtheme radioTheme(BNDwidgetTheme value)
Copies the specifiedBNDwidgetTheme
to theradioTheme
field.
-
radioTheme
public BNDtheme radioTheme(java.util.function.Consumer<BNDwidgetTheme> consumer)
Passes theradioTheme
field to the specifiedConsumer
.
-
textFieldTheme
public BNDtheme textFieldTheme(BNDwidgetTheme value)
Copies the specifiedBNDwidgetTheme
to thetextFieldTheme
field.
-
textFieldTheme
public BNDtheme textFieldTheme(java.util.function.Consumer<BNDwidgetTheme> consumer)
Passes thetextFieldTheme
field to the specifiedConsumer
.
-
optionTheme
public BNDtheme optionTheme(BNDwidgetTheme value)
Copies the specifiedBNDwidgetTheme
to theoptionTheme
field.
-
optionTheme
public BNDtheme optionTheme(java.util.function.Consumer<BNDwidgetTheme> consumer)
Passes theoptionTheme
field to the specifiedConsumer
.
-
choiceTheme
public BNDtheme choiceTheme(BNDwidgetTheme value)
Copies the specifiedBNDwidgetTheme
to thechoiceTheme
field.
-
choiceTheme
public BNDtheme choiceTheme(java.util.function.Consumer<BNDwidgetTheme> consumer)
Passes thechoiceTheme
field to the specifiedConsumer
.
-
numberFieldTheme
public BNDtheme numberFieldTheme(BNDwidgetTheme value)
Copies the specifiedBNDwidgetTheme
to thenumberFieldTheme
field.
-
numberFieldTheme
public BNDtheme numberFieldTheme(java.util.function.Consumer<BNDwidgetTheme> consumer)
Passes thenumberFieldTheme
field to the specifiedConsumer
.
-
sliderTheme
public BNDtheme sliderTheme(BNDwidgetTheme value)
Copies the specifiedBNDwidgetTheme
to thesliderTheme
field.
-
sliderTheme
public BNDtheme sliderTheme(java.util.function.Consumer<BNDwidgetTheme> consumer)
Passes thesliderTheme
field to the specifiedConsumer
.
-
scrollBarTheme
public BNDtheme scrollBarTheme(BNDwidgetTheme value)
Copies the specifiedBNDwidgetTheme
to thescrollBarTheme
field.
-
scrollBarTheme
public BNDtheme scrollBarTheme(java.util.function.Consumer<BNDwidgetTheme> consumer)
Passes thescrollBarTheme
field to the specifiedConsumer
.
-
tooltipTheme
public BNDtheme tooltipTheme(BNDwidgetTheme value)
Copies the specifiedBNDwidgetTheme
to thetooltipTheme
field.
-
tooltipTheme
public BNDtheme tooltipTheme(java.util.function.Consumer<BNDwidgetTheme> consumer)
Passes thetooltipTheme
field to the specifiedConsumer
.
-
menuTheme
public BNDtheme menuTheme(BNDwidgetTheme value)
Copies the specifiedBNDwidgetTheme
to themenuTheme
field.
-
menuTheme
public BNDtheme menuTheme(java.util.function.Consumer<BNDwidgetTheme> consumer)
Passes themenuTheme
field to the specifiedConsumer
.
-
menuItemTheme
public BNDtheme menuItemTheme(BNDwidgetTheme value)
Copies the specifiedBNDwidgetTheme
to themenuItemTheme
field.
-
menuItemTheme
public BNDtheme menuItemTheme(java.util.function.Consumer<BNDwidgetTheme> consumer)
Passes themenuItemTheme
field to the specifiedConsumer
.
-
nodeTheme
public BNDtheme nodeTheme(BNDnodeTheme value)
Copies the specifiedBNDnodeTheme
to thenodeTheme
field.
-
nodeTheme
public BNDtheme nodeTheme(java.util.function.Consumer<BNDnodeTheme> consumer)
Passes thenodeTheme
field to the specifiedConsumer
.
-
set
public BNDtheme set(NVGColor backgroundColor, BNDwidgetTheme regularTheme, BNDwidgetTheme toolTheme, BNDwidgetTheme radioTheme, BNDwidgetTheme textFieldTheme, BNDwidgetTheme optionTheme, BNDwidgetTheme choiceTheme, BNDwidgetTheme numberFieldTheme, BNDwidgetTheme sliderTheme, BNDwidgetTheme scrollBarTheme, BNDwidgetTheme tooltipTheme, BNDwidgetTheme menuTheme, BNDwidgetTheme menuItemTheme, BNDnodeTheme nodeTheme)
Initializes this struct with the specified values.
-
set
public BNDtheme set(BNDtheme src)
Copies the specified struct data to this struct.- Parameters:
src
- the source struct- Returns:
- this struct
-
malloc
public static BNDtheme malloc()
Returns a newBNDtheme
instance allocated withmemAlloc
. The instance must be explicitly freed.
-
calloc
public static BNDtheme calloc()
Returns a newBNDtheme
instance allocated withmemCalloc
. The instance must be explicitly freed.
-
create
public static BNDtheme create()
Returns a newBNDtheme
instance allocated withBufferUtils
.
-
create
public static BNDtheme create(long address)
Returns a newBNDtheme
instance for the specified memory address.
-
createSafe
@Nullable public static BNDtheme createSafe(long address)
-
malloc
public static BNDtheme.Buffer malloc(int capacity)
Returns a newBNDtheme.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
public static BNDtheme.Buffer calloc(int capacity)
Returns a newBNDtheme.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
public static BNDtheme.Buffer create(int capacity)
Returns a newBNDtheme.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
public static BNDtheme.Buffer create(long address, int capacity)
Create aBNDtheme.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
@Nullable public static BNDtheme.Buffer createSafe(long address, int capacity)
-
mallocStack
public static BNDtheme mallocStack()
Returns a newBNDtheme
instance allocated on the thread-localMemoryStack
.
-
callocStack
public static BNDtheme callocStack()
Returns a newBNDtheme
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.
-
mallocStack
public static BNDtheme mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newBNDtheme
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
callocStack
public static BNDtheme callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newBNDtheme
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
mallocStack
public static BNDtheme.Buffer mallocStack(int capacity)
Returns a newBNDtheme.Buffer
instance allocated on the thread-localMemoryStack
.- Parameters:
capacity
- the buffer capacity
-
callocStack
public static BNDtheme.Buffer callocStack(int capacity)
Returns a newBNDtheme.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacity
-
mallocStack
public static BNDtheme.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newBNDtheme.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocatecapacity
- the buffer capacity
-
callocStack
public static BNDtheme.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newBNDtheme.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocatecapacity
- the buffer capacity
-
nbackgroundColor
public static NVGColor nbackgroundColor(long struct)
Unsafe version ofbackgroundColor()
.
-
nregularTheme
public static BNDwidgetTheme nregularTheme(long struct)
Unsafe version ofregularTheme()
.
-
ntoolTheme
public static BNDwidgetTheme ntoolTheme(long struct)
Unsafe version oftoolTheme()
.
-
nradioTheme
public static BNDwidgetTheme nradioTheme(long struct)
Unsafe version ofradioTheme()
.
-
ntextFieldTheme
public static BNDwidgetTheme ntextFieldTheme(long struct)
Unsafe version oftextFieldTheme()
.
-
noptionTheme
public static BNDwidgetTheme noptionTheme(long struct)
Unsafe version ofoptionTheme()
.
-
nchoiceTheme
public static BNDwidgetTheme nchoiceTheme(long struct)
Unsafe version ofchoiceTheme()
.
-
nnumberFieldTheme
public static BNDwidgetTheme nnumberFieldTheme(long struct)
Unsafe version ofnumberFieldTheme()
.
-
nsliderTheme
public static BNDwidgetTheme nsliderTheme(long struct)
Unsafe version ofsliderTheme()
.
-
nscrollBarTheme
public static BNDwidgetTheme nscrollBarTheme(long struct)
Unsafe version ofscrollBarTheme()
.
-
ntooltipTheme
public static BNDwidgetTheme ntooltipTheme(long struct)
Unsafe version oftooltipTheme()
.
-
nmenuTheme
public static BNDwidgetTheme nmenuTheme(long struct)
Unsafe version ofmenuTheme()
.
-
nmenuItemTheme
public static BNDwidgetTheme nmenuItemTheme(long struct)
Unsafe version ofmenuItemTheme()
.
-
nnodeTheme
public static BNDnodeTheme nnodeTheme(long struct)
Unsafe version ofnodeTheme()
.
-
nbackgroundColor
public static void nbackgroundColor(long struct, NVGColor value)
Unsafe version ofbackgroundColor
.
-
nregularTheme
public static void nregularTheme(long struct, BNDwidgetTheme value)
Unsafe version ofregularTheme
.
-
ntoolTheme
public static void ntoolTheme(long struct, BNDwidgetTheme value)
Unsafe version oftoolTheme
.
-
nradioTheme
public static void nradioTheme(long struct, BNDwidgetTheme value)
Unsafe version ofradioTheme
.
-
ntextFieldTheme
public static void ntextFieldTheme(long struct, BNDwidgetTheme value)
Unsafe version oftextFieldTheme
.
-
noptionTheme
public static void noptionTheme(long struct, BNDwidgetTheme value)
Unsafe version ofoptionTheme
.
-
nchoiceTheme
public static void nchoiceTheme(long struct, BNDwidgetTheme value)
Unsafe version ofchoiceTheme
.
-
nnumberFieldTheme
public static void nnumberFieldTheme(long struct, BNDwidgetTheme value)
Unsafe version ofnumberFieldTheme
.
-
nsliderTheme
public static void nsliderTheme(long struct, BNDwidgetTheme value)
Unsafe version ofsliderTheme
.
-
nscrollBarTheme
public static void nscrollBarTheme(long struct, BNDwidgetTheme value)
Unsafe version ofscrollBarTheme
.
-
ntooltipTheme
public static void ntooltipTheme(long struct, BNDwidgetTheme value)
Unsafe version oftooltipTheme
.
-
nmenuTheme
public static void nmenuTheme(long struct, BNDwidgetTheme value)
Unsafe version ofmenuTheme
.
-
nmenuItemTheme
public static void nmenuItemTheme(long struct, BNDwidgetTheme value)
Unsafe version ofmenuItemTheme
.
-
nnodeTheme
public static void nnodeTheme(long struct, BNDnodeTheme value)
Unsafe version ofnodeTheme
.
-
-