struct nk_style_selectable {
struct nk_style_item normal;
struct nk_style_item hover;
struct nk_style_item pressed;
struct nk_style_item normal_active;
struct nk_style_item hover_active;
struct nk_style_item pressed_active;
struct nk_color text_normal;
struct nk_color text_hover;
struct nk_color text_pressed;
struct nk_color text_normal_active;
struct nk_color text_hover_active;
struct nk_color text_pressed_active;
struct nk_color text_background;
nk_flags text_alignment;
float rounding;
struct nk_vec2 padding;
struct nk_vec2 touch_padding;
struct nk_vec2 image_padding;
nk_handle userdata;
nk_draw_begin draw_begin;
nk_draw_end draw_end;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | NkStyleSelectable.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | DRAW_BEGIN
The struct member offsets. |
| public static final int | DRAW_END
The struct member offsets. |
| public static final int | HOVER
The struct member offsets. |
| public static final int | HOVER_ACTIVE
The struct member offsets. |
| public static final int | IMAGE_PADDING
The struct member offsets. |
| public static final int | NORMAL
The struct member offsets. |
| public static final int | NORMAL_ACTIVE
The struct member offsets. |
| public static final int | PADDING
The struct member offsets. |
| public static final int | PRESSED
The struct member offsets. |
| public static final int | PRESSED_ACTIVE
The struct member offsets. |
| public static final int | ROUNDING
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | TEXT_ALIGNMENT
The struct member offsets. |
| public static final int | TEXT_BACKGROUND
The struct member offsets. |
| public static final int | TEXT_HOVER
The struct member offsets. |
| public static final int | TEXT_HOVER_ACTIVE
The struct member offsets. |
| public static final int | TEXT_NORMAL
The struct member offsets. |
| public static final int | TEXT_NORMAL_ACTIVE
The struct member offsets. |
| public static final int | TEXT_PRESSED
The struct member offsets. |
| public static final int | TEXT_PRESSED_ACTIVE
The struct member offsets. |
| public static final int | TOUCH_PADDING
The struct member offsets. |
| public static final int | USERDATA
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | NkStyleSelectable(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static NkStyleSelectable | |
| public static NkStyleSelectable. | calloc(int
the buffer capacity capacity)Returns a new |
| public static NkStyleSelectable | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static NkStyleSelectable. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static NkStyleSelectable | |
| public static NkStyleSelectable | |
| public static NkStyleSelectable. | |
| public static NkStyleSelectable. | |
| protected NkStyleSelectable | 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 NkStyleSelectable | |
| public static NkStyleSelectable | |
| public static NkStyleSelectable. | create(int
the buffer capacity capacity)Returns a new |
| public static NkStyleSelectable. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static NkStyleSelectable | |
| public static NkStyleSelectable. | |
| public NkDrawBeginCallback | |
| public NkStyleSelectable | |
| public NkDrawEndCallback | |
| public NkStyleSelectable | |
| public NkStyleItem | |
| public NkStyleSelectable | |
| public NkStyleSelectable | |
| public NkStyleItem | |
| public NkStyleSelectable | |
| public NkStyleSelectable | hover_active(Consumer<NkStyleItem> consumer)
Passes the |
| public NkVec2 | |
| public NkStyleSelectable | |
| public NkStyleSelectable | |
| public static NkStyleSelectable | |
| public static NkStyleSelectable. | malloc(int
the buffer capacity capacity)Returns a new |
| public static NkStyleSelectable | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static NkStyleSelectable. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static NkStyleSelectable | |
| public static NkStyleSelectable | |
| public static NkStyleSelectable. | |
| public static NkStyleSelectable. | |
| public static NkDrawBeginCallback | |
| public static void | |
| public static NkDrawEndCallback | |
| public static void | |
| public static NkStyleItem | |
| public static void | |
| public static NkStyleItem | |
| public static void | |
| public static NkVec2 | |
| public static void | |
| public static NkStyleItem | |
| public static void | |
| public static NkStyleItem | |
| public static void | |
| public NkStyleItem | |
| public NkStyleSelectable | |
| public NkStyleSelectable | |
| public NkStyleItem | |
| public NkStyleSelectable | |
| public NkStyleSelectable | normal_active(Consumer<NkStyleItem> consumer)
Passes the |
| public static NkVec2 | |
| public static void | |
| public static NkStyleItem | |
| public static void | |
| public static NkStyleItem | |
| public static void | |
| public static float | |
| public static void | |
| public static int | |
| public static void | |
| public static NkColor | |
| public static void | |
| public static NkColor | |
| public static void | |
| public static NkColor | |
| public static void | |
| public static NkColor | |
| public static void | |
| public static NkColor | |
| public static void | |
| public static NkColor | |
| public static void | |
| public static NkColor | |
| public static void | |
| public static NkVec2 | |
| public static void | |
| public static NkHandle | |
| public static void | |
| public NkVec2 | |
| public NkStyleSelectable | |
| public NkStyleSelectable | |
| public NkStyleItem | |
| public NkStyleSelectable | |
| public NkStyleSelectable | |
| public NkStyleItem | |
| public NkStyleSelectable | |
| public NkStyleSelectable | pressed_active(Consumer<NkStyleItem> consumer)
Passes the |
| public float | |
| public NkStyleSelectable | |
| public NkStyleSelectable | set(NkStyleItem normal, NkStyleItem hover, NkStyleItem pressed, NkStyleItem normal_active, NkStyleItem hover_active, NkStyleItem pressed_active, NkColor text_normal, NkColor text_hover, NkColor text_pressed, NkColor text_normal_active, NkColor text_hover_active, NkColor text_pressed_active, NkColor text_background, int text_alignment, float rounding, NkVec2 padding, NkVec2 touch_padding, NkVec2 image_padding, NkHandle userdata, NkDrawBeginCallbackI draw_begin, NkDrawEndCallbackI draw_end)
Initializes this struct with the specified values. |
| public NkStyleSelectable | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public NkStyleSelectable | |
| public NkColor | |
| public NkStyleSelectable | |
| public NkStyleSelectable | text_background(Consumer<NkColor> consumer)
Passes the |
| public NkColor | |
| public NkStyleSelectable | |
| public NkStyleSelectable | |
| public NkColor | |
| public NkStyleSelectable | |
| public NkStyleSelectable | text_hover_active(Consumer<NkColor> consumer)
Passes the |
| public NkColor | |
| public NkStyleSelectable | |
| public NkStyleSelectable | |
| public NkColor | |
| public NkStyleSelectable | |
| public NkStyleSelectable | text_normal_active(Consumer<NkColor> consumer)
Passes the |
| public NkColor | |
| public NkStyleSelectable | |
| public NkStyleSelectable | |
| public NkColor | |
| public NkStyleSelectable | |
| public NkStyleSelectable | text_pressed_active(Consumer<NkColor> consumer)
Passes the |
| public NkVec2 | |
| public NkStyleSelectable | |
| public NkStyleSelectable | |
| public NkHandle | |
| public NkStyleSelectable | |
| public NkStyleSelectable |