struct nk_row_layout {
enum nk_panel_row_layout_type type;
int index;
float height;
float min_height;
int columns;
float const * ratio;
float item_width;
float item_height;
float item_offset;
float filled;
struct nk_rect item;
int tree_depth;
float templates[16];
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | NkRowLayout.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | COLUMNS
The struct member offsets. |
| public static final int | FILLED
The struct member offsets. |
| public static final int | HEIGHT
The struct member offsets. |
| public static final int | INDEX
The struct member offsets. |
| public static final int | ITEM
The struct member offsets. |
| public static final int | ITEM_HEIGHT
The struct member offsets. |
| public static final int | ITEM_OFFSET
The struct member offsets. |
| public static final int | ITEM_WIDTH
The struct member offsets. |
| public static final int | MIN_HEIGHT
The struct member offsets. |
| public static final int | RATIO
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | TEMPLATES
The struct member offsets. |
| public static final int | TREE_DEPTH
The struct member offsets. |
| public static final int | TYPE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | NkRowLayout(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| protected NkRowLayout | 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 NkRowLayout | |
| public static NkRowLayout. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static NkRowLayout | |
| public static NkRowLayout. | |
| public float | |
| public float | |
| public int | |
| public NkRect | |
| public float | |
| public float | |
| public float | |
| public float | |
| public static int | |
| public static float | |
| public static float | |
| public static int | |
| public static NkRect | |
| public static float | |
| public static float | |
| public static float | |
| public static float | |
| public static FloatBuffer | |
| public static FloatBuffer | |
| public static float | |
| public static int | |
| public static int | |
| public FloatBuffer | |
| public int | |
| public FloatBuffer | |
| public float | |
| public int | |
| public int |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| COLUMNS | back to summary |
|---|---|
| public static final int COLUMNS The struct member offsets. | |
| FILLED | back to summary |
|---|---|
| public static final int FILLED The struct member offsets. | |
| HEIGHT | back to summary |
|---|---|
| public static final int HEIGHT The struct member offsets. | |
| INDEX | back to summary |
|---|---|
| public static final int INDEX The struct member offsets. | |
| ITEM | back to summary |
|---|---|
| public static final int ITEM The struct member offsets. | |
| ITEM_HEIGHT | back to summary |
|---|---|
| public static final int ITEM_HEIGHT The struct member offsets. | |
| ITEM_OFFSET | back to summary |
|---|---|
| public static final int ITEM_OFFSET The struct member offsets. | |
| ITEM_WIDTH | back to summary |
|---|---|
| public static final int ITEM_WIDTH The struct member offsets. | |
| MIN_HEIGHT | back to summary |
|---|---|
| public static final int MIN_HEIGHT The struct member offsets. | |
| RATIO | back to summary |
|---|---|
| public static final int RATIO The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| TEMPLATES | back to summary |
|---|---|
| public static final int TEMPLATES The struct member offsets. | |
| TREE_DEPTH | back to summary |
|---|---|
| public static final int TREE_DEPTH The struct member offsets. | |
| TYPE | back to summary |
|---|---|
| public static final int TYPE The struct member offsets. | |
| NkRowLayout | back to summary |
|---|---|
| protected NkRowLayout(long address, ByteBuffer container) | |
| NkRowLayout | back to summary |
|---|---|
| public NkRowLayout(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| columns | back to summary |
|---|---|
public int columns()
| |
| create | back to summary |
|---|---|
| protected NkRowLayout create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static NkRowLayout create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static NkRowLayout. Create a
| |
| createSafe | back to summary |
|---|---|
| public static NkRowLayout createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static NkRowLayout. Like
| |
| filled | back to summary |
|---|---|
public float filled()
| |
| height | back to summary |
|---|---|
public float height()
| |
| index | back to summary |
|---|---|
public int index()
| |
| item | back to summary |
|---|---|
public NkRect item()
| |
| item_height | back to summary |
|---|---|
public float item_height()
| |
| item_offset | back to summary |
|---|---|
public float item_offset()
| |
| item_width | back to summary |
|---|---|
public float item_width()
| |
| min_height | back to summary |
|---|---|
public float min_height()
| |
| ncolumns | back to summary |
|---|---|
| public static int ncolumns(long struct) Unsafe version of | |
| nfilled | back to summary |
|---|---|
| public static float nfilled(long struct) Unsafe version of | |
| nheight | back to summary |
|---|---|
| public static float nheight(long struct) Unsafe version of | |
| nindex | back to summary |
|---|---|
| public static int nindex(long struct) Unsafe version of | |
| nitem | back to summary |
|---|---|
| public static NkRect nitem(long struct) Unsafe version of | |
| nitem_height | back to summary |
|---|---|
| public static float nitem_height(long struct) Unsafe version of | |
| nitem_offset | back to summary |
|---|---|
| public static float nitem_offset(long struct) Unsafe version of | |
| nitem_width | back to summary |
|---|---|
| public static float nitem_width(long struct) Unsafe version of | |
| nmin_height | back to summary |
|---|---|
| public static float nmin_height(long struct) Unsafe version of | |
| nratio | back to summary |
|---|---|
| public static FloatBuffer nratio(long struct, int capacity) Unsafe version of | |
| ntemplates | back to summary |
|---|---|
| public static FloatBuffer ntemplates(long struct) Unsafe version of | |
| ntemplates | back to summary |
|---|---|
| public static float ntemplates(long struct, int index) Unsafe version of | |
| ntree_depth | back to summary |
|---|---|
| public static int ntree_depth(long struct) Unsafe version of | |
| ntype | back to summary |
|---|---|
| public static int ntype(long struct) Unsafe version of | |
| ratio | back to summary |
|---|---|
public FloatBuffer ratio(int capacity)
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| templates | back to summary |
|---|---|
public FloatBuffer templates()
| |
| templates | back to summary |
|---|---|
public float templates(int index)
| |
| tree_depth | back to summary |
|---|---|
public int tree_depth()
| |
| type | back to summary | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| public int type() one of:
| |||||||||||
NkRowLayout structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final NkRowLayout |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public float | |
| protected NkRowLayout | |
| public float | |
| public int | |
| public NkRect | |
| public float | |
| public float | |
| public float | |
| public float | |
| public FloatBuffer | |
| protected NkRowLayout. | |
| public FloatBuffer | |
| public float | |
| public int | |
| public int |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final NkRowLayout ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values
will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided
by The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| columns | back to summary |
|---|---|
public int columns()
| |
| filled | back to summary |
|---|---|
public float filled()
| |
| getElementFactory | back to summary |
|---|---|
| protected NkRowLayout getElementFactory() Implements abstract org.
| |
| height | back to summary |
|---|---|
public float height()
| |
| index | back to summary |
|---|---|
public int index()
| |
| item | back to summary |
|---|---|
public NkRect item()
| |
| item_height | back to summary |
|---|---|
public float item_height()
| |
| item_offset | back to summary |
|---|---|
public float item_offset()
| |
| item_width | back to summary |
|---|---|
public float item_width()
| |
| min_height | back to summary |
|---|---|
public float min_height()
| |
| ratio | back to summary |
|---|---|
public FloatBuffer ratio(int capacity)
| |
| self | back to summary |
|---|---|
| protected NkRowLayout. Implements abstract org.
| |
| templates | back to summary |
|---|---|
public FloatBuffer templates()
| |
| templates | back to summary |
|---|---|
public float templates(int index)
| |
| tree_depth | back to summary |
|---|---|
public int tree_depth()
| |
| type | back to summary |
|---|---|
public int type()
| |