public class NkStyleWindow
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
struct nk_style_window {
struct nk_style_window_header header;
struct nk_style_item fixed_background;
struct nk_color background;
struct nk_color border_color;
struct nk_color popup_border_color;
struct nk_color combo_border_color;
struct nk_color contextual_border_color;
struct nk_color menu_border_color;
struct nk_color group_border_color;
struct nk_color tooltip_border_color;
struct nk_style_item scaler;
float border;
float combo_border;
float contextual_border;
float menu_border;
float group_border;
float tooltip_border;
float popup_border;
float min_row_height_padding;
float rounding;
struct nk_vec2 spacing;
struct nk_vec2 scrollbar_size;
struct nk_vec2 min_size;
struct nk_vec2 padding;
struct nk_vec2 group_padding;
struct nk_vec2 popup_padding;
struct nk_vec2 combo_padding;
struct nk_vec2 contextual_padding;
struct nk_vec2 menu_padding;
struct nk_vec2 tooltip_padding;
}| Modifier and Type | Class and Description |
|---|---|
static class |
NkStyleWindow.Buffer
An array of
NkStyleWindow structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
BACKGROUND
The struct member offsets.
|
static int |
BORDER
The struct member offsets.
|
static int |
BORDER_COLOR
The struct member offsets.
|
static int |
COMBO_BORDER
The struct member offsets.
|
static int |
COMBO_BORDER_COLOR
The struct member offsets.
|
static int |
COMBO_PADDING
The struct member offsets.
|
static int |
CONTEXTUAL_BORDER
The struct member offsets.
|
static int |
CONTEXTUAL_BORDER_COLOR
The struct member offsets.
|
static int |
CONTEXTUAL_PADDING
The struct member offsets.
|
static int |
FIXED_BACKGROUND
The struct member offsets.
|
static int |
GROUP_BORDER
The struct member offsets.
|
static int |
GROUP_BORDER_COLOR
The struct member offsets.
|
static int |
GROUP_PADDING
The struct member offsets.
|
static int |
HEADER
The struct member offsets.
|
static int |
MENU_BORDER
The struct member offsets.
|
static int |
MENU_BORDER_COLOR
The struct member offsets.
|
static int |
MENU_PADDING
The struct member offsets.
|
static int |
MIN_ROW_HEIGHT_PADDING
The struct member offsets.
|
static int |
MIN_SIZE
The struct member offsets.
|
static int |
PADDING
The struct member offsets.
|
static int |
POPUP_BORDER
The struct member offsets.
|
static int |
POPUP_BORDER_COLOR
The struct member offsets.
|
static int |
POPUP_PADDING
The struct member offsets.
|
static int |
ROUNDING
The struct member offsets.
|
static int |
SCALER
The struct member offsets.
|
static int |
SCROLLBAR_SIZE
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
SPACING
The struct member offsets.
|
static int |
TOOLTIP_BORDER
The struct member offsets.
|
static int |
TOOLTIP_BORDER_COLOR
The struct member offsets.
|
static int |
TOOLTIP_PADDING
The struct member offsets.
|
| Constructor and Description |
|---|
NkStyleWindow(java.nio.ByteBuffer container)
Creates a
NkStyleWindow instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
NkColor |
background()
Returns a
NkColor view of the background field. |
NkStyleWindow |
background(java.util.function.Consumer<NkColor> consumer)
Passes the
background field to the specified Consumer. |
NkStyleWindow |
background(NkColor value)
Copies the specified
NkColor to the background field. |
NkColor |
border_color()
Returns a
NkColor view of the border_color field. |
NkStyleWindow |
border_color(java.util.function.Consumer<NkColor> consumer)
Passes the
border_color field to the specified Consumer. |
NkStyleWindow |
border_color(NkColor value)
Copies the specified
NkColor to the border_color field. |
float |
border()
Returns the value of the
border field. |
NkStyleWindow |
border(float value)
Sets the specified value to the
border field. |
static NkStyleWindow |
calloc()
Returns a new
NkStyleWindow instance allocated with memCalloc. |
static NkStyleWindow.Buffer |
calloc(int capacity)
Returns a new
NkStyleWindow.Buffer instance allocated with memCalloc. |
static NkStyleWindow |
callocStack()
Returns a new
NkStyleWindow instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static NkStyleWindow.Buffer |
callocStack(int capacity)
Returns a new
NkStyleWindow.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static NkStyleWindow.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
NkStyleWindow.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static NkStyleWindow |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
NkStyleWindow instance allocated on the specified MemoryStack and initializes all its bits to zero. |
NkColor |
combo_border_color()
Returns a
NkColor view of the combo_border_color field. |
NkStyleWindow |
combo_border_color(java.util.function.Consumer<NkColor> consumer)
Passes the
combo_border_color field to the specified Consumer. |
NkStyleWindow |
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 |
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 |
combo_padding(java.util.function.Consumer<NkVec2> consumer)
Passes the
combo_padding field to the specified Consumer. |
NkStyleWindow |
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 |
contextual_border_color(java.util.function.Consumer<NkColor> consumer)
Passes the
contextual_border_color field to the specified Consumer. |
NkStyleWindow |
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 |
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 |
contextual_padding(java.util.function.Consumer<NkVec2> consumer)
Passes the
contextual_padding field to the specified Consumer. |
NkStyleWindow |
contextual_padding(NkVec2 value)
Copies the specified
NkVec2 to the contextual_padding field. |
static NkStyleWindow |
create()
Returns a new
NkStyleWindow instance allocated with BufferUtils. |
static NkStyleWindow.Buffer |
create(int capacity)
Returns a new
NkStyleWindow.Buffer instance allocated with BufferUtils. |
static NkStyleWindow |
create(long address)
Returns a new
NkStyleWindow instance for the specified memory address. |
static NkStyleWindow.Buffer |
create(long address,
int capacity)
Create a
NkStyleWindow.Buffer instance at the specified memory. |
static NkStyleWindow |
createSafe(long address)
|
static NkStyleWindow.Buffer |
createSafe(long address,
int capacity)
|
NkStyleItem |
fixed_background()
Returns a
NkStyleItem view of the fixed_background field. |
NkStyleWindow |
fixed_background(java.util.function.Consumer<NkStyleItem> consumer)
Passes the
fixed_background field to the specified Consumer. |
NkStyleWindow |
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 |
group_border_color(java.util.function.Consumer<NkColor> consumer)
Passes the
group_border_color field to the specified Consumer. |
NkStyleWindow |
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 |
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 |
group_padding(java.util.function.Consumer<NkVec2> consumer)
Passes the
group_padding field to the specified Consumer. |
NkStyleWindow |
group_padding(NkVec2 value)
Copies the specified
NkVec2 to the group_padding field. |
NkStyleWindowHeader |
header()
Returns a
NkStyleWindowHeader view of the header field. |
NkStyleWindow |
header(java.util.function.Consumer<NkStyleWindowHeader> consumer)
Passes the
header field to the specified Consumer. |
NkStyleWindow |
header(NkStyleWindowHeader value)
Copies the specified
NkStyleWindowHeader to the header field. |
static NkStyleWindow |
malloc()
Returns a new
NkStyleWindow instance allocated with memAlloc. |
static NkStyleWindow.Buffer |
malloc(int capacity)
Returns a new
NkStyleWindow.Buffer instance allocated with memAlloc. |
static NkStyleWindow |
mallocStack()
Returns a new
NkStyleWindow instance allocated on the thread-local MemoryStack. |
static NkStyleWindow.Buffer |
mallocStack(int capacity)
Returns a new
NkStyleWindow.Buffer instance allocated on the thread-local MemoryStack. |
static NkStyleWindow.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
NkStyleWindow.Buffer instance allocated on the specified MemoryStack. |
static NkStyleWindow |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
NkStyleWindow instance allocated on the specified MemoryStack. |
NkColor |
menu_border_color()
Returns a
NkColor view of the menu_border_color field. |
NkStyleWindow |
menu_border_color(java.util.function.Consumer<NkColor> consumer)
Passes the
menu_border_color field to the specified Consumer. |
NkStyleWindow |
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 |
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 |
menu_padding(java.util.function.Consumer<NkVec2> consumer)
Passes the
menu_padding field to the specified Consumer. |
NkStyleWindow |
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 |
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 |
min_size(java.util.function.Consumer<NkVec2> consumer)
Passes the
min_size field to the specified Consumer. |
NkStyleWindow |
min_size(NkVec2 value)
Copies the specified
NkVec2 to the min_size field. |
static NkColor |
nbackground(long struct)
Unsafe version of
background(). |
static void |
nbackground(long struct,
NkColor value)
Unsafe version of
background. |
static NkColor |
nborder_color(long struct)
Unsafe version of
border_color(). |
static void |
nborder_color(long struct,
NkColor value)
Unsafe version of
border_color. |
static float |
nborder(long struct)
Unsafe version of
border(). |
static void |
nborder(long struct,
float value)
Unsafe version of
border. |
static NkColor |
ncombo_border_color(long struct)
Unsafe version of
combo_border_color(). |
static void |
ncombo_border_color(long struct,
NkColor value)
Unsafe version of
combo_border_color. |
static float |
ncombo_border(long struct)
Unsafe version of
combo_border(). |
static void |
ncombo_border(long struct,
float value)
Unsafe version of
combo_border. |
static NkVec2 |
ncombo_padding(long struct)
Unsafe version of
combo_padding(). |
static void |
ncombo_padding(long struct,
NkVec2 value)
Unsafe version of
combo_padding. |
static NkColor |
ncontextual_border_color(long struct)
Unsafe version of
contextual_border_color(). |
static void |
ncontextual_border_color(long struct,
NkColor value)
Unsafe version of
contextual_border_color. |
static float |
ncontextual_border(long struct)
Unsafe version of
contextual_border(). |
static void |
ncontextual_border(long struct,
float value)
Unsafe version of
contextual_border. |
static NkVec2 |
ncontextual_padding(long struct)
Unsafe version of
contextual_padding(). |
static void |
ncontextual_padding(long struct,
NkVec2 value)
Unsafe version of
contextual_padding. |
static NkStyleItem |
nfixed_background(long struct)
Unsafe version of
fixed_background(). |
static void |
nfixed_background(long struct,
NkStyleItem value)
Unsafe version of
fixed_background. |
static NkColor |
ngroup_border_color(long struct)
Unsafe version of
group_border_color(). |
static void |
ngroup_border_color(long struct,
NkColor value)
Unsafe version of
group_border_color. |
static float |
ngroup_border(long struct)
Unsafe version of
group_border(). |
static void |
ngroup_border(long struct,
float value)
Unsafe version of
group_border. |
static NkVec2 |
ngroup_padding(long struct)
Unsafe version of
group_padding(). |
static void |
ngroup_padding(long struct,
NkVec2 value)
Unsafe version of
group_padding. |
static NkStyleWindowHeader |
nheader(long struct)
Unsafe version of
header(). |
static void |
nheader(long struct,
NkStyleWindowHeader value)
Unsafe version of
header. |
static NkColor |
nmenu_border_color(long struct)
Unsafe version of
menu_border_color(). |
static void |
nmenu_border_color(long struct,
NkColor value)
Unsafe version of
menu_border_color. |
static float |
nmenu_border(long struct)
Unsafe version of
menu_border(). |
static void |
nmenu_border(long struct,
float value)
Unsafe version of
menu_border. |
static NkVec2 |
nmenu_padding(long struct)
Unsafe version of
menu_padding(). |
static void |
nmenu_padding(long struct,
NkVec2 value)
Unsafe version of
menu_padding. |
static float |
nmin_row_height_padding(long struct)
Unsafe version of
min_row_height_padding(). |
static void |
nmin_row_height_padding(long struct,
float value)
Unsafe version of
min_row_height_padding. |
static NkVec2 |
nmin_size(long struct)
Unsafe version of
min_size(). |
static void |
nmin_size(long struct,
NkVec2 value)
Unsafe version of
min_size. |
static NkVec2 |
npadding(long struct)
Unsafe version of
padding(). |
static void |
npadding(long struct,
NkVec2 value)
Unsafe version of
padding. |
static NkColor |
npopup_border_color(long struct)
Unsafe version of
popup_border_color(). |
static void |
npopup_border_color(long struct,
NkColor value)
Unsafe version of
popup_border_color. |
static float |
npopup_border(long struct)
Unsafe version of
popup_border(). |
static void |
npopup_border(long struct,
float value)
Unsafe version of
popup_border. |
static NkVec2 |
npopup_padding(long struct)
Unsafe version of
popup_padding(). |
static void |
npopup_padding(long struct,
NkVec2 value)
Unsafe version of
popup_padding. |
static float |
nrounding(long struct)
Unsafe version of
rounding(). |
static void |
nrounding(long struct,
float value)
Unsafe version of
rounding. |
static NkStyleItem |
nscaler(long struct)
Unsafe version of
scaler(). |
static void |
nscaler(long struct,
NkStyleItem value)
Unsafe version of
scaler. |
static NkVec2 |
nscrollbar_size(long struct)
Unsafe version of
scrollbar_size(). |
static void |
nscrollbar_size(long struct,
NkVec2 value)
Unsafe version of
scrollbar_size. |
static NkVec2 |
nspacing(long struct)
Unsafe version of
spacing(). |
static void |
nspacing(long struct,
NkVec2 value)
Unsafe version of
spacing. |
static NkColor |
ntooltip_border_color(long struct)
Unsafe version of
tooltip_border_color(). |
static void |
ntooltip_border_color(long struct,
NkColor value)
Unsafe version of
tooltip_border_color. |
static float |
ntooltip_border(long struct)
Unsafe version of
tooltip_border(). |
static void |
ntooltip_border(long struct,
float value)
Unsafe version of
tooltip_border. |
static NkVec2 |
ntooltip_padding(long struct)
Unsafe version of
tooltip_padding(). |
static void |
ntooltip_padding(long struct,
NkVec2 value)
Unsafe version of
tooltip_padding. |
NkVec2 |
padding()
Returns a
NkVec2 view of the padding field. |
NkStyleWindow |
padding(java.util.function.Consumer<NkVec2> consumer)
Passes the
padding field to the specified Consumer. |
NkStyleWindow |
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 |
popup_border_color(java.util.function.Consumer<NkColor> consumer)
Passes the
popup_border_color field to the specified Consumer. |
NkStyleWindow |
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 |
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 |
popup_padding(java.util.function.Consumer<NkVec2> consumer)
Passes the
popup_padding field to the specified Consumer. |
NkStyleWindow |
popup_padding(NkVec2 value)
Copies the specified
NkVec2 to the popup_padding field. |
float |
rounding()
Returns the value of the
rounding field. |
NkStyleWindow |
rounding(float value)
Sets the specified value to the
rounding field. |
NkStyleItem |
scaler()
Returns a
NkStyleItem view of the scaler field. |
NkStyleWindow |
scaler(java.util.function.Consumer<NkStyleItem> consumer)
Passes the
scaler field to the specified Consumer. |
NkStyleWindow |
scaler(NkStyleItem value)
Copies the specified
NkStyleItem to the scaler field. |
NkVec2 |
scrollbar_size()
Returns a
NkVec2 view of the scrollbar_size field. |
NkStyleWindow |
scrollbar_size(java.util.function.Consumer<NkVec2> consumer)
Passes the
scrollbar_size field to the specified Consumer. |
NkStyleWindow |
scrollbar_size(NkVec2 value)
Copies the specified
NkVec2 to the scrollbar_size field. |
NkStyleWindow |
set(NkStyleWindow src)
Copies the specified struct data to this struct.
|
NkStyleWindow |
set(NkStyleWindowHeader header,
NkStyleItem fixed_background,
NkColor background,
NkColor border_color,
NkColor popup_border_color,
NkColor combo_border_color,
NkColor contextual_border_color,
NkColor menu_border_color,
NkColor group_border_color,
NkColor tooltip_border_color,
NkStyleItem scaler,
float border,
float combo_border,
float contextual_border,
float menu_border,
float group_border,
float tooltip_border,
float popup_border,
float min_row_height_padding,
float rounding,
NkVec2 spacing,
NkVec2 scrollbar_size,
NkVec2 min_size,
NkVec2 padding,
NkVec2 group_padding,
NkVec2 popup_padding,
NkVec2 combo_padding,
NkVec2 contextual_padding,
NkVec2 menu_padding,
NkVec2 tooltip_padding)
Initializes this struct with the specified values.
|
int |
sizeof() |
NkVec2 |
spacing()
Returns a
NkVec2 view of the spacing field. |
NkStyleWindow |
spacing(java.util.function.Consumer<NkVec2> consumer)
Passes the
spacing field to the specified Consumer. |
NkStyleWindow |
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 |
tooltip_border_color(java.util.function.Consumer<NkColor> consumer)
Passes the
tooltip_border_color field to the specified Consumer. |
NkStyleWindow |
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 |
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 |
tooltip_padding(java.util.function.Consumer<NkVec2> consumer)
Passes the
tooltip_padding field to the specified Consumer. |
NkStyleWindow |
tooltip_padding(NkVec2 value)
Copies the specified
NkVec2 to the tooltip_padding field. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int HEADER
public static final int FIXED_BACKGROUND
public static final int BACKGROUND
public static final int BORDER_COLOR
public static final int POPUP_BORDER_COLOR
public static final int COMBO_BORDER_COLOR
public static final int CONTEXTUAL_BORDER_COLOR
public static final int MENU_BORDER_COLOR
public static final int GROUP_BORDER_COLOR
public static final int TOOLTIP_BORDER_COLOR
public static final int SCALER
public static final int BORDER
public static final int COMBO_BORDER
public static final int CONTEXTUAL_BORDER
public static final int MENU_BORDER
public static final int GROUP_BORDER
public static final int TOOLTIP_BORDER
public static final int POPUP_BORDER
public static final int MIN_ROW_HEIGHT_PADDING
public static final int ROUNDING
public static final int SPACING
public static final int SCROLLBAR_SIZE
public static final int MIN_SIZE
public static final int PADDING
public static final int GROUP_PADDING
public static final int POPUP_PADDING
public static final int COMBO_PADDING
public static final int CONTEXTUAL_PADDING
public static final int MENU_PADDING
public static final int TOOLTIP_PADDING
public NkStyleWindow(java.nio.ByteBuffer container)
NkStyleWindow instance at the current position of the specified ByteBuffer 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.
public int sizeof()
sizeof in class org.lwjgl.system.Structpublic 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 header(NkStyleWindowHeader value)
NkStyleWindowHeader to the header field.public NkStyleWindow header(java.util.function.Consumer<NkStyleWindowHeader> consumer)
header field to the specified Consumer.public NkStyleWindow fixed_background(NkStyleItem value)
NkStyleItem to the fixed_background field.public NkStyleWindow fixed_background(java.util.function.Consumer<NkStyleItem> consumer)
fixed_background field to the specified Consumer.public NkStyleWindow background(NkColor value)
NkColor to the background field.public NkStyleWindow background(java.util.function.Consumer<NkColor> consumer)
background field to the specified Consumer.public NkStyleWindow border_color(NkColor value)
NkColor to the border_color field.public NkStyleWindow border_color(java.util.function.Consumer<NkColor> consumer)
border_color field to the specified Consumer.public NkStyleWindow popup_border_color(NkColor value)
NkColor to the popup_border_color field.public NkStyleWindow popup_border_color(java.util.function.Consumer<NkColor> consumer)
popup_border_color field to the specified Consumer.public NkStyleWindow combo_border_color(NkColor value)
NkColor to the combo_border_color field.public NkStyleWindow combo_border_color(java.util.function.Consumer<NkColor> consumer)
combo_border_color field to the specified Consumer.public NkStyleWindow contextual_border_color(NkColor value)
NkColor to the contextual_border_color field.public NkStyleWindow contextual_border_color(java.util.function.Consumer<NkColor> consumer)
contextual_border_color field to the specified Consumer.public NkStyleWindow menu_border_color(NkColor value)
NkColor to the menu_border_color field.public NkStyleWindow menu_border_color(java.util.function.Consumer<NkColor> consumer)
menu_border_color field to the specified Consumer.public NkStyleWindow group_border_color(NkColor value)
NkColor to the group_border_color field.public NkStyleWindow group_border_color(java.util.function.Consumer<NkColor> consumer)
group_border_color field to the specified Consumer.public NkStyleWindow tooltip_border_color(NkColor value)
NkColor to the tooltip_border_color field.public NkStyleWindow tooltip_border_color(java.util.function.Consumer<NkColor> consumer)
tooltip_border_color field to the specified Consumer.public NkStyleWindow scaler(NkStyleItem value)
NkStyleItem to the scaler field.public NkStyleWindow scaler(java.util.function.Consumer<NkStyleItem> consumer)
scaler field to the specified Consumer.public NkStyleWindow border(float value)
border field.public NkStyleWindow combo_border(float value)
combo_border field.public NkStyleWindow contextual_border(float value)
contextual_border field.public NkStyleWindow menu_border(float value)
menu_border field.public NkStyleWindow group_border(float value)
group_border field.public NkStyleWindow tooltip_border(float value)
tooltip_border field.public NkStyleWindow popup_border(float value)
popup_border field.public NkStyleWindow min_row_height_padding(float value)
min_row_height_padding field.public NkStyleWindow rounding(float value)
rounding field.public NkStyleWindow spacing(NkVec2 value)
NkVec2 to the spacing field.public NkStyleWindow spacing(java.util.function.Consumer<NkVec2> consumer)
spacing field to the specified Consumer.public NkStyleWindow scrollbar_size(NkVec2 value)
NkVec2 to the scrollbar_size field.public NkStyleWindow scrollbar_size(java.util.function.Consumer<NkVec2> consumer)
scrollbar_size field to the specified Consumer.public NkStyleWindow min_size(NkVec2 value)
NkVec2 to the min_size field.public NkStyleWindow min_size(java.util.function.Consumer<NkVec2> consumer)
min_size field to the specified Consumer.public NkStyleWindow padding(NkVec2 value)
NkVec2 to the padding field.public NkStyleWindow padding(java.util.function.Consumer<NkVec2> consumer)
padding field to the specified Consumer.public NkStyleWindow group_padding(NkVec2 value)
NkVec2 to the group_padding field.public NkStyleWindow group_padding(java.util.function.Consumer<NkVec2> consumer)
group_padding field to the specified Consumer.public NkStyleWindow popup_padding(NkVec2 value)
NkVec2 to the popup_padding field.public NkStyleWindow popup_padding(java.util.function.Consumer<NkVec2> consumer)
popup_padding field to the specified Consumer.public NkStyleWindow combo_padding(NkVec2 value)
NkVec2 to the combo_padding field.public NkStyleWindow combo_padding(java.util.function.Consumer<NkVec2> consumer)
combo_padding field to the specified Consumer.public NkStyleWindow contextual_padding(NkVec2 value)
NkVec2 to the contextual_padding field.public NkStyleWindow contextual_padding(java.util.function.Consumer<NkVec2> consumer)
contextual_padding field to the specified Consumer.public NkStyleWindow menu_padding(NkVec2 value)
NkVec2 to the menu_padding field.public NkStyleWindow menu_padding(java.util.function.Consumer<NkVec2> consumer)
menu_padding field to the specified Consumer.public NkStyleWindow tooltip_padding(NkVec2 value)
NkVec2 to the tooltip_padding field.public NkStyleWindow tooltip_padding(java.util.function.Consumer<NkVec2> consumer)
tooltip_padding field to the specified Consumer.public NkStyleWindow set(NkStyleWindowHeader header, NkStyleItem fixed_background, NkColor background, NkColor border_color, NkColor popup_border_color, NkColor combo_border_color, NkColor contextual_border_color, NkColor menu_border_color, NkColor group_border_color, NkColor tooltip_border_color, NkStyleItem scaler, float border, float combo_border, float contextual_border, float menu_border, float group_border, float tooltip_border, float popup_border, float min_row_height_padding, float rounding, NkVec2 spacing, NkVec2 scrollbar_size, NkVec2 min_size, NkVec2 padding, NkVec2 group_padding, NkVec2 popup_padding, NkVec2 combo_padding, NkVec2 contextual_padding, NkVec2 menu_padding, NkVec2 tooltip_padding)
public NkStyleWindow set(NkStyleWindow src)
src - the source structpublic static NkStyleWindow malloc()
NkStyleWindow instance allocated with memAlloc. The instance must be explicitly freed.public static NkStyleWindow calloc()
NkStyleWindow instance allocated with memCalloc. The instance must be explicitly freed.public static NkStyleWindow create()
NkStyleWindow instance allocated with BufferUtils.public static NkStyleWindow create(long address)
NkStyleWindow instance for the specified memory address.@Nullable public static NkStyleWindow createSafe(long address)
public static NkStyleWindow.Buffer malloc(int capacity)
NkStyleWindow.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static NkStyleWindow.Buffer calloc(int capacity)
NkStyleWindow.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static NkStyleWindow.Buffer create(int capacity)
NkStyleWindow.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static NkStyleWindow.Buffer create(long address, int capacity)
NkStyleWindow.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static NkStyleWindow.Buffer createSafe(long address, int capacity)
public static NkStyleWindow mallocStack()
NkStyleWindow instance allocated on the thread-local MemoryStack.public static NkStyleWindow callocStack()
NkStyleWindow instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static NkStyleWindow mallocStack(org.lwjgl.system.MemoryStack stack)
NkStyleWindow instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static NkStyleWindow callocStack(org.lwjgl.system.MemoryStack stack)
NkStyleWindow instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static NkStyleWindow.Buffer mallocStack(int capacity)
NkStyleWindow.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static NkStyleWindow.Buffer callocStack(int capacity)
NkStyleWindow.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static NkStyleWindow.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
NkStyleWindow.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static NkStyleWindow.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
NkStyleWindow.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatecapacity - the buffer capacitypublic static NkStyleWindowHeader nheader(long struct)
header().public static NkStyleItem nfixed_background(long struct)
fixed_background().public static NkColor nbackground(long struct)
background().public static NkColor nborder_color(long struct)
border_color().public static NkColor npopup_border_color(long struct)
popup_border_color().public static NkColor ncombo_border_color(long struct)
combo_border_color().public static NkColor ncontextual_border_color(long struct)
contextual_border_color().public static NkColor nmenu_border_color(long struct)
menu_border_color().public static NkColor ngroup_border_color(long struct)
group_border_color().public static NkColor ntooltip_border_color(long struct)
tooltip_border_color().public static NkStyleItem nscaler(long struct)
scaler().public static float nborder(long struct)
border().public static float ncombo_border(long struct)
combo_border().public static float ncontextual_border(long struct)
contextual_border().public static float nmenu_border(long struct)
menu_border().public static float ngroup_border(long struct)
group_border().public static float ntooltip_border(long struct)
tooltip_border().public static float npopup_border(long struct)
popup_border().public static float nmin_row_height_padding(long struct)
min_row_height_padding().public static float nrounding(long struct)
rounding().public static NkVec2 nscrollbar_size(long struct)
scrollbar_size().public static NkVec2 nmin_size(long struct)
min_size().public static NkVec2 ngroup_padding(long struct)
group_padding().public static NkVec2 npopup_padding(long struct)
popup_padding().public static NkVec2 ncombo_padding(long struct)
combo_padding().public static NkVec2 ncontextual_padding(long struct)
contextual_padding().public static NkVec2 nmenu_padding(long struct)
menu_padding().public static NkVec2 ntooltip_padding(long struct)
tooltip_padding().public static void nheader(long struct,
NkStyleWindowHeader value)
header.public static void nfixed_background(long struct,
NkStyleItem value)
fixed_background.public static void nbackground(long struct,
NkColor value)
background.public static void nborder_color(long struct,
NkColor value)
border_color.public static void npopup_border_color(long struct,
NkColor value)
popup_border_color.public static void ncombo_border_color(long struct,
NkColor value)
combo_border_color.public static void ncontextual_border_color(long struct,
NkColor value)
contextual_border_color.public static void nmenu_border_color(long struct,
NkColor value)
menu_border_color.public static void ngroup_border_color(long struct,
NkColor value)
group_border_color.public static void ntooltip_border_color(long struct,
NkColor value)
tooltip_border_color.public static void nscaler(long struct,
NkStyleItem value)
scaler.public static void nborder(long struct,
float value)
border.public static void ncombo_border(long struct,
float value)
combo_border.public static void ncontextual_border(long struct,
float value)
contextual_border.public static void nmenu_border(long struct,
float value)
menu_border.public static void ngroup_border(long struct,
float value)
group_border.public static void ntooltip_border(long struct,
float value)
tooltip_border.public static void npopup_border(long struct,
float value)
popup_border.public static void nmin_row_height_padding(long struct,
float value)
min_row_height_padding.public static void nrounding(long struct,
float value)
rounding.public static void nscrollbar_size(long struct,
NkVec2 value)
scrollbar_size.public static void ngroup_padding(long struct,
NkVec2 value)
group_padding.public static void npopup_padding(long struct,
NkVec2 value)
popup_padding.public static void ncombo_padding(long struct,
NkVec2 value)
combo_padding.public static void ncontextual_padding(long struct,
NkVec2 value)
contextual_padding.public static void nmenu_padding(long struct,
NkVec2 value)
menu_padding.public static void ntooltip_padding(long struct,
NkVec2 value)
tooltip_padding.Copyright LWJGL. All Rights Reserved. License terms.