struct nk_window {
unsigned int seq;
nk_hash name;
char name_string[NK_WINDOW_MAX_NAME];
nk_flags flags;
struct nk_rect bounds;
struct nk_scroll scrollbar;
struct nk_command_buffer buffer;
struct nk_panel * layout;
float scrollbar_hiding_timer;
struct nk_property_state property;
struct nk_popup_state popup;
struct nk_edit_state edit;
unsigned int scrolled;
struct nk_table * tables;
unsigned int table_count;
struct nk_window * next;
struct nk_window * prev;
struct nk_window * parent;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | NkWindow.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | BOUNDS
The struct member offsets. |
| public static final int | BUFFER
The struct member offsets. |
| public static final int | EDIT
The struct member offsets. |
| public static final int | FLAGS
The struct member offsets. |
| public static final int | LAYOUT
The struct member offsets. |
| public static final int | NAME
The struct member offsets. |
| public static final int | NAME_STRING
The struct member offsets. |
| public static final int | NEXT
The struct member offsets. |
| public static final int | PARENT
The struct member offsets. |
| public static final int | POPUP
The struct member offsets. |
| public static final int | PREV
The struct member offsets. |
| public static final int | PROPERTY
The struct member offsets. |
| public static final int | SCROLLBAR
The struct member offsets. |
| public static final int | SCROLLBAR_HIDING_TIMER
The struct member offsets. |
| public static final int | SCROLLED
The struct member offsets. |
| public static final int | SEQ
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | TABLE_COUNT
The struct member offsets. |
| public static final int | TABLES
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | NkWindow(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public NkRect | |
| public NkCommandBuffer | |
| protected NkWindow | 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 NkWindow | |
| public static NkWindow. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static NkWindow | |
| public static NkWindow. | |
| public NkEditState | |
| public int | |
| public NkPanel | |
| public int | |
| public ByteBuffer | |
| public String | |
| public static NkRect | |
| public static NkCommandBuffer | |
| public static NkEditState | |
| public NkWindow | |
| public static int | |
| public static NkPanel | |
| public static int | |
| public static ByteBuffer | |
| public static String | |
| public static NkWindow | |
| public static NkWindow | |
| public static NkPopupState | |
| public static NkWindow | |
| public static NkPropertyState | |
| public static NkScroll | |
| public static float | |
| public static int | |
| public static int | |
| public static int | |
| public static long | |
| public NkWindow | |
| public NkPopupState | |
| public NkWindow | |
| public NkPropertyState | |
| public NkScroll | |
| public float | |
| public int | |
| public int | |
| public int | |
| public int | |
| public long |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| BOUNDS | back to summary |
|---|---|
| public static final int BOUNDS The struct member offsets. | |
| BUFFER | back to summary |
|---|---|
| public static final int BUFFER The struct member offsets. | |
| EDIT | back to summary |
|---|---|
| public static final int EDIT The struct member offsets. | |
| FLAGS | back to summary |
|---|---|
| public static final int FLAGS The struct member offsets. | |
| LAYOUT | back to summary |
|---|---|
| public static final int LAYOUT The struct member offsets. | |
| NAME | back to summary |
|---|---|
| public static final int NAME The struct member offsets. | |
| NAME_STRING | back to summary |
|---|---|
| public static final int NAME_STRING The struct member offsets. | |
| NEXT | back to summary |
|---|---|
| public static final int NEXT The struct member offsets. | |
| PARENT | back to summary |
|---|---|
| public static final int PARENT The struct member offsets. | |
| POPUP | back to summary |
|---|---|
| public static final int POPUP The struct member offsets. | |
| PREV | back to summary |
|---|---|
| public static final int PREV The struct member offsets. | |
| PROPERTY | back to summary |
|---|---|
| public static final int PROPERTY The struct member offsets. | |
| SCROLLBAR | back to summary |
|---|---|
| public static final int SCROLLBAR The struct member offsets. | |
| SCROLLBAR_HIDING_TIMER | back to summary |
|---|---|
| public static final int SCROLLBAR_HIDING_TIMER The struct member offsets. | |
| SCROLLED | back to summary |
|---|---|
| public static final int SCROLLED The struct member offsets. | |
| SEQ | back to summary |
|---|---|
| public static final int SEQ The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| TABLE_COUNT | back to summary |
|---|---|
| public static final int TABLE_COUNT The struct member offsets. | |
| TABLES | back to summary |
|---|---|
| public static final int TABLES The struct member offsets. | |
| NkWindow | back to summary |
|---|---|
| protected NkWindow(long address, ByteBuffer container) | |
| NkWindow | back to summary |
|---|---|
| public NkWindow(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| bounds | back to summary |
|---|---|
public NkRect bounds()
| |
| buffer | back to summary |
|---|---|
public NkCommandBuffer buffer()
| |
| create | back to summary |
|---|---|
| protected NkWindow create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static NkWindow create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static NkWindow. Create a
| |
| createSafe | back to summary |
|---|---|
| public static NkWindow createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static NkWindow. Like
| |
| edit | back to summary |
|---|---|
public NkEditState edit()
| |
| flags | back to summary |
|---|---|
public int flags()
| |
| layout | back to summary |
|---|---|
public NkPanel layout()
| |
| name | back to summary |
|---|---|
public int name()
| |
| name_string | back to summary |
|---|---|
public ByteBuffer name_string()
| |
| name_stringString | back to summary |
|---|---|
public String name_stringString()
| |
| nbounds | back to summary |
|---|---|
| public static NkRect nbounds(long struct) Unsafe version of | |
| nbuffer | back to summary |
|---|---|
| public static NkCommandBuffer nbuffer(long struct) Unsafe version of | |
| nedit | back to summary |
|---|---|
| public static NkEditState nedit(long struct) Unsafe version of | |
| next | back to summary |
|---|---|
public NkWindow next()
| |
| nflags | back to summary |
|---|---|
| public static int nflags(long struct) Unsafe version of | |
| nlayout | back to summary |
|---|---|
| public static NkPanel nlayout(long struct) Unsafe version of | |
| nname | back to summary |
|---|---|
| public static int nname(long struct) Unsafe version of | |
| nname_string | back to summary |
|---|---|
| public static ByteBuffer nname_string(long struct) Unsafe version of | |
| nname_stringString | back to summary |
|---|---|
| public static String nname_stringString(long struct) Unsafe version of | |
| nnext | back to summary |
|---|---|
| public static NkWindow nnext(long struct) Unsafe version of | |
| nparent | back to summary |
|---|---|
| public static NkWindow nparent(long struct) Unsafe version of | |
| npopup | back to summary |
|---|---|
| public static NkPopupState npopup(long struct) Unsafe version of | |
| nprev | back to summary |
|---|---|
| public static NkWindow nprev(long struct) Unsafe version of | |
| nproperty | back to summary |
|---|---|
| public static NkPropertyState nproperty(long struct) Unsafe version of | |
| nscrollbar | back to summary |
|---|---|
| public static NkScroll nscrollbar(long struct) Unsafe version of | |
| nscrollbar_hiding_timer | back to summary |
|---|---|
| public static float nscrollbar_hiding_timer(long struct) Unsafe version of | |
| nscrolled | back to summary |
|---|---|
| public static int nscrolled(long struct) Unsafe version of | |
| nseq | back to summary |
|---|---|
| public static int nseq(long struct) Unsafe version of | |
| ntable_count | back to summary |
|---|---|
| public static int ntable_count(long struct) Unsafe version of | |
| ntables | back to summary |
|---|---|
| public static long ntables(long struct) Unsafe version of | |
| parent | back to summary |
|---|---|
public NkWindow parent()
| |
| popup | back to summary |
|---|---|
public NkPopupState popup()
| |
| prev | back to summary |
|---|---|
public NkWindow prev()
| |
| property | back to summary |
|---|---|
public NkPropertyState property()
| |
| scrollbar | back to summary |
|---|---|
public NkScroll scrollbar()
| |
| scrollbar_hiding_timer | back to summary |
|---|---|
public float scrollbar_hiding_timer()
| |
| scrolled | back to summary |
|---|---|
public int scrolled()
| |
| seq | back to summary |
|---|---|
public int seq()
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| table_count | back to summary |
|---|---|
public int table_count()
| |
| tables | back to summary |
|---|---|
public long tables()
| |
NkWindow structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final NkWindow |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public NkRect | |
| public NkCommandBuffer | |
| public NkEditState | |
| public int | |
| protected NkWindow | |
| public NkPanel | |
| public int | |
| public ByteBuffer | |
| public String | |
| public NkWindow | |
| public NkWindow | |
| public NkPopupState | |
| public NkWindow | |
| public NkPropertyState | |
| public NkScroll | |
| public float | |
| public int | |
| protected NkWindow. | |
| public int | |
| public int | |
| public long |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final NkWindow 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) | |
| bounds | back to summary |
|---|---|
public NkRect bounds()
| |
| buffer | back to summary |
|---|---|
public NkCommandBuffer buffer()
| |
| edit | back to summary |
|---|---|
public NkEditState edit()
| |
| flags | back to summary |
|---|---|
public int flags()
| |
| getElementFactory | back to summary |
|---|---|
| protected NkWindow getElementFactory() Implements abstract org.
| |
| layout | back to summary |
|---|---|
public NkPanel layout()
| |
| name | back to summary |
|---|---|
public int name()
| |
| name_string | back to summary |
|---|---|
public ByteBuffer name_string()
| |
| name_stringString | back to summary |
|---|---|
public String name_stringString()
| |
| next | back to summary |
|---|---|
public NkWindow next()
| |
| parent | back to summary |
|---|---|
public NkWindow parent()
| |
| popup | back to summary |
|---|---|
public NkPopupState popup()
| |
| prev | back to summary |
|---|---|
public NkWindow prev()
| |
| property | back to summary |
|---|---|
public NkPropertyState property()
| |
| scrollbar | back to summary |
|---|---|
public NkScroll scrollbar()
| |
| scrollbar_hiding_timer | back to summary |
|---|---|
public float scrollbar_hiding_timer()
| |
| scrolled | back to summary |
|---|---|
public int scrolled()
| |
| self | back to summary |
|---|---|
| protected NkWindow. Implements abstract org.
| |
| seq | back to summary |
|---|---|
public int seq()
| |
| table_count | back to summary |
|---|---|
public int table_count()
| |
| tables | back to summary |
|---|---|
public long tables()
| |