struct nk_style {
struct nk_user_font * font;
struct nk_cursor * cursors[NK_CURSOR_COUNT];
struct nk_cursor * cursor_active;
struct nk_cursor * cursor_last;
int cursor_visible;
struct nk_style_text text;
struct nk_style_button button;
struct nk_style_button contextual_button;
struct nk_style_button menu_button;
struct nk_style_toggle option;
struct nk_style_toggle checkbox;
struct nk_style_selectable selectable;
struct nk_style_slider slider;
struct nk_style_progress progress;
struct nk_style_property property;
struct nk_style_edit edit;
struct nk_style_chart chart;
struct nk_style_scrollbar scrollh;
struct nk_style_scrollbar scrollv;
struct nk_style_tab tab;
struct nk_style_combo combo;
struct nk_style_window window;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | NkStyle.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | BUTTON
The struct member offsets. |
| public static final int | CHART
The struct member offsets. |
| public static final int | CHECKBOX
The struct member offsets. |
| public static final int | COMBO
The struct member offsets. |
| public static final int | CONTEXTUAL_BUTTON
The struct member offsets. |
| public static final int | CURSOR_ACTIVE
The struct member offsets. |
| public static final int | CURSOR_LAST
The struct member offsets. |
| public static final int | CURSOR_VISIBLE
The struct member offsets. |
| public static final int | CURSORS
The struct member offsets. |
| public static final int | EDIT
The struct member offsets. |
| public static final int | FONT
The struct member offsets. |
| public static final int | MENU_BUTTON
The struct member offsets. |
| public static final int | OPTION
The struct member offsets. |
| public static final int | PROGRESS
The struct member offsets. |
| public static final int | PROPERTY
The struct member offsets. |
| public static final int | SCROLLH
The struct member offsets. |
| public static final int | SCROLLV
The struct member offsets. |
| public static final int | SELECTABLE
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | SLIDER
The struct member offsets. |
| public static final int | TAB
The struct member offsets. |
| public static final int | TEXT
The struct member offsets. |
| public static final int | WINDOW
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | NkStyle(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public NkStyleButton | |
| public NkStyle | |
| public NkStyle | |
| public static NkStyle | |
| public static NkStyle. | calloc(int
the buffer capacity capacity)Returns a new |
| public static NkStyle | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static NkStyle. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static NkStyle | |
| public static NkStyle | |
| public static NkStyle. | |
| public static NkStyle. | |
| public NkStyleChart | |
| public NkStyle | |
| public NkStyle | |
| public NkStyleToggle | |
| public NkStyle | |
| public NkStyle | |
| public NkStyleCombo | |
| public NkStyle | |
| public NkStyle | |
| public NkStyleButton | |
| public NkStyle | contextual_button(NkStyleButton value)
Copies the specified |
| public NkStyle | contextual_button(Consumer<NkStyleButton> consumer)
Passes the |
| protected NkStyle | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static NkStyle | |
| public static NkStyle | |
| public static NkStyle. | create(int
the buffer capacity capacity)Returns a new |
| public static NkStyle. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static NkStyle | |
| public static NkStyle. | |
| public NkCursor | |
| public NkStyle | |
| public NkCursor | |
| public NkStyle | |
| public boolean | |
| public NkStyle | |
| public PointerBuffer | |
| public NkCursor | |
| public NkStyle | |
| public NkStyle | |
| public NkStyle | |
| public NkStyleEdit | |
| public NkStyle | |
| public NkStyle | |
| public NkUserFont | |
| public NkStyle | |
| public static NkStyle | |
| public static NkStyle. | malloc(int
the buffer capacity capacity)Returns a new |
| public static NkStyle | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static NkStyle. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static NkStyle | |
| public static NkStyle | |
| public static NkStyle. | |
| public static NkStyle. | |
| public NkStyleButton | |
| public NkStyle | |
| public NkStyle | menu_button(Consumer<NkStyleButton> consumer)
Passes the |
| public static NkStyleButton | |
| public static void | |
| public static NkStyleChart | |
| public static void | |
| public static NkStyleToggle | |
| public static void | |
| public static NkStyleCombo | |
| public static void | |
| public static NkStyleButton | |
| public static void | |
| public static NkCursor | |
| public static void | |
| public static NkCursor | |
| public static void | |
| public static int | |
| public static void | |
| public static PointerBuffer | |
| public static NkCursor | |
| public static void | |
| public static void | |
| public static NkStyleEdit | |
| public static void | |
| public static NkUserFont | |
| public static void | |
| public static NkStyleButton | |
| public static void | |
| public static NkStyleToggle | |
| public static void | |
| public static NkStyleProgress | |
| public static void | |
| public static NkStyleProperty | |
| public static void | |
| public static NkStyleScrollbar | |
| public static void | |
| public static NkStyleScrollbar | |
| public static void | |
| public static NkStyleSelectable | |
| public static void | |
| public static NkStyleSlider | |
| public static void | |
| public static NkStyleTab | |
| public static void | |
| public static NkStyleText | |
| public static void | |
| public static NkStyleWindow | |
| public static void | |
| public NkStyleToggle | |
| public NkStyle | |
| public NkStyle | |
| public NkStyleProgress | |
| public NkStyle | |
| public NkStyle | |
| public NkStyleProperty | |
| public NkStyle | |
| public NkStyle | |
| public NkStyleScrollbar | |
| public NkStyle | |
| public NkStyle | |
| public NkStyleScrollbar | |
| public NkStyle | |
| public NkStyle | |
| public NkStyleSelectable | |
| public NkStyle | |
| public NkStyle | selectable(Consumer<NkStyleSelectable> consumer)
Passes the |
| public NkStyle | set(NkUserFont font, PointerBuffer cursors, NkCursor cursor_active, NkCursor cursor_last, boolean cursor_visible, NkStyleText text, NkStyleButton button, NkStyleButton contextual_button, NkStyleButton menu_button, NkStyleToggle option, NkStyleToggle checkbox, NkStyleSelectable selectable, NkStyleSlider slider, NkStyleProgress progress, NkStyleProperty property, NkStyleEdit edit, NkStyleChart chart, NkStyleScrollbar scrollh, NkStyleScrollbar scrollv, NkStyleTab tab, NkStyleCombo combo, NkStyleWindow window)
Initializes this struct with the specified values. |
| public NkStyle | |
| public int | |
| public NkStyleSlider | |
| public NkStyle | |
| public NkStyle | |
| public NkStyleTab | |
| public NkStyle | |
| public NkStyle | |
| public NkStyleText | |
| public NkStyle | |
| public NkStyle | |
| public NkStyleWindow | |
| public NkStyle | |
| public NkStyle |