struct nk_menu_state {
float x;
float y;
float w;
float h;
struct nk_scroll offset;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | NkMenuState.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | H
The struct member offsets. |
| public static final int | OFFSET
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | W
The struct member offsets. |
| public static final int | X
The struct member offsets. |
| public static final int | Y
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | NkMenuState(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| protected NkMenuState | 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 NkMenuState | |
| public static NkMenuState. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static NkMenuState | |
| public static NkMenuState. | |
| public float | |
| public static float | |
| public static NkScroll | |
| public static float | |
| public static float | |
| public static float | |
| public NkScroll | |
| public int | |
| public float | |
| public float | |
| public float |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| H | back to summary |
|---|---|
| public static final int H The struct member offsets. | |
| OFFSET | back to summary |
|---|---|
| public static final int OFFSET The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| W | back to summary |
|---|---|
| public static final int W The struct member offsets. | |
| X | back to summary |
|---|---|
| public static final int X The struct member offsets. | |
| Y | back to summary |
|---|---|
| public static final int Y The struct member offsets. | |
| NkMenuState | back to summary |
|---|---|
| protected NkMenuState(long address, ByteBuffer container) | |
| NkMenuState | back to summary |
|---|---|
| public NkMenuState(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| create | back to summary |
|---|---|
| protected NkMenuState create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static NkMenuState create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static NkMenuState. Create a
| |
| createSafe | back to summary |
|---|---|
| public static NkMenuState createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static NkMenuState. Like
| |
| h | back to summary |
|---|---|
public float h()
| |
| nh | back to summary |
|---|---|
| public static float nh(long struct) Unsafe version of | |
| noffset | back to summary |
|---|---|
| public static NkScroll noffset(long struct) Unsafe version of | |
| nw | back to summary |
|---|---|
| public static float nw(long struct) Unsafe version of | |
| nx | back to summary |
|---|---|
| public static float nx(long struct) Unsafe version of | |
| ny | back to summary |
|---|---|
| public static float ny(long struct) Unsafe version of | |
| offset | back to summary |
|---|---|
public NkScroll offset()
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| w | back to summary |
|---|---|
public float w()
| |
| x | back to summary |
|---|---|
public float x()
| |
| y | back to summary |
|---|---|
public float y()
| |
NkMenuState structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final NkMenuState |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected NkMenuState | |
| public float | |
| public NkScroll | |
| protected NkMenuState. | |
| public float | |
| public float | |
| public float |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final NkMenuState 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) | |
| getElementFactory | back to summary |
|---|---|
| protected NkMenuState getElementFactory() Implements abstract org.
| |
| h | back to summary |
|---|---|
public float h()
| |
| offset | back to summary |
|---|---|
public NkScroll offset()
| |
| self | back to summary |
|---|---|
| protected NkMenuState. Implements abstract org.
| |
| w | back to summary |
|---|---|
public float w()
| |
| x | back to summary |
|---|---|
public float x()
| |
| y | back to summary |
|---|---|
public float y()
| |