struct nk_panel {
enum nk_panel_type type;
nk_flags flags;
struct nk_rect bounds;
nk_uint * offset_x;
nk_uint * offset_y;
float at_x;
float at_y;
float max_x;
float footer_height;
float header_height;
float border;
unsigned int has_scrolling;
struct nk_rect clip;
struct nk_menu_state menu;
struct nk_row_layout row;
struct nk_chart chart;
struct nk_command_buffer * buffer;
struct nk_panel * parent;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | NkPanel.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | AT_X
The struct member offsets. |
| public static final int | AT_Y
The struct member offsets. |
| public static final int | BORDER
The struct member offsets. |
| public static final int | BOUNDS
The struct member offsets. |
| public static final int | BUFFER
The struct member offsets. |
| public static final int | CHART
The struct member offsets. |
| public static final int | CLIP
The struct member offsets. |
| public static final int | FLAGS
The struct member offsets. |
| public static final int | FOOTER_HEIGHT
The struct member offsets. |
| public static final int | HAS_SCROLLING
The struct member offsets. |
| public static final int | HEADER_HEIGHT
The struct member offsets. |
| public static final int | MAX_X
The struct member offsets. |
| public static final int | MENU
The struct member offsets. |
| public static final int | OFFSET_X
The struct member offsets. |
| public static final int | OFFSET_Y
The struct member offsets. |
| public static final int | PARENT
The struct member offsets. |
| public static final int | ROW
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 | NkPanel(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public float | |
| public float | |
| public float | |
| public NkRect | |
| public NkCommandBuffer | |
| public NkChart | |
| public NkRect | |
| protected NkPanel | 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 NkPanel | |
| public static NkPanel. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static NkPanel | |
| public static NkPanel. | |
| public int | |
| public float | |
| public int | |
| public float | |
| public float | |
| public NkMenuState | |
| public static float | |
| public static float | |
| public static float | |
| public static NkRect | |
| public static NkCommandBuffer | |
| public static NkChart | |
| public static NkRect | |
| public static int | |
| public static float | |
| public static int | |
| public static float | |
| public static float | |
| public static NkMenuState | |
| public static IntBuffer | |
| public static IntBuffer | |
| public static NkPanel | |
| public static NkRowLayout | |
| public static int | |
| public IntBuffer | |
| public IntBuffer | |
| public NkPanel | |
| public NkRowLayout | |
| public int | |
| public int |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| AT_X | back to summary |
|---|---|
| public static final int AT_X The struct member offsets. | |
| AT_Y | back to summary |
|---|---|
| public static final int AT_Y The struct member offsets. | |
| BORDER | back to summary |
|---|---|
| public static final int BORDER The struct member offsets. | |
| 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. | |
| CHART | back to summary |
|---|---|
| public static final int CHART The struct member offsets. | |
| CLIP | back to summary |
|---|---|
| public static final int CLIP The struct member offsets. | |
| FLAGS | back to summary |
|---|---|
| public static final int FLAGS The struct member offsets. | |
| FOOTER_HEIGHT | back to summary |
|---|---|
| public static final int FOOTER_HEIGHT The struct member offsets. | |
| HAS_SCROLLING | back to summary |
|---|---|
| public static final int HAS_SCROLLING The struct member offsets. | |
| HEADER_HEIGHT | back to summary |
|---|---|
| public static final int HEADER_HEIGHT The struct member offsets. | |
| MAX_X | back to summary |
|---|---|
| public static final int MAX_X The struct member offsets. | |
| MENU | back to summary |
|---|---|
| public static final int MENU The struct member offsets. | |
| OFFSET_X | back to summary |
|---|---|
| public static final int OFFSET_X The struct member offsets. | |
| OFFSET_Y | back to summary |
|---|---|
| public static final int OFFSET_Y The struct member offsets. | |
| PARENT | back to summary |
|---|---|
| public static final int PARENT The struct member offsets. | |
| ROW | back to summary |
|---|---|
| public static final int ROW 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. | |
| NkPanel | back to summary |
|---|---|
| protected NkPanel(long address, ByteBuffer container) | |
| NkPanel | back to summary |
|---|---|
| public NkPanel(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| at_x | back to summary |
|---|---|
public float at_x()
| |
| at_y | back to summary |
|---|---|
public float at_y()
| |
| border | back to summary |
|---|---|
public float border()
| |
| bounds | back to summary |
|---|---|
public NkRect bounds()
| |
| buffer | back to summary |
|---|---|
public NkCommandBuffer buffer()
| |
| chart | back to summary |
|---|---|
public NkChart chart()
| |
| clip | back to summary |
|---|---|
public NkRect clip()
| |
| create | back to summary |
|---|---|
| protected NkPanel create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static NkPanel create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static NkPanel. Create a
| |
| createSafe | back to summary |
|---|---|
| public static NkPanel createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static NkPanel. Like
| |
| flags | back to summary |
|---|---|
public int flags()
| |
| footer_height | back to summary |
|---|---|
public float footer_height()
| |
| has_scrolling | back to summary |
|---|---|
public int has_scrolling()
| |
| header_height | back to summary |
|---|---|
public float header_height()
| |
| max_x | back to summary |
|---|---|
public float max_x()
| |
| menu | back to summary |
|---|---|
public NkMenuState menu()
| |
| nat_x | back to summary |
|---|---|
| public static float nat_x(long struct) Unsafe version of | |
| nat_y | back to summary |
|---|---|
| public static float nat_y(long struct) Unsafe version of | |
| nborder | back to summary |
|---|---|
| public static float nborder(long struct) Unsafe version of | |
| 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 | |
| nchart | back to summary |
|---|---|
| public static NkChart nchart(long struct) Unsafe version of | |
| nclip | back to summary |
|---|---|
| public static NkRect nclip(long struct) Unsafe version of | |
| nflags | back to summary |
|---|---|
| public static int nflags(long struct) Unsafe version of | |
| nfooter_height | back to summary |
|---|---|
| public static float nfooter_height(long struct) Unsafe version of | |
| nhas_scrolling | back to summary |
|---|---|
| public static int nhas_scrolling(long struct) Unsafe version of | |
| nheader_height | back to summary |
|---|---|
| public static float nheader_height(long struct) Unsafe version of | |
| nmax_x | back to summary |
|---|---|
| public static float nmax_x(long struct) Unsafe version of | |
| nmenu | back to summary |
|---|---|
| public static NkMenuState nmenu(long struct) Unsafe version of | |
| noffset_x | back to summary |
|---|---|
| public static IntBuffer noffset_x(long struct, int capacity) Unsafe version of | |
| noffset_y | back to summary |
|---|---|
| public static IntBuffer noffset_y(long struct, int capacity) Unsafe version of | |
| nparent | back to summary |
|---|---|
| public static NkPanel nparent(long struct) Unsafe version of | |
| nrow | back to summary |
|---|---|
| public static NkRowLayout nrow(long struct) Unsafe version of | |
| ntype | back to summary |
|---|---|
| public static int ntype(long struct) Unsafe version of | |
| offset_x | back to summary |
|---|---|
public IntBuffer offset_x(int capacity)
| |
| offset_y | back to summary |
|---|---|
public IntBuffer offset_y(int capacity)
| |
| parent | back to summary |
|---|---|
public NkPanel parent()
| |
| row | back to summary |
|---|---|
public NkRowLayout row()
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| type | back to summary | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| public int type() one of:
| ||||||||||||
NkPanel structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final NkPanel |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public float | |
| public float | |
| public float | |
| public NkRect | |
| public NkCommandBuffer | |
| public NkChart | |
| public NkRect | |
| public int | |
| public float | |
| protected NkPanel | |
| public int | |
| public float | |
| public float | |
| public NkMenuState | |
| public IntBuffer | |
| public IntBuffer | |
| public NkPanel | |
| public NkRowLayout | |
| protected NkPanel. | |
| public int |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final NkPanel 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) | |
| at_x | back to summary |
|---|---|
public float at_x()
| |
| at_y | back to summary |
|---|---|
public float at_y()
| |
| border | back to summary |
|---|---|
public float border()
| |
| bounds | back to summary |
|---|---|
public NkRect bounds()
| |
| buffer | back to summary |
|---|---|
public NkCommandBuffer buffer()
| |
| chart | back to summary |
|---|---|
public NkChart chart()
| |
| clip | back to summary |
|---|---|
public NkRect clip()
| |
| flags | back to summary |
|---|---|
public int flags()
| |
| footer_height | back to summary |
|---|---|
public float footer_height()
| |
| getElementFactory | back to summary |
|---|---|
| protected NkPanel getElementFactory() Implements abstract org.
| |
| has_scrolling | back to summary |
|---|---|
public int has_scrolling()
| |
| header_height | back to summary |
|---|---|
public float header_height()
| |
| max_x | back to summary |
|---|---|
public float max_x()
| |
| menu | back to summary |
|---|---|
public NkMenuState menu()
| |
| offset_x | back to summary |
|---|---|
public IntBuffer offset_x(int capacity)
| |
| offset_y | back to summary |
|---|---|
public IntBuffer offset_y(int capacity)
| |
| parent | back to summary |
|---|---|
public NkPanel parent()
| |
| row | back to summary |
|---|---|
public NkRowLayout row()
| |
| self | back to summary |
|---|---|
| protected NkPanel. Implements abstract org.
| |
| type | back to summary |
|---|---|
public int type()
| |