struct nk_popup_state {
struct nk_window * win;
enum nk_panel_type type;
struct nk_popup_buffer buf;
nk_hash name;
nk_bool active;
unsigned combo_count;
unsigned con_count;
unsigned con_old;
unsigned active_con;
struct nk_rect header;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | NkPopupState.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ACTIVE
The struct member offsets. |
| public static final int | ACTIVE_CON
The struct member offsets. |
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | BUF
The struct member offsets. |
| public static final int | COMBO_COUNT
The struct member offsets. |
| public static final int | CON_COUNT
The struct member offsets. |
| public static final int | CON_OLD
The struct member offsets. |
| public static final int | HEADER
The struct member offsets. |
| public static final int | NAME
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | TYPE
The struct member offsets. |
| public static final int | WIN
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | NkPopupState(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public int | |
| public NkPopupBuffer | |
| public int | |
| public int | |
| public int | |
| protected NkPopupState | 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 NkPopupState | |
| public static NkPopupState. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static NkPopupState | |
| public static NkPopupState. | |
| public NkRect | |
| public static boolean | |
| public static int | |
| public int | |
| public static NkPopupBuffer | |
| public static int | |
| public static int | |
| public static int | |
| public static NkRect | |
| public static int | |
| public static int | |
| public static NkWindow | |
| public int | |
| public int | |
| public NkWindow |
| ACTIVE | back to summary |
|---|---|
| public static final int ACTIVE The struct member offsets. | |
| ACTIVE_CON | back to summary |
|---|---|
| public static final int ACTIVE_CON The struct member offsets. | |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| BUF | back to summary |
|---|---|
| public static final int BUF The struct member offsets. | |
| COMBO_COUNT | back to summary |
|---|---|
| public static final int COMBO_COUNT The struct member offsets. | |
| CON_COUNT | back to summary |
|---|---|
| public static final int CON_COUNT The struct member offsets. | |
| CON_OLD | back to summary |
|---|---|
| public static final int CON_OLD The struct member offsets. | |
| HEADER | back to summary |
|---|---|
| public static final int HEADER The struct member offsets. | |
| NAME | back to summary |
|---|---|
| public static final int NAME 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. | |
| WIN | back to summary |
|---|---|
| public static final int WIN The struct member offsets. | |
| NkPopupState | back to summary |
|---|---|
| protected NkPopupState(long address, ByteBuffer container) | |
| NkPopupState | back to summary |
|---|---|
| public NkPopupState(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| active | back to summary |
|---|---|
public boolean active()
| |
| active_con | back to summary |
|---|---|
public int active_con()
| |
| buf | back to summary |
|---|---|
public NkPopupBuffer buf()
| |
| combo_count | back to summary |
|---|---|
public int combo_count()
| |
| con_count | back to summary |
|---|---|
public int con_count()
| |
| con_old | back to summary |
|---|---|
public int con_old()
| |
| create | back to summary |
|---|---|
| protected NkPopupState create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static NkPopupState create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static NkPopupState. Create a
| |
| createSafe | back to summary |
|---|---|
| public static NkPopupState createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static NkPopupState. Like
| |
| header | back to summary |
|---|---|
public NkRect header()
| |
| nactive | back to summary |
|---|---|
| public static boolean nactive(long struct) Unsafe version of | |
| nactive_con | back to summary |
|---|---|
| public static int nactive_con(long struct) Unsafe version of | |
| name | back to summary |
|---|---|
public int name()
| |
| nbuf | back to summary |
|---|---|
| public static NkPopupBuffer nbuf(long struct) Unsafe version of | |
| ncombo_count | back to summary |
|---|---|
| public static int ncombo_count(long struct) Unsafe version of | |
| ncon_count | back to summary |
|---|---|
| public static int ncon_count(long struct) Unsafe version of | |
| ncon_old | back to summary |
|---|---|
| public static int ncon_old(long struct) Unsafe version of | |
| nheader | back to summary |
|---|---|
| public static NkRect nheader(long struct) Unsafe version of | |
| nname | back to summary |
|---|---|
| public static int nname(long struct) Unsafe version of | |
| ntype | back to summary |
|---|---|
| public static int ntype(long struct) Unsafe version of | |
| nwin | back to summary |
|---|---|
| public static NkWindow nwin(long struct) Unsafe version of | |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| type | back to summary | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| public int type() one of:
| ||||||||||||
| win | back to summary |
|---|---|
public NkWindow win()
| |
NkPopupState structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final NkPopupState |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public int | |
| public NkPopupBuffer | |
| public int | |
| public int | |
| public int | |
| protected NkPopupState | |
| public NkRect | |
| public int | |
| protected NkPopupState. | |
| public int | |
| public NkWindow |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final NkPopupState 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) | |
| active | back to summary |
|---|---|
public boolean active()
| |
| active_con | back to summary |
|---|---|
public int active_con()
| |
| buf | back to summary |
|---|---|
public NkPopupBuffer buf()
| |
| combo_count | back to summary |
|---|---|
public int combo_count()
| |
| con_count | back to summary |
|---|---|
public int con_count()
| |
| con_old | back to summary |
|---|---|
public int con_old()
| |
| getElementFactory | back to summary |
|---|---|
| protected NkPopupState getElementFactory() Implements abstract org.
| |
| header | back to summary |
|---|---|
public NkRect header()
| |
| name | back to summary |
|---|---|
public int name()
| |
| self | back to summary |
|---|---|
| protected NkPopupState. Implements abstract org.
| |
| type | back to summary |
|---|---|
public int type()
| |
| win | back to summary |
|---|---|
public NkWindow win()
| |