Package org.lwjgl.nuklear
Class NkStyleWindow
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.nuklear.NkStyleWindow
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class NkStyleWindow extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceLayout
struct nk_style_window {struct nk_style_window_headerheader;struct nk_style_itemfixed_background;struct nk_colorbackground;struct nk_colorborder_color;struct nk_colorpopup_border_color;struct nk_colorcombo_border_color;struct nk_colorcontextual_border_color;struct nk_colormenu_border_color;struct nk_colorgroup_border_color;struct nk_colortooltip_border_color;struct nk_style_itemscaler; 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_vec2spacing;struct nk_vec2scrollbar_size;struct nk_vec2min_size;struct nk_vec2padding;struct nk_vec2group_padding;struct nk_vec2popup_padding;struct nk_vec2combo_padding;struct nk_vec2contextual_padding;struct nk_vec2menu_padding;struct nk_vec2tooltip_padding; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNkStyleWindow.BufferAn array ofNkStyleWindowstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intBACKGROUND
BORDER
BORDER_COLOR
COMBO_BORDER
COMBO_BORDER_COLOR
COMBO_PADDING
CONTEXTUAL_BORDER
CONTEXTUAL_BORDER_COLOR
CONTEXTUAL_PADDING
FIXED_BACKGROUND
GROUP_BORDER
GROUP_BORDER_COLOR
GROUP_PADDING
HEADER
MENU_BORDER
MENU_BORDER_COLOR
MENU_PADDING
MIN_ROW_HEIGHT_PADDING
MIN_SIZE
PADDING
POPUP_BORDER
POPUP_BORDER_COLOR
POPUP_PADDING
ROUNDING
SCALER
SCROLLBAR_SIZEThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSPACING
TOOLTIP_BORDER
TOOLTIP_BORDER_COLOR
TOOLTIP_PADDINGThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description NkStyleWindow(java.nio.ByteBuffer container)Creates aNkStyleWindowinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description NkColorbackground()Returns aNkColorview of thebackgroundfield.NkStyleWindowbackground(java.util.function.Consumer<NkColor> consumer)Passes thebackgroundfield to the specifiedConsumer.NkStyleWindowbackground(NkColor value)Copies the specifiedNkColorto thebackgroundfield.floatborder()Returns the value of theborderfield.NkStyleWindowborder(float value)Sets the specified value to theborderfield.NkColorborder_color()Returns aNkColorview of theborder_colorfield.NkStyleWindowborder_color(java.util.function.Consumer<NkColor> consumer)Passes theborder_colorfield to the specifiedConsumer.NkStyleWindowborder_color(NkColor value)Copies the specifiedNkColorto theborder_colorfield.static NkStyleWindowcalloc()Returns a newNkStyleWindowinstance allocated withmemCalloc.static NkStyleWindow.Buffercalloc(int capacity)Returns a newNkStyleWindow.Bufferinstance allocated withmemCalloc.static NkStyleWindowcallocStack()Returns a newNkStyleWindowinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static NkStyleWindow.BuffercallocStack(int capacity)Returns a newNkStyleWindow.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static NkStyleWindow.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newNkStyleWindow.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static NkStyleWindowcallocStack(org.lwjgl.system.MemoryStack stack)Returns a newNkStyleWindowinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.floatcombo_border()Returns the value of thecombo_borderfield.NkStyleWindowcombo_border(float value)Sets the specified value to thecombo_borderfield.NkColorcombo_border_color()Returns aNkColorview of thecombo_border_colorfield.NkStyleWindowcombo_border_color(java.util.function.Consumer<NkColor> consumer)Passes thecombo_border_colorfield to the specifiedConsumer.NkStyleWindowcombo_border_color(NkColor value)Copies the specifiedNkColorto thecombo_border_colorfield.NkVec2combo_padding()Returns aNkVec2view of thecombo_paddingfield.NkStyleWindowcombo_padding(java.util.function.Consumer<NkVec2> consumer)Passes thecombo_paddingfield to the specifiedConsumer.NkStyleWindowcombo_padding(NkVec2 value)Copies the specifiedNkVec2to thecombo_paddingfield.floatcontextual_border()Returns the value of thecontextual_borderfield.NkStyleWindowcontextual_border(float value)Sets the specified value to thecontextual_borderfield.NkColorcontextual_border_color()Returns aNkColorview of thecontextual_border_colorfield.NkStyleWindowcontextual_border_color(java.util.function.Consumer<NkColor> consumer)Passes thecontextual_border_colorfield to the specifiedConsumer.NkStyleWindowcontextual_border_color(NkColor value)Copies the specifiedNkColorto thecontextual_border_colorfield.NkVec2contextual_padding()Returns aNkVec2view of thecontextual_paddingfield.NkStyleWindowcontextual_padding(java.util.function.Consumer<NkVec2> consumer)Passes thecontextual_paddingfield to the specifiedConsumer.NkStyleWindowcontextual_padding(NkVec2 value)Copies the specifiedNkVec2to thecontextual_paddingfield.static NkStyleWindowcreate()Returns a newNkStyleWindowinstance allocated withBufferUtils.static NkStyleWindow.Buffercreate(int capacity)Returns a newNkStyleWindow.Bufferinstance allocated withBufferUtils.static NkStyleWindowcreate(long address)Returns a newNkStyleWindowinstance for the specified memory address.static NkStyleWindow.Buffercreate(long address, int capacity)Create aNkStyleWindow.Bufferinstance at the specified memory.static NkStyleWindowcreateSafe(long address)static NkStyleWindow.BuffercreateSafe(long address, int capacity)NkStyleItemfixed_background()Returns aNkStyleItemview of thefixed_backgroundfield.NkStyleWindowfixed_background(java.util.function.Consumer<NkStyleItem> consumer)Passes thefixed_backgroundfield to the specifiedConsumer.NkStyleWindowfixed_background(NkStyleItem value)Copies the specifiedNkStyleItemto thefixed_backgroundfield.floatgroup_border()Returns the value of thegroup_borderfield.NkStyleWindowgroup_border(float value)Sets the specified value to thegroup_borderfield.NkColorgroup_border_color()Returns aNkColorview of thegroup_border_colorfield.NkStyleWindowgroup_border_color(java.util.function.Consumer<NkColor> consumer)Passes thegroup_border_colorfield to the specifiedConsumer.NkStyleWindowgroup_border_color(NkColor value)Copies the specifiedNkColorto thegroup_border_colorfield.NkVec2group_padding()Returns aNkVec2view of thegroup_paddingfield.NkStyleWindowgroup_padding(java.util.function.Consumer<NkVec2> consumer)Passes thegroup_paddingfield to the specifiedConsumer.NkStyleWindowgroup_padding(NkVec2 value)Copies the specifiedNkVec2to thegroup_paddingfield.NkStyleWindowHeaderheader()Returns aNkStyleWindowHeaderview of theheaderfield.NkStyleWindowheader(java.util.function.Consumer<NkStyleWindowHeader> consumer)Passes theheaderfield to the specifiedConsumer.NkStyleWindowheader(NkStyleWindowHeader value)Copies the specifiedNkStyleWindowHeaderto theheaderfield.static NkStyleWindowmalloc()Returns a newNkStyleWindowinstance allocated withmemAlloc.static NkStyleWindow.Buffermalloc(int capacity)Returns a newNkStyleWindow.Bufferinstance allocated withmemAlloc.static NkStyleWindowmallocStack()Returns a newNkStyleWindowinstance allocated on the thread-localMemoryStack.static NkStyleWindow.BuffermallocStack(int capacity)Returns a newNkStyleWindow.Bufferinstance allocated on the thread-localMemoryStack.static NkStyleWindow.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newNkStyleWindow.Bufferinstance allocated on the specifiedMemoryStack.static NkStyleWindowmallocStack(org.lwjgl.system.MemoryStack stack)Returns a newNkStyleWindowinstance allocated on the specifiedMemoryStack.floatmenu_border()Returns the value of themenu_borderfield.NkStyleWindowmenu_border(float value)Sets the specified value to themenu_borderfield.NkColormenu_border_color()Returns aNkColorview of themenu_border_colorfield.NkStyleWindowmenu_border_color(java.util.function.Consumer<NkColor> consumer)Passes themenu_border_colorfield to the specifiedConsumer.NkStyleWindowmenu_border_color(NkColor value)Copies the specifiedNkColorto themenu_border_colorfield.NkVec2menu_padding()Returns aNkVec2view of themenu_paddingfield.NkStyleWindowmenu_padding(java.util.function.Consumer<NkVec2> consumer)Passes themenu_paddingfield to the specifiedConsumer.NkStyleWindowmenu_padding(NkVec2 value)Copies the specifiedNkVec2to themenu_paddingfield.floatmin_row_height_padding()Returns the value of themin_row_height_paddingfield.NkStyleWindowmin_row_height_padding(float value)Sets the specified value to themin_row_height_paddingfield.NkVec2min_size()Returns aNkVec2view of themin_sizefield.NkStyleWindowmin_size(java.util.function.Consumer<NkVec2> consumer)Passes themin_sizefield to the specifiedConsumer.NkStyleWindowmin_size(NkVec2 value)Copies the specifiedNkVec2to themin_sizefield.static NkColornbackground(long struct)Unsafe version ofbackground().static voidnbackground(long struct, NkColor value)Unsafe version ofbackground.static floatnborder(long struct)Unsafe version ofborder().static voidnborder(long struct, float value)Unsafe version ofborder.static NkColornborder_color(long struct)Unsafe version ofborder_color().static voidnborder_color(long struct, NkColor value)Unsafe version ofborder_color.static floatncombo_border(long struct)Unsafe version ofcombo_border().static voidncombo_border(long struct, float value)Unsafe version ofcombo_border.static NkColorncombo_border_color(long struct)Unsafe version ofcombo_border_color().static voidncombo_border_color(long struct, NkColor value)Unsafe version ofcombo_border_color.static NkVec2ncombo_padding(long struct)Unsafe version ofcombo_padding().static voidncombo_padding(long struct, NkVec2 value)Unsafe version ofcombo_padding.static floatncontextual_border(long struct)Unsafe version ofcontextual_border().static voidncontextual_border(long struct, float value)Unsafe version ofcontextual_border.static NkColorncontextual_border_color(long struct)Unsafe version ofcontextual_border_color().static voidncontextual_border_color(long struct, NkColor value)Unsafe version ofcontextual_border_color.static NkVec2ncontextual_padding(long struct)Unsafe version ofcontextual_padding().static voidncontextual_padding(long struct, NkVec2 value)Unsafe version ofcontextual_padding.static NkStyleItemnfixed_background(long struct)Unsafe version offixed_background().static voidnfixed_background(long struct, NkStyleItem value)Unsafe version offixed_background.static floatngroup_border(long struct)Unsafe version ofgroup_border().static voidngroup_border(long struct, float value)Unsafe version ofgroup_border.static NkColorngroup_border_color(long struct)Unsafe version ofgroup_border_color().static voidngroup_border_color(long struct, NkColor value)Unsafe version ofgroup_border_color.static NkVec2ngroup_padding(long struct)Unsafe version ofgroup_padding().static voidngroup_padding(long struct, NkVec2 value)Unsafe version ofgroup_padding.static NkStyleWindowHeadernheader(long struct)Unsafe version ofheader().static voidnheader(long struct, NkStyleWindowHeader value)Unsafe version ofheader.static floatnmenu_border(long struct)Unsafe version ofmenu_border().static voidnmenu_border(long struct, float value)Unsafe version ofmenu_border.static NkColornmenu_border_color(long struct)Unsafe version ofmenu_border_color().static voidnmenu_border_color(long struct, NkColor value)Unsafe version ofmenu_border_color.static NkVec2nmenu_padding(long struct)Unsafe version ofmenu_padding().static voidnmenu_padding(long struct, NkVec2 value)Unsafe version ofmenu_padding.static floatnmin_row_height_padding(long struct)Unsafe version ofmin_row_height_padding().static voidnmin_row_height_padding(long struct, float value)Unsafe version ofmin_row_height_padding.static NkVec2nmin_size(long struct)Unsafe version ofmin_size().static voidnmin_size(long struct, NkVec2 value)Unsafe version ofmin_size.static NkVec2npadding(long struct)Unsafe version ofpadding().static voidnpadding(long struct, NkVec2 value)Unsafe version ofpadding.static floatnpopup_border(long struct)Unsafe version ofpopup_border().static voidnpopup_border(long struct, float value)Unsafe version ofpopup_border.static NkColornpopup_border_color(long struct)Unsafe version ofpopup_border_color().static voidnpopup_border_color(long struct, NkColor value)Unsafe version ofpopup_border_color.static NkVec2npopup_padding(long struct)Unsafe version ofpopup_padding().static voidnpopup_padding(long struct, NkVec2 value)Unsafe version ofpopup_padding.static floatnrounding(long struct)Unsafe version ofrounding().static voidnrounding(long struct, float value)Unsafe version ofrounding.static NkStyleItemnscaler(long struct)Unsafe version ofscaler().static voidnscaler(long struct, NkStyleItem value)Unsafe version ofscaler.static NkVec2nscrollbar_size(long struct)Unsafe version ofscrollbar_size().static voidnscrollbar_size(long struct, NkVec2 value)Unsafe version ofscrollbar_size.static NkVec2nspacing(long struct)Unsafe version ofspacing().static voidnspacing(long struct, NkVec2 value)Unsafe version ofspacing.static floatntooltip_border(long struct)Unsafe version oftooltip_border().static voidntooltip_border(long struct, float value)Unsafe version oftooltip_border.static NkColorntooltip_border_color(long struct)Unsafe version oftooltip_border_color().static voidntooltip_border_color(long struct, NkColor value)Unsafe version oftooltip_border_color.static NkVec2ntooltip_padding(long struct)Unsafe version oftooltip_padding().static voidntooltip_padding(long struct, NkVec2 value)Unsafe version oftooltip_padding.NkVec2padding()Returns aNkVec2view of thepaddingfield.NkStyleWindowpadding(java.util.function.Consumer<NkVec2> consumer)Passes thepaddingfield to the specifiedConsumer.NkStyleWindowpadding(NkVec2 value)Copies the specifiedNkVec2to thepaddingfield.floatpopup_border()Returns the value of thepopup_borderfield.NkStyleWindowpopup_border(float value)Sets the specified value to thepopup_borderfield.NkColorpopup_border_color()Returns aNkColorview of thepopup_border_colorfield.NkStyleWindowpopup_border_color(java.util.function.Consumer<NkColor> consumer)Passes thepopup_border_colorfield to the specifiedConsumer.NkStyleWindowpopup_border_color(NkColor value)Copies the specifiedNkColorto thepopup_border_colorfield.NkVec2popup_padding()Returns aNkVec2view of thepopup_paddingfield.NkStyleWindowpopup_padding(java.util.function.Consumer<NkVec2> consumer)Passes thepopup_paddingfield to the specifiedConsumer.NkStyleWindowpopup_padding(NkVec2 value)Copies the specifiedNkVec2to thepopup_paddingfield.floatrounding()Returns the value of theroundingfield.NkStyleWindowrounding(float value)Sets the specified value to theroundingfield.NkStyleItemscaler()Returns aNkStyleItemview of thescalerfield.NkStyleWindowscaler(java.util.function.Consumer<NkStyleItem> consumer)Passes thescalerfield to the specifiedConsumer.NkStyleWindowscaler(NkStyleItem value)Copies the specifiedNkStyleItemto thescalerfield.NkVec2scrollbar_size()Returns aNkVec2view of thescrollbar_sizefield.NkStyleWindowscrollbar_size(java.util.function.Consumer<NkVec2> consumer)Passes thescrollbar_sizefield to the specifiedConsumer.NkStyleWindowscrollbar_size(NkVec2 value)Copies the specifiedNkVec2to thescrollbar_sizefield.NkStyleWindowset(NkStyleWindow src)Copies the specified struct data to this struct.NkStyleWindowset(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.intsizeof()NkVec2spacing()Returns aNkVec2view of thespacingfield.NkStyleWindowspacing(java.util.function.Consumer<NkVec2> consumer)Passes thespacingfield to the specifiedConsumer.NkStyleWindowspacing(NkVec2 value)Copies the specifiedNkVec2to thespacingfield.floattooltip_border()Returns the value of thetooltip_borderfield.NkStyleWindowtooltip_border(float value)Sets the specified value to thetooltip_borderfield.NkColortooltip_border_color()Returns aNkColorview of thetooltip_border_colorfield.NkStyleWindowtooltip_border_color(java.util.function.Consumer<NkColor> consumer)Passes thetooltip_border_colorfield to the specifiedConsumer.NkStyleWindowtooltip_border_color(NkColor value)Copies the specifiedNkColorto thetooltip_border_colorfield.NkVec2tooltip_padding()Returns aNkVec2view of thetooltip_paddingfield.NkStyleWindowtooltip_padding(java.util.function.Consumer<NkVec2> consumer)Passes thetooltip_paddingfield to the specifiedConsumer.NkStyleWindowtooltip_padding(NkVec2 value)Copies the specifiedNkVec2to thetooltip_paddingfield.
-
-
-
Field Detail
-
SIZEOF
The struct size in bytes.
-
ALIGNOF
The struct alignment in bytes.
-
HEADER, FIXED_BACKGROUND, BACKGROUND, BORDER_COLOR, POPUP_BORDER_COLOR, COMBO_BORDER_COLOR, CONTEXTUAL_BORDER_COLOR, MENU_BORDER_COLOR, GROUP_BORDER_COLOR, TOOLTIP_BORDER_COLOR, SCALER, BORDER, COMBO_BORDER, CONTEXTUAL_BORDER, MENU_BORDER, GROUP_BORDER, TOOLTIP_BORDER, POPUP_BORDER, MIN_ROW_HEIGHT_PADDING, ROUNDING, SPACING, SCROLLBAR_SIZE, MIN_SIZE, PADDING, GROUP_PADDING, POPUP_PADDING, COMBO_PADDING, CONTEXTUAL_PADDING, MENU_PADDING, TOOLTIP_PADDING
The struct member offsets.
-
-
Constructor Detail
-
NkStyleWindow
public NkStyleWindow(java.nio.ByteBuffer container)
Creates aNkStyleWindowinstance at the current position of the specifiedByteBuffercontainer. 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:
sizeofin classorg.lwjgl.system.Struct
-
header
public NkStyleWindowHeader header()
Returns aNkStyleWindowHeaderview of theheaderfield.
-
header
public NkStyleWindow header(java.util.function.Consumer<NkStyleWindowHeader> consumer)
Passes theheaderfield to the specifiedConsumer.
-
fixed_background
public NkStyleItem fixed_background()
Returns aNkStyleItemview of thefixed_backgroundfield.
-
fixed_background
public NkStyleWindow fixed_background(java.util.function.Consumer<NkStyleItem> consumer)
Passes thefixed_backgroundfield to the specifiedConsumer.
-
background
public NkStyleWindow background(java.util.function.Consumer<NkColor> consumer)
Passes thebackgroundfield to the specifiedConsumer.
-
border_color
public NkStyleWindow border_color(java.util.function.Consumer<NkColor> consumer)
Passes theborder_colorfield to the specifiedConsumer.
-
popup_border_color
public NkColor popup_border_color()
Returns aNkColorview of thepopup_border_colorfield.
-
popup_border_color
public NkStyleWindow popup_border_color(java.util.function.Consumer<NkColor> consumer)
Passes thepopup_border_colorfield to the specifiedConsumer.
-
combo_border_color
public NkColor combo_border_color()
Returns aNkColorview of thecombo_border_colorfield.
-
combo_border_color
public NkStyleWindow combo_border_color(java.util.function.Consumer<NkColor> consumer)
Passes thecombo_border_colorfield to the specifiedConsumer.
-
contextual_border_color
public NkColor contextual_border_color()
Returns aNkColorview of thecontextual_border_colorfield.
-
contextual_border_color
public NkStyleWindow contextual_border_color(java.util.function.Consumer<NkColor> consumer)
Passes thecontextual_border_colorfield to the specifiedConsumer.
-
menu_border_color
public NkColor menu_border_color()
Returns aNkColorview of themenu_border_colorfield.
-
menu_border_color
public NkStyleWindow menu_border_color(java.util.function.Consumer<NkColor> consumer)
Passes themenu_border_colorfield to the specifiedConsumer.
-
group_border_color
public NkColor group_border_color()
Returns aNkColorview of thegroup_border_colorfield.
-
group_border_color
public NkStyleWindow group_border_color(java.util.function.Consumer<NkColor> consumer)
Passes thegroup_border_colorfield to the specifiedConsumer.
-
tooltip_border_color
public NkColor tooltip_border_color()
Returns aNkColorview of thetooltip_border_colorfield.
-
tooltip_border_color
public NkStyleWindow tooltip_border_color(java.util.function.Consumer<NkColor> consumer)
Passes thetooltip_border_colorfield to the specifiedConsumer.
-
scaler
public NkStyleItem scaler()
Returns aNkStyleItemview of thescalerfield.
-
scaler
public NkStyleWindow scaler(java.util.function.Consumer<NkStyleItem> consumer)
Passes thescalerfield to the specifiedConsumer.
-
border
public float border()
Returns the value of theborderfield.
-
combo_border
public float combo_border()
Returns the value of thecombo_borderfield.
-
contextual_border
public float contextual_border()
Returns the value of thecontextual_borderfield.
-
menu_border
public float menu_border()
Returns the value of themenu_borderfield.
-
group_border
public float group_border()
Returns the value of thegroup_borderfield.
-
tooltip_border
public float tooltip_border()
Returns the value of thetooltip_borderfield.
-
popup_border
public float popup_border()
Returns the value of thepopup_borderfield.
-
min_row_height_padding
public float min_row_height_padding()
Returns the value of themin_row_height_paddingfield.
-
rounding
public float rounding()
Returns the value of theroundingfield.
-
spacing
public NkStyleWindow spacing(java.util.function.Consumer<NkVec2> consumer)
Passes thespacingfield to the specifiedConsumer.
-
scrollbar_size
public NkStyleWindow scrollbar_size(java.util.function.Consumer<NkVec2> consumer)
Passes thescrollbar_sizefield to the specifiedConsumer.
-
min_size
public NkStyleWindow min_size(java.util.function.Consumer<NkVec2> consumer)
Passes themin_sizefield to the specifiedConsumer.
-
padding
public NkStyleWindow padding(java.util.function.Consumer<NkVec2> consumer)
Passes thepaddingfield to the specifiedConsumer.
-
group_padding
public NkStyleWindow group_padding(java.util.function.Consumer<NkVec2> consumer)
Passes thegroup_paddingfield to the specifiedConsumer.
-
popup_padding
public NkStyleWindow popup_padding(java.util.function.Consumer<NkVec2> consumer)
Passes thepopup_paddingfield to the specifiedConsumer.
-
combo_padding
public NkStyleWindow combo_padding(java.util.function.Consumer<NkVec2> consumer)
Passes thecombo_paddingfield to the specifiedConsumer.
-
contextual_padding
public NkVec2 contextual_padding()
Returns aNkVec2view of thecontextual_paddingfield.
-
contextual_padding
public NkStyleWindow contextual_padding(java.util.function.Consumer<NkVec2> consumer)
Passes thecontextual_paddingfield to the specifiedConsumer.
-
menu_padding
public NkStyleWindow menu_padding(java.util.function.Consumer<NkVec2> consumer)
Passes themenu_paddingfield to the specifiedConsumer.
-
tooltip_padding
public NkStyleWindow tooltip_padding(java.util.function.Consumer<NkVec2> consumer)
Passes thetooltip_paddingfield to the specifiedConsumer.
-
header
public NkStyleWindow header(NkStyleWindowHeader value)
Copies the specifiedNkStyleWindowHeaderto theheaderfield.
-
fixed_background
public NkStyleWindow fixed_background(NkStyleItem value)
Copies the specifiedNkStyleItemto thefixed_backgroundfield.
-
background
public NkStyleWindow background(NkColor value)
Copies the specifiedNkColorto thebackgroundfield.
-
border_color
public NkStyleWindow border_color(NkColor value)
Copies the specifiedNkColorto theborder_colorfield.
-
popup_border_color
public NkStyleWindow popup_border_color(NkColor value)
Copies the specifiedNkColorto thepopup_border_colorfield.
-
combo_border_color
public NkStyleWindow combo_border_color(NkColor value)
Copies the specifiedNkColorto thecombo_border_colorfield.
-
contextual_border_color
public NkStyleWindow contextual_border_color(NkColor value)
Copies the specifiedNkColorto thecontextual_border_colorfield.
-
menu_border_color
public NkStyleWindow menu_border_color(NkColor value)
Copies the specifiedNkColorto themenu_border_colorfield.
-
group_border_color
public NkStyleWindow group_border_color(NkColor value)
Copies the specifiedNkColorto thegroup_border_colorfield.
-
tooltip_border_color
public NkStyleWindow tooltip_border_color(NkColor value)
Copies the specifiedNkColorto thetooltip_border_colorfield.
-
scaler
public NkStyleWindow scaler(NkStyleItem value)
Copies the specifiedNkStyleItemto thescalerfield.
-
border
public NkStyleWindow border(float value)
Sets the specified value to theborderfield.
-
combo_border
public NkStyleWindow combo_border(float value)
Sets the specified value to thecombo_borderfield.
-
contextual_border
public NkStyleWindow contextual_border(float value)
Sets the specified value to thecontextual_borderfield.
-
menu_border
public NkStyleWindow menu_border(float value)
Sets the specified value to themenu_borderfield.
-
group_border
public NkStyleWindow group_border(float value)
Sets the specified value to thegroup_borderfield.
-
tooltip_border
public NkStyleWindow tooltip_border(float value)
Sets the specified value to thetooltip_borderfield.
-
popup_border
public NkStyleWindow popup_border(float value)
Sets the specified value to thepopup_borderfield.
-
min_row_height_padding
public NkStyleWindow min_row_height_padding(float value)
Sets the specified value to themin_row_height_paddingfield.
-
rounding
public NkStyleWindow rounding(float value)
Sets the specified value to theroundingfield.
-
spacing
public NkStyleWindow spacing(NkVec2 value)
Copies the specifiedNkVec2to thespacingfield.
-
scrollbar_size
public NkStyleWindow scrollbar_size(NkVec2 value)
Copies the specifiedNkVec2to thescrollbar_sizefield.
-
min_size
public NkStyleWindow min_size(NkVec2 value)
Copies the specifiedNkVec2to themin_sizefield.
-
padding
public NkStyleWindow padding(NkVec2 value)
Copies the specifiedNkVec2to thepaddingfield.
-
group_padding
public NkStyleWindow group_padding(NkVec2 value)
Copies the specifiedNkVec2to thegroup_paddingfield.
-
popup_padding
public NkStyleWindow popup_padding(NkVec2 value)
Copies the specifiedNkVec2to thepopup_paddingfield.
-
combo_padding
public NkStyleWindow combo_padding(NkVec2 value)
Copies the specifiedNkVec2to thecombo_paddingfield.
-
contextual_padding
public NkStyleWindow contextual_padding(NkVec2 value)
Copies the specifiedNkVec2to thecontextual_paddingfield.
-
menu_padding
public NkStyleWindow menu_padding(NkVec2 value)
Copies the specifiedNkVec2to themenu_paddingfield.
-
tooltip_padding
public NkStyleWindow tooltip_padding(NkVec2 value)
Copies the specifiedNkVec2to thetooltip_paddingfield.
-
set
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)
Initializes this struct with the specified values.
-
set
public NkStyleWindow set(NkStyleWindow src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static NkStyleWindow malloc()
Returns a newNkStyleWindowinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static NkStyleWindow calloc()
Returns a newNkStyleWindowinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static NkStyleWindow create()
Returns a newNkStyleWindowinstance allocated withBufferUtils.
-
create
public static NkStyleWindow create(long address)
Returns a newNkStyleWindowinstance for the specified memory address.
-
createSafe
@Nullable public static NkStyleWindow createSafe(long address)
-
malloc
public static NkStyleWindow.Buffer malloc(int capacity)
Returns a newNkStyleWindow.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static NkStyleWindow.Buffer calloc(int capacity)
Returns a newNkStyleWindow.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static NkStyleWindow.Buffer create(int capacity)
Returns a newNkStyleWindow.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static NkStyleWindow.Buffer create(long address, int capacity)
Create aNkStyleWindow.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static NkStyleWindow.Buffer createSafe(long address, int capacity)
-
mallocStack
public static NkStyleWindow mallocStack()
Returns a newNkStyleWindowinstance allocated on the thread-localMemoryStack.
-
callocStack
public static NkStyleWindow callocStack()
Returns a newNkStyleWindowinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.
-
mallocStack
public static NkStyleWindow mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newNkStyleWindowinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
callocStack
public static NkStyleWindow callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newNkStyleWindowinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
mallocStack
public static NkStyleWindow.Buffer mallocStack(int capacity)
Returns a newNkStyleWindow.Bufferinstance allocated on the thread-localMemoryStack.- Parameters:
capacity- the buffer capacity
-
callocStack
public static NkStyleWindow.Buffer callocStack(int capacity)
Returns a newNkStyleWindow.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacity
-
mallocStack
public static NkStyleWindow.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newNkStyleWindow.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
callocStack
public static NkStyleWindow.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newNkStyleWindow.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
nheader
public static NkStyleWindowHeader nheader(long struct)
Unsafe version ofheader().
-
nfixed_background
public static NkStyleItem nfixed_background(long struct)
Unsafe version offixed_background().
-
nbackground
public static NkColor nbackground(long struct)
Unsafe version ofbackground().
-
nborder_color
public static NkColor nborder_color(long struct)
Unsafe version ofborder_color().
-
npopup_border_color
public static NkColor npopup_border_color(long struct)
Unsafe version ofpopup_border_color().
-
ncombo_border_color
public static NkColor ncombo_border_color(long struct)
Unsafe version ofcombo_border_color().
-
ncontextual_border_color
public static NkColor ncontextual_border_color(long struct)
Unsafe version ofcontextual_border_color().
-
nmenu_border_color
public static NkColor nmenu_border_color(long struct)
Unsafe version ofmenu_border_color().
-
ngroup_border_color
public static NkColor ngroup_border_color(long struct)
Unsafe version ofgroup_border_color().
-
ntooltip_border_color
public static NkColor ntooltip_border_color(long struct)
Unsafe version oftooltip_border_color().
-
nscaler
public static NkStyleItem nscaler(long struct)
Unsafe version ofscaler().
-
nborder
public static float nborder(long struct)
Unsafe version ofborder().
-
ncombo_border
public static float ncombo_border(long struct)
Unsafe version ofcombo_border().
-
ncontextual_border
public static float ncontextual_border(long struct)
Unsafe version ofcontextual_border().
-
nmenu_border
public static float nmenu_border(long struct)
Unsafe version ofmenu_border().
-
ngroup_border
public static float ngroup_border(long struct)
Unsafe version ofgroup_border().
-
ntooltip_border
public static float ntooltip_border(long struct)
Unsafe version oftooltip_border().
-
npopup_border
public static float npopup_border(long struct)
Unsafe version ofpopup_border().
-
nmin_row_height_padding
public static float nmin_row_height_padding(long struct)
Unsafe version ofmin_row_height_padding().
-
nrounding
public static float nrounding(long struct)
Unsafe version ofrounding().
-
nscrollbar_size
public static NkVec2 nscrollbar_size(long struct)
Unsafe version ofscrollbar_size().
-
nmin_size
public static NkVec2 nmin_size(long struct)
Unsafe version ofmin_size().
-
ngroup_padding
public static NkVec2 ngroup_padding(long struct)
Unsafe version ofgroup_padding().
-
npopup_padding
public static NkVec2 npopup_padding(long struct)
Unsafe version ofpopup_padding().
-
ncombo_padding
public static NkVec2 ncombo_padding(long struct)
Unsafe version ofcombo_padding().
-
ncontextual_padding
public static NkVec2 ncontextual_padding(long struct)
Unsafe version ofcontextual_padding().
-
nmenu_padding
public static NkVec2 nmenu_padding(long struct)
Unsafe version ofmenu_padding().
-
ntooltip_padding
public static NkVec2 ntooltip_padding(long struct)
Unsafe version oftooltip_padding().
-
nheader
public static void nheader(long struct, NkStyleWindowHeader value)Unsafe version ofheader.
-
nfixed_background
public static void nfixed_background(long struct, NkStyleItem value)Unsafe version offixed_background.
-
nbackground
public static void nbackground(long struct, NkColor value)Unsafe version ofbackground.
-
nborder_color
public static void nborder_color(long struct, NkColor value)Unsafe version ofborder_color.
-
npopup_border_color
public static void npopup_border_color(long struct, NkColor value)Unsafe version ofpopup_border_color.
-
ncombo_border_color
public static void ncombo_border_color(long struct, NkColor value)Unsafe version ofcombo_border_color.
-
ncontextual_border_color
public static void ncontextual_border_color(long struct, NkColor value)Unsafe version ofcontextual_border_color.
-
nmenu_border_color
public static void nmenu_border_color(long struct, NkColor value)Unsafe version ofmenu_border_color.
-
ngroup_border_color
public static void ngroup_border_color(long struct, NkColor value)Unsafe version ofgroup_border_color.
-
ntooltip_border_color
public static void ntooltip_border_color(long struct, NkColor value)Unsafe version oftooltip_border_color.
-
nscaler
public static void nscaler(long struct, NkStyleItem value)Unsafe version ofscaler.
-
nborder
public static void nborder(long struct, float value)Unsafe version ofborder.
-
ncombo_border
public static void ncombo_border(long struct, float value)Unsafe version ofcombo_border.
-
ncontextual_border
public static void ncontextual_border(long struct, float value)Unsafe version ofcontextual_border.
-
nmenu_border
public static void nmenu_border(long struct, float value)Unsafe version ofmenu_border.
-
ngroup_border
public static void ngroup_border(long struct, float value)Unsafe version ofgroup_border.
-
ntooltip_border
public static void ntooltip_border(long struct, float value)Unsafe version oftooltip_border.
-
npopup_border
public static void npopup_border(long struct, float value)Unsafe version ofpopup_border.
-
nmin_row_height_padding
public static void nmin_row_height_padding(long struct, float value)Unsafe version ofmin_row_height_padding.
-
nrounding
public static void nrounding(long struct, float value)Unsafe version ofrounding.
-
nscrollbar_size
public static void nscrollbar_size(long struct, NkVec2 value)Unsafe version ofscrollbar_size.
-
ngroup_padding
public static void ngroup_padding(long struct, NkVec2 value)Unsafe version ofgroup_padding.
-
npopup_padding
public static void npopup_padding(long struct, NkVec2 value)Unsafe version ofpopup_padding.
-
ncombo_padding
public static void ncombo_padding(long struct, NkVec2 value)Unsafe version ofcombo_padding.
-
ncontextual_padding
public static void ncontextual_padding(long struct, NkVec2 value)Unsafe version ofcontextual_padding.
-
nmenu_padding
public static void nmenu_padding(long struct, NkVec2 value)Unsafe version ofmenu_padding.
-
ntooltip_padding
public static void ntooltip_padding(long struct, NkVec2 value)Unsafe version oftooltip_padding.
-
-