struct nk_chart_slot {
enum nk_chart_type type;
struct nk_color color;
struct nk_color highlight;
float min;
float max;
float range;
int count;
struct nk_vec2 last;
int index;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | NkChartSlot.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | COLOR
The struct member offsets. |
| public static final int | COUNT
The struct member offsets. |
| public static final int | HIGHLIGHT
The struct member offsets. |
| public static final int | INDEX
The struct member offsets. |
| public static final int | LAST
The struct member offsets. |
| public static final int | MAX
The struct member offsets. |
| public static final int | MIN
The struct member offsets. |
| public static final int | RANGE
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | TYPE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | NkChartSlot(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public NkColor | |
| public int | |
| protected NkChartSlot | 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 NkChartSlot | |
| public static NkChartSlot. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static NkChartSlot | |
| public static NkChartSlot. | |
| public NkColor | |
| public int | |
| public NkVec2 | |
| public float | |
| public float | |
| public static NkColor | |
| public static int | |
| public static NkColor | |
| public static int | |
| public static NkVec2 | |
| public static float | |
| public static float | |
| public static float | |
| public static int | |
| public float | |
| public int | |
| public int |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| COLOR | back to summary |
|---|---|
| public static final int COLOR The struct member offsets. | |
| COUNT | back to summary |
|---|---|
| public static final int COUNT The struct member offsets. | |
| HIGHLIGHT | back to summary |
|---|---|
| public static final int HIGHLIGHT The struct member offsets. | |
| INDEX | back to summary |
|---|---|
| public static final int INDEX The struct member offsets. | |
| LAST | back to summary |
|---|---|
| public static final int LAST The struct member offsets. | |
| MAX | back to summary |
|---|---|
| public static final int MAX The struct member offsets. | |
| MIN | back to summary |
|---|---|
| public static final int MIN The struct member offsets. | |
| RANGE | back to summary |
|---|---|
| public static final int RANGE The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| TYPE | back to summary |
|---|---|
| public static final int TYPE The struct member offsets. | |
| NkChartSlot | back to summary |
|---|---|
| protected NkChartSlot(long address, ByteBuffer container) | |
| NkChartSlot | back to summary |
|---|---|
| public NkChartSlot(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| color | back to summary |
|---|---|
public NkColor color()
| |
| count | back to summary |
|---|---|
public int count()
| |
| create | back to summary |
|---|---|
| protected NkChartSlot create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static NkChartSlot create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static NkChartSlot. Create a
| |
| createSafe | back to summary |
|---|---|
| public static NkChartSlot createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static NkChartSlot. Like
| |
| highlight | back to summary |
|---|---|
public NkColor highlight()
| |
| index | back to summary |
|---|---|
public int index()
| |
| last | back to summary |
|---|---|
public NkVec2 last()
| |
| max | back to summary |
|---|---|
public float max()
| |
| min | back to summary |
|---|---|
public float min()
| |
| ncolor | back to summary |
|---|---|
| public static NkColor ncolor(long struct) Unsafe version of | |
| ncount | back to summary |
|---|---|
| public static int ncount(long struct) Unsafe version of | |
| nhighlight | back to summary |
|---|---|
| public static NkColor nhighlight(long struct) Unsafe version of | |
| nindex | back to summary |
|---|---|
| public static int nindex(long struct) Unsafe version of | |
| nlast | back to summary |
|---|---|
| public static NkVec2 nlast(long struct) Unsafe version of | |
| nmax | back to summary |
|---|---|
| public static float nmax(long struct) Unsafe version of | |
| nmin | back to summary |
|---|---|
| public static float nmin(long struct) Unsafe version of | |
| nrange | back to summary |
|---|---|
| public static float nrange(long struct) Unsafe version of | |
| ntype | back to summary |
|---|---|
| public static int ntype(long struct) Unsafe version of | |
| range | back to summary |
|---|---|
public float range()
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| type | back to summary |
|---|---|
public int type()
| |
NkChartSlot structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final NkChartSlot |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public NkColor | |
| public int | |
| protected NkChartSlot | |
| public NkColor | |
| public int | |
| public NkVec2 | |
| public float | |
| public float | |
| public float | |
| protected NkChartSlot. | |
| public int |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final NkChartSlot 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) | |
| color | back to summary |
|---|---|
public NkColor color()
| |
| count | back to summary |
|---|---|
public int count()
| |
| getElementFactory | back to summary |
|---|---|
| protected NkChartSlot getElementFactory() Implements abstract org.
| |
| highlight | back to summary |
|---|---|
public NkColor highlight()
| |
| index | back to summary |
|---|---|
public int index()
| |
| last | back to summary |
|---|---|
public NkVec2 last()
| |
| max | back to summary |
|---|---|
public float max()
| |
| min | back to summary |
|---|---|
public float min()
| |
| range | back to summary |
|---|---|
public float range()
| |
| self | back to summary |
|---|---|
| protected NkChartSlot. Implements abstract org.
| |
| type | back to summary |
|---|---|
public int type()
| |