public class Nuklear
extends java.lang.Object
Font handling in this library was designed to be quite customizable and lets you decide what you want to use and what you want to provide. There are three different ways to use the font atlas. The first two will use your font handling scheme and only requires essential data to run nuklear. The next slightly more advanced features is font handling with vertex buffer output.
NkUserFont struct which only requires the height in pixel of the used font
and a callback to calculate the width of a string. This way of handling fonts is best fitted for using the normal draw shape command API where you
do all the text drawing yourself and the library does not require any kind of deeper knowledge about which font handling mechanism you use.
IMPORTANT: the NkUserFont pointer provided to nuklear has to persist over the complete life time! I know this sucks but it is currently the only
way to switch between fonts.
float your_text_width_calculation(nk_handle handle, float height, const char *text, int len)
{
your_font_type *type = handle.ptr;
float text_width = ...;
return text_width;
}
struct nk_user_font font;
font.userdata.ptr = &your_font_class_or_struct;
font.height = your_font_height;
font.width = your_text_width_calculation;
struct nk_context ctx;
nk_init_default(&ctx, &font);
float your_text_width_calculation(nk_handle handle, float height, const char *text, int len)
{
your_font_type *type = handle.ptr;
float text_width = ...;
return text_width;
}
void query_your_font_glyph(nk_handle handle, float font_height, struct nk_user_font_glyph *glyph, nk_rune codepoint, nk_rune next_codepoint)
{
your_font_type *type = handle.ptr;
glyph.width = ...;
glyph.height = ...;
glyph.xadvance = ...;
glyph.uv[0].x = ...;
glyph.uv[0].y = ...;
glyph.uv[1].x = ...;
glyph.uv[1].y = ...;
glyph.offset.x = ...;
glyph.offset.y = ...;
}
struct nk_user_font font;
font.userdata.ptr = &your_font_class_or_struct;
font.height = your_font_height;
font.width = your_text_width_calculation;
font.query = query_your_font_glyph;
font.texture.id = your_font_texture;
struct nk_context ctx;
nk_init_default(&ctx, &font);A basic (double)-buffer with linear allocation and resetting as only freeing policy. The buffer's main purpose is to control all memory management inside the GUI toolkit and still leave memory control as much as possible in the hand of the user while also making sure the library is easy to use if not as much control is needed. In general all memory inside this library can be provided from the user in three different ways.
The first way and the one providing most control is by just passing a fixed size memory block. In this case all control lies in the hand of the user since he can exactly control where the memory comes from and how much memory the library should consume. Of course using the fixed size API removes the ability to automatically resize a buffer if not enough memory is provided so you have to take over the resizing. While being a fixed sized buffer sounds quite limiting, it is very effective in this library since the actual memory consumption is quite stable and has a fixed upper bound for a lot of cases.
If you don't want to think about how much memory the library should allocate at all time or have a very dynamic UI with unpredictable memory consumption habits but still want control over memory allocation you can use the dynamic allocator based API. The allocator consists of two callbacks for allocating and freeing memory and optional userdata so you can plugin your own allocator.
Editing text in this library is handled by either edit_string or edit_buffer. But like almost everything in this library there are multiple
ways of doing it and a balance between control and ease of use with memory as well as functionality controlled by flags.
This library generally allows three different levels of memory control: First of is the most basic way of just providing a simple char array with string length. This method is probably the easiest way of handling simple user text input. Main upside is complete control over memory while the biggest downside in comparsion with the other two approaches is missing undo/redo.
For UIs that require undo/redo the second way was created. It is based on a fixed size NkTextEdit struct, which has an internal undo/redo stack. This
is mainly useful if you want something more like a text editor but don't want to have a dynamically growing buffer.
The final way is using a dynamically growing nk_text_edit struct, which has both a default version if you don't care where memory comes from and an allocator version if you do. While the text editor is quite powerful for its complexity I would not recommend editing gigabytes of data with it. It is rather designed for uses cases which make sense for a GUI library not for an full blown text editor.
This library was designed to be render backend agnostic so it does not draw anything to screen. Instead all drawn shapes, widgets are made of, are buffered into memory and make up a command queue. Each frame therefore fills the command buffer with draw commands that then need to be executed by the user and his own render backend. After that the command buffer needs to be cleared and a new frame can be started. It is probably important to note that the command buffer is the main drawing API and the optional vertex buffer API only takes this format and converts it into a hardware accessible format.
To use the command queue to draw your own widgets you can access the command buffer of each window by calling window_get_canvas after previously
having called begin:
void draw_red_rectangle_widget(struct nk_context *ctx)
{
struct nk_command_buffer *canvas;
struct nk_input *input = &ctx->input;
canvas = nk_window_get_canvas(ctx);
struct nk_rect space;
enum nk_widget_layout_states state;
state = nk_widget(&space, ctx);
if (!state) return;
if (state != NK_WIDGET_ROM)
update_your_widget_by_user_input(...);
nk_fill_rect(canvas, space, 0, nk_rgb(255,0,0));
}
if (nk_begin(...)) {
nk_layout_row_dynamic(ctx, 25, 1);
draw_red_rectangle_widget(ctx);
}
nk_end(..)
Important to know if you want to create your own widgets is the widget call. It allocates space on the panel reserved for this widget to be used,
but also returns the state of the widget space. If your widget is not seen and does not have to be updated it is '0' and you can just return. If it
only has to be drawn the state will be WIDGET_ROM otherwise you can do both update and draw your widget. The reason for separating is to only draw and
update what is actually neccessary which is crucial for performance.
The style modifier stack can be used to temporarily change a property inside `nk_style`. For example if you want a special red button you can temporarily push the old button color onto a stack draw the button with a red color and then you just pop the old color back from the stack:
nk_style_push_style_item(ctx, &ctx->style.button.normal, nk_style_item_color(nk_rgb(255,0,0)));
nk_style_push_style_item(ctx, &ctx->style.button.hover, nk_style_item_color(nk_rgb(255,0,0)));
nk_style_push_style_item(ctx, &ctx->style.button.active, nk_style_item_color(nk_rgb(255,0,0)));
nk_style_push_vec2(ctx, &cx->style.button.padding, nk_vec2(2,2));
nk_button(...);
nk_style_pop_style_item(ctx);
nk_style_pop_style_item(ctx);
nk_style_pop_style_item(ctx);
nk_style_pop_vec2(ctx);
Nuklear has a stack for style_items, float properties, vector properties, flags, colors, fonts and for button_behavior. Each has it's own fixed size stack which can be changed in compile time.
| Modifier and Type | Field and Description |
|---|---|
static int |
NK_ANTI_ALIASING_OFF
nk_anti_aliasing
|
static int |
NK_ANTI_ALIASING_ON
nk_anti_aliasing
|
static int |
NK_BUFFER_BACK
nk_buffer_allocation_type
|
static int |
NK_BUFFER_DYNAMIC
nk_allocation_type
|
static int |
NK_BUFFER_FIXED
nk_allocation_type
|
static int |
NK_BUFFER_FRONT
nk_buffer_allocation_type
|
static int |
NK_BUFFER_MAX
nk_buffer_allocation_type
|
static int |
NK_BUTTON_DEFAULT
nk_button_behavior
|
static int |
NK_BUTTON_DOUBLE
nk_buttons
|
static int |
NK_BUTTON_LEFT
nk_buttons
|
static int |
NK_BUTTON_MAX
nk_buttons
|
static int |
NK_BUTTON_MIDDLE
nk_buttons
|
static int |
NK_BUTTON_REPEATER
nk_button_behavior
|
static int |
NK_BUTTON_RIGHT
nk_buttons
|
static int |
NK_CHART_CLICKED
nk_chart_event
|
static int |
NK_CHART_COLUMN
nk_chart_type
|
static int |
NK_CHART_HOVERING
nk_chart_event
|
static int |
NK_CHART_LINES
nk_chart_type
|
static int |
NK_CHART_MAX
nk_chart_type
|
static int |
NK_CLIPPING_OFF
nk_command_clipping
|
static int |
NK_CLIPPING_ON
nk_command_clipping
|
static int |
NK_COLOR_BORDER
nk_style_colors
|
static int |
NK_COLOR_BUTTON
nk_style_colors
|
static int |
NK_COLOR_BUTTON_ACTIVE
nk_style_colors
|
static int |
NK_COLOR_BUTTON_HOVER
nk_style_colors
|
static int |
NK_COLOR_CHART
nk_style_colors
|
static int |
NK_COLOR_CHART_COLOR
nk_style_colors
|
static int |
NK_COLOR_CHART_COLOR_HIGHLIGHT
nk_style_colors
|
static int |
NK_COLOR_COMBO
nk_style_colors
|
static int |
NK_COLOR_COUNT
nk_style_colors
|
static int |
NK_COLOR_EDIT
nk_style_colors
|
static int |
NK_COLOR_EDIT_CURSOR
nk_style_colors
|
static int |
NK_COLOR_HEADER
nk_style_colors
|
static int |
NK_COLOR_PROPERTY
nk_style_colors
|
static int |
NK_COLOR_SCROLLBAR
nk_style_colors
|
static int |
NK_COLOR_SCROLLBAR_CURSOR
nk_style_colors
|
static int |
NK_COLOR_SCROLLBAR_CURSOR_ACTIVE
nk_style_colors
|
static int |
NK_COLOR_SCROLLBAR_CURSOR_HOVER
nk_style_colors
|
static int |
NK_COLOR_SELECT
nk_style_colors
|
static int |
NK_COLOR_SELECT_ACTIVE
nk_style_colors
|
static int |
NK_COLOR_SLIDER
nk_style_colors
|
static int |
NK_COLOR_SLIDER_CURSOR
nk_style_colors
|
static int |
NK_COLOR_SLIDER_CURSOR_ACTIVE
nk_style_colors
|
static int |
NK_COLOR_SLIDER_CURSOR_HOVER
nk_style_colors
|
static int |
NK_COLOR_TAB_HEADER
nk_style_colors
|
static int |
NK_COLOR_TEXT
nk_style_colors
|
static int |
NK_COLOR_TOGGLE
nk_style_colors
|
static int |
NK_COLOR_TOGGLE_CURSOR
nk_style_colors
|
static int |
NK_COLOR_TOGGLE_HOVER
nk_style_colors
|
static int |
NK_COLOR_WINDOW
nk_style_colors
|
static int |
NK_COMMAND_ARC
nk_command_type
|
static int |
NK_COMMAND_ARC_FILLED
nk_command_type
|
static int |
NK_COMMAND_CIRCLE
nk_command_type
|
static int |
NK_COMMAND_CIRCLE_FILLED
nk_command_type
|
static int |
NK_COMMAND_CURVE
nk_command_type
|
static int |
NK_COMMAND_CUSTOM
nk_command_type
|
static int |
NK_COMMAND_IMAGE
nk_command_type
|
static int |
NK_COMMAND_LINE
nk_command_type
|
static int |
NK_COMMAND_NOP
nk_command_type
|
static int |
NK_COMMAND_POLYGON
nk_command_type
|
static int |
NK_COMMAND_POLYGON_FILLED
nk_command_type
|
static int |
NK_COMMAND_POLYLINE
nk_command_type
|
static int |
NK_COMMAND_RECT
nk_command_type
|
static int |
NK_COMMAND_RECT_FILLED
nk_command_type
|
static int |
NK_COMMAND_RECT_MULTI_COLOR
nk_command_type
|
static int |
NK_COMMAND_SCISSOR
nk_command_type
|
static int |
NK_COMMAND_TEXT
nk_command_type
|
static int |
NK_COMMAND_TRIANGLE
nk_command_type
|
static int |
NK_COMMAND_TRIANGLE_FILLED
nk_command_type
|
static int |
NK_CONVERT_COMMAND_BUFFER_FULL
nk_convert_result
|
static int |
NK_CONVERT_ELEMENT_BUFFER_FULL
nk_convert_result
|
static int |
NK_CONVERT_INVALID_PARAM
nk_convert_result
|
static int |
NK_CONVERT_SUCCESS
nk_convert_result
|
static int |
NK_CONVERT_VERTEX_BUFFER_FULL
nk_convert_result
|
static int |
NK_CURSOR_ARROW
nk_style_cursor
|
static int |
NK_CURSOR_COUNT
nk_style_cursor
|
static int |
NK_CURSOR_MOVE
nk_style_cursor
|
static int |
NK_CURSOR_RESIZE_HORIZONTAL
nk_style_cursor
|
static int |
NK_CURSOR_RESIZE_TOP_LEFT_DOWN_RIGHT
nk_style_cursor
|
static int |
NK_CURSOR_RESIZE_TOP_RIGHT_DOWN_LEFT
nk_style_cursor
|
static int |
NK_CURSOR_RESIZE_VERTICAL
nk_style_cursor
|
static int |
NK_CURSOR_TEXT
nk_style_cursor
|
static int |
NK_DOWN
nk_heading
|
static int |
NK_DYNAMIC
nk_layout_format
|
static int |
NK_EDIT_ACTIVATED
nk_edit_events
|
static int |
NK_EDIT_ACTIVE
nk_edit_events
|
static int |
NK_EDIT_ALLOW_TAB
nk_edit_flags
|
static int |
NK_EDIT_ALWAYS_INSERT_MODE
nk_edit_flags
|
static int |
NK_EDIT_AUTO_SELECT
nk_edit_flags
|
static int |
NK_EDIT_BOX
nk_edit_types
|
static int |
NK_EDIT_CLIPBOARD
nk_edit_flags
|
static int |
NK_EDIT_COMMITED
nk_edit_events
|
static int |
NK_EDIT_CTRL_ENTER_NEWLINE
nk_edit_flags
|
static int |
NK_EDIT_DEACTIVATED
nk_edit_events
|
static int |
NK_EDIT_DEFAULT
nk_edit_flags
|
static int |
NK_EDIT_EDITOR
nk_edit_types
|
static int |
NK_EDIT_FIELD
nk_edit_types
|
static int |
NK_EDIT_GOTO_END_ON_ACTIVATE
nk_edit_flags
|
static int |
NK_EDIT_INACTIVE
nk_edit_events
|
static int |
NK_EDIT_MULTILINE
nk_edit_flags
|
static int |
NK_EDIT_NO_CURSOR
nk_edit_flags
|
static int |
NK_EDIT_NO_HORIZONTAL_SCROLL
nk_edit_flags
|
static int |
NK_EDIT_READ_ONLY
nk_edit_flags
|
static int |
NK_EDIT_SELECTABLE
nk_edit_flags
|
static int |
NK_EDIT_SIG_ENTER
nk_edit_flags
|
static int |
NK_EDIT_SIMPLE
nk_edit_types
|
static int |
nk_false
Boolean values.
|
static int |
NK_FIXED
nk_modify
|
static int |
NK_FONT_ATLAS_ALPHA8
nk_font_atlas_format
|
static int |
NK_FONT_ATLAS_RGBA32
nk_font_atlas_format
|
static int |
NK_FORMAT_B8G8R8A8
nk_draw_vertex_layout_format
|
static int |
NK_FORMAT_COUNT
nk_draw_vertex_layout_format
|
static int |
NK_FORMAT_DOUBLE
nk_draw_vertex_layout_format
|
static int |
NK_FORMAT_FLOAT
nk_draw_vertex_layout_format
|
static int |
NK_FORMAT_R16G15B16
nk_draw_vertex_layout_format
|
static int |
NK_FORMAT_R16G15B16A16
nk_draw_vertex_layout_format
|
static int |
NK_FORMAT_R32G32B32
nk_draw_vertex_layout_format
|
static int |
NK_FORMAT_R32G32B32A32
nk_draw_vertex_layout_format
|
static int |
NK_FORMAT_R32G32B32A32_DOUBLE
nk_draw_vertex_layout_format
|
static int |
NK_FORMAT_R32G32B32A32_FLOAT
nk_draw_vertex_layout_format
|
static int |
NK_FORMAT_R8G8B8
nk_draw_vertex_layout_format
|
static int |
NK_FORMAT_R8G8B8A8
nk_draw_vertex_layout_format
|
static int |
NK_FORMAT_RGB32
nk_draw_vertex_layout_format
|
static int |
NK_FORMAT_RGBA32
nk_draw_vertex_layout_format
|
static int |
NK_FORMAT_SCHAR
nk_draw_vertex_layout_format
|
static int |
NK_FORMAT_SINT
nk_draw_vertex_layout_format
|
static int |
NK_FORMAT_SSHORT
nk_draw_vertex_layout_format
|
static int |
NK_FORMAT_UCHAR
nk_draw_vertex_layout_format
|
static int |
NK_FORMAT_UINT
nk_draw_vertex_layout_format
|
static int |
NK_FORMAT_USHORT
nk_draw_vertex_layout_format
|
static int |
NK_HEADER_LEFT
nk_style_header_align
|
static int |
NK_HEADER_RIGHT
nk_style_header_align
|
static int |
NK_HIDDEN
nk_show_states
|
static int |
NK_HORIZONTAL
nk_orientation
|
static int |
NK_INPUT_MAX
Constants.
|
static int |
NK_KEY_BACKSPACE
nk_keys
|
static int |
NK_KEY_COPY
nk_keys
|
static int |
NK_KEY_CTRL
nk_keys
|
static int |
NK_KEY_CUT
nk_keys
|
static int |
NK_KEY_DEL
nk_keys
|
static int |
NK_KEY_DOWN
nk_keys
|
static int |
NK_KEY_ENTER
nk_keys
|
static int |
NK_KEY_LEFT
nk_keys
|
static int |
NK_KEY_MAX
nk_keys
|
static int |
NK_KEY_NONE
nk_keys
|
static int |
NK_KEY_PASTE
nk_keys
|
static int |
NK_KEY_RIGHT
nk_keys
|
static int |
NK_KEY_SCROLL_DOWN
nk_keys
|
static int |
NK_KEY_SCROLL_END
nk_keys
|
static int |
NK_KEY_SCROLL_START
nk_keys
|
static int |
NK_KEY_SCROLL_UP
nk_keys
|
static int |
NK_KEY_SHIFT
nk_keys
|
static int |
NK_KEY_TAB
nk_keys
|
static int |
NK_KEY_TEXT_END
nk_keys
|
static int |
NK_KEY_TEXT_INSERT_MODE
nk_keys
|
static int |
NK_KEY_TEXT_LINE_END
nk_keys
|
static int |
NK_KEY_TEXT_LINE_START
nk_keys
|
static int |
NK_KEY_TEXT_REDO
nk_keys
|
static int |
NK_KEY_TEXT_REPLACE_MODE
nk_keys
|
static int |
NK_KEY_TEXT_RESET_MODE
nk_keys
|
static int |
NK_KEY_TEXT_SELECT_ALL
nk_keys
|
static int |
NK_KEY_TEXT_START
nk_keys
|
static int |
NK_KEY_TEXT_UNDO
nk_keys
|
static int |
NK_KEY_TEXT_WORD_LEFT
nk_keys
|
static int |
NK_KEY_TEXT_WORD_RIGHT
nk_keys
|
static int |
NK_KEY_UP
nk_keys
|
static int |
NK_LAYOUT_COUNT
nk_panel_row_layout_type
|
static int |
NK_LAYOUT_DYNAMIC
nk_panel_row_layout_type
|
static int |
NK_LAYOUT_DYNAMIC_FIXED
nk_panel_row_layout_type
|
static int |
NK_LAYOUT_DYNAMIC_FREE
nk_panel_row_layout_type
|
static int |
NK_LAYOUT_DYNAMIC_ROW
nk_panel_row_layout_type
|
static int |
NK_LAYOUT_STATIC
nk_panel_row_layout_type
|
static int |
NK_LAYOUT_STATIC_FIXED
nk_panel_row_layout_type
|
static int |
NK_LAYOUT_STATIC_FREE
nk_panel_row_layout_type
|
static int |
NK_LAYOUT_STATIC_ROW
nk_panel_row_layout_type
|
static int |
NK_LAYOUT_TEMPLATE
nk_panel_row_layout_type
|
static int |
NK_LEFT
nk_heading
|
static int |
NK_MAX_NUMBER_BUFFER
Constants.
|
static int |
NK_MAXIMIZED
nk_collapse_states
|
static int |
NK_MINIMIZED
nk_collapse_states
|
static int |
NK_MODIFIABLE
nk_modify
|
static int |
NK_PANEL_COMBO
nk_panel_type
|
static int |
NK_PANEL_CONTEXTUAL
nk_panel_type
|
static int |
NK_PANEL_GROUP
nk_panel_type
|
static int |
NK_PANEL_MENU
nk_panel_type
|
static int |
NK_PANEL_NONE
nk_panel_type
|
static int |
NK_PANEL_POPUP
nk_panel_type
|
static int |
NK_PANEL_SET_NONBLOCK
nk_panel_set
|
static int |
NK_PANEL_SET_POPUP
nk_panel_set
|
static int |
NK_PANEL_SET_SUB
nk_panel_set
|
static int |
NK_PANEL_TOOLTIP
nk_panel_type
|
static int |
NK_PANEL_WINDOW
nk_panel_type
|
static int |
NK_POPUP_DYNAMIC
nk_popup_type
|
static int |
NK_POPUP_STATIC
nk_popup_type
|
static int |
NK_RGB
nk_color_format
|
static int |
NK_RGBA
nk_color_format
|
static int |
NK_RIGHT
nk_heading
|
static float |
NK_SCROLLBAR_HIDING_TIMEOUT
Constants.
|
static int |
NK_SHOWN
nk_show_states
|
static int |
NK_STATIC
nk_layout_format
|
static int |
NK_STROKE_CLOSED
nk_draw_list_stroke
|
static int |
NK_STROKE_OPEN
nk_draw_list_stroke
|
static int |
NK_STYLE_ITEM_COLOR
nk_style_item_type
|
static int |
NK_STYLE_ITEM_IMAGE
nk_style_item_type
|
static int |
NK_SYMBOL_CIRCLE_OUTLINE
nk_symbol_type
|
static int |
NK_SYMBOL_CIRCLE_SOLID
nk_symbol_type
|
static int |
NK_SYMBOL_MAX
nk_symbol_type
|
static int |
NK_SYMBOL_MINUS
nk_symbol_type
|
static int |
NK_SYMBOL_NONE
nk_symbol_type
|
static int |
NK_SYMBOL_PLUS
nk_symbol_type
|
static int |
NK_SYMBOL_RECT_OUTLINE
nk_symbol_type
|
static int |
NK_SYMBOL_RECT_SOLID
nk_symbol_type
|
static int |
NK_SYMBOL_TRIANGLE_DOWN
nk_symbol_type
|
static int |
NK_SYMBOL_TRIANGLE_LEFT
nk_symbol_type
|
static int |
NK_SYMBOL_TRIANGLE_RIGHT
nk_symbol_type
|
static int |
NK_SYMBOL_TRIANGLE_UP
nk_symbol_type
|
static int |
NK_SYMBOL_UNDERSCORE
nk_symbol_type
|
static int |
NK_SYMBOL_X
nk_symbol_type
|
static int |
NK_TEXT_ALIGN_BOTTOM
nk_text_align
|
static int |
NK_TEXT_ALIGN_CENTERED
nk_text_align
|
static int |
NK_TEXT_ALIGN_LEFT
nk_text_align
|
static int |
NK_TEXT_ALIGN_MIDDLE
nk_text_align
|
static int |
NK_TEXT_ALIGN_RIGHT
nk_text_align
|
static int |
NK_TEXT_ALIGN_TOP
nk_text_align
|
static int |
NK_TEXT_CENTERED
nk_text_alignment
|
static int |
NK_TEXT_EDIT_MODE_INSERT
nk_text_edit_mode
|
static int |
NK_TEXT_EDIT_MODE_REPLACE
nk_text_edit_mode
|
static int |
NK_TEXT_EDIT_MODE_VIEW
nk_text_edit_mode
|
static int |
NK_TEXT_EDIT_MULTI_LINE
nk_text_edit_type
|
static int |
NK_TEXT_EDIT_SINGLE_LINE
nk_text_edit_type
|
static int |
NK_TEXT_LEFT
nk_text_alignment
|
static int |
NK_TEXT_RIGHT
nk_text_alignment
|
static int |
NK_TREE_NODE
nk_tree_type
|
static int |
NK_TREE_TAB
nk_tree_type
|
static int |
nk_true
Boolean values.
|
static float |
NK_UNDEFINED
Constants.
|
static int |
NK_UP
nk_heading
|
static int |
NK_UTF_INVALID
Constants.
|
static int |
NK_UTF_SIZE
Constants.
|
static int |
NK_VERTEX_ATTRIBUTE_COUNT
nk_draw_vertex_layout_attribute
|
static int |
NK_VERTEX_COLOR
nk_draw_vertex_layout_attribute
|
static int |
NK_VERTEX_POSITION
nk_draw_vertex_layout_attribute
|
static int |
NK_VERTEX_TEXCOORD
nk_draw_vertex_layout_attribute
|
static int |
NK_VERTICAL
nk_orientation
|
static int |
NK_WIDGET_INVALID
nk_widget_layout_states
|
static int |
NK_WIDGET_ROM
nk_widget_layout_states
|
static int |
NK_WIDGET_STATE_ACTIVE
nk_widget_states
|
static int |
NK_WIDGET_STATE_ACTIVED
nk_widget_states
|
static int |
NK_WIDGET_STATE_ENTERED
nk_widget_states
|
static int |
NK_WIDGET_STATE_HOVER
nk_widget_states
|
static int |
NK_WIDGET_STATE_HOVERED
nk_widget_states
|
static int |
NK_WIDGET_STATE_INACTIVE
nk_widget_states
|
static int |
NK_WIDGET_STATE_LEFT
nk_widget_states
|
static int |
NK_WIDGET_STATE_MODIFIED
nk_widget_states
|
static int |
NK_WIDGET_VALID
nk_widget_layout_states
|
static int |
NK_WINDOW_BACKGROUND
nk_panel_flags
|
static int |
NK_WINDOW_BORDER
nk_panel_flags
|
static int |
NK_WINDOW_CLOSABLE
nk_panel_flags
|
static int |
NK_WINDOW_CLOSED
nk_window_flags
|
static int |
NK_WINDOW_DYNAMIC
nk_window_flags
|
static int |
NK_WINDOW_HIDDEN
nk_window_flags
|
static int |
NK_WINDOW_MINIMIZABLE
nk_panel_flags
|
static int |
NK_WINDOW_MINIMIZED
nk_window_flags
|
static int |
NK_WINDOW_MOVABLE
nk_panel_flags
|
static int |
NK_WINDOW_NO_INPUT
nk_panel_flags
|
static int |
NK_WINDOW_NO_SCROLLBAR
nk_panel_flags
|
static int |
NK_WINDOW_PRIVATE
nk_window_flags
|
static int |
NK_WINDOW_REMOVE_ROM
nk_window_flags
|
static int |
NK_WINDOW_ROM
nk_window_flags
|
static int |
NK_WINDOW_SCALABLE
nk_panel_flags
|
static int |
NK_WINDOW_SCALE_LEFT
nk_panel_flags
|
static int |
NK_WINDOW_SCROLL_AUTO_HIDE
nk_panel_flags
|
static int |
NK_WINDOW_TITLE
nk_panel_flags
|
| Modifier and Type | Method and Description |
|---|---|
static NkCommand |
nk__begin(NkContext ctx)
Returns draw command pointer pointing to the next command inside the draw command list.
|
static NkDrawCommand |
nk__draw_begin(NkContext ctx,
NkBuffer buffer)
Returns a draw vertex command buffer iterator to iterate over the vertex draw command buffer.
|
static NkDrawCommand |
nk__draw_end(NkContext ctx,
NkBuffer buffer)
Returns the end of the vertex draw list.
|
static NkDrawCommand |
nk__draw_list_begin(NkDrawList list,
NkBuffer buffer) |
static NkDrawCommand |
nk__draw_list_next(NkDrawCommand cmd,
NkBuffer buffer,
NkDrawList list) |
static NkDrawCommand |
nk__draw_next(NkDrawCommand cmd,
NkBuffer buffer,
NkContext ctx)
Increments the vertex command iterator to the next command inside the context vertex command list.
|
static NkCommand |
nk__next(NkContext ctx,
NkCommand cmd)
Increments the draw command iterator to the next command inside the context draw command list.
|
static boolean |
nk_begin_titled(NkContext ctx,
java.nio.ByteBuffer name,
java.nio.ByteBuffer title,
NkRect bounds,
int flags)
Extended window start with separated title and identifier to allow multiple windows with same title but not name.
|
static boolean |
nk_begin_titled(NkContext ctx,
java.lang.CharSequence name,
java.lang.CharSequence title,
NkRect bounds,
int flags)
Extended window start with separated title and identifier to allow multiple windows with same title but not name.
|
static boolean |
nk_begin(NkContext ctx,
java.nio.ByteBuffer title,
NkRect bounds,
int flags)
Starts a new window; needs to be called every frame for every window (unless hidden) or otherwise the window gets removed.
|
static boolean |
nk_begin(NkContext ctx,
java.lang.CharSequence title,
NkRect bounds,
int flags)
Starts a new window; needs to be called every frame for every window (unless hidden) or otherwise the window gets removed.
|
static void |
nk_buffer_clear(NkBuffer buffer) |
static void |
nk_buffer_free(NkBuffer buffer) |
static void |
nk_buffer_info(NkMemoryStatus status,
NkBuffer buffer) |
static void |
nk_buffer_init_fixed(NkBuffer buffer,
java.nio.ByteBuffer memory) |
static void |
nk_buffer_init(NkBuffer buffer,
NkAllocator allocator,
long size) |
static void |
nk_buffer_mark(NkBuffer buffer,
int type) |
static long |
nk_buffer_memory_const(NkBuffer buffer) |
static long |
nk_buffer_memory(NkBuffer buffer) |
static void |
nk_buffer_push(NkBuffer buffer,
int type,
java.nio.ByteBuffer memory,
long align) |
static void |
nk_buffer_reset(NkBuffer buffer,
int type) |
static long |
nk_buffer_total(NkBuffer buffer) |
static boolean |
nk_button_color(NkContext ctx,
NkColor color) |
static boolean |
nk_button_image_label_styled(NkContext ctx,
NkStyleButton style,
NkImage img,
java.nio.ByteBuffer title,
int text_alignment) |
static boolean |
nk_button_image_label_styled(NkContext ctx,
NkStyleButton style,
NkImage img,
java.lang.CharSequence title,
int text_alignment) |
static boolean |
nk_button_image_label(NkContext ctx,
NkImage img,
java.nio.ByteBuffer text,
int text_alignment) |
static boolean |
nk_button_image_label(NkContext ctx,
NkImage img,
java.lang.CharSequence text,
int text_alignment) |
static boolean |
nk_button_image_styled(NkContext ctx,
NkStyleButton style,
NkImage img) |
static boolean |
nk_button_image_text_styled(NkContext ctx,
NkStyleButton style,
NkImage img,
java.nio.ByteBuffer title,
int len,
int alignment) |
static boolean |
nk_button_image_text_styled(NkContext ctx,
NkStyleButton style,
NkImage img,
java.lang.CharSequence title,
int len,
int alignment) |
static boolean |
nk_button_image_text(NkContext ctx,
NkImage img,
java.nio.ByteBuffer text,
int alignment) |
static boolean |
nk_button_image_text(NkContext ctx,
NkImage img,
java.lang.CharSequence text,
int alignment) |
static boolean |
nk_button_image(NkContext ctx,
NkImage img) |
static boolean |
nk_button_label_styled(NkContext ctx,
NkStyleButton style,
java.nio.ByteBuffer title) |
static boolean |
nk_button_label_styled(NkContext ctx,
NkStyleButton style,
java.lang.CharSequence title) |
static boolean |
nk_button_label(NkContext ctx,
java.nio.ByteBuffer title) |
static boolean |
nk_button_label(NkContext ctx,
java.lang.CharSequence title) |
static boolean |
nk_button_pop_behavior(NkContext ctx) |
static boolean |
nk_button_push_behavior(NkContext ctx,
int behavior) |
static void |
nk_button_set_behavior(NkContext ctx,
int behavior) |
static boolean |
nk_button_symbol_label_styled(NkContext ctx,
NkStyleButton style,
int symbol,
java.nio.ByteBuffer title,
int text_alignment) |
static boolean |
nk_button_symbol_label_styled(NkContext ctx,
NkStyleButton style,
int symbol,
java.lang.CharSequence title,
int text_alignment) |
static boolean |
nk_button_symbol_label(NkContext ctx,
int symbol,
java.nio.ByteBuffer text,
int text_alignment) |
static boolean |
nk_button_symbol_label(NkContext ctx,
int symbol,
java.lang.CharSequence text,
int text_alignment) |
static boolean |
nk_button_symbol_styled(NkContext ctx,
NkStyleButton style,
int symbol) |
static boolean |
nk_button_symbol_text_styled(NkContext ctx,
NkStyleButton style,
int symbol,
java.nio.ByteBuffer title,
int len,
int alignment) |
static boolean |
nk_button_symbol_text_styled(NkContext ctx,
NkStyleButton style,
int symbol,
java.lang.CharSequence title,
int len,
int alignment) |
static boolean |
nk_button_symbol_text(NkContext ctx,
int symbol,
java.nio.ByteBuffer text,
int alignment) |
static boolean |
nk_button_symbol_text(NkContext ctx,
int symbol,
java.lang.CharSequence text,
int alignment) |
static boolean |
nk_button_symbol(NkContext ctx,
int symbol) |
static boolean |
nk_button_text_styled(NkContext ctx,
NkStyleButton style,
java.nio.ByteBuffer title,
int len) |
static boolean |
nk_button_text_styled(NkContext ctx,
NkStyleButton style,
java.lang.CharSequence title,
int len) |
static boolean |
nk_button_text(NkContext ctx,
java.nio.ByteBuffer title) |
static boolean |
nk_button_text(NkContext ctx,
java.lang.CharSequence title) |
static void |
nk_chart_add_slot_colored(NkContext ctx,
int type,
NkColor color,
NkColor active,
int count,
float min_value,
float max_value) |
static void |
nk_chart_add_slot(NkContext ctx,
int type,
int count,
float min_value,
float max_value) |
static boolean |
nk_chart_begin_colored(NkContext ctx,
int type,
NkColor color,
NkColor active,
int num,
float min,
float max) |
static boolean |
nk_chart_begin(NkContext ctx,
int type,
int num,
float min,
float max) |
static void |
nk_chart_end(NkContext ctx) |
static int |
nk_chart_push_slot(NkContext ctx,
float value,
int slot) |
static int |
nk_chart_push(NkContext ctx,
float value) |
static int |
nk_check_flags_label(NkContext ctx,
java.nio.ByteBuffer str,
int flags,
int value) |
static int |
nk_check_flags_label(NkContext ctx,
java.lang.CharSequence str,
int flags,
int value) |
static int |
nk_check_flags_text(NkContext ctx,
java.nio.ByteBuffer str,
int flags,
int value) |
static int |
nk_check_flags_text(NkContext ctx,
java.lang.CharSequence str,
int flags,
int value) |
static boolean |
nk_check_label(NkContext ctx,
java.nio.ByteBuffer str,
boolean active) |
static boolean |
nk_check_label(NkContext ctx,
java.lang.CharSequence str,
boolean active) |
static boolean |
nk_check_text(NkContext ctx,
java.nio.ByteBuffer str,
boolean active) |
static boolean |
nk_check_text(NkContext ctx,
java.lang.CharSequence str,
boolean active) |
static boolean |
nk_checkbox_flags_label(NkContext ctx,
java.nio.ByteBuffer str,
int[] flags,
int value)
Array version of:
checkbox_flags_label |
static boolean |
nk_checkbox_flags_label(NkContext ctx,
java.nio.ByteBuffer str,
java.nio.IntBuffer flags,
int value) |
static boolean |
nk_checkbox_flags_label(NkContext ctx,
java.lang.CharSequence str,
int[] flags,
int value)
Array version of:
checkbox_flags_label |
static boolean |
nk_checkbox_flags_label(NkContext ctx,
java.lang.CharSequence str,
java.nio.IntBuffer flags,
int value) |
static boolean |
nk_checkbox_flags_text(NkContext ctx,
java.nio.ByteBuffer str,
int[] flags,
int value)
Array version of:
checkbox_flags_text |
static boolean |
nk_checkbox_flags_text(NkContext ctx,
java.nio.ByteBuffer str,
java.nio.IntBuffer flags,
int value) |
static boolean |
nk_checkbox_flags_text(NkContext ctx,
java.lang.CharSequence str,
int[] flags,
int value)
Array version of:
checkbox_flags_text |
static boolean |
nk_checkbox_flags_text(NkContext ctx,
java.lang.CharSequence str,
java.nio.IntBuffer flags,
int value) |
static boolean |
nk_checkbox_label(NkContext ctx,
java.nio.ByteBuffer str,
int[] active)
Array version of:
checkbox_label |
static boolean |
nk_checkbox_label(NkContext ctx,
java.nio.ByteBuffer str,
java.nio.IntBuffer active) |
static boolean |
nk_checkbox_label(NkContext ctx,
java.lang.CharSequence str,
int[] active)
Array version of:
checkbox_label |
static boolean |
nk_checkbox_label(NkContext ctx,
java.lang.CharSequence str,
java.nio.IntBuffer active) |
static boolean |
nk_checkbox_text(NkContext ctx,
java.nio.ByteBuffer str,
int[] active)
Array version of:
checkbox_text |
static boolean |
nk_checkbox_text(NkContext ctx,
java.nio.ByteBuffer str,
java.nio.IntBuffer active) |
static boolean |
nk_checkbox_text(NkContext ctx,
java.lang.CharSequence str,
int[] active)
Array version of:
checkbox_text |
static boolean |
nk_checkbox_text(NkContext ctx,
java.lang.CharSequence str,
java.nio.IntBuffer active) |
static void |
nk_clear(NkContext ctx)
Called at the end of the frame to reset and prepare the context for the next frame.
|
static NkColorf |
nk_color_cf(NkColor color,
NkColorf __result) |
static void |
nk_color_d(double[] r,
double[] g,
double[] b,
double[] a,
NkColor color)
Array version of:
color_d |
static void |
nk_color_d(java.nio.DoubleBuffer r,
java.nio.DoubleBuffer g,
java.nio.DoubleBuffer b,
java.nio.DoubleBuffer a,
NkColor color) |
static void |
nk_color_dv(double[] rgba_out,
NkColor color)
Array version of:
color_dv |
static void |
nk_color_dv(java.nio.DoubleBuffer rgba_out,
NkColor color) |
static void |
nk_color_f(float[] r,
float[] g,
float[] b,
float[] a,
NkColor color)
Array version of:
color_f |
static void |
nk_color_f(java.nio.FloatBuffer r,
java.nio.FloatBuffer g,
java.nio.FloatBuffer b,
java.nio.FloatBuffer a,
NkColor color) |
static void |
nk_color_fv(float[] rgba_out,
NkColor color)
Array version of:
color_fv |
static void |
nk_color_fv(java.nio.FloatBuffer rgba_out,
NkColor color) |
static void |
nk_color_hex_rgb(java.nio.ByteBuffer output,
NkColor color) |
static void |
nk_color_hex_rgba(java.nio.ByteBuffer output,
NkColor color) |
static void |
nk_color_hsv_b(java.nio.ByteBuffer out_h,
java.nio.ByteBuffer out_s,
java.nio.ByteBuffer out_v,
NkColor color) |
static void |
nk_color_hsv_bv(java.nio.ByteBuffer hsv_out,
NkColor color) |
static void |
nk_color_hsv_f(float[] out_h,
float[] out_s,
float[] out_v,
NkColor color)
Array version of:
color_hsv_f |
static void |
nk_color_hsv_f(java.nio.FloatBuffer out_h,
java.nio.FloatBuffer out_s,
java.nio.FloatBuffer out_v,
NkColor color) |
static void |
nk_color_hsv_fv(float[] hsv_out,
NkColor color)
Array version of:
color_hsv_fv |
static void |
nk_color_hsv_fv(java.nio.FloatBuffer hsv_out,
NkColor color) |
static void |
nk_color_hsv_i(int[] out_h,
int[] out_s,
int[] out_v,
NkColor color)
Array version of:
color_hsv_i |
static void |
nk_color_hsv_i(java.nio.IntBuffer out_h,
java.nio.IntBuffer out_s,
java.nio.IntBuffer out_v,
NkColor color) |
static void |
nk_color_hsv_iv(int[] hsv_out,
NkColor color)
Array version of:
color_hsv_iv |
static void |
nk_color_hsv_iv(java.nio.IntBuffer hsv_out,
NkColor color) |
static void |
nk_color_hsva_b(java.nio.ByteBuffer h,
java.nio.ByteBuffer s,
java.nio.ByteBuffer v,
java.nio.ByteBuffer a,
NkColor color) |
static void |
nk_color_hsva_bv(java.nio.ByteBuffer hsva_out,
NkColor color) |
static void |
nk_color_hsva_f(float[] out_h,
float[] out_s,
float[] out_v,
float[] out_a,
NkColor color)
Array version of:
color_hsva_f |
static void |
nk_color_hsva_f(java.nio.FloatBuffer out_h,
java.nio.FloatBuffer out_s,
java.nio.FloatBuffer out_v,
java.nio.FloatBuffer out_a,
NkColor color) |
static void |
nk_color_hsva_fv(float[] hsva_out,
NkColor color)
Array version of:
color_hsva_fv |
static void |
nk_color_hsva_fv(java.nio.FloatBuffer hsva_out,
NkColor color) |
static void |
nk_color_hsva_i(int[] h,
int[] s,
int[] v,
int[] a,
NkColor color)
Array version of:
color_hsva_i |
static void |
nk_color_hsva_i(java.nio.IntBuffer h,
java.nio.IntBuffer s,
java.nio.IntBuffer v,
java.nio.IntBuffer a,
NkColor color) |
static void |
nk_color_hsva_iv(int[] hsva_out,
NkColor color)
Array version of:
color_hsva_iv |
static void |
nk_color_hsva_iv(java.nio.IntBuffer hsva_out,
NkColor color) |
static boolean |
nk_color_pick(NkContext ctx,
NkColorf color,
int fmt) |
static NkColorf |
nk_color_picker(NkContext ctx,
NkColorf color,
int fmt) |
static int |
nk_color_u32(NkColor color) |
static void |
nk_colorf_hsva_f(float[] out_h,
float[] out_s,
float[] out_v,
float[] out_a,
NkColorf in)
Array version of:
colorf_hsva_f |
static void |
nk_colorf_hsva_f(java.nio.FloatBuffer out_h,
java.nio.FloatBuffer out_s,
java.nio.FloatBuffer out_v,
java.nio.FloatBuffer out_a,
NkColorf in) |
static void |
nk_colorf_hsva_fv(float[] hsva,
NkColorf in)
Array version of:
colorf_hsva_fv |
static void |
nk_colorf_hsva_fv(java.nio.FloatBuffer hsva,
NkColorf in) |
static boolean |
nk_combo_begin_color(NkContext ctx,
NkColor color,
NkVec2 size) |
static boolean |
nk_combo_begin_image_label(NkContext ctx,
java.nio.ByteBuffer selected,
NkImage img,
NkVec2 size) |
static boolean |
nk_combo_begin_image_label(NkContext ctx,
java.lang.CharSequence selected,
NkImage img,
NkVec2 size) |
static boolean |
nk_combo_begin_image_text(NkContext ctx,
java.nio.ByteBuffer selected,
NkImage img,
NkVec2 size) |
static boolean |
nk_combo_begin_image_text(NkContext ctx,
java.lang.CharSequence selected,
NkImage img,
NkVec2 size) |
static boolean |
nk_combo_begin_image(NkContext ctx,
NkImage img,
NkVec2 size) |
static boolean |
nk_combo_begin_label(NkContext ctx,
java.nio.ByteBuffer selected,
NkVec2 size) |
static boolean |
nk_combo_begin_label(NkContext ctx,
java.lang.CharSequence selected,
NkVec2 size) |
static boolean |
nk_combo_begin_symbol_label(NkContext ctx,
java.nio.ByteBuffer selected,
int symbol,
NkVec2 size) |
static boolean |
nk_combo_begin_symbol_label(NkContext ctx,
java.lang.CharSequence selected,
int symbol,
NkVec2 size) |
static boolean |
nk_combo_begin_symbol_text(NkContext ctx,
java.nio.ByteBuffer selected,
int symbol,
NkVec2 size) |
static boolean |
nk_combo_begin_symbol_text(NkContext ctx,
java.lang.CharSequence selected,
int symbol,
NkVec2 size) |
static boolean |
nk_combo_begin_symbol(NkContext ctx,
int symbol,
NkVec2 size) |
static boolean |
nk_combo_begin_text(NkContext ctx,
java.nio.ByteBuffer selected,
NkVec2 size) |
static boolean |
nk_combo_begin_text(NkContext ctx,
java.lang.CharSequence selected,
NkVec2 size) |
static boolean |
nk_combo_callback(NkContext ctx,
NkItemGetterI item_getter,
long userdata,
boolean selected,
int count,
int item_height,
NkVec2 size) |
static void |
nk_combo_close(NkContext ctx) |
static void |
nk_combo_end(NkContext ctx) |
static boolean |
nk_combo_item_image_label(NkContext ctx,
NkImage img,
java.nio.ByteBuffer text,
int alignment) |
static boolean |
nk_combo_item_image_label(NkContext ctx,
NkImage img,
java.lang.CharSequence text,
int alignment) |
static boolean |
nk_combo_item_image_text(NkContext ctx,
NkImage img,
java.nio.ByteBuffer text,
int alignment) |
static boolean |
nk_combo_item_image_text(NkContext ctx,
NkImage img,
java.lang.CharSequence text,
int alignment) |
static boolean |
nk_combo_item_label(NkContext ctx,
java.nio.ByteBuffer text,
int alignment) |
static boolean |
nk_combo_item_label(NkContext ctx,
java.lang.CharSequence text,
int alignment) |
static boolean |
nk_combo_item_symbol_label(NkContext ctx,
int symbol,
java.nio.ByteBuffer text,
int alignment) |
static boolean |
nk_combo_item_symbol_label(NkContext ctx,
int symbol,
java.lang.CharSequence text,
int alignment) |
static boolean |
nk_combo_item_symbol_text(NkContext ctx,
int symbol,
java.nio.ByteBuffer text,
int alignment) |
static boolean |
nk_combo_item_symbol_text(NkContext ctx,
int symbol,
java.lang.CharSequence text,
int alignment) |
static boolean |
nk_combo_item_text(NkContext ctx,
java.nio.ByteBuffer text,
int alignment) |
static boolean |
nk_combo_item_text(NkContext ctx,
java.lang.CharSequence text,
int alignment) |
static boolean |
nk_combo_separator(NkContext ctx,
java.nio.ByteBuffer items_separated_by_separator,
int separator,
boolean selected,
int count,
int item_height,
NkVec2 size) |
static boolean |
nk_combo_separator(NkContext ctx,
java.lang.CharSequence items_separated_by_separator,
int separator,
boolean selected,
int count,
int item_height,
NkVec2 size) |
static boolean |
nk_combo_string(NkContext ctx,
java.nio.ByteBuffer items_separated_by_zeros,
boolean selected,
int count,
int item_height,
NkVec2 size) |
static boolean |
nk_combo_string(NkContext ctx,
java.lang.CharSequence items_separated_by_zeros,
boolean selected,
int count,
int item_height,
NkVec2 size) |
static boolean |
nk_combo(NkContext ctx,
org.lwjgl.PointerBuffer items,
boolean selected,
int item_height,
NkVec2 size) |
static void |
nk_combobox_callback(NkContext ctx,
NkItemGetterI item_getter,
long userdata,
int[] selected,
int count,
int item_height,
NkVec2 size)
Array version of:
combobox_callback |
static void |
nk_combobox_callback(NkContext ctx,
NkItemGetterI item_getter,
long userdata,
java.nio.IntBuffer selected,
int count,
int item_height,
NkVec2 size) |
static void |
nk_combobox_separator(NkContext ctx,
java.nio.ByteBuffer items_separated_by_separator,
int separator,
int[] selected,
int count,
int item_height,
NkVec2 size)
Array version of:
combobox_separator |
static void |
nk_combobox_separator(NkContext ctx,
java.nio.ByteBuffer items_separated_by_separator,
int separator,
java.nio.IntBuffer selected,
int count,
int item_height,
NkVec2 size) |
static void |
nk_combobox_separator(NkContext ctx,
java.lang.CharSequence items_separated_by_separator,
int separator,
int[] selected,
int count,
int item_height,
NkVec2 size)
Array version of:
combobox_separator |
static void |
nk_combobox_separator(NkContext ctx,
java.lang.CharSequence items_separated_by_separator,
int separator,
java.nio.IntBuffer selected,
int count,
int item_height,
NkVec2 size) |
static void |
nk_combobox_string(NkContext ctx,
java.nio.ByteBuffer items_separated_by_zeros,
int[] selected,
int count,
int item_height,
NkVec2 size)
Array version of:
combobox_string |
static void |
nk_combobox_string(NkContext ctx,
java.nio.ByteBuffer items_separated_by_zeros,
java.nio.IntBuffer selected,
int count,
int item_height,
NkVec2 size) |
static void |
nk_combobox_string(NkContext ctx,
java.lang.CharSequence items_separated_by_zeros,
int[] selected,
int count,
int item_height,
NkVec2 size)
Array version of:
combobox_string |
static void |
nk_combobox_string(NkContext ctx,
java.lang.CharSequence items_separated_by_zeros,
java.nio.IntBuffer selected,
int count,
int item_height,
NkVec2 size) |
static void |
nk_combobox(NkContext ctx,
org.lwjgl.PointerBuffer items,
int[] selected,
int item_height,
NkVec2 size)
Array version of:
combobox |
static void |
nk_combobox(NkContext ctx,
org.lwjgl.PointerBuffer items,
java.nio.IntBuffer selected,
int item_height,
NkVec2 size) |
static boolean |
nk_contextual_begin(NkContext ctx,
int flags,
NkVec2 size,
NkRect trigger_bounds) |
static void |
nk_contextual_close(NkContext ctx) |
static void |
nk_contextual_end(NkContext ctx) |
static boolean |
nk_contextual_item_image_label(NkContext ctx,
NkImage img,
java.nio.ByteBuffer text,
int alignment) |
static boolean |
nk_contextual_item_image_label(NkContext ctx,
NkImage img,
java.lang.CharSequence text,
int alignment) |
static boolean |
nk_contextual_item_image_text(NkContext ctx,
NkImage img,
java.nio.ByteBuffer text,
int alignment) |
static boolean |
nk_contextual_item_image_text(NkContext ctx,
NkImage img,
java.lang.CharSequence text,
int alignment) |
static boolean |
nk_contextual_item_label(NkContext ctx,
java.nio.ByteBuffer text,
int align) |
static boolean |
nk_contextual_item_label(NkContext ctx,
java.lang.CharSequence text,
int align) |
static boolean |
nk_contextual_item_symbol_label(NkContext ctx,
int symbol,
java.nio.ByteBuffer text,
int alignment) |
static boolean |
nk_contextual_item_symbol_label(NkContext ctx,
int symbol,
java.lang.CharSequence text,
int alignment) |
static boolean |
nk_contextual_item_symbol_text(NkContext ctx,
int symbol,
java.nio.ByteBuffer text,
int alignment) |
static boolean |
nk_contextual_item_symbol_text(NkContext ctx,
int symbol,
java.lang.CharSequence text,
int alignment) |
static boolean |
nk_contextual_item_text(NkContext ctx,
java.nio.ByteBuffer text,
int align) |
static boolean |
nk_contextual_item_text(NkContext ctx,
java.lang.CharSequence text,
int align) |
static int |
nk_convert(NkContext ctx,
NkBuffer cmds,
NkBuffer vertices,
NkBuffer elements,
NkConvertConfig config)
Converts from the abstract draw commands list into a hardware accessable vertex format.
|
static void |
nk_draw_image(NkCommandBuffer b,
NkRect rect,
NkImage img,
NkColor color) |
static void |
nk_draw_list_add_image(NkDrawList list,
NkImage texture,
NkRect rect,
NkColor color) |
static void |
nk_draw_list_add_text(NkDrawList list,
NkUserFont font,
NkRect rect,
java.nio.ByteBuffer text,
float font_height,
NkColor color) |
static void |
nk_draw_list_add_text(NkDrawList list,
NkUserFont font,
NkRect rect,
java.lang.CharSequence text,
float font_height,
NkColor color) |
static void |
nk_draw_list_fill_circle(NkDrawList list,
NkVec2 center,
float radius,
NkColor col,
int segs) |
static void |
nk_draw_list_fill_poly_convex(NkDrawList list,
NkVec2.Buffer points,
NkColor color,
int aliasing) |
static void |
nk_draw_list_fill_rect_multi_color(NkDrawList list,
NkRect rect,
NkColor left,
NkColor top,
NkColor right,
NkColor bottom) |
static void |
nk_draw_list_fill_rect(NkDrawList list,
NkRect rect,
NkColor color,
float rounding) |
static void |
nk_draw_list_fill_triangle(NkDrawList list,
NkVec2 a,
NkVec2 b,
NkVec2 c,
NkColor color) |
static void |
nk_draw_list_init(NkDrawList list) |
static void |
nk_draw_list_path_arc_to_fast(NkDrawList list,
NkVec2 center,
float radius,
int a_min,
int a_max) |
static void |
nk_draw_list_path_arc_to(NkDrawList list,
NkVec2 center,
float radius,
float a_min,
float a_max,
int segments) |
static void |
nk_draw_list_path_clear(NkDrawList list) |
static void |
nk_draw_list_path_curve_to(NkDrawList list,
NkVec2 p2,
NkVec2 p3,
NkVec2 p4,
int num_segments) |
static void |
nk_draw_list_path_fill(NkDrawList list,
NkColor color) |
static void |
nk_draw_list_path_line_to(NkDrawList list,
NkVec2 pos) |
static void |
nk_draw_list_path_rect_to(NkDrawList list,
NkVec2 a,
NkVec2 b,
float rounding) |
static void |
nk_draw_list_path_stroke(NkDrawList list,
NkColor color,
int closed,
float thickness) |
static void |
nk_draw_list_push_userdata(NkDrawList list,
NkHandle userdata) |
static void |
nk_draw_list_setup(NkDrawList canvas,
NkConvertConfig config,
NkBuffer cmds,
NkBuffer vertices,
NkBuffer elements,
int line_aa,
int shape_aa) |
static void |
nk_draw_list_stroke_circle(NkDrawList list,
NkVec2 center,
float radius,
NkColor color,
int segs,
float thickness) |
static void |
nk_draw_list_stroke_curve(NkDrawList list,
NkVec2 p0,
NkVec2 cp0,
NkVec2 cp1,
NkVec2 p1,
NkColor color,
int segments,
float thickness) |
static void |
nk_draw_list_stroke_line(NkDrawList list,
NkVec2 a,
NkVec2 b,
NkColor color,
float thickness) |
static void |
nk_draw_list_stroke_poly_line(NkDrawList list,
NkVec2 pnts,
int cnt,
NkColor color,
int closed,
float thickness,
int aliasing) |
static void |
nk_draw_list_stroke_rect(NkDrawList list,
NkRect rect,
NkColor color,
float rounding,
float thickness) |
static void |
nk_draw_list_stroke_triangle(NkDrawList list,
NkVec2 a,
NkVec2 b,
NkVec2 c,
NkColor color,
float thickness) |
static void |
nk_draw_text(NkCommandBuffer b,
NkRect rect,
java.nio.ByteBuffer string,
NkUserFont font,
NkColor bg,
NkColor fg) |
static void |
nk_draw_text(NkCommandBuffer b,
NkRect rect,
java.lang.CharSequence string,
NkUserFont font,
NkColor bg,
NkColor fg) |
static int |
nk_edit_buffer(NkContext ctx,
int flags,
NkTextEdit edit,
NkPluginFilterI filter) |
static void |
nk_edit_focus(NkContext ctx,
int flags) |
static int |
nk_edit_string_zero_terminated(NkContext ctx,
int flags,
java.nio.ByteBuffer buffer,
int max,
NkPluginFilterI filter) |
static int |
nk_edit_string_zero_terminated(NkContext ctx,
int flags,
java.lang.CharSequence buffer,
int max,
NkPluginFilterI filter) |
static int |
nk_edit_string(NkContext ctx,
int flags,
java.nio.ByteBuffer memory,
int[] len,
int max,
NkPluginFilterI filter)
Array version of:
edit_string |
static int |
nk_edit_string(NkContext ctx,
int flags,
java.nio.ByteBuffer memory,
java.nio.IntBuffer len,
int max,
NkPluginFilterI filter) |
static int |
nk_edit_string(NkContext ctx,
int flags,
java.lang.CharSequence memory,
int[] len,
int max,
NkPluginFilterI filter)
Array version of:
edit_string |
static int |
nk_edit_string(NkContext ctx,
int flags,
java.lang.CharSequence memory,
java.nio.IntBuffer len,
int max,
NkPluginFilterI filter) |
static void |
nk_edit_unfocus(NkContext ctx) |
static void |
nk_end(NkContext ctx)
Needs to be called at the end of the window building process to process scaling, scrollbars and general cleanup.
|
static void |
nk_fill_arc(NkCommandBuffer b,
float cx,
float cy,
float radius,
float a_min,
float a_max,
NkColor color) |
static void |
nk_fill_circle(NkCommandBuffer b,
NkRect rect,
NkColor color) |
static void |
nk_fill_polygon(NkCommandBuffer b,
float[] points,
NkColor color)
Array version of:
fill_polygon |
static void |
nk_fill_polygon(NkCommandBuffer b,
java.nio.FloatBuffer points,
NkColor color) |
static void |
nk_fill_rect_multi_color(NkCommandBuffer b,
NkRect rect,
NkColor left,
NkColor top,
NkColor right,
NkColor bottom) |
static void |
nk_fill_rect(NkCommandBuffer b,
NkRect rect,
float rounding,
NkColor color) |
static void |
nk_fill_triangle(NkCommandBuffer b,
float x0,
float y0,
float x1,
float y1,
float x2,
float y2,
NkColor color) |
static boolean |
nk_filter_ascii(NkTextEdit edit,
int unicode) |
static boolean |
nk_filter_binary(NkTextEdit edit,
int unicode) |
static boolean |
nk_filter_decimal(NkTextEdit edit,
int unicode) |
static boolean |
nk_filter_default(NkTextEdit edit,
int unicode) |
static boolean |
nk_filter_float(NkTextEdit edit,
int unicode) |
static boolean |
nk_filter_hex(NkTextEdit edit,
int unicode) |
static boolean |
nk_filter_oct(NkTextEdit edit,
int unicode) |
static void |
nk_free(NkContext ctx)
Shutdown and free all memory allocated inside the context.
|
static NkRect |
nk_get_null_rect(NkRect __result) |
static boolean |
nk_group_begin_titled(NkContext ctx,
java.nio.ByteBuffer name,
java.nio.ByteBuffer title,
int flags) |
static boolean |
nk_group_begin_titled(NkContext ctx,
java.lang.CharSequence name,
java.lang.CharSequence title,
int flags) |
static boolean |
nk_group_begin(NkContext ctx,
java.nio.ByteBuffer title,
int flags) |
static boolean |
nk_group_begin(NkContext ctx,
java.lang.CharSequence title,
int flags) |
static void |
nk_group_end(NkContext ctx) |
static void |
nk_group_get_scroll(NkContext ctx,
java.nio.ByteBuffer id,
int[] x_offset,
int[] y_offset)
Array version of:
group_get_scroll |
static void |
nk_group_get_scroll(NkContext ctx,
java.nio.ByteBuffer id,
java.nio.IntBuffer x_offset,
java.nio.IntBuffer y_offset)
Gets the scroll position of the given group.
|
static void |
nk_group_get_scroll(NkContext ctx,
java.lang.CharSequence id,
int[] x_offset,
int[] y_offset)
Array version of:
group_get_scroll |
static void |
nk_group_get_scroll(NkContext ctx,
java.lang.CharSequence id,
java.nio.IntBuffer x_offset,
java.nio.IntBuffer y_offset)
Gets the scroll position of the given group.
|
static boolean |
nk_group_scrolled_begin(NkContext ctx,
NkScroll scroll,
java.nio.ByteBuffer title,
int flags) |
static boolean |
nk_group_scrolled_begin(NkContext ctx,
NkScroll scroll,
java.lang.CharSequence title,
int flags) |
static void |
nk_group_scrolled_end(NkContext ctx) |
static boolean |
nk_group_scrolled_offset_begin(NkContext ctx,
int[] x_offset,
int[] y_offset,
java.nio.ByteBuffer title,
int flags)
Array version of:
group_scrolled_offset_begin |
static boolean |
nk_group_scrolled_offset_begin(NkContext ctx,
int[] x_offset,
int[] y_offset,
java.lang.CharSequence title,
int flags)
Array version of:
group_scrolled_offset_begin |
static boolean |
nk_group_scrolled_offset_begin(NkContext ctx,
java.nio.IntBuffer x_offset,
java.nio.IntBuffer y_offset,
java.nio.ByteBuffer title,
int flags) |
static boolean |
nk_group_scrolled_offset_begin(NkContext ctx,
java.nio.IntBuffer x_offset,
java.nio.IntBuffer y_offset,
java.lang.CharSequence title,
int flags) |
static void |
nk_group_set_scroll(NkContext ctx,
java.nio.ByteBuffer id,
int x_offset,
int y_offset)
Sets the scroll position of the given group.
|
static void |
nk_group_set_scroll(NkContext ctx,
java.lang.CharSequence id,
int x_offset,
int y_offset)
Sets the scroll position of the given group.
|
static NkHandle |
nk_handle_id(int id,
NkHandle __result) |
static NkHandle |
nk_handle_ptr(long ptr,
NkHandle __result) |
static NkColor |
nk_hsv_bv(java.nio.ByteBuffer hsv,
NkColor __result) |
static NkColor |
nk_hsv_f(float h,
float s,
float v,
NkColor __result) |
static NkColor |
nk_hsv_fv(float[] hsv,
NkColor __result)
Array version of:
hsv_fv |
static NkColor |
nk_hsv_fv(java.nio.FloatBuffer hsv,
NkColor __result) |
static NkColor |
nk_hsv_iv(int[] hsv,
NkColor __result)
Array version of:
hsv_iv |
static NkColor |
nk_hsv_iv(java.nio.IntBuffer hsv,
NkColor __result) |
static NkColor |
nk_hsv(int h,
int s,
int v,
NkColor __result) |
static NkColor |
nk_hsva_bv(java.nio.ByteBuffer hsva,
NkColor __result) |
static NkColorf |
nk_hsva_colorf(float h,
float s,
float v,
float a,
NkColorf __result) |
static NkColorf |
nk_hsva_colorfv(float[] c,
NkColorf __result)
Array version of:
hsva_colorfv |
static NkColorf |
nk_hsva_colorfv(java.nio.FloatBuffer c,
NkColorf __result) |
static NkColor |
nk_hsva_f(float h,
float s,
float v,
float a,
NkColor __result) |
static NkColor |
nk_hsva_fv(float[] hsva,
NkColor __result)
Array version of:
hsva_fv |
static NkColor |
nk_hsva_fv(java.nio.FloatBuffer hsva,
NkColor __result) |
static NkColor |
nk_hsva_iv(int[] hsva,
NkColor __result)
Array version of:
hsva_iv |
static NkColor |
nk_hsva_iv(java.nio.IntBuffer hsva,
NkColor __result) |
static NkColor |
nk_hsva(int h,
int s,
int v,
int a,
NkColor __result) |
static void |
nk_image_color(NkContext ctx,
NkImage img,
NkColor color) |
static NkImage |
nk_image_handle(NkHandle handle,
NkImage __result) |
static NkImage |
nk_image_id(int id,
NkImage __result) |
static boolean |
nk_image_is_subimage(NkImage img) |
static NkImage |
nk_image_ptr(long ptr,
NkImage __result) |
static void |
nk_image(NkContext ctx,
NkImage img) |
static boolean |
nk_init_custom(NkContext ctx,
NkBuffer cmds,
NkBuffer pool,
NkUserFont font)
Initializes context from two buffers.
|
static boolean |
nk_init_fixed(NkContext ctx,
java.nio.ByteBuffer memory,
NkUserFont font)
Initializes context from single fixed size memory block.
|
static boolean |
nk_init(NkContext ctx,
NkAllocator allocator,
NkUserFont font)
Initializes context with memory allocator callbacks for alloc and free.
|
static boolean |
nk_input_any_mouse_click_in_rect(NkInput i,
NkRect rect) |
static void |
nk_input_begin(NkContext ctx)
Begins the input mirroring process by resetting text, scroll, mouse, previous mouse position and movement as well as key state transitions.
|
static void |
nk_input_button(NkContext ctx,
int id,
int x,
int y,
boolean down)
Mirrors the state of a specific mouse button to nuklear.
|
static void |
nk_input_char(NkContext ctx,
byte c)
Adds a single ASCII text character into an internal text buffer.
|
static void |
nk_input_end(NkContext ctx)
Ends the input mirroring process by calculating state changes.
|
static void |
nk_input_glyph(NkContext ctx,
java.nio.ByteBuffer glyph)
Adds a single multi-byte UTF-8 character into an internal text buffer.
|
static boolean |
nk_input_has_mouse_click_down_in_rect(NkInput i,
int id,
NkRect rect,
int down) |
static boolean |
nk_input_has_mouse_click_in_rect(NkInput i,
int id,
NkRect rect) |
static boolean |
nk_input_has_mouse_click(NkInput i,
int id) |
static boolean |
nk_input_is_key_down(NkInput i,
int key) |
static boolean |
nk_input_is_key_pressed(NkInput i,
int key) |
static boolean |
nk_input_is_key_released(NkInput i,
int key) |
static boolean |
nk_input_is_mouse_click_down_in_rect(NkInput i,
int id,
NkRect b,
int down) |
static boolean |
nk_input_is_mouse_click_in_rect(NkInput i,
int id,
NkRect rect) |
static boolean |
nk_input_is_mouse_down(NkInput i,
int id) |
static boolean |
nk_input_is_mouse_hovering_rect(NkInput i,
NkRect rect) |
static boolean |
nk_input_is_mouse_pressed(NkInput i,
int id) |
static boolean |
nk_input_is_mouse_prev_hovering_rect(NkInput i,
NkRect rect) |
static boolean |
nk_input_is_mouse_released(NkInput i,
int id) |
static void |
nk_input_key(NkContext ctx,
int key,
boolean down)
Mirrors the state of a specific key to nuklear.
|
static void |
nk_input_motion(NkContext ctx,
int x,
int y)
Mirrors current mouse position to nuklear.
|
static boolean |
nk_input_mouse_clicked(NkInput i,
int id,
NkRect rect) |
static void |
nk_input_scroll(NkContext ctx,
NkVec2 val)
Copies the last mouse scroll value to nuklear.
|
static void |
nk_input_unicode(NkContext ctx,
int unicode)
Adds a single unicode rune into an internal text buffer.
|
static boolean |
nk_item_is_any_active(NkContext ctx)
Returns if any window or widgets is currently hovered or active.
|
static void |
nk_label_colored_wrap(NkContext ctx,
java.nio.ByteBuffer str,
NkColor color) |
static void |
nk_label_colored_wrap(NkContext ctx,
java.lang.CharSequence str,
NkColor color) |
static void |
nk_label_colored(NkContext ctx,
java.nio.ByteBuffer str,
int align,
NkColor color) |
static void |
nk_label_colored(NkContext ctx,
java.lang.CharSequence str,
int align,
NkColor color) |
static void |
nk_label_wrap(NkContext ctx,
java.nio.ByteBuffer str) |
static void |
nk_label_wrap(NkContext ctx,
java.lang.CharSequence str) |
static void |
nk_label(NkContext ctx,
java.nio.ByteBuffer str,
int align) |
static void |
nk_label(NkContext ctx,
java.lang.CharSequence str,
int align) |
static float |
nk_layout_ratio_from_pixel(NkContext ctx,
float pixel_width)
Utility function to calculate window ratio from pixel size.
|
static void |
nk_layout_reset_min_row_height(NkContext ctx)
Resets the currently used minimum row height back to font height + text padding + additional padding
(
style_window.min_row_height_padding). |
static void |
nk_layout_row_begin(NkContext ctx,
int fmt,
float row_height,
int cols)
Starts a new dynamic or fixed row with given height and columns.
|
static void |
nk_layout_row_dynamic(NkContext ctx,
float height,
int cols)
Sets current row layout to share horizontal space between
cols number of widgets evenly. |
static void |
nk_layout_row_end(NkContext ctx)
Finishes previously started row
|
static void |
nk_layout_row_push(NkContext ctx,
float value)
Specifies either window ratio or width of a single column.
|
static void |
nk_layout_row_static(NkContext ctx,
float height,
int item_width,
int cols)
Sets current row layout to fill
cols number of widgets in row with same item_width horizontal size. |
static void |
nk_layout_row_template_begin(NkContext ctx,
float height)
Begins the row template declaration.
|
static void |
nk_layout_row_template_end(NkContext ctx)
Marks the end of the row template.
|
static void |
nk_layout_row_template_push_dynamic(NkContext ctx)
Adds a dynamic column that dynamically grows and can go to zero if not enough space.
|
static void |
nk_layout_row_template_push_static(NkContext ctx,
float width)
Adds a static column that does not grow and will always have the same size.
|
static void |
nk_layout_row_template_push_variable(NkContext ctx,
float min_width)
Adds a variable column that dynamically grows but does not shrink below specified pixel width.
|
static void |
nk_layout_row(NkContext ctx,
int fmt,
float height,
float[] ratio)
Array version of:
layout_row |
static void |
nk_layout_row(NkContext ctx,
int fmt,
float height,
java.nio.FloatBuffer ratio)
Specifies row columns in array as either window ratio or size.
|
static void |
nk_layout_set_min_row_height(NkContext ctx,
float height)
Sets the currently used minimum row height.
|
static void |
nk_layout_space_begin(NkContext ctx,
int fmt,
float height,
int widget_count)
Begins a new layouting space that allows to specify each widgets position and size.
|
static NkRect |
nk_layout_space_bounds(NkContext ctx,
NkRect __result)
Returns total space allocated for
nk_layout_space. |
static void |
nk_layout_space_end(NkContext ctx)
Marks the end of the layout space.
|
static void |
nk_layout_space_push(NkContext ctx,
NkRect rect)
Pushes position and size of the next widget in own coordiante space either as pixel or ratio.
|
static NkRect |
nk_layout_space_rect_to_local(NkContext ctx,
NkRect ret)
Converts rectangle from layout space into screen space.
|
static NkRect |
nk_layout_space_rect_to_screen(NkContext ctx,
NkRect ret)
Converts rectangle from screen space into layout space.
|
static NkVec2 |
nk_layout_space_to_local(NkContext ctx,
NkVec2 ret)
Converts vector from layout space into screen space.
|
static NkVec2 |
nk_layout_space_to_screen(NkContext ctx,
NkVec2 ret)
Converts vector from
nk_layout_space coordinate space into screen space. |
static NkRect |
nk_layout_widget_bounds(NkContext ctx,
NkRect __result)
Returns the width of the next row allocate by one of the layouting functions.
|
static boolean |
nk_list_view_begin(NkContext ctx,
NkListView view,
java.nio.ByteBuffer title,
int flags,
int row_height,
int row_count) |
static boolean |
nk_list_view_begin(NkContext ctx,
NkListView view,
java.lang.CharSequence title,
int flags,
int row_height,
int row_count) |
static void |
nk_list_view_end(NkListView view) |
static boolean |
nk_menu_begin_image_label(NkContext ctx,
java.nio.ByteBuffer text,
int align,
NkImage img,
NkVec2 size) |
static boolean |
nk_menu_begin_image_label(NkContext ctx,
java.lang.CharSequence text,
int align,
NkImage img,
NkVec2 size) |
static boolean |
nk_menu_begin_image_text(NkContext ctx,
java.nio.ByteBuffer text,
int align,
NkImage img,
NkVec2 size) |
static boolean |
nk_menu_begin_image_text(NkContext ctx,
java.lang.CharSequence text,
int align,
NkImage img,
NkVec2 size) |
static boolean |
nk_menu_begin_image(NkContext ctx,
java.nio.ByteBuffer text,
NkImage img,
NkVec2 size) |
static boolean |
nk_menu_begin_image(NkContext ctx,
java.lang.CharSequence text,
NkImage img,
NkVec2 size) |
static boolean |
nk_menu_begin_label(NkContext ctx,
java.nio.ByteBuffer text,
int align,
NkVec2 size) |
static boolean |
nk_menu_begin_label(NkContext ctx,
java.lang.CharSequence text,
int align,
NkVec2 size) |
static boolean |
nk_menu_begin_symbol_label(NkContext ctx,
java.nio.ByteBuffer text,
int align,
int symbol,
NkVec2 size) |
static boolean |
nk_menu_begin_symbol_label(NkContext ctx,
java.lang.CharSequence text,
int align,
int symbol,
NkVec2 size) |
static boolean |
nk_menu_begin_symbol_text(NkContext ctx,
java.nio.ByteBuffer text,
int align,
int symbol,
NkVec2 size) |
static boolean |
nk_menu_begin_symbol_text(NkContext ctx,
java.lang.CharSequence text,
int align,
int symbol,
NkVec2 size) |
static boolean |
nk_menu_begin_symbol(NkContext ctx,
java.nio.ByteBuffer text,
int symbol,
NkVec2 size) |
static boolean |
nk_menu_begin_symbol(NkContext ctx,
java.lang.CharSequence text,
int symbol,
NkVec2 size) |
static boolean |
nk_menu_begin_text(NkContext ctx,
java.nio.ByteBuffer text,
int align,
NkVec2 size) |
static boolean |
nk_menu_begin_text(NkContext ctx,
java.lang.CharSequence text,
int align,
NkVec2 size) |
static void |
nk_menu_close(NkContext ctx) |
static void |
nk_menu_end(NkContext ctx) |
static boolean |
nk_menu_item_image_label(NkContext ctx,
NkImage img,
java.nio.ByteBuffer text,
int alignment) |
static boolean |
nk_menu_item_image_label(NkContext ctx,
NkImage img,
java.lang.CharSequence text,
int alignment) |
static boolean |
nk_menu_item_image_text(NkContext ctx,
NkImage img,
java.nio.ByteBuffer text,
int alignment) |
static boolean |
nk_menu_item_image_text(NkContext ctx,
NkImage img,
java.lang.CharSequence text,
int alignment) |
static boolean |
nk_menu_item_label(NkContext ctx,
java.nio.ByteBuffer text,
int alignment) |
static boolean |
nk_menu_item_label(NkContext ctx,
java.lang.CharSequence text,
int alignment) |
static boolean |
nk_menu_item_symbol_label(NkContext ctx,
int symbol,
java.nio.ByteBuffer text,
int alignment) |
static boolean |
nk_menu_item_symbol_label(NkContext ctx,
int symbol,
java.lang.CharSequence text,
int alignment) |
static boolean |
nk_menu_item_symbol_text(NkContext ctx,
int symbol,
java.nio.ByteBuffer text,
int alignment) |
static boolean |
nk_menu_item_symbol_text(NkContext ctx,
int symbol,
java.lang.CharSequence text,
int alignment) |
static boolean |
nk_menu_item_text(NkContext ctx,
java.nio.ByteBuffer text,
int align) |
static boolean |
nk_menu_item_text(NkContext ctx,
java.lang.CharSequence text,
int align) |
static void |
nk_menubar_begin(NkContext ctx) |
static void |
nk_menubar_end(NkContext ctx) |
static int |
nk_murmur_hash(java.nio.ByteBuffer key,
int seed) |
static boolean |
nk_option_label(NkContext ctx,
java.nio.ByteBuffer str,
boolean active) |
static boolean |
nk_option_label(NkContext ctx,
java.lang.CharSequence str,
boolean active) |
static boolean |
nk_option_text(NkContext ctx,
java.nio.ByteBuffer str,
boolean active) |
static boolean |
nk_option_text(NkContext ctx,
java.lang.CharSequence str,
boolean active) |
static void |
nk_plot_function(NkContext ctx,
int type,
long userdata,
NkValueGetterI value_getter,
int count,
int offset) |
static void |
nk_plot(NkContext ctx,
int type,
float[] values,
int count,
int offset)
Array version of:
plot |
static void |
nk_plot(NkContext ctx,
int type,
java.nio.FloatBuffer values,
int count,
int offset) |
static boolean |
nk_popup_begin(NkContext ctx,
int type,
java.nio.ByteBuffer title,
int flags,
NkRect rect) |
static boolean |
nk_popup_begin(NkContext ctx,
int type,
java.lang.CharSequence title,
int flags,
NkRect rect) |
static void |
nk_popup_close(NkContext ctx) |
static void |
nk_popup_end(NkContext ctx) |
static void |
nk_popup_get_scroll(NkContext ctx,
int[] offset_x,
int[] offset_y)
Array version of:
popup_get_scroll |
static void |
nk_popup_get_scroll(NkContext ctx,
java.nio.IntBuffer offset_x,
java.nio.IntBuffer offset_y) |
static void |
nk_popup_set_scroll(NkContext ctx,
int offset_x,
int offset_y) |
static long |
nk_prog(NkContext ctx,
long cur,
long max,
boolean modifyable) |
static boolean |
nk_progress(NkContext ctx,
org.lwjgl.PointerBuffer cur,
long max,
boolean modifyable) |
static void |
nk_property_double(NkContext ctx,
java.nio.ByteBuffer name,
double min,
double[] val,
double max,
double step,
float inc_per_pixel)
Array version of:
property_double |
static void |
nk_property_double(NkContext ctx,
java.nio.ByteBuffer name,
double min,
java.nio.DoubleBuffer val,
double max,
double step,
float inc_per_pixel) |
static void |
nk_property_double(NkContext ctx,
java.lang.CharSequence name,
double min,
double[] val,
double max,
double step,
float inc_per_pixel)
Array version of:
property_double |
static void |
nk_property_double(NkContext ctx,
java.lang.CharSequence name,
double min,
java.nio.DoubleBuffer val,
double max,
double step,
float inc_per_pixel) |
static void |
nk_property_float(NkContext ctx,
java.nio.ByteBuffer name,
float min,
float[] val,
float max,
float step,
float inc_per_pixel)
Array version of:
property_float |
static void |
nk_property_float(NkContext ctx,
java.nio.ByteBuffer name,
float min,
java.nio.FloatBuffer val,
float max,
float step,
float inc_per_pixel) |
static void |
nk_property_float(NkContext ctx,
java.lang.CharSequence name,
float min,
float[] val,
float max,
float step,
float inc_per_pixel)
Array version of:
property_float |
static void |
nk_property_float(NkContext ctx,
java.lang.CharSequence name,
float min,
java.nio.FloatBuffer val,
float max,
float step,
float inc_per_pixel) |
static void |
nk_property_int(NkContext ctx,
java.nio.ByteBuffer name,
int min,
int[] val,
int max,
int step,
float inc_per_pixel)
Array version of:
property_int |
static void |
nk_property_int(NkContext ctx,
java.nio.ByteBuffer name,
int min,
java.nio.IntBuffer val,
int max,
int step,
float inc_per_pixel) |
static void |
nk_property_int(NkContext ctx,
java.lang.CharSequence name,
int min,
int[] val,
int max,
int step,
float inc_per_pixel)
Array version of:
property_int |
static void |
nk_property_int(NkContext ctx,
java.lang.CharSequence name,
int min,
java.nio.IntBuffer val,
int max,
int step,
float inc_per_pixel) |
static double |
nk_propertyd(NkContext ctx,
java.nio.ByteBuffer name,
double min,
double val,
double max,
double step,
float inc_per_pixel) |
static double |
nk_propertyd(NkContext ctx,
java.lang.CharSequence name,
double min,
double val,
double max,
double step,
float inc_per_pixel) |
static float |
nk_propertyf(NkContext ctx,
java.nio.ByteBuffer name,
float min,
float val,
float max,
float step,
float inc_per_pixel) |
static float |
nk_propertyf(NkContext ctx,
java.lang.CharSequence name,
float min,
float val,
float max,
float step,
float inc_per_pixel) |
static int |
nk_propertyi(NkContext ctx,
java.nio.ByteBuffer name,
int min,
int val,
int max,
int step,
float inc_per_pixel) |
static int |
nk_propertyi(NkContext ctx,
java.lang.CharSequence name,
int min,
int val,
int max,
int step,
float inc_per_pixel) |
static void |
nk_push_custom(NkCommandBuffer b,
NkRect rect,
NkCommandCustomCallbackI callback,
NkHandle usr) |
static void |
nk_push_scissor(NkCommandBuffer b,
NkRect rect) |
static boolean |
nk_radio_label(NkContext ctx,
java.nio.ByteBuffer str,
int[] active)
Array version of:
radio_label |
static boolean |
nk_radio_label(NkContext ctx,
java.nio.ByteBuffer str,
java.nio.IntBuffer active) |
static boolean |
nk_radio_label(NkContext ctx,
java.lang.CharSequence str,
int[] active)
Array version of:
radio_label |
static boolean |
nk_radio_label(NkContext ctx,
java.lang.CharSequence str,
java.nio.IntBuffer active) |
static boolean |
nk_radio_text(NkContext ctx,
java.nio.ByteBuffer str,
int[] active)
Array version of:
radio_text |
static boolean |
nk_radio_text(NkContext ctx,
java.nio.ByteBuffer str,
java.nio.IntBuffer active) |
static boolean |
nk_radio_text(NkContext ctx,
java.lang.CharSequence str,
int[] active)
Array version of:
radio_text |
static boolean |
nk_radio_text(NkContext ctx,
java.lang.CharSequence str,
java.nio.IntBuffer active) |
static NkVec2 |
nk_rect_pos(NkRect r,
NkVec2 __result) |
static NkVec2 |
nk_rect_size(NkRect r,
NkVec2 __result) |
static NkRect |
nk_rect(float x,
float y,
float w,
float h,
NkRect __result) |
static NkRect |
nk_recta(NkVec2 pos,
NkVec2 size,
NkRect __result) |
static NkRect |
nk_recti(int x,
int y,
int w,
int h,
NkRect __result) |
static NkRect |
nk_rectiv(int[] xywh,
NkRect __result)
Array version of:
rectiv |
static NkRect |
nk_rectiv(java.nio.IntBuffer xywh,
NkRect __result) |
static NkRect |
nk_rectv(float[] xywh,
NkRect __result)
Array version of:
rectv |
static NkRect |
nk_rectv(java.nio.FloatBuffer xywh,
NkRect __result) |
static NkColor |
nk_rgb_bv(java.nio.ByteBuffer rgb,
NkColor __result) |
static NkColor |
nk_rgb_cf(NkColorf c,
NkColor __result) |
static NkColor |
nk_rgb_f(float r,
float g,
float b,
NkColor __result) |
static NkColor |
nk_rgb_fv(float[] rgb,
NkColor __result)
Array version of:
rgb_fv |
static NkColor |
nk_rgb_fv(java.nio.FloatBuffer rgb,
NkColor __result) |
static NkColor |
nk_rgb_hex(java.nio.ByteBuffer rgb,
NkColor __result) |
static NkColor |
nk_rgb_hex(java.lang.CharSequence rgb,
NkColor __result) |
static NkColor |
nk_rgb_iv(int[] rgb,
NkColor __result)
Array version of:
rgb_iv |
static NkColor |
nk_rgb_iv(java.nio.IntBuffer rgb,
NkColor __result) |
static NkColor |
nk_rgb(int r,
int g,
int b,
NkColor __result) |
static NkColor |
nk_rgba_bv(java.nio.ByteBuffer rgba,
NkColor __result) |
static NkColor |
nk_rgba_cf(NkColorf c,
NkColor __result) |
static NkColor |
nk_rgba_f(float r,
float g,
float b,
float a,
NkColor __result) |
static NkColor |
nk_rgba_fv(float[] rgba,
NkColor __result)
Array version of:
rgba_fv |
static NkColor |
nk_rgba_fv(java.nio.FloatBuffer rgba,
NkColor __result) |
static NkColor |
nk_rgba_hex(java.nio.ByteBuffer rgba,
NkColor __result) |
static NkColor |
nk_rgba_hex(java.lang.CharSequence rgba,
NkColor __result) |
static NkColor |
nk_rgba_iv(int[] rgba,
NkColor __result)
Array version of:
rgba_iv |
static NkColor |
nk_rgba_iv(java.nio.IntBuffer rgba,
NkColor __result) |
static NkColor |
nk_rgba_u32(int in,
NkColor __result) |
static NkColor |
nk_rgba(int r,
int g,
int b,
int a,
NkColor __result) |
static boolean |
nk_select_image_label(NkContext ctx,
NkImage img,
java.nio.ByteBuffer str,
int align,
boolean value) |
static boolean |
nk_select_image_label(NkContext ctx,
NkImage img,
java.lang.CharSequence str,
int align,
boolean value) |
static boolean |
nk_select_image_text(NkContext ctx,
NkImage img,
java.nio.ByteBuffer str,
int align,
boolean value) |
static boolean |
nk_select_image_text(NkContext ctx,
NkImage img,
java.lang.CharSequence str,
int align,
boolean value) |
static boolean |
nk_select_label(NkContext ctx,
java.nio.ByteBuffer str,
int align,
boolean value) |
static boolean |
nk_select_label(NkContext ctx,
java.lang.CharSequence str,
int align,
boolean value) |
static boolean |
nk_select_symbol_label(NkContext ctx,
int symbol,
java.nio.ByteBuffer str,
int align,
boolean value) |
static boolean |
nk_select_symbol_label(NkContext ctx,
int symbol,
java.lang.CharSequence str,
int align,
boolean value) |
static boolean |
nk_select_symbol_text(NkContext ctx,
int symbol,
java.nio.ByteBuffer str,
int align,
boolean value) |
static boolean |
nk_select_symbol_text(NkContext ctx,
int symbol,
java.lang.CharSequence str,
int align,
boolean value) |
static boolean |
nk_select_text(NkContext ctx,
java.nio.ByteBuffer str,
int align,
boolean value) |
static boolean |
nk_select_text(NkContext ctx,
java.lang.CharSequence str,
int align,
boolean value) |
static boolean |
nk_selectable_image_label(NkContext ctx,
NkImage img,
java.nio.ByteBuffer str,
int align,
int[] value)
Array version of:
selectable_image_label |
static boolean |
nk_selectable_image_label(NkContext ctx,
NkImage img,
java.nio.ByteBuffer str,
int align,
java.nio.IntBuffer value) |
static boolean |
nk_selectable_image_label(NkContext ctx,
NkImage img,
java.lang.CharSequence str,
int align,
int[] value)
Array version of:
selectable_image_label |
static boolean |
nk_selectable_image_label(NkContext ctx,
NkImage img,
java.lang.CharSequence str,
int align,
java.nio.IntBuffer value) |
static boolean |
nk_selectable_image_text(NkContext ctx,
NkImage img,
java.nio.ByteBuffer str,
int align,
int[] value)
Array version of:
selectable_image_text |
static boolean |
nk_selectable_image_text(NkContext ctx,
NkImage img,
java.nio.ByteBuffer str,
int align,
java.nio.IntBuffer value) |
static boolean |
nk_selectable_image_text(NkContext ctx,
NkImage img,
java.lang.CharSequence str,
int align,
int[] value)
Array version of:
selectable_image_text |
static boolean |
nk_selectable_image_text(NkContext ctx,
NkImage img,
java.lang.CharSequence str,
int align,
java.nio.IntBuffer value) |
static boolean |
nk_selectable_label(NkContext ctx,
java.nio.ByteBuffer str,
int align,
int[] value)
Array version of:
selectable_label |
static boolean |
nk_selectable_label(NkContext ctx,
java.nio.ByteBuffer str,
int align,
java.nio.IntBuffer value) |
static boolean |
nk_selectable_label(NkContext ctx,
java.lang.CharSequence str,
int align,
int[] value)
Array version of:
selectable_label |
static boolean |
nk_selectable_label(NkContext ctx,
java.lang.CharSequence str,
int align,
java.nio.IntBuffer value) |
static boolean |
nk_selectable_symbol_label(NkContext ctx,
int symbol,
java.nio.ByteBuffer str,
int align,
int[] value)
Array version of:
selectable_symbol_label |
static boolean |
nk_selectable_symbol_label(NkContext ctx,
int symbol,
java.nio.ByteBuffer str,
int align,
java.nio.IntBuffer value) |
static boolean |
nk_selectable_symbol_label(NkContext ctx,
int symbol,
java.lang.CharSequence str,
int align,
int[] value)
Array version of:
selectable_symbol_label |
static boolean |
nk_selectable_symbol_label(NkContext ctx,
int symbol,
java.lang.CharSequence str,
int align,
java.nio.IntBuffer value) |
static boolean |
nk_selectable_symbol_text(NkContext ctx,
int symbol,
java.nio.ByteBuffer str,
int align,
int[] value)
Array version of:
selectable_symbol_text |
static boolean |
nk_selectable_symbol_text(NkContext ctx,
int symbol,
java.nio.ByteBuffer str,
int align,
java.nio.IntBuffer value) |
static boolean |
nk_selectable_symbol_text(NkContext ctx,
int symbol,
java.lang.CharSequence str,
int align,
int[] value)
Array version of:
selectable_symbol_text |
static boolean |
nk_selectable_symbol_text(NkContext ctx,
int symbol,
java.lang.CharSequence str,
int align,
java.nio.IntBuffer value) |
static boolean |
nk_selectable_text(NkContext ctx,
java.nio.ByteBuffer str,
int align,
int[] value)
Array version of:
selectable_text |
static boolean |
nk_selectable_text(NkContext ctx,
java.nio.ByteBuffer str,
int align,
java.nio.IntBuffer value) |
static boolean |
nk_selectable_text(NkContext ctx,
java.lang.CharSequence str,
int align,
int[] value)
Array version of:
selectable_text |
static boolean |
nk_selectable_text(NkContext ctx,
java.lang.CharSequence str,
int align,
java.nio.IntBuffer value) |
static void |
nk_set_user_data(NkContext ctx,
NkHandle handle)
Utility function to pass user data to draw command.
|
static float |
nk_slide_float(NkContext ctx,
float min,
float val,
float max,
float step) |
static int |
nk_slide_int(NkContext ctx,
int min,
int val,
int max,
int step) |
static int |
nk_slider_float(NkContext ctx,
float min,
float[] val,
float max,
float step)
Array version of:
slider_float |
static int |
nk_slider_float(NkContext ctx,
float min,
java.nio.FloatBuffer val,
float max,
float step) |
static int |
nk_slider_int(NkContext ctx,
int min,
int[] val,
int max,
int step)
Array version of:
slider_int |
static int |
nk_slider_int(NkContext ctx,
int min,
java.nio.IntBuffer val,
int max,
int step) |
static void |
nk_spacing(NkContext ctx,
int cols) |
static int |
nk_str_append_str_char(NkStr s,
java.nio.ByteBuffer str) |
static int |
nk_str_append_str_runes(NkStr s,
int[] runes)
Array version of:
str_append_str_runes |
static int |
nk_str_append_str_runes(NkStr s,
java.nio.IntBuffer runes) |
static int |
nk_str_append_str_utf8(NkStr s,
java.nio.ByteBuffer str) |
static int |
nk_str_append_text_char(NkStr s,
java.nio.ByteBuffer str) |
static int |
nk_str_append_text_runes(NkStr s,
int[] runes)
Array version of:
str_append_text_runes |
static int |
nk_str_append_text_runes(NkStr s,
java.nio.IntBuffer runes) |
static int |
nk_str_append_text_utf8(NkStr s,
java.nio.ByteBuffer str) |
static java.lang.String |
nk_str_at_char_const(NkStr s,
int pos) |
static java.lang.String |
nk_str_at_char(NkStr s,
int pos) |
static java.nio.ByteBuffer |
nk_str_at_const(NkStr s,
int pos,
int[] unicode)
Array version of:
str_at_const |
static java.nio.ByteBuffer |
nk_str_at_const(NkStr s,
int pos,
java.nio.IntBuffer unicode) |
static java.nio.ByteBuffer |
nk_str_at_rune(NkStr s,
int pos,
int[] unicode)
Array version of:
str_at_rune |
static java.nio.ByteBuffer |
nk_str_at_rune(NkStr s,
int pos,
java.nio.IntBuffer unicode) |
static void |
nk_str_clear(NkStr str) |
static void |
nk_str_delete_chars(NkStr s,
int pos,
int len) |
static void |
nk_str_delete_runes(NkStr s,
int pos,
int len) |
static void |
nk_str_free(NkStr str) |
static java.lang.String |
nk_str_get_const(NkStr s) |
static java.lang.String |
nk_str_get(NkStr s) |
static void |
nk_str_init_fixed(NkStr str,
java.nio.ByteBuffer memory) |
static void |
nk_str_init(NkStr str,
NkAllocator allocator,
long size) |
static int |
nk_str_insert_at_char(NkStr s,
int pos,
java.nio.ByteBuffer str) |
static int |
nk_str_insert_at_rune(NkStr s,
int pos,
java.nio.ByteBuffer str) |
static int |
nk_str_insert_str_char(NkStr s,
int pos,
java.nio.ByteBuffer str) |
static int |
nk_str_insert_str_runes(NkStr s,
int pos,
int[] runes)
Array version of:
str_insert_str_runes |
static int |
nk_str_insert_str_runes(NkStr s,
int pos,
java.nio.IntBuffer runes) |
static int |
nk_str_insert_str_utf8(NkStr s,
int pos,
java.nio.ByteBuffer str) |
static int |
nk_str_insert_text_char(NkStr s,
int pos,
java.nio.ByteBuffer str) |
static int |
nk_str_insert_text_runes(NkStr s,
int pos,
int[] runes)
Array version of:
str_insert_text_runes |
static int |
nk_str_insert_text_runes(NkStr s,
int pos,
java.nio.IntBuffer runes) |
static int |
nk_str_insert_text_utf8(NkStr s,
int pos,
java.nio.ByteBuffer str) |
static int |
nk_str_len_char(NkStr s) |
static int |
nk_str_len(NkStr s) |
static void |
nk_str_remove_chars(NkStr s,
int len) |
static void |
nk_str_remove_runes(NkStr str,
int len) |
static int |
nk_str_rune_at(NkStr s,
int pos) |
static boolean |
nk_strfilter(java.nio.ByteBuffer str,
java.nio.ByteBuffer regexp)
c - matches any literal character c
.
|
static boolean |
nk_strfilter(java.lang.CharSequence str,
java.lang.CharSequence regexp)
c - matches any literal character c
.
|
static int |
nk_stricmp(java.nio.ByteBuffer s1,
java.nio.ByteBuffer s2) |
static int |
nk_stricmp(java.lang.CharSequence s1,
java.lang.CharSequence s2) |
static int |
nk_stricmpn(java.nio.ByteBuffer s1,
java.nio.ByteBuffer s2,
int n) |
static int |
nk_stricmpn(java.lang.CharSequence s1,
java.lang.CharSequence s2,
int n) |
static int |
nk_strlen(java.nio.ByteBuffer str) |
static int |
nk_strlen(java.lang.CharSequence str) |
static boolean |
nk_strmatch_fuzzy_string(java.nio.ByteBuffer str,
java.nio.ByteBuffer pattern,
int[] out_score)
Array version of:
strmatch_fuzzy_string |
static boolean |
nk_strmatch_fuzzy_string(java.nio.ByteBuffer str,
java.nio.ByteBuffer pattern,
java.nio.IntBuffer out_score)
Returns true if each character in
pattern is found sequentially within str if found then out_score is also set. |
static boolean |
nk_strmatch_fuzzy_string(java.lang.CharSequence str,
java.lang.CharSequence pattern,
int[] out_score)
Array version of:
strmatch_fuzzy_string |
static boolean |
nk_strmatch_fuzzy_string(java.lang.CharSequence str,
java.lang.CharSequence pattern,
java.nio.IntBuffer out_score)
Returns true if each character in
pattern is found sequentially within str if found then out_score is also set. |
static int |
nk_strmatch_fuzzy_text(java.nio.ByteBuffer txt,
java.nio.ByteBuffer pattern,
int[] out_score)
Array version of:
strmatch_fuzzy_text |
static int |
nk_strmatch_fuzzy_text(java.nio.ByteBuffer txt,
java.nio.ByteBuffer pattern,
java.nio.IntBuffer out_score) |
static int |
nk_strmatch_fuzzy_text(java.lang.CharSequence txt,
java.lang.CharSequence pattern,
int[] out_score)
Array version of:
strmatch_fuzzy_text |
static int |
nk_strmatch_fuzzy_text(java.lang.CharSequence txt,
java.lang.CharSequence pattern,
java.nio.IntBuffer out_score) |
static void |
nk_stroke_arc(NkCommandBuffer b,
float cx,
float cy,
float radius,
float a_min,
float a_max,
float line_thickness,
NkColor color) |
static void |
nk_stroke_circle(NkCommandBuffer b,
NkRect rect,
float line_thickness,
NkColor color) |
static void |
nk_stroke_curve(NkCommandBuffer b,
float ax,
float ay,
float ctrl0x,
float ctrl0y,
float ctrl1x,
float ctrl1y,
float bx,
float by,
float line_thickness,
NkColor color) |
static void |
nk_stroke_line(NkCommandBuffer b,
float x0,
float y0,
float x1,
float y1,
float line_thickness,
NkColor color) |
static void |
nk_stroke_polygon(NkCommandBuffer b,
float[] points,
float line_thickness,
NkColor color)
Array version of:
stroke_polygon |
static void |
nk_stroke_polygon(NkCommandBuffer b,
java.nio.FloatBuffer points,
float line_thickness,
NkColor color) |
static void |
nk_stroke_polyline(NkCommandBuffer b,
float[] points,
float line_thickness,
NkColor col)
Array version of:
stroke_polyline |
static void |
nk_stroke_polyline(NkCommandBuffer b,
java.nio.FloatBuffer points,
float line_thickness,
NkColor col) |
static void |
nk_stroke_rect(NkCommandBuffer b,
NkRect rect,
float rounding,
float line_thickness,
NkColor color) |
static void |
nk_stroke_triangle(NkCommandBuffer b,
float x0,
float y0,
float x1,
float y1,
float x2,
float y2,
float line_thichness,
NkColor color) |
static double |
nk_strtod(java.nio.ByteBuffer str,
org.lwjgl.PointerBuffer endptr) |
static double |
nk_strtod(java.lang.CharSequence str,
org.lwjgl.PointerBuffer endptr) |
static float |
nk_strtof(java.nio.ByteBuffer str,
org.lwjgl.PointerBuffer endptr) |
static float |
nk_strtof(java.lang.CharSequence str,
org.lwjgl.PointerBuffer endptr) |
static int |
nk_strtoi(java.nio.ByteBuffer str,
org.lwjgl.PointerBuffer endptr) |
static int |
nk_strtoi(java.lang.CharSequence str,
org.lwjgl.PointerBuffer endptr) |
static void |
nk_style_default(NkContext ctx) |
static void |
nk_style_from_table(NkContext ctx,
NkColor.Buffer table) |
static java.lang.String |
nk_style_get_color_by_name(int c) |
static void |
nk_style_hide_cursor(NkContext ctx) |
static NkStyleItem |
nk_style_item_color(NkColor color,
NkStyleItem __result) |
static NkStyleItem |
nk_style_item_hide(NkStyleItem __result) |
static NkStyleItem |
nk_style_item_image(NkImage img,
NkStyleItem __result) |
static void |
nk_style_load_all_cursors(NkContext ctx,
NkCursor.Buffer cursors) |
static void |
nk_style_load_cursor(NkContext ctx,
int style,
NkCursor cursor) |
static int |
nk_style_pop_color(NkContext ctx) |
static int |
nk_style_pop_flags(NkContext ctx) |
static int |
nk_style_pop_float(NkContext ctx) |
static int |
nk_style_pop_font(NkContext ctx) |
static int |
nk_style_pop_style_item(NkContext ctx) |
static int |
nk_style_pop_vec2(NkContext ctx) |
static int |
nk_style_push_color(NkContext ctx,
NkColor address,
NkColor value) |
static int |
nk_style_push_flags(NkContext ctx,
int[] address,
int value)
Array version of:
style_push_flags |
static int |
nk_style_push_flags(NkContext ctx,
java.nio.IntBuffer address,
int value) |
static int |
nk_style_push_float(NkContext ctx,
float[] address,
float value)
Array version of:
style_push_float |
static int |
nk_style_push_float(NkContext ctx,
java.nio.FloatBuffer address,
float value) |
static int |
nk_style_push_font(NkContext ctx,
NkUserFont font) |
static int |
nk_style_push_style_item(NkContext ctx,
NkStyleItem address,
NkStyleItem value) |
static int |
nk_style_push_vec2(NkContext ctx,
NkVec2 address,
NkVec2 value) |
static int |
nk_style_set_cursor(NkContext ctx,
int style) |
static void |
nk_style_set_font(NkContext ctx,
NkUserFont font) |
static void |
nk_style_show_cursor(NkContext ctx) |
static NkImage |
nk_subimage_handle(NkHandle handle,
short w,
short h,
NkRect sub_region,
NkImage __result) |
static NkImage |
nk_subimage_id(int id,
short w,
short h,
NkRect sub_region,
NkImage __result) |
static NkImage |
nk_subimage_ptr(long ptr,
short w,
short h,
NkRect sub_region,
NkImage __result) |
static void |
nk_text_colored(NkContext ctx,
java.nio.ByteBuffer str,
int alignment,
NkColor color) |
static void |
nk_text_colored(NkContext ctx,
java.lang.CharSequence str,
int alignment,
NkColor color) |
static void |
nk_text_wrap_colored(NkContext ctx,
java.nio.ByteBuffer str,
NkColor color) |
static void |
nk_text_wrap_colored(NkContext ctx,
java.lang.CharSequence str,
NkColor color) |
static void |
nk_text_wrap(NkContext ctx,
java.nio.ByteBuffer str) |
static void |
nk_text_wrap(NkContext ctx,
java.lang.CharSequence str) |
static void |
nk_text(NkContext ctx,
java.nio.ByteBuffer str,
int alignment) |
static void |
nk_text(NkContext ctx,
java.lang.CharSequence str,
int alignment) |
static boolean |
nk_textedit_cut(NkTextEdit box) |
static void |
nk_textedit_delete_selection(NkTextEdit box) |
static void |
nk_textedit_delete(NkTextEdit box,
int where,
int len) |
static void |
nk_textedit_free(NkTextEdit box) |
static void |
nk_textedit_init_fixed(NkTextEdit box,
java.nio.ByteBuffer memory) |
static void |
nk_textedit_init(NkTextEdit box,
NkAllocator allocator,
long size) |
static boolean |
nk_textedit_paste(NkTextEdit box,
java.nio.ByteBuffer ctext) |
static boolean |
nk_textedit_paste(NkTextEdit box,
java.lang.CharSequence ctext) |
static void |
nk_textedit_redo(NkTextEdit box) |
static void |
nk_textedit_select_all(NkTextEdit box) |
static void |
nk_textedit_text(NkTextEdit box,
java.nio.ByteBuffer text) |
static void |
nk_textedit_text(NkTextEdit box,
java.lang.CharSequence text) |
static void |
nk_textedit_undo(NkTextEdit box) |
static boolean |
nk_tooltip_begin(NkContext ctx,
float width) |
static void |
nk_tooltip_end(NkContext ctx) |
static void |
nk_tooltip(NkContext ctx,
java.nio.ByteBuffer text) |
static void |
nk_tooltip(NkContext ctx,
java.lang.CharSequence text) |
static boolean |
nk_tree_element_image_push_hashed(NkContext ctx,
int type,
NkImage img,
java.nio.ByteBuffer title,
int initial_state,
int[] selected,
java.nio.ByteBuffer hash,
int seed)
Array version of:
tree_element_image_push_hashed |
static boolean |
nk_tree_element_image_push_hashed(NkContext ctx,
int type,
NkImage img,
java.nio.ByteBuffer title,
int initial_state,
java.nio.IntBuffer selected,
java.nio.ByteBuffer hash,
int seed) |
static boolean |
nk_tree_element_image_push_hashed(NkContext ctx,
int type,
NkImage img,
java.lang.CharSequence title,
int initial_state,
int[] selected,
java.nio.ByteBuffer hash,
int seed)
Array version of:
tree_element_image_push_hashed |
static boolean |
nk_tree_element_image_push_hashed(NkContext ctx,
int type,
NkImage img,
java.lang.CharSequence title,
int initial_state,
java.nio.IntBuffer selected,
java.nio.ByteBuffer hash,
int seed) |
static void |
nk_tree_element_pop(NkContext ctx) |
static boolean |
nk_tree_element_push_hashed(NkContext ctx,
int type,
java.nio.ByteBuffer title,
int initial_state,
int[] selected,
java.nio.ByteBuffer hash,
int seed)
Array version of:
tree_element_push_hashed |
static boolean |
nk_tree_element_push_hashed(NkContext ctx,
int type,
java.nio.ByteBuffer title,
int initial_state,
java.nio.IntBuffer selected,
java.nio.ByteBuffer hash,
int seed) |
static boolean |
nk_tree_element_push_hashed(NkContext ctx,
int type,
java.lang.CharSequence title,
int initial_state,
int[] selected,
java.nio.ByteBuffer hash,
int seed)
Array version of:
tree_element_push_hashed |
static boolean |
nk_tree_element_push_hashed(NkContext ctx,
int type,
java.lang.CharSequence title,
int initial_state,
java.nio.IntBuffer selected,
java.nio.ByteBuffer hash,
int seed) |
static boolean |
nk_tree_image_push_hashed(NkContext ctx,
int type,
NkImage img,
java.nio.ByteBuffer title,
int initial_state,
java.nio.ByteBuffer hash,
int seed)
Start a collapsable UI section with internal state management with full control over internal unique ID used to store state.
|
static boolean |
nk_tree_image_push_hashed(NkContext ctx,
int type,
NkImage img,
java.lang.CharSequence title,
int initial_state,
java.nio.ByteBuffer hash,
int seed)
Start a collapsable UI section with internal state management with full control over internal unique ID used to store state.
|
static void |
nk_tree_pop(NkContext ctx)
Ends a collapsable UI section
|
static boolean |
nk_tree_push_hashed(NkContext ctx,
int type,
java.nio.ByteBuffer title,
int initial_state,
java.nio.ByteBuffer hash,
int seed)
Start a collapsable UI section with internal state management with full control over internal unique ID used to store state.
|
static boolean |
nk_tree_push_hashed(NkContext ctx,
int type,
java.lang.CharSequence title,
int initial_state,
java.nio.ByteBuffer hash,
int seed)
Start a collapsable UI section with internal state management with full control over internal unique ID used to store state.
|
static boolean |
nk_tree_state_image_push(NkContext ctx,
int type,
NkImage image,
java.nio.ByteBuffer title,
int[] state)
Array version of:
tree_state_image_push |
static boolean |
nk_tree_state_image_push(NkContext ctx,
int type,
NkImage image,
java.nio.ByteBuffer title,
java.nio.IntBuffer state)
Start a collapsable UI section with image and label header and external state management.
|
static boolean |
nk_tree_state_image_push(NkContext ctx,
int type,
NkImage image,
java.lang.CharSequence title,
int[] state)
Array version of:
tree_state_image_push |
static boolean |
nk_tree_state_image_push(NkContext ctx,
int type,
NkImage image,
java.lang.CharSequence title,
java.nio.IntBuffer state)
Start a collapsable UI section with image and label header and external state management.
|
static void |
nk_tree_state_pop(NkContext ctx)
Ends a collapsable UI section.
|
static boolean |
nk_tree_state_push(NkContext ctx,
int type,
java.nio.ByteBuffer title,
int[] state)
Array version of:
tree_state_push |
static boolean |
nk_tree_state_push(NkContext ctx,
int type,
java.nio.ByteBuffer title,
java.nio.IntBuffer state)
Start a collapsable UI section with external state management.
|
static boolean |
nk_tree_state_push(NkContext ctx,
int type,
java.lang.CharSequence title,
int[] state)
Array version of:
tree_state_push |
static boolean |
nk_tree_state_push(NkContext ctx,
int type,
java.lang.CharSequence title,
java.nio.IntBuffer state)
Start a collapsable UI section with external state management.
|
static void |
nk_triangle_from_direction(NkVec2 result,
NkRect r,
float pad_x,
float pad_y,
int direction) |
static java.nio.ByteBuffer |
nk_utf_at(java.nio.ByteBuffer buffer,
int index,
int[] unicode)
Array version of:
utf_at |
static java.nio.ByteBuffer |
nk_utf_at(java.nio.ByteBuffer buffer,
int index,
java.nio.IntBuffer unicode) |
static int |
nk_utf_decode(java.nio.ByteBuffer c,
int[] u)
Array version of:
utf_decode |
static int |
nk_utf_decode(java.nio.ByteBuffer c,
java.nio.IntBuffer u) |
static int |
nk_utf_encode(int u,
java.nio.ByteBuffer c) |
static int |
nk_utf_len(java.nio.ByteBuffer str) |
static NkVec2 |
nk_vec2(float x,
float y,
NkVec2 __result) |
static NkVec2 |
nk_vec2i(int x,
int y,
NkVec2 __result) |
static NkVec2 |
nk_vec2iv(int[] xy,
NkVec2 __result)
Array version of:
vec2iv |
static NkVec2 |
nk_vec2iv(java.nio.IntBuffer xy,
NkVec2 __result) |
static NkVec2 |
nk_vec2v(float[] xy,
NkVec2 __result)
Array version of:
vec2v |
static NkVec2 |
nk_vec2v(java.nio.FloatBuffer xy,
NkVec2 __result) |
static NkRect |
nk_widget_bounds(NkContext ctx,
NkRect __result) |
static int |
nk_widget_fitting(NkRect bounds,
NkContext ctx,
NkVec2 item_padding) |
static boolean |
nk_widget_has_mouse_click_down(NkContext ctx,
int btn,
boolean down) |
static float |
nk_widget_height(NkContext ctx) |
static boolean |
nk_widget_is_hovered(NkContext ctx) |
static boolean |
nk_widget_is_mouse_clicked(NkContext ctx,
int btn) |
static NkVec2 |
nk_widget_position(NkContext ctx,
NkVec2 __result) |
static NkVec2 |
nk_widget_size(NkContext ctx,
NkVec2 __result) |
static float |
nk_widget_width(NkContext ctx) |
static int |
nk_widget(NkRect bounds,
NkContext ctx) |
static void |
nk_window_close(NkContext ctx,
java.nio.ByteBuffer name)
Closes the window with given window name which deletes the window at the end of the frame.
|
static void |
nk_window_close(NkContext ctx,
java.lang.CharSequence name)
Closes the window with given window name which deletes the window at the end of the frame.
|
static void |
nk_window_collapse_if(NkContext ctx,
java.nio.ByteBuffer name,
int c,
boolean cond)
Collapses the window with given window name if the given condition was met.
|
static void |
nk_window_collapse_if(NkContext ctx,
java.lang.CharSequence name,
int c,
boolean cond)
Collapses the window with given window name if the given condition was met.
|
static void |
nk_window_collapse(NkContext ctx,
java.nio.ByteBuffer name,
int c)
Collapses the window with given window name.
|
static void |
nk_window_collapse(NkContext ctx,
java.lang.CharSequence name,
int c)
Collapses the window with given window name.
|
static NkWindow |
nk_window_find(NkContext ctx,
java.nio.ByteBuffer name)
Finds and returns a window from passed name.
|
static NkWindow |
nk_window_find(NkContext ctx,
java.lang.CharSequence name)
Finds and returns a window from passed name.
|
static NkRect |
nk_window_get_bounds(NkContext ctx,
NkRect __result)
Returns a rectangle with screen position and size of the currently processed window.
|
static NkCommandBuffer |
nk_window_get_canvas(NkContext ctx)
Returns the draw command buffer.
|
static NkVec2 |
nk_window_get_content_region_max(NkContext ctx,
NkVec2 __result)
Returns the upper rectangle position of the currently visible and non-clipped space inside the currently processed window.
|
static NkVec2 |
nk_window_get_content_region_min(NkContext ctx,
NkVec2 __result)
Returns the upper rectangle position of the currently visible and non-clipped space inside the currently processed window.
|
static NkVec2 |
nk_window_get_content_region_size(NkContext ctx,
NkVec2 __result)
Returns the size of the currently visible and non-clipped space inside the currently processed window.
|
static NkRect |
nk_window_get_content_region(NkContext ctx,
NkRect __result)
Returns the position and size of the currently visible and non-clipped space inside the currently processed window.
|
static float |
nk_window_get_height(NkContext ctx)
Returns the height of the currently processed window.
|
static NkPanel |
nk_window_get_panel(NkContext ctx)
Returns the underlying panel which contains all processing state of the current window.
|
static NkVec2 |
nk_window_get_position(NkContext ctx,
NkVec2 __result)
Returns the position of the currently processed window.
|
static void |
nk_window_get_scroll(NkContext ctx,
int[] offset_x,
int[] offset_y)
Array version of:
window_get_scroll |
static void |
nk_window_get_scroll(NkContext ctx,
java.nio.IntBuffer offset_x,
java.nio.IntBuffer offset_y)
Gets the scroll offset for the current window.
|
static NkVec2 |
nk_window_get_size(NkContext ctx,
NkVec2 __result)
Returns the size with width and height of the currently processed window.
|
static float |
nk_window_get_width(NkContext ctx)
Returns the width of the currently processed window.
|
static boolean |
nk_window_has_focus(NkContext ctx)
Returns if the currently processed window is currently active.
|
static boolean |
nk_window_is_active(NkContext ctx,
java.nio.ByteBuffer name)
Same as
window_has_focus for some reason. |
static boolean |
nk_window_is_active(NkContext ctx,
java.lang.CharSequence name)
Same as
window_has_focus for some reason. |
static boolean |
nk_window_is_any_hovered(NkContext ctx)
Return if any window currently hovered.
|
static boolean |
nk_window_is_closed(NkContext ctx,
java.nio.ByteBuffer name)
Returns if the currently processed window was closed.
|
static boolean |
nk_window_is_closed(NkContext ctx,
java.lang.CharSequence name)
Returns if the currently processed window was closed.
|
static boolean |
nk_window_is_collapsed(NkContext ctx,
java.nio.ByteBuffer name)
Returns if the window with given name is currently minimized/collapsed.
|
static boolean |
nk_window_is_collapsed(NkContext ctx,
java.lang.CharSequence name)
Returns if the window with given name is currently minimized/collapsed.
|
static boolean |
nk_window_is_hidden(NkContext ctx,
java.nio.ByteBuffer name)
Returns if the currently processed window was hidden.
|
static boolean |
nk_window_is_hidden(NkContext ctx,
java.lang.CharSequence name)
Returns if the currently processed window was hidden.
|
static boolean |
nk_window_is_hovered(NkContext ctx)
Returns if the currently processed window is currently being hovered by mouse.
|
static void |
nk_window_set_bounds(NkContext ctx,
java.nio.ByteBuffer name,
NkRect bounds)
Updates position and size of the specified window.
|
static void |
nk_window_set_bounds(NkContext ctx,
java.lang.CharSequence name,
NkRect bounds)
Updates position and size of the specified window.
|
static void |
nk_window_set_focus(NkContext ctx,
java.nio.ByteBuffer name)
Sets the specified window as active window.
|
static void |
nk_window_set_focus(NkContext ctx,
java.lang.CharSequence name)
Sets the specified window as active window.
|
static void |
nk_window_set_position(NkContext ctx,
java.nio.ByteBuffer name,
NkVec2 position)
Updates position of the currently process window.
|
static void |
nk_window_set_position(NkContext ctx,
java.lang.CharSequence name,
NkVec2 position)
Updates position of the currently process window.
|
static void |
nk_window_set_scroll(NkContext ctx,
int offset_x,
int offset_y)
Sets the scroll offset for the current window.
|
static void |
nk_window_set_size(NkContext ctx,
java.nio.ByteBuffer name,
NkVec2 size)
Updates the size of the specified window.
|
static void |
nk_window_set_size(NkContext ctx,
java.lang.CharSequence name,
NkVec2 size)
Updates the size of the specified window.
|
static void |
nk_window_show_if(NkContext ctx,
java.nio.ByteBuffer name,
int s,
boolean cond)
Hides/shows a window depending on condition.
|
static void |
nk_window_show_if(NkContext ctx,
java.lang.CharSequence name,
int s,
boolean cond)
Hides/shows a window depending on condition.
|
static void |
nk_window_show(NkContext ctx,
java.nio.ByteBuffer name,
int s)
Hides a visible or reshows a hidden window.
|
static void |
nk_window_show(NkContext ctx,
java.lang.CharSequence name,
int s)
Hides a visible or reshows a hidden window.
|
static long |
nnk__begin(long ctx)
Unsafe version of:
_begin |
static long |
nnk__draw_begin(long ctx,
long buffer)
Unsafe version of:
_draw_begin |
static long |
nnk__draw_end(long ctx,
long buffer)
Unsafe version of:
_draw_end |
static long |
nnk__draw_list_begin(long list,
long buffer) |
static long |
nnk__draw_list_next(long cmd,
long buffer,
long list) |
static long |
nnk__draw_next(long cmd,
long buffer,
long ctx)
Unsafe version of:
_draw_next |
static long |
nnk__next(long ctx,
long cmd)
Unsafe version of:
_next |
static int |
nnk_begin_titled(long ctx,
long name,
long title,
long bounds,
int flags)
Unsafe version of:
begin_titled |
static int |
nnk_begin(long ctx,
long title,
long bounds,
int flags)
Unsafe version of:
begin |
static void |
nnk_buffer_clear(long buffer) |
static void |
nnk_buffer_free(long buffer) |
static void |
nnk_buffer_info(long status,
long buffer) |
static void |
nnk_buffer_init_fixed(long buffer,
long memory,
long size) |
static void |
nnk_buffer_init(long buffer,
long allocator,
long size) |
static void |
nnk_buffer_mark(long buffer,
int type)
Unsafe version of:
buffer_mark |
static long |
nnk_buffer_memory_const(long buffer) |
static long |
nnk_buffer_memory(long buffer) |
static void |
nnk_buffer_push(long buffer,
int type,
long memory,
long size,
long align)
Unsafe version of:
buffer_push |
static void |
nnk_buffer_reset(long buffer,
int type)
Unsafe version of:
buffer_reset |
static long |
nnk_buffer_total(long buffer) |
static int |
nnk_button_color(long ctx,
long color)
Unsafe version of:
button_color |
static int |
nnk_button_image_label_styled(long ctx,
long style,
long img,
long title,
int text_alignment)
Unsafe version of:
button_image_label_styled |
static int |
nnk_button_image_label(long ctx,
long img,
long text,
int text_alignment)
Unsafe version of:
button_image_label |
static int |
nnk_button_image_styled(long ctx,
long style,
long img)
Unsafe version of:
button_image_styled |
static int |
nnk_button_image_text_styled(long ctx,
long style,
long img,
long title,
int len,
int alignment)
Unsafe version of:
button_image_text_styled |
static int |
nnk_button_image_text(long ctx,
long img,
long text,
int len,
int alignment)
Unsafe version of:
button_image_text |
static int |
nnk_button_image(long ctx,
long img)
Unsafe version of:
button_image |
static int |
nnk_button_label_styled(long ctx,
long style,
long title)
Unsafe version of:
button_label_styled |
static int |
nnk_button_label(long ctx,
long title)
Unsafe version of:
button_label |
static int |
nnk_button_pop_behavior(long ctx)
Unsafe version of:
button_pop_behavior |
static int |
nnk_button_push_behavior(long ctx,
int behavior)
Unsafe version of:
button_push_behavior |
static void |
nnk_button_set_behavior(long ctx,
int behavior)
Unsafe version of:
button_set_behavior |
static int |
nnk_button_symbol_label_styled(long ctx,
long style,
int symbol,
long title,
int text_alignment)
Unsafe version of:
button_symbol_label_styled |
static int |
nnk_button_symbol_label(long ctx,
int symbol,
long text,
int text_alignment)
Unsafe version of:
button_symbol_label |
static int |
nnk_button_symbol_styled(long ctx,
long style,
int symbol)
Unsafe version of:
button_symbol_styled |
static int |
nnk_button_symbol_text_styled(long ctx,
long style,
int symbol,
long title,
int len,
int alignment)
Unsafe version of:
button_symbol_text_styled |
static int |
nnk_button_symbol_text(long ctx,
int symbol,
long text,
int len,
int alignment)
Unsafe version of:
button_symbol_text |
static int |
nnk_button_symbol(long ctx,
int symbol)
Unsafe version of:
button_symbol |
static int |
nnk_button_text_styled(long ctx,
long style,
long title,
int len)
Unsafe version of:
button_text_styled |
static int |
nnk_button_text(long ctx,
long title,
int len)
Unsafe version of:
button_text |
static void |
nnk_chart_add_slot_colored(long ctx,
int type,
long color,
long active,
int count,
float min_value,
float max_value)
Unsafe version of:
chart_add_slot_colored |
static void |
nnk_chart_add_slot(long ctx,
int type,
int count,
float min_value,
float max_value)
Unsafe version of:
chart_add_slot |
static int |
nnk_chart_begin_colored(long ctx,
int type,
long color,
long active,
int num,
float min,
float max)
Unsafe version of:
chart_begin_colored |
static int |
nnk_chart_begin(long ctx,
int type,
int num,
float min,
float max)
Unsafe version of:
chart_begin |
static void |
nnk_chart_end(long ctx)
Unsafe version of:
chart_end |
static int |
nnk_chart_push_slot(long ctx,
float value,
int slot)
Unsafe version of:
chart_push_slot |
static int |
nnk_chart_push(long ctx,
float value)
Unsafe version of:
chart_push |
static int |
nnk_check_flags_label(long ctx,
long str,
int flags,
int value)
Unsafe version of:
check_flags_label |
static int |
nnk_check_flags_text(long ctx,
long str,
int len,
int flags,
int value)
Unsafe version of:
check_flags_text |
static int |
nnk_check_label(long ctx,
long str,
int active)
Unsafe version of:
check_label |
static int |
nnk_check_text(long ctx,
long str,
int len,
int active)
Unsafe version of:
check_text |
static int |
nnk_checkbox_flags_label(long ctx,
long str,
int[] flags,
int value)
Array version of:
nnk_checkbox_flags_label(long, long, long, int) |
static int |
nnk_checkbox_flags_label(long ctx,
long str,
long flags,
int value)
Unsafe version of:
checkbox_flags_label |
static int |
nnk_checkbox_flags_text(long ctx,
long str,
int len,
int[] flags,
int value)
Array version of:
nnk_checkbox_flags_text(long, long, int, long, int) |
static int |
nnk_checkbox_flags_text(long ctx,
long str,
int len,
long flags,
int value)
Unsafe version of:
checkbox_flags_text |
static int |
nnk_checkbox_label(long ctx,
long str,
int[] active)
Array version of:
nnk_checkbox_label(long, long, long) |
static int |
nnk_checkbox_label(long ctx,
long str,
long active)
Unsafe version of:
checkbox_label |
static int |
nnk_checkbox_text(long ctx,
long str,
int len,
int[] active)
Array version of:
nnk_checkbox_text(long, long, int, long) |
static int |
nnk_checkbox_text(long ctx,
long str,
int len,
long active)
Unsafe version of:
checkbox_text |
static void |
nnk_clear(long ctx)
Unsafe version of:
clear |
static void |
nnk_color_cf(long color,
long __result) |
static void |
nnk_color_d(double[] r,
double[] g,
double[] b,
double[] a,
long color)
Array version of:
nnk_color_d(long, long, long, long, long) |
static void |
nnk_color_d(long r,
long g,
long b,
long a,
long color) |
static void |
nnk_color_dv(double[] rgba_out,
long color)
Array version of:
nnk_color_dv(long, long) |
static void |
nnk_color_dv(long rgba_out,
long color) |
static void |
nnk_color_f(float[] r,
float[] g,
float[] b,
float[] a,
long color)
Array version of:
nnk_color_f(long, long, long, long, long) |
static void |
nnk_color_f(long r,
long g,
long b,
long a,
long color) |
static void |
nnk_color_fv(float[] rgba_out,
long color)
Array version of:
nnk_color_fv(long, long) |
static void |
nnk_color_fv(long rgba_out,
long color) |
static void |
nnk_color_hex_rgb(long output,
long color) |
static void |
nnk_color_hex_rgba(long output,
long color) |
static void |
nnk_color_hsv_b(long out_h,
long out_s,
long out_v,
long color) |
static void |
nnk_color_hsv_bv(long hsv_out,
long color) |
static void |
nnk_color_hsv_f(float[] out_h,
float[] out_s,
float[] out_v,
long color)
Array version of:
nnk_color_hsv_f(long, long, long, long) |
static void |
nnk_color_hsv_f(long out_h,
long out_s,
long out_v,
long color) |
static void |
nnk_color_hsv_fv(float[] hsv_out,
long color)
Array version of:
nnk_color_hsv_fv(long, long) |
static void |
nnk_color_hsv_fv(long hsv_out,
long color) |
static void |
nnk_color_hsv_i(int[] out_h,
int[] out_s,
int[] out_v,
long color)
Array version of:
nnk_color_hsv_i(long, long, long, long) |
static void |
nnk_color_hsv_i(long out_h,
long out_s,
long out_v,
long color) |
static void |
nnk_color_hsv_iv(int[] hsv_out,
long color)
Array version of:
nnk_color_hsv_iv(long, long) |
static void |
nnk_color_hsv_iv(long hsv_out,
long color) |
static void |
nnk_color_hsva_b(long h,
long s,
long v,
long a,
long color) |
static void |
nnk_color_hsva_bv(long hsva_out,
long color) |
static void |
nnk_color_hsva_f(float[] out_h,
float[] out_s,
float[] out_v,
float[] out_a,
long color)
Array version of:
nnk_color_hsva_f(long, long, long, long, long) |
static void |
nnk_color_hsva_f(long out_h,
long out_s,
long out_v,
long out_a,
long color) |
static void |
nnk_color_hsva_fv(float[] hsva_out,
long color)
Array version of:
nnk_color_hsva_fv(long, long) |
static void |
nnk_color_hsva_fv(long hsva_out,
long color) |
static void |
nnk_color_hsva_i(int[] h,
int[] s,
int[] v,
int[] a,
long color)
Array version of:
nnk_color_hsva_i(long, long, long, long, long) |
static void |
nnk_color_hsva_i(long h,
long s,
long v,
long a,
long color) |
static void |
nnk_color_hsva_iv(int[] hsva_out,
long color)
Array version of:
nnk_color_hsva_iv(long, long) |
static void |
nnk_color_hsva_iv(long hsva_out,
long color) |
static int |
nnk_color_pick(long ctx,
long color,
int fmt)
Unsafe version of:
color_pick |
static void |
nnk_color_picker(long ctx,
long color,
int fmt)
Unsafe version of:
color_picker |
static int |
nnk_color_u32(long color) |
static void |
nnk_colorf_hsva_f(float[] out_h,
float[] out_s,
float[] out_v,
float[] out_a,
long in)
Array version of:
nnk_colorf_hsva_f(long, long, long, long, long) |
static void |
nnk_colorf_hsva_f(long out_h,
long out_s,
long out_v,
long out_a,
long in) |
static void |
nnk_colorf_hsva_fv(float[] hsva,
long in)
Array version of:
nnk_colorf_hsva_fv(long, long) |
static void |
nnk_colorf_hsva_fv(long hsva,
long in) |
static int |
nnk_combo_begin_color(long ctx,
long color,
long size)
Unsafe version of:
combo_begin_color |
static int |
nnk_combo_begin_image_label(long ctx,
long selected,
long img,
long size)
Unsafe version of:
combo_begin_image_label |
static int |
nnk_combo_begin_image_text(long ctx,
long selected,
int len,
long img,
long size)
Unsafe version of:
combo_begin_image_text |
static int |
nnk_combo_begin_image(long ctx,
long img,
long size)
Unsafe version of:
combo_begin_image |
static int |
nnk_combo_begin_label(long ctx,
long selected,
long size)
Unsafe version of:
combo_begin_label |
static int |
nnk_combo_begin_symbol_label(long ctx,
long selected,
int symbol,
long size)
Unsafe version of:
combo_begin_symbol_label |
static int |
nnk_combo_begin_symbol_text(long ctx,
long selected,
int len,
int symbol,
long size)
Unsafe version of:
combo_begin_symbol_text |
static int |
nnk_combo_begin_symbol(long ctx,
int symbol,
long size)
Unsafe version of:
combo_begin_symbol |
static int |
nnk_combo_begin_text(long ctx,
long selected,
int len,
long size)
Unsafe version of:
combo_begin_text |
static int |
nnk_combo_callback(long ctx,
long item_getter,
long userdata,
int selected,
int count,
int item_height,
long size)
Unsafe version of:
combo_callback |
static void |
nnk_combo_close(long ctx)
Unsafe version of:
combo_close |
static void |
nnk_combo_end(long ctx)
Unsafe version of:
combo_end |
static int |
nnk_combo_item_image_label(long ctx,
long img,
long text,
int alignment)
Unsafe version of:
combo_item_image_label |
static int |
nnk_combo_item_image_text(long ctx,
long img,
long text,
int len,
int alignment)
Unsafe version of:
combo_item_image_text |
static int |
nnk_combo_item_label(long ctx,
long text,
int alignment)
Unsafe version of:
combo_item_label |
static int |
nnk_combo_item_symbol_label(long ctx,
int symbol,
long text,
int alignment)
Unsafe version of:
combo_item_symbol_label |
static int |
nnk_combo_item_symbol_text(long ctx,
int symbol,
long text,
int len,
int alignment)
Unsafe version of:
combo_item_symbol_text |
static int |
nnk_combo_item_text(long ctx,
long text,
int len,
int alignment)
Unsafe version of:
combo_item_text |
static int |
nnk_combo_separator(long ctx,
long items_separated_by_separator,
int separator,
int selected,
int count,
int item_height,
long size)
Unsafe version of:
combo_separator |
static int |
nnk_combo_string(long ctx,
long items_separated_by_zeros,
int selected,
int count,
int item_height,
long size)
Unsafe version of:
combo_string |
static int |
nnk_combo(long ctx,
long items,
int count,
int selected,
int item_height,
long size)
Unsafe version of:
combo |
static void |
nnk_combobox_callback(long ctx,
long item_getter,
long userdata,
int[] selected,
int count,
int item_height,
long size)
Array version of:
nnk_combobox_callback(long, long, long, long, int, int, long) |
static void |
nnk_combobox_callback(long ctx,
long item_getter,
long userdata,
long selected,
int count,
int item_height,
long size)
Unsafe version of:
combobox_callback |
static void |
nnk_combobox_separator(long ctx,
long items_separated_by_separator,
int separator,
int[] selected,
int count,
int item_height,
long size)
Array version of:
nnk_combobox_separator(long, long, int, long, int, int, long) |
static void |
nnk_combobox_separator(long ctx,
long items_separated_by_separator,
int separator,
long selected,
int count,
int item_height,
long size)
Unsafe version of:
combobox_separator |
static void |
nnk_combobox_string(long ctx,
long items_separated_by_zeros,
int[] selected,
int count,
int item_height,
long size)
Array version of:
nnk_combobox_string(long, long, long, int, int, long) |
static void |
nnk_combobox_string(long ctx,
long items_separated_by_zeros,
long selected,
int count,
int item_height,
long size)
Unsafe version of:
combobox_string |
static void |
nnk_combobox(long ctx,
long items,
int count,
int[] selected,
int item_height,
long size)
Array version of:
nnk_combobox(long, long, int, long, int, long) |
static void |
nnk_combobox(long ctx,
long items,
int count,
long selected,
int item_height,
long size)
Unsafe version of:
combobox |
static int |
nnk_contextual_begin(long ctx,
int flags,
long size,
long trigger_bounds)
Unsafe version of:
contextual_begin |
static void |
nnk_contextual_close(long ctx)
Unsafe version of:
contextual_close |
static void |
nnk_contextual_end(long ctx)
Unsafe version of:
contextual_end |
static int |
nnk_contextual_item_image_label(long ctx,
long img,
long text,
int alignment)
Unsafe version of:
contextual_item_image_label |
static int |
nnk_contextual_item_image_text(long ctx,
long img,
long text,
int len,
int alignment)
Unsafe version of:
contextual_item_image_text |
static int |
nnk_contextual_item_label(long ctx,
long text,
int align)
Unsafe version of:
contextual_item_label |
static int |
nnk_contextual_item_symbol_label(long ctx,
int symbol,
long text,
int alignment)
Unsafe version of:
contextual_item_symbol_label |
static int |
nnk_contextual_item_symbol_text(long ctx,
int symbol,
long text,
int len,
int alignment)
Unsafe version of:
contextual_item_symbol_text |
static int |
nnk_contextual_item_text(long ctx,
long text,
int len,
int align)
Unsafe version of:
contextual_item_text |
static int |
nnk_convert(long ctx,
long cmds,
long vertices,
long elements,
long config)
Unsafe version of:
convert |
static void |
nnk_draw_image(long b,
long rect,
long img,
long color) |
static void |
nnk_draw_list_add_image(long list,
long texture,
long rect,
long color) |
static void |
nnk_draw_list_add_text(long list,
long font,
long rect,
long text,
int len,
float font_height,
long color) |
static void |
nnk_draw_list_fill_circle(long list,
long center,
float radius,
long col,
int segs) |
static void |
nnk_draw_list_fill_poly_convex(long list,
long points,
int count,
long color,
int aliasing)
Unsafe version of:
draw_list_fill_poly_convex |
static void |
nnk_draw_list_fill_rect_multi_color(long list,
long rect,
long left,
long top,
long right,
long bottom) |
static void |
nnk_draw_list_fill_rect(long list,
long rect,
long color,
float rounding) |
static void |
nnk_draw_list_fill_triangle(long list,
long a,
long b,
long c,
long color) |
static void |
nnk_draw_list_init(long list) |
static void |
nnk_draw_list_path_arc_to_fast(long list,
long center,
float radius,
int a_min,
int a_max) |
static void |
nnk_draw_list_path_arc_to(long list,
long center,
float radius,
float a_min,
float a_max,
int segments) |
static void |
nnk_draw_list_path_clear(long list) |
static void |
nnk_draw_list_path_curve_to(long list,
long p2,
long p3,
long p4,
int num_segments) |
static void |
nnk_draw_list_path_fill(long list,
long color) |
static void |
nnk_draw_list_path_line_to(long list,
long pos) |
static void |
nnk_draw_list_path_rect_to(long list,
long a,
long b,
float rounding) |
static void |
nnk_draw_list_path_stroke(long list,
long color,
int closed,
float thickness)
Unsafe version of:
draw_list_path_stroke |
static void |
nnk_draw_list_push_userdata(long list,
long userdata) |
static void |
nnk_draw_list_setup(long canvas,
long config,
long cmds,
long vertices,
long elements,
int line_aa,
int shape_aa) |
static void |
nnk_draw_list_stroke_circle(long list,
long center,
float radius,
long color,
int segs,
float thickness) |
static void |
nnk_draw_list_stroke_curve(long list,
long p0,
long cp0,
long cp1,
long p1,
long color,
int segments,
float thickness) |
static void |
nnk_draw_list_stroke_line(long list,
long a,
long b,
long color,
float thickness) |
static void |
nnk_draw_list_stroke_poly_line(long list,
long pnts,
int cnt,
long color,
int closed,
float thickness,
int aliasing)
Unsafe version of:
draw_list_stroke_poly_line |
static void |
nnk_draw_list_stroke_rect(long list,
long rect,
long color,
float rounding,
float thickness) |
static void |
nnk_draw_list_stroke_triangle(long list,
long a,
long b,
long c,
long color,
float thickness) |
static void |
nnk_draw_text(long b,
long rect,
long string,
int length,
long font,
long bg,
long fg) |
static int |
nnk_edit_buffer(long ctx,
int flags,
long edit,
long filter)
Unsafe version of:
edit_buffer |
static void |
nnk_edit_focus(long ctx,
int flags)
Unsafe version of:
edit_focus |
static int |
nnk_edit_string_zero_terminated(long ctx,
int flags,
long buffer,
int max,
long filter)
Unsafe version of:
edit_string_zero_terminated |
static int |
nnk_edit_string(long ctx,
int flags,
long memory,
int[] len,
int max,
long filter)
Array version of:
nnk_edit_string(long, int, long, long, int, long) |
static int |
nnk_edit_string(long ctx,
int flags,
long memory,
long len,
int max,
long filter)
Unsafe version of:
edit_string |
static void |
nnk_edit_unfocus(long ctx)
Unsafe version of:
edit_unfocus |
static void |
nnk_end(long ctx)
Unsafe version of:
end |
static void |
nnk_fill_arc(long b,
float cx,
float cy,
float radius,
float a_min,
float a_max,
long color) |
static void |
nnk_fill_circle(long b,
long rect,
long color) |
static void |
nnk_fill_polygon(long b,
float[] points,
int point_count,
long color)
Array version of:
nnk_fill_polygon(long, long, int, long) |
static void |
nnk_fill_polygon(long b,
long points,
int point_count,
long color) |
static void |
nnk_fill_rect_multi_color(long b,
long rect,
long left,
long top,
long right,
long bottom) |
static void |
nnk_fill_rect(long b,
long rect,
float rounding,
long color) |
static void |
nnk_fill_triangle(long b,
float x0,
float y0,
float x1,
float y1,
float x2,
float y2,
long color) |
static int |
nnk_filter_ascii(long edit,
int unicode) |
static int |
nnk_filter_binary(long edit,
int unicode) |
static int |
nnk_filter_decimal(long edit,
int unicode) |
static int |
nnk_filter_default(long edit,
int unicode) |
static int |
nnk_filter_float(long edit,
int unicode) |
static int |
nnk_filter_hex(long edit,
int unicode) |
static int |
nnk_filter_oct(long edit,
int unicode) |
static void |
nnk_free(long ctx)
Unsafe version of:
free |
static void |
nnk_get_null_rect(long __result) |
static int |
nnk_group_begin_titled(long ctx,
long name,
long title,
int flags)
Unsafe version of:
group_begin_titled |
static int |
nnk_group_begin(long ctx,
long title,
int flags)
Unsafe version of:
group_begin |
static void |
nnk_group_end(long ctx)
Unsafe version of:
group_end |
static void |
nnk_group_get_scroll(long ctx,
long id,
int[] x_offset,
int[] y_offset)
Array version of:
nnk_group_get_scroll(long, long, long, long) |
static void |
nnk_group_get_scroll(long ctx,
long id,
long x_offset,
long y_offset)
Unsafe version of:
group_get_scroll |
static int |
nnk_group_scrolled_begin(long ctx,
long scroll,
long title,
int flags)
Unsafe version of:
group_scrolled_begin |
static void |
nnk_group_scrolled_end(long ctx)
Unsafe version of:
group_scrolled_end |
static int |
nnk_group_scrolled_offset_begin(long ctx,
int[] x_offset,
int[] y_offset,
long title,
int flags)
Array version of:
nnk_group_scrolled_offset_begin(long, long, long, long, int) |
static int |
nnk_group_scrolled_offset_begin(long ctx,
long x_offset,
long y_offset,
long title,
int flags)
Unsafe version of:
group_scrolled_offset_begin |
static void |
nnk_group_set_scroll(long ctx,
long id,
int x_offset,
int y_offset)
Unsafe version of:
group_set_scroll |
static void |
nnk_handle_id(int id,
long __result) |
static void |
nnk_handle_ptr(long ptr,
long __result) |
static void |
nnk_hsv_bv(long hsv,
long __result) |
static void |
nnk_hsv_f(float h,
float s,
float v,
long __result) |
static void |
nnk_hsv_fv(float[] hsv,
long __result)
Array version of:
nnk_hsv_fv(long, long) |
static void |
nnk_hsv_fv(long hsv,
long __result) |
static void |
nnk_hsv_iv(int[] hsv,
long __result)
Array version of:
nnk_hsv_iv(long, long) |
static void |
nnk_hsv_iv(long hsv,
long __result) |
static void |
nnk_hsv(int h,
int s,
int v,
long __result) |
static void |
nnk_hsva_bv(long hsva,
long __result) |
static void |
nnk_hsva_colorf(float h,
float s,
float v,
float a,
long __result) |
static void |
nnk_hsva_colorfv(float[] c,
long __result)
Array version of:
nnk_hsva_colorfv(long, long) |
static void |
nnk_hsva_colorfv(long c,
long __result) |
static void |
nnk_hsva_f(float h,
float s,
float v,
float a,
long __result) |
static void |
nnk_hsva_fv(float[] hsva,
long __result)
Array version of:
nnk_hsva_fv(long, long) |
static void |
nnk_hsva_fv(long hsva,
long __result) |
static void |
nnk_hsva_iv(int[] hsva,
long __result)
Array version of:
nnk_hsva_iv(long, long) |
static void |
nnk_hsva_iv(long hsva,
long __result) |
static void |
nnk_hsva(int h,
int s,
int v,
int a,
long __result) |
static void |
nnk_image_color(long ctx,
long img,
long color)
Unsafe version of:
image_color |
static void |
nnk_image_handle(long handle,
long __result) |
static void |
nnk_image_id(int id,
long __result) |
static int |
nnk_image_is_subimage(long img) |
static void |
nnk_image_ptr(long ptr,
long __result) |
static void |
nnk_image(long ctx,
long img)
Unsafe version of:
image |
static int |
nnk_init_custom(long ctx,
long cmds,
long pool,
long font)
Unsafe version of:
init_custom |
static int |
nnk_init_fixed(long ctx,
long memory,
long size,
long font)
Unsafe version of:
init_fixed |
static int |
nnk_init(long ctx,
long allocator,
long font)
Unsafe version of:
init |
static int |
nnk_input_any_mouse_click_in_rect(long i,
long rect) |
static void |
nnk_input_begin(long ctx)
Unsafe version of:
input_begin |
static void |
nnk_input_button(long ctx,
int id,
int x,
int y,
int down)
Unsafe version of:
input_button |
static void |
nnk_input_char(long ctx,
byte c)
Unsafe version of:
input_char |
static void |
nnk_input_end(long ctx)
Unsafe version of:
input_end |
static void |
nnk_input_glyph(long ctx,
long glyph)
Unsafe version of:
input_glyph |
static int |
nnk_input_has_mouse_click_down_in_rect(long i,
int id,
long rect,
int down)
Unsafe version of:
input_has_mouse_click_down_in_rect |
static int |
nnk_input_has_mouse_click_in_rect(long i,
int id,
long rect)
Unsafe version of:
input_has_mouse_click_in_rect |
static int |
nnk_input_has_mouse_click(long i,
int id)
Unsafe version of:
input_has_mouse_click |
static int |
nnk_input_is_key_down(long i,
int key)
Unsafe version of:
input_is_key_down |
static int |
nnk_input_is_key_pressed(long i,
int key)
Unsafe version of:
input_is_key_pressed |
static int |
nnk_input_is_key_released(long i,
int key)
Unsafe version of:
input_is_key_released |
static int |
nnk_input_is_mouse_click_down_in_rect(long i,
int id,
long b,
int down)
Unsafe version of:
input_is_mouse_click_down_in_rect |
static int |
nnk_input_is_mouse_click_in_rect(long i,
int id,
long rect)
Unsafe version of:
input_is_mouse_click_in_rect |
static int |
nnk_input_is_mouse_down(long i,
int id)
Unsafe version of:
input_is_mouse_down |
static int |
nnk_input_is_mouse_hovering_rect(long i,
long rect) |
static int |
nnk_input_is_mouse_pressed(long i,
int id)
Unsafe version of:
input_is_mouse_pressed |
static int |
nnk_input_is_mouse_prev_hovering_rect(long i,
long rect) |
static int |
nnk_input_is_mouse_released(long i,
int id)
Unsafe version of:
input_is_mouse_released |
static void |
nnk_input_key(long ctx,
int key,
int down)
Unsafe version of:
input_key |
static void |
nnk_input_motion(long ctx,
int x,
int y)
Unsafe version of:
input_motion |
static int |
nnk_input_mouse_clicked(long i,
int id,
long rect)
Unsafe version of:
input_mouse_clicked |
static void |
nnk_input_scroll(long ctx,
long val)
Unsafe version of:
input_scroll |
static void |
nnk_input_unicode(long ctx,
int unicode)
Unsafe version of:
input_unicode |
static int |
nnk_item_is_any_active(long ctx)
Unsafe version of:
item_is_any_active |
static void |
nnk_label_colored_wrap(long ctx,
long str,
long color)
Unsafe version of:
label_colored_wrap |
static void |
nnk_label_colored(long ctx,
long str,
int align,
long color)
Unsafe version of:
label_colored |
static void |
nnk_label_wrap(long ctx,
long str)
Unsafe version of:
label_wrap |
static void |
nnk_label(long ctx,
long str,
int align)
Unsafe version of:
label |
static float |
nnk_layout_ratio_from_pixel(long ctx,
float pixel_width)
Unsafe version of:
layout_ratio_from_pixel |
static void |
nnk_layout_reset_min_row_height(long ctx)
Unsafe version of:
layout_reset_min_row_height |
static void |
nnk_layout_row_begin(long ctx,
int fmt,
float row_height,
int cols)
Unsafe version of:
layout_row_begin |
static void |
nnk_layout_row_dynamic(long ctx,
float height,
int cols)
Unsafe version of:
layout_row_dynamic |
static void |
nnk_layout_row_end(long ctx)
Unsafe version of:
layout_row_end |
static void |
nnk_layout_row_push(long ctx,
float value)
Unsafe version of:
layout_row_push |
static void |
nnk_layout_row_static(long ctx,
float height,
int item_width,
int cols)
Unsafe version of:
layout_row_static |
static void |
nnk_layout_row_template_begin(long ctx,
float height)
Unsafe version of:
layout_row_template_begin |
static void |
nnk_layout_row_template_end(long ctx)
Unsafe version of:
layout_row_template_end |
static void |
nnk_layout_row_template_push_dynamic(long ctx)
Unsafe version of:
layout_row_template_push_dynamic |
static void |
nnk_layout_row_template_push_static(long ctx,
float width)
Unsafe version of:
layout_row_template_push_static |
static void |
nnk_layout_row_template_push_variable(long ctx,
float min_width)
Unsafe version of:
layout_row_template_push_variable |
static void |
nnk_layout_row(long ctx,
int fmt,
float height,
int cols,
float[] ratio)
Array version of:
nnk_layout_row(long, int, float, int, long) |
static void |
nnk_layout_row(long ctx,
int fmt,
float height,
int cols,
long ratio)
Unsafe version of:
layout_row |
static void |
nnk_layout_set_min_row_height(long ctx,
float height)
Unsafe version of:
layout_set_min_row_height |
static void |
nnk_layout_space_begin(long ctx,
int fmt,
float height,
int widget_count)
Unsafe version of:
layout_space_begin |
static void |
nnk_layout_space_bounds(long ctx,
long __result)
Unsafe version of:
layout_space_bounds |
static void |
nnk_layout_space_end(long ctx)
Unsafe version of:
layout_space_end |
static void |
nnk_layout_space_push(long ctx,
long rect)
Unsafe version of:
layout_space_push |
static void |
nnk_layout_space_rect_to_local(long ctx,
long ret)
Unsafe version of:
layout_space_rect_to_local |
static void |
nnk_layout_space_rect_to_screen(long ctx,
long ret)
Unsafe version of:
layout_space_rect_to_screen |
static void |
nnk_layout_space_to_local(long ctx,
long ret)
Unsafe version of:
layout_space_to_local |
static void |
nnk_layout_space_to_screen(long ctx,
long ret)
Unsafe version of:
layout_space_to_screen |
static void |
nnk_layout_widget_bounds(long ctx,
long __result)
Unsafe version of:
layout_widget_bounds |
static int |
nnk_list_view_begin(long ctx,
long view,
long title,
int flags,
int row_height,
int row_count)
Unsafe version of:
list_view_begin |
static void |
nnk_list_view_end(long view) |
static int |
nnk_menu_begin_image_label(long ctx,
long text,
int align,
long img,
long size)
Unsafe version of:
menu_begin_image_label |
static int |
nnk_menu_begin_image_text(long ctx,
long text,
int len,
int align,
long img,
long size)
Unsafe version of:
menu_begin_image_text |
static int |
nnk_menu_begin_image(long ctx,
long text,
long img,
long size)
Unsafe version of:
menu_begin_image |
static int |
nnk_menu_begin_label(long ctx,
long text,
int align,
long size)
Unsafe version of:
menu_begin_label |
static int |
nnk_menu_begin_symbol_label(long ctx,
long text,
int align,
int symbol,
long size)
Unsafe version of:
menu_begin_symbol_label |
static int |
nnk_menu_begin_symbol_text(long ctx,
long text,
int len,
int align,
int symbol,
long size)
Unsafe version of:
menu_begin_symbol_text |
static int |
nnk_menu_begin_symbol(long ctx,
long text,
int symbol,
long size)
Unsafe version of:
menu_begin_symbol |
static int |
nnk_menu_begin_text(long ctx,
long text,
int len,
int align,
long size)
Unsafe version of:
menu_begin_text |
static void |
nnk_menu_close(long ctx)
Unsafe version of:
menu_close |
static void |
nnk_menu_end(long ctx)
Unsafe version of:
menu_end |
static int |
nnk_menu_item_image_label(long ctx,
long img,
long text,
int alignment)
Unsafe version of:
menu_item_image_label |
static int |
nnk_menu_item_image_text(long ctx,
long img,
long text,
int len,
int alignment)
Unsafe version of:
menu_item_image_text |
static int |
nnk_menu_item_label(long ctx,
long text,
int alignment)
Unsafe version of:
menu_item_label |
static int |
nnk_menu_item_symbol_label(long ctx,
int symbol,
long text,
int alignment)
Unsafe version of:
menu_item_symbol_label |
static int |
nnk_menu_item_symbol_text(long ctx,
int symbol,
long text,
int len,
int alignment)
Unsafe version of:
menu_item_symbol_text |
static int |
nnk_menu_item_text(long ctx,
long text,
int len,
int align)
Unsafe version of:
menu_item_text |
static void |
nnk_menubar_begin(long ctx)
Unsafe version of:
menubar_begin |
static void |
nnk_menubar_end(long ctx)
Unsafe version of:
menubar_end |
static int |
nnk_murmur_hash(long key,
int len,
int seed) |
static int |
nnk_option_label(long ctx,
long str,
int active)
Unsafe version of:
option_label |
static int |
nnk_option_text(long ctx,
long str,
int len,
int active)
Unsafe version of:
option_text |
static void |
nnk_plot_function(long ctx,
int type,
long userdata,
long value_getter,
int count,
int offset)
Unsafe version of:
plot_function |
static void |
nnk_plot(long ctx,
int type,
float[] values,
int count,
int offset)
Array version of:
nnk_plot(long, int, long, int, int) |
static void |
nnk_plot(long ctx,
int type,
long values,
int count,
int offset)
Unsafe version of:
plot |
static int |
nnk_popup_begin(long ctx,
int type,
long title,
int flags,
long rect)
Unsafe version of:
popup_begin |
static void |
nnk_popup_close(long ctx)
Unsafe version of:
popup_close |
static void |
nnk_popup_end(long ctx)
Unsafe version of:
popup_end |
static void |
nnk_popup_get_scroll(long ctx,
int[] offset_x,
int[] offset_y)
Array version of:
nnk_popup_get_scroll(long, long, long) |
static void |
nnk_popup_get_scroll(long ctx,
long offset_x,
long offset_y)
Unsafe version of:
popup_get_scroll |
static void |
nnk_popup_set_scroll(long ctx,
int offset_x,
int offset_y)
Unsafe version of:
popup_set_scroll |
static long |
nnk_prog(long ctx,
long cur,
long max,
int modifyable)
Unsafe version of:
prog |
static int |
nnk_progress(long ctx,
long cur,
long max,
int modifyable)
Unsafe version of:
progress |
static void |
nnk_property_double(long ctx,
long name,
double min,
double[] val,
double max,
double step,
float inc_per_pixel)
Array version of:
nnk_property_double(long, long, double, long, double, double, float) |
static void |
nnk_property_double(long ctx,
long name,
double min,
long val,
double max,
double step,
float inc_per_pixel)
Unsafe version of:
property_double |
static void |
nnk_property_float(long ctx,
long name,
float min,
float[] val,
float max,
float step,
float inc_per_pixel)
Array version of:
nnk_property_float(long, long, float, long, float, float, float) |
static void |
nnk_property_float(long ctx,
long name,
float min,
long val,
float max,
float step,
float inc_per_pixel)
Unsafe version of:
property_float |
static void |
nnk_property_int(long ctx,
long name,
int min,
int[] val,
int max,
int step,
float inc_per_pixel)
Array version of:
nnk_property_int(long, long, int, long, int, int, float) |
static void |
nnk_property_int(long ctx,
long name,
int min,
long val,
int max,
int step,
float inc_per_pixel)
Unsafe version of:
property_int |
static double |
nnk_propertyd(long ctx,
long name,
double min,
double val,
double max,
double step,
float inc_per_pixel)
Unsafe version of:
propertyd |
static float |
nnk_propertyf(long ctx,
long name,
float min,
float val,
float max,
float step,
float inc_per_pixel)
Unsafe version of:
propertyf |
static int |
nnk_propertyi(long ctx,
long name,
int min,
int val,
int max,
int step,
float inc_per_pixel)
Unsafe version of:
propertyi |
static void |
nnk_push_custom(long b,
long rect,
long callback,
long usr) |
static void |
nnk_push_scissor(long b,
long rect) |
static int |
nnk_radio_label(long ctx,
long str,
int[] active)
Array version of:
nnk_radio_label(long, long, long) |
static int |
nnk_radio_label(long ctx,
long str,
long active)
Unsafe version of:
radio_label |
static int |
nnk_radio_text(long ctx,
long str,
int len,
int[] active)
Array version of:
nnk_radio_text(long, long, int, long) |
static int |
nnk_radio_text(long ctx,
long str,
int len,
long active)
Unsafe version of:
radio_text |
static void |
nnk_rect_pos(long r,
long __result) |
static void |
nnk_rect_size(long r,
long __result) |
static void |
nnk_rect(float x,
float y,
float w,
float h,
long __result) |
static void |
nnk_recta(long pos,
long size,
long __result) |
static void |
nnk_recti(int x,
int y,
int w,
int h,
long __result) |
static void |
nnk_rectiv(int[] xywh,
long __result)
Array version of:
nnk_rectiv(long, long) |
static void |
nnk_rectiv(long xywh,
long __result) |
static void |
nnk_rectv(float[] xywh,
long __result)
Array version of:
nnk_rectv(long, long) |
static void |
nnk_rectv(long xywh,
long __result) |
static void |
nnk_rgb_bv(long rgb,
long __result) |
static void |
nnk_rgb_cf(long c,
long __result) |
static void |
nnk_rgb_f(float r,
float g,
float b,
long __result) |
static void |
nnk_rgb_fv(float[] rgb,
long __result)
Array version of:
nnk_rgb_fv(long, long) |
static void |
nnk_rgb_fv(long rgb,
long __result) |
static void |
nnk_rgb_hex(long rgb,
long __result) |
static void |
nnk_rgb_iv(int[] rgb,
long __result)
Array version of:
nnk_rgb_iv(long, long) |
static void |
nnk_rgb_iv(long rgb,
long __result) |
static void |
nnk_rgb(int r,
int g,
int b,
long __result) |
static void |
nnk_rgba_bv(long rgba,
long __result) |
static void |
nnk_rgba_cf(long c,
long __result) |
static void |
nnk_rgba_f(float r,
float g,
float b,
float a,
long __result) |
static void |
nnk_rgba_fv(float[] rgba,
long __result)
Array version of:
nnk_rgba_fv(long, long) |
static void |
nnk_rgba_fv(long rgba,
long __result) |
static void |
nnk_rgba_hex(long rgba,
long __result) |
static void |
nnk_rgba_iv(int[] rgba,
long __result)
Array version of:
nnk_rgba_iv(long, long) |
static void |
nnk_rgba_iv(long rgba,
long __result) |
static void |
nnk_rgba_u32(int in,
long __result) |
static void |
nnk_rgba(int r,
int g,
int b,
int a,
long __result) |
static int |
nnk_select_image_label(long ctx,
long img,
long str,
int align,
int value)
Unsafe version of:
select_image_label |
static int |
nnk_select_image_text(long ctx,
long img,
long str,
int len,
int align,
int value)
Unsafe version of:
select_image_text |
static int |
nnk_select_label(long ctx,
long str,
int align,
int value)
Unsafe version of:
select_label |
static int |
nnk_select_symbol_label(long ctx,
int symbol,
long str,
int align,
int value)
Unsafe version of:
select_symbol_label |
static int |
nnk_select_symbol_text(long ctx,
int symbol,
long str,
int len,
int align,
int value)
Unsafe version of:
select_symbol_text |
static int |
nnk_select_text(long ctx,
long str,
int len,
int align,
int value)
Unsafe version of:
select_text |
static int |
nnk_selectable_image_label(long ctx,
long img,
long str,
int align,
int[] value)
Array version of:
nnk_selectable_image_label(long, long, long, int, long) |
static int |
nnk_selectable_image_label(long ctx,
long img,
long str,
int align,
long value)
Unsafe version of:
selectable_image_label |
static int |
nnk_selectable_image_text(long ctx,
long img,
long str,
int len,
int align,
int[] value)
Array version of:
nnk_selectable_image_text(long, long, long, int, int, long) |
static int |
nnk_selectable_image_text(long ctx,
long img,
long str,
int len,
int align,
long value)
Unsafe version of:
selectable_image_text |
static int |
nnk_selectable_label(long ctx,
long str,
int align,
int[] value)
Array version of:
nnk_selectable_label(long, long, int, long) |
static int |
nnk_selectable_label(long ctx,
long str,
int align,
long value)
Unsafe version of:
selectable_label |
static int |
nnk_selectable_symbol_label(long ctx,
int symbol,
long str,
int align,
int[] value)
Array version of:
nnk_selectable_symbol_label(long, int, long, int, long) |
static int |
nnk_selectable_symbol_label(long ctx,
int symbol,
long str,
int align,
long value)
Unsafe version of:
selectable_symbol_label |
static int |
nnk_selectable_symbol_text(long ctx,
int symbol,
long str,
int len,
int align,
int[] value)
Array version of:
nnk_selectable_symbol_text(long, int, long, int, int, long) |
static int |
nnk_selectable_symbol_text(long ctx,
int symbol,
long str,
int len,
int align,
long value)
Unsafe version of:
selectable_symbol_text |
static int |
nnk_selectable_text(long ctx,
long str,
int len,
int align,
int[] value)
Array version of:
nnk_selectable_text(long, long, int, int, long) |
static int |
nnk_selectable_text(long ctx,
long str,
int len,
int align,
long value)
Unsafe version of:
selectable_text |
static void |
nnk_set_user_data(long ctx,
long handle)
Unsafe version of:
set_user_data |
static float |
nnk_slide_float(long ctx,
float min,
float val,
float max,
float step)
Unsafe version of:
slide_float |
static int |
nnk_slide_int(long ctx,
int min,
int val,
int max,
int step)
Unsafe version of:
slide_int |
static int |
nnk_slider_float(long ctx,
float min,
float[] val,
float max,
float step)
Array version of:
nnk_slider_float(long, float, long, float, float) |
static int |
nnk_slider_float(long ctx,
float min,
long val,
float max,
float step)
Unsafe version of:
slider_float |
static int |
nnk_slider_int(long ctx,
int min,
int[] val,
int max,
int step)
Array version of:
nnk_slider_int(long, int, long, int, int) |
static int |
nnk_slider_int(long ctx,
int min,
long val,
int max,
int step)
Unsafe version of:
slider_int |
static void |
nnk_spacing(long ctx,
int cols)
Unsafe version of:
spacing |
static int |
nnk_str_append_str_char(long s,
long str) |
static int |
nnk_str_append_str_runes(long s,
int[] runes)
Array version of:
nnk_str_append_str_runes(long, long) |
static int |
nnk_str_append_str_runes(long s,
long runes) |
static int |
nnk_str_append_str_utf8(long s,
long str) |
static int |
nnk_str_append_text_char(long s,
long str,
int len) |
static int |
nnk_str_append_text_runes(long s,
int[] runes,
int len)
Array version of:
nnk_str_append_text_runes(long, long, int) |
static int |
nnk_str_append_text_runes(long s,
long runes,
int len) |
static int |
nnk_str_append_text_utf8(long s,
long str,
int len) |
static long |
nnk_str_at_char_const(long s,
int pos) |
static long |
nnk_str_at_char(long s,
int pos) |
static long |
nnk_str_at_const(long s,
int pos,
int[] unicode,
long len)
Array version of:
nnk_str_at_const(long, int, long, long) |
static long |
nnk_str_at_const(long s,
int pos,
long unicode,
long len) |
static long |
nnk_str_at_rune(long s,
int pos,
int[] unicode,
long len)
Array version of:
nnk_str_at_rune(long, int, long, long) |
static long |
nnk_str_at_rune(long s,
int pos,
long unicode,
long len) |
static void |
nnk_str_clear(long str) |
static void |
nnk_str_delete_chars(long s,
int pos,
int len) |
static void |
nnk_str_delete_runes(long s,
int pos,
int len) |
static void |
nnk_str_free(long str) |
static long |
nnk_str_get_const(long s) |
static long |
nnk_str_get(long s) |
static void |
nnk_str_init_fixed(long str,
long memory,
long size) |
static void |
nnk_str_init(long str,
long allocator,
long size) |
static int |
nnk_str_insert_at_char(long s,
int pos,
long str,
int len) |
static int |
nnk_str_insert_at_rune(long s,
int pos,
long str,
int len) |
static int |
nnk_str_insert_str_char(long s,
int pos,
long str) |
static int |
nnk_str_insert_str_runes(long s,
int pos,
int[] runes)
Array version of:
nnk_str_insert_str_runes(long, int, long) |
static int |
nnk_str_insert_str_runes(long s,
int pos,
long runes) |
static int |
nnk_str_insert_str_utf8(long s,
int pos,
long str) |
static int |
nnk_str_insert_text_char(long s,
int pos,
long str,
int len) |
static int |
nnk_str_insert_text_runes(long s,
int pos,
int[] runes,
int len)
Array version of:
nnk_str_insert_text_runes(long, int, long, int) |
static int |
nnk_str_insert_text_runes(long s,
int pos,
long runes,
int len) |
static int |
nnk_str_insert_text_utf8(long s,
int pos,
long str,
int len) |
static int |
nnk_str_len_char(long s) |
static int |
nnk_str_len(long s) |
static void |
nnk_str_remove_chars(long s,
int len) |
static void |
nnk_str_remove_runes(long str,
int len) |
static int |
nnk_str_rune_at(long s,
int pos) |
static int |
nnk_strfilter(long str,
long regexp)
Unsafe version of:
strfilter |
static int |
nnk_stricmp(long s1,
long s2) |
static int |
nnk_stricmpn(long s1,
long s2,
int n) |
static int |
nnk_strlen(long str) |
static int |
nnk_strmatch_fuzzy_string(long str,
long pattern,
int[] out_score)
Array version of:
nnk_strmatch_fuzzy_string(long, long, long) |
static int |
nnk_strmatch_fuzzy_string(long str,
long pattern,
long out_score)
Unsafe version of:
strmatch_fuzzy_string |
static int |
nnk_strmatch_fuzzy_text(long txt,
int txt_len,
long pattern,
int[] out_score)
Array version of:
nnk_strmatch_fuzzy_text(long, int, long, long) |
static int |
nnk_strmatch_fuzzy_text(long txt,
int txt_len,
long pattern,
long out_score) |
static void |
nnk_stroke_arc(long b,
float cx,
float cy,
float radius,
float a_min,
float a_max,
float line_thickness,
long color) |
static void |
nnk_stroke_circle(long b,
long rect,
float line_thickness,
long color) |
static void |
nnk_stroke_curve(long b,
float ax,
float ay,
float ctrl0x,
float ctrl0y,
float ctrl1x,
float ctrl1y,
float bx,
float by,
float line_thickness,
long color) |
static void |
nnk_stroke_line(long b,
float x0,
float y0,
float x1,
float y1,
float line_thickness,
long color) |
static void |
nnk_stroke_polygon(long b,
float[] points,
int point_count,
float line_thickness,
long color)
Array version of:
nnk_stroke_polygon(long, long, int, float, long) |
static void |
nnk_stroke_polygon(long b,
long points,
int point_count,
float line_thickness,
long color) |
static void |
nnk_stroke_polyline(long b,
float[] points,
int point_count,
float line_thickness,
long col)
Array version of:
nnk_stroke_polyline(long, long, int, float, long) |
static void |
nnk_stroke_polyline(long b,
long points,
int point_count,
float line_thickness,
long col) |
static void |
nnk_stroke_rect(long b,
long rect,
float rounding,
float line_thickness,
long color) |
static void |
nnk_stroke_triangle(long b,
float x0,
float y0,
float x1,
float y1,
float x2,
float y2,
float line_thichness,
long color) |
static double |
nnk_strtod(long str,
long endptr) |
static float |
nnk_strtof(long str,
long endptr) |
static int |
nnk_strtoi(long str,
long endptr) |
static void |
nnk_style_default(long ctx)
Unsafe version of:
style_default |
static void |
nnk_style_from_table(long ctx,
long table)
Unsafe version of:
style_from_table |
static long |
nnk_style_get_color_by_name(int c)
Unsafe version of:
style_get_color_by_name |
static void |
nnk_style_hide_cursor(long ctx)
Unsafe version of:
style_hide_cursor |
static void |
nnk_style_item_color(long color,
long __result) |
static void |
nnk_style_item_hide(long __result) |
static void |
nnk_style_item_image(long img,
long __result) |
static void |
nnk_style_load_all_cursors(long ctx,
long cursors)
Unsafe version of:
style_load_all_cursors |
static void |
nnk_style_load_cursor(long ctx,
int style,
long cursor)
Unsafe version of:
style_load_cursor |
static int |
nnk_style_pop_color(long ctx)
Unsafe version of:
style_pop_color |
static int |
nnk_style_pop_flags(long ctx)
Unsafe version of:
style_pop_flags |
static int |
nnk_style_pop_float(long ctx)
Unsafe version of:
style_pop_float |
static int |
nnk_style_pop_font(long ctx)
Unsafe version of:
style_pop_font |
static int |
nnk_style_pop_style_item(long ctx)
Unsafe version of:
style_pop_style_item |
static int |
nnk_style_pop_vec2(long ctx)
Unsafe version of:
style_pop_vec2 |
static int |
nnk_style_push_color(long ctx,
long address,
long value)
Unsafe version of:
style_push_color |
static int |
nnk_style_push_flags(long ctx,
int[] address,
int value)
Array version of:
nnk_style_push_flags(long, long, int) |
static int |
nnk_style_push_flags(long ctx,
long address,
int value)
Unsafe version of:
style_push_flags |
static int |
nnk_style_push_float(long ctx,
float[] address,
float value)
Array version of:
nnk_style_push_float(long, long, float) |
static int |
nnk_style_push_float(long ctx,
long address,
float value)
Unsafe version of:
style_push_float |
static int |
nnk_style_push_font(long ctx,
long font)
Unsafe version of:
style_push_font |
static int |
nnk_style_push_style_item(long ctx,
long address,
long value)
Unsafe version of:
style_push_style_item |
static int |
nnk_style_push_vec2(long ctx,
long address,
long value)
Unsafe version of:
style_push_vec2 |
static int |
nnk_style_set_cursor(long ctx,
int style)
Unsafe version of:
style_set_cursor |
static void |
nnk_style_set_font(long ctx,
long font)
Unsafe version of:
style_set_font |
static void |
nnk_style_show_cursor(long ctx)
Unsafe version of:
style_show_cursor |
static void |
nnk_subimage_handle(long handle,
short w,
short h,
long sub_region,
long __result) |
static void |
nnk_subimage_id(int id,
short w,
short h,
long sub_region,
long __result) |
static void |
nnk_subimage_ptr(long ptr,
short w,
short h,
long sub_region,
long __result) |
static void |
nnk_text_colored(long ctx,
long str,
int len,
int alignment,
long color)
Unsafe version of:
text_colored |
static void |
nnk_text_wrap_colored(long ctx,
long str,
int len,
long color)
Unsafe version of:
text_wrap_colored |
static void |
nnk_text_wrap(long ctx,
long str,
int len)
Unsafe version of:
text_wrap |
static void |
nnk_text(long ctx,
long str,
int len,
int alignment)
Unsafe version of:
text |
static int |
nnk_textedit_cut(long box) |
static void |
nnk_textedit_delete_selection(long box) |
static void |
nnk_textedit_delete(long box,
int where,
int len) |
static void |
nnk_textedit_free(long box) |
static void |
nnk_textedit_init_fixed(long box,
long memory,
long size) |
static void |
nnk_textedit_init(long box,
long allocator,
long size) |
static int |
nnk_textedit_paste(long box,
long ctext,
int len) |
static void |
nnk_textedit_redo(long box) |
static void |
nnk_textedit_select_all(long box) |
static void |
nnk_textedit_text(long box,
long text,
int total_len) |
static void |
nnk_textedit_undo(long box) |
static int |
nnk_tooltip_begin(long ctx,
float width)
Unsafe version of:
tooltip_begin |
static void |
nnk_tooltip_end(long ctx)
Unsafe version of:
tooltip_end |
static void |
nnk_tooltip(long ctx,
long text)
Unsafe version of:
tooltip |
static int |
nnk_tree_element_image_push_hashed(long ctx,
int type,
long img,
long title,
int initial_state,
int[] selected,
long hash,
int len,
int seed)
|
static int |
nnk_tree_element_image_push_hashed(long ctx,
int type,
long img,
long title,
int initial_state,
long selected,
long hash,
int len,
int seed)
Unsafe version of:
tree_element_image_push_hashed |
static void |
nnk_tree_element_pop(long ctx)
Unsafe version of:
tree_element_pop |
static int |
nnk_tree_element_push_hashed(long ctx,
int type,
long title,
int initial_state,
int[] selected,
long hash,
int len,
int seed)
Array version of:
nnk_tree_element_push_hashed(long, int, long, int, long, long, int, int) |
static int |
nnk_tree_element_push_hashed(long ctx,
int type,
long title,
int initial_state,
long selected,
long hash,
int len,
int seed)
Unsafe version of:
tree_element_push_hashed |
static int |
nnk_tree_image_push_hashed(long ctx,
int type,
long img,
long title,
int initial_state,
long hash,
int len,
int seed)
Unsafe version of:
tree_image_push_hashed |
static void |
nnk_tree_pop(long ctx)
Unsafe version of:
tree_pop |
static int |
nnk_tree_push_hashed(long ctx,
int type,
long title,
int initial_state,
long hash,
int len,
int seed)
Unsafe version of:
tree_push_hashed |
static int |
nnk_tree_state_image_push(long ctx,
int type,
long image,
long title,
int[] state)
Array version of:
nnk_tree_state_image_push(long, int, long, long, long) |
static int |
nnk_tree_state_image_push(long ctx,
int type,
long image,
long title,
long state)
Unsafe version of:
tree_state_image_push |
static void |
nnk_tree_state_pop(long ctx)
Unsafe version of:
tree_state_pop |
static int |
nnk_tree_state_push(long ctx,
int type,
long title,
int[] state)
Array version of:
nnk_tree_state_push(long, int, long, long) |
static int |
nnk_tree_state_push(long ctx,
int type,
long title,
long state)
Unsafe version of:
tree_state_push |
static void |
nnk_triangle_from_direction(long result,
long r,
float pad_x,
float pad_y,
int direction)
Unsafe version of:
triangle_from_direction |
static long |
nnk_utf_at(long buffer,
int length,
int index,
int[] unicode,
long len)
Array version of:
nnk_utf_at(long, int, int, long, long) |
static long |
nnk_utf_at(long buffer,
int length,
int index,
long unicode,
long len) |
static int |
nnk_utf_decode(long c,
int[] u,
int clen)
Array version of:
nnk_utf_decode(long, long, int) |
static int |
nnk_utf_decode(long c,
long u,
int clen) |
static int |
nnk_utf_encode(int u,
long c,
int clen) |
static int |
nnk_utf_len(long str,
int byte_len) |
static void |
nnk_vec2(float x,
float y,
long __result) |
static void |
nnk_vec2i(int x,
int y,
long __result) |
static void |
nnk_vec2iv(int[] xy,
long __result)
Array version of:
nnk_vec2iv(long, long) |
static void |
nnk_vec2iv(long xy,
long __result) |
static void |
nnk_vec2v(float[] xy,
long __result)
Array version of:
nnk_vec2v(long, long) |
static void |
nnk_vec2v(long xy,
long __result) |
static void |
nnk_widget_bounds(long ctx,
long __result)
Unsafe version of:
widget_bounds |
static int |
nnk_widget_fitting(long bounds,
long ctx,
long item_padding)
Unsafe version of:
widget_fitting |
static int |
nnk_widget_has_mouse_click_down(long ctx,
int btn,
int down)
Unsafe version of:
widget_has_mouse_click_down |
static float |
nnk_widget_height(long ctx)
Unsafe version of:
widget_height |
static int |
nnk_widget_is_hovered(long ctx)
Unsafe version of:
widget_is_hovered |
static int |
nnk_widget_is_mouse_clicked(long ctx,
int btn)
Unsafe version of:
widget_is_mouse_clicked |
static void |
nnk_widget_position(long ctx,
long __result)
Unsafe version of:
widget_position |
static void |
nnk_widget_size(long ctx,
long __result)
Unsafe version of:
widget_size |
static float |
nnk_widget_width(long ctx)
Unsafe version of:
widget_width |
static int |
nnk_widget(long bounds,
long ctx)
Unsafe version of:
widget |
static void |
nnk_window_close(long ctx,
long name)
Unsafe version of:
window_close |
static void |
nnk_window_collapse_if(long ctx,
long name,
int c,
int cond)
Unsafe version of:
window_collapse_if |
static void |
nnk_window_collapse(long ctx,
long name,
int c)
Unsafe version of:
window_collapse |
static long |
nnk_window_find(long ctx,
long name)
Unsafe version of:
window_find |
static void |
nnk_window_get_bounds(long ctx,
long __result)
Unsafe version of:
window_get_bounds |
static long |
nnk_window_get_canvas(long ctx)
Unsafe version of:
window_get_canvas |
static void |
nnk_window_get_content_region_max(long ctx,
long __result)
Unsafe version of:
window_get_content_region_max |
static void |
nnk_window_get_content_region_min(long ctx,
long __result)
Unsafe version of:
window_get_content_region_min |
static void |
nnk_window_get_content_region_size(long ctx,
long __result)
Unsafe version of:
window_get_content_region_size |
static void |
nnk_window_get_content_region(long ctx,
long __result)
Unsafe version of:
window_get_content_region |
static float |
nnk_window_get_height(long ctx)
Unsafe version of:
window_get_height |
static long |
nnk_window_get_panel(long ctx)
Unsafe version of:
window_get_panel |
static void |
nnk_window_get_position(long ctx,
long __result)
Unsafe version of:
window_get_position |
static void |
nnk_window_get_scroll(long ctx,
int[] offset_x,
int[] offset_y)
Array version of:
nnk_window_get_scroll(long, long, long) |
static void |
nnk_window_get_scroll(long ctx,
long offset_x,
long offset_y)
Unsafe version of:
window_get_scroll |
static void |
nnk_window_get_size(long ctx,
long __result)
Unsafe version of:
window_get_size |
static float |
nnk_window_get_width(long ctx)
Unsafe version of:
window_get_width |
static int |
nnk_window_has_focus(long ctx)
Unsafe version of:
window_has_focus |
static int |
nnk_window_is_active(long ctx,
long name)
Unsafe version of:
window_is_active |
static int |
nnk_window_is_any_hovered(long ctx)
Unsafe version of:
window_is_any_hovered |
static int |
nnk_window_is_closed(long ctx,
long name)
Unsafe version of:
window_is_closed |
static int |
nnk_window_is_collapsed(long ctx,
long name)
Unsafe version of:
window_is_collapsed |
static int |
nnk_window_is_hidden(long ctx,
long name)
Unsafe version of:
window_is_hidden |
static int |
nnk_window_is_hovered(long ctx)
Unsafe version of:
window_is_hovered |
static void |
nnk_window_set_bounds(long ctx,
long name,
long bounds)
Unsafe version of:
window_set_bounds |
static void |
nnk_window_set_focus(long ctx,
long name)
Unsafe version of:
window_set_focus |
static void |
nnk_window_set_position(long ctx,
long name,
long position)
Unsafe version of:
window_set_position |
static void |
nnk_window_set_scroll(long ctx,
int offset_x,
int offset_y)
Unsafe version of:
window_set_scroll |
static void |
nnk_window_set_size(long ctx,
long name,
long size)
Unsafe version of:
window_set_size |
static void |
nnk_window_show_if(long ctx,
long name,
int s,
int cond)
Unsafe version of:
window_show_if |
static void |
nnk_window_show(long ctx,
long name,
int s)
Unsafe version of:
window_show |
public static final int NK_UTF_INVALID
public static final int NK_UTF_SIZE
public static final int NK_INPUT_MAX
public static final int NK_MAX_NUMBER_BUFFER
public static final float NK_UNDEFINED
public static final float NK_SCROLLBAR_HIDING_TIMEOUT
public static final int nk_false
public static final int nk_true
public static final int NK_UP
public static final int NK_RIGHT
public static final int NK_DOWN
public static final int NK_LEFT
public static final int NK_BUTTON_DEFAULT
public static final int NK_BUTTON_REPEATER
public static final int NK_FIXED
public static final int NK_MODIFIABLE
public static final int NK_VERTICAL
public static final int NK_HORIZONTAL
public static final int NK_MINIMIZED
public static final int NK_MAXIMIZED
public static final int NK_HIDDEN
public static final int NK_SHOWN
public static final int NK_CHART_LINES
public static final int NK_CHART_COLUMN
public static final int NK_CHART_MAX
public static final int NK_CHART_HOVERING
public static final int NK_CHART_CLICKED
public static final int NK_RGB
public static final int NK_RGBA
public static final int NK_POPUP_STATIC
public static final int NK_POPUP_DYNAMIC
public static final int NK_DYNAMIC
public static final int NK_STATIC
public static final int NK_TREE_NODE
public static final int NK_TREE_TAB
public static final int NK_ANTI_ALIASING_OFF
public static final int NK_ANTI_ALIASING_ON
public static final int NK_CONVERT_SUCCESS
public static final int NK_CONVERT_INVALID_PARAM
public static final int NK_CONVERT_COMMAND_BUFFER_FULL
public static final int NK_CONVERT_VERTEX_BUFFER_FULL
public static final int NK_CONVERT_ELEMENT_BUFFER_FULL
public static final int NK_SYMBOL_NONE
public static final int NK_SYMBOL_X
public static final int NK_SYMBOL_UNDERSCORE
public static final int NK_SYMBOL_CIRCLE_SOLID
public static final int NK_SYMBOL_CIRCLE_OUTLINE
public static final int NK_SYMBOL_RECT_SOLID
public static final int NK_SYMBOL_RECT_OUTLINE
public static final int NK_SYMBOL_TRIANGLE_UP
public static final int NK_SYMBOL_TRIANGLE_DOWN
public static final int NK_SYMBOL_TRIANGLE_LEFT
public static final int NK_SYMBOL_TRIANGLE_RIGHT
public static final int NK_SYMBOL_PLUS
public static final int NK_SYMBOL_MINUS
public static final int NK_SYMBOL_MAX
public static final int NK_KEY_NONE
KEY_NONEKEY_SHIFTKEY_CTRLKEY_DELKEY_ENTERKEY_TABKEY_BACKSPACEKEY_COPYKEY_CUTKEY_PASTEKEY_UPKEY_DOWNKEY_LEFTKEY_RIGHTKEY_TEXT_INSERT_MODEKEY_TEXT_REPLACE_MODEKEY_TEXT_RESET_MODEKEY_TEXT_LINE_STARTKEY_TEXT_LINE_ENDKEY_TEXT_STARTKEY_TEXT_ENDKEY_TEXT_UNDOKEY_TEXT_REDOKEY_TEXT_SELECT_ALLKEY_TEXT_WORD_LEFTKEY_TEXT_WORD_RIGHTKEY_SCROLL_STARTKEY_SCROLL_ENDKEY_SCROLL_DOWNKEY_SCROLL_UPKEY_MAXpublic static final int NK_KEY_SHIFT
KEY_NONEKEY_SHIFTKEY_CTRLKEY_DELKEY_ENTERKEY_TABKEY_BACKSPACEKEY_COPYKEY_CUTKEY_PASTEKEY_UPKEY_DOWNKEY_LEFTKEY_RIGHTKEY_TEXT_INSERT_MODEKEY_TEXT_REPLACE_MODEKEY_TEXT_RESET_MODEKEY_TEXT_LINE_STARTKEY_TEXT_LINE_ENDKEY_TEXT_STARTKEY_TEXT_ENDKEY_TEXT_UNDOKEY_TEXT_REDOKEY_TEXT_SELECT_ALLKEY_TEXT_WORD_LEFTKEY_TEXT_WORD_RIGHTKEY_SCROLL_STARTKEY_SCROLL_ENDKEY_SCROLL_DOWNKEY_SCROLL_UPKEY_MAXpublic static final int NK_KEY_CTRL
KEY_NONEKEY_SHIFTKEY_CTRLKEY_DELKEY_ENTERKEY_TABKEY_BACKSPACEKEY_COPYKEY_CUTKEY_PASTEKEY_UPKEY_DOWNKEY_LEFTKEY_RIGHTKEY_TEXT_INSERT_MODEKEY_TEXT_REPLACE_MODEKEY_TEXT_RESET_MODEKEY_TEXT_LINE_STARTKEY_TEXT_LINE_ENDKEY_TEXT_STARTKEY_TEXT_ENDKEY_TEXT_UNDOKEY_TEXT_REDOKEY_TEXT_SELECT_ALLKEY_TEXT_WORD_LEFTKEY_TEXT_WORD_RIGHTKEY_SCROLL_STARTKEY_SCROLL_ENDKEY_SCROLL_DOWNKEY_SCROLL_UPKEY_MAXpublic static final int NK_KEY_DEL
KEY_NONEKEY_SHIFTKEY_CTRLKEY_DELKEY_ENTERKEY_TABKEY_BACKSPACEKEY_COPYKEY_CUTKEY_PASTEKEY_UPKEY_DOWNKEY_LEFTKEY_RIGHTKEY_TEXT_INSERT_MODEKEY_TEXT_REPLACE_MODEKEY_TEXT_RESET_MODEKEY_TEXT_LINE_STARTKEY_TEXT_LINE_ENDKEY_TEXT_STARTKEY_TEXT_ENDKEY_TEXT_UNDOKEY_TEXT_REDOKEY_TEXT_SELECT_ALLKEY_TEXT_WORD_LEFTKEY_TEXT_WORD_RIGHTKEY_SCROLL_STARTKEY_SCROLL_ENDKEY_SCROLL_DOWNKEY_SCROLL_UPKEY_MAXpublic static final int NK_KEY_ENTER
KEY_NONEKEY_SHIFTKEY_CTRLKEY_DELKEY_ENTERKEY_TABKEY_BACKSPACEKEY_COPYKEY_CUTKEY_PASTEKEY_UPKEY_DOWNKEY_LEFTKEY_RIGHTKEY_TEXT_INSERT_MODEKEY_TEXT_REPLACE_MODEKEY_TEXT_RESET_MODEKEY_TEXT_LINE_STARTKEY_TEXT_LINE_ENDKEY_TEXT_STARTKEY_TEXT_ENDKEY_TEXT_UNDOKEY_TEXT_REDOKEY_TEXT_SELECT_ALLKEY_TEXT_WORD_LEFTKEY_TEXT_WORD_RIGHTKEY_SCROLL_STARTKEY_SCROLL_ENDKEY_SCROLL_DOWNKEY_SCROLL_UPKEY_MAXpublic static final int NK_KEY_TAB
KEY_NONEKEY_SHIFTKEY_CTRLKEY_DELKEY_ENTERKEY_TABKEY_BACKSPACEKEY_COPYKEY_CUTKEY_PASTEKEY_UPKEY_DOWNKEY_LEFTKEY_RIGHTKEY_TEXT_INSERT_MODEKEY_TEXT_REPLACE_MODEKEY_TEXT_RESET_MODEKEY_TEXT_LINE_STARTKEY_TEXT_LINE_ENDKEY_TEXT_STARTKEY_TEXT_ENDKEY_TEXT_UNDOKEY_TEXT_REDOKEY_TEXT_SELECT_ALLKEY_TEXT_WORD_LEFTKEY_TEXT_WORD_RIGHTKEY_SCROLL_STARTKEY_SCROLL_ENDKEY_SCROLL_DOWNKEY_SCROLL_UPKEY_MAXpublic static final int NK_KEY_BACKSPACE
KEY_NONEKEY_SHIFTKEY_CTRLKEY_DELKEY_ENTERKEY_TABKEY_BACKSPACEKEY_COPYKEY_CUTKEY_PASTEKEY_UPKEY_DOWNKEY_LEFTKEY_RIGHTKEY_TEXT_INSERT_MODEKEY_TEXT_REPLACE_MODEKEY_TEXT_RESET_MODEKEY_TEXT_LINE_STARTKEY_TEXT_LINE_ENDKEY_TEXT_STARTKEY_TEXT_ENDKEY_TEXT_UNDOKEY_TEXT_REDOKEY_TEXT_SELECT_ALLKEY_TEXT_WORD_LEFTKEY_TEXT_WORD_RIGHTKEY_SCROLL_STARTKEY_SCROLL_ENDKEY_SCROLL_DOWNKEY_SCROLL_UPKEY_MAXpublic static final int NK_KEY_COPY
KEY_NONEKEY_SHIFTKEY_CTRLKEY_DELKEY_ENTERKEY_TABKEY_BACKSPACEKEY_COPYKEY_CUTKEY_PASTEKEY_UPKEY_DOWNKEY_LEFTKEY_RIGHTKEY_TEXT_INSERT_MODEKEY_TEXT_REPLACE_MODEKEY_TEXT_RESET_MODEKEY_TEXT_LINE_STARTKEY_TEXT_LINE_ENDKEY_TEXT_STARTKEY_TEXT_ENDKEY_TEXT_UNDOKEY_TEXT_REDOKEY_TEXT_SELECT_ALLKEY_TEXT_WORD_LEFTKEY_TEXT_WORD_RIGHTKEY_SCROLL_STARTKEY_SCROLL_ENDKEY_SCROLL_DOWNKEY_SCROLL_UPKEY_MAXpublic static final int NK_KEY_CUT
KEY_NONEKEY_SHIFTKEY_CTRLKEY_DELKEY_ENTERKEY_TABKEY_BACKSPACEKEY_COPYKEY_CUTKEY_PASTEKEY_UPKEY_DOWNKEY_LEFTKEY_RIGHTKEY_TEXT_INSERT_MODEKEY_TEXT_REPLACE_MODEKEY_TEXT_RESET_MODEKEY_TEXT_LINE_STARTKEY_TEXT_LINE_ENDKEY_TEXT_STARTKEY_TEXT_ENDKEY_TEXT_UNDOKEY_TEXT_REDOKEY_TEXT_SELECT_ALLKEY_TEXT_WORD_LEFTKEY_TEXT_WORD_RIGHTKEY_SCROLL_STARTKEY_SCROLL_ENDKEY_SCROLL_DOWNKEY_SCROLL_UPKEY_MAXpublic static final int NK_KEY_PASTE
KEY_NONEKEY_SHIFTKEY_CTRLKEY_DELKEY_ENTERKEY_TABKEY_BACKSPACEKEY_COPYKEY_CUTKEY_PASTEKEY_UPKEY_DOWNKEY_LEFTKEY_RIGHTKEY_TEXT_INSERT_MODEKEY_TEXT_REPLACE_MODEKEY_TEXT_RESET_MODEKEY_TEXT_LINE_STARTKEY_TEXT_LINE_ENDKEY_TEXT_STARTKEY_TEXT_ENDKEY_TEXT_UNDOKEY_TEXT_REDOKEY_TEXT_SELECT_ALLKEY_TEXT_WORD_LEFTKEY_TEXT_WORD_RIGHTKEY_SCROLL_STARTKEY_SCROLL_ENDKEY_SCROLL_DOWNKEY_SCROLL_UPKEY_MAXpublic static final int NK_KEY_UP
KEY_NONEKEY_SHIFTKEY_CTRLKEY_DELKEY_ENTERKEY_TABKEY_BACKSPACEKEY_COPYKEY_CUTKEY_PASTEKEY_UPKEY_DOWNKEY_LEFTKEY_RIGHTKEY_TEXT_INSERT_MODEKEY_TEXT_REPLACE_MODEKEY_TEXT_RESET_MODEKEY_TEXT_LINE_STARTKEY_TEXT_LINE_ENDKEY_TEXT_STARTKEY_TEXT_ENDKEY_TEXT_UNDOKEY_TEXT_REDOKEY_TEXT_SELECT_ALLKEY_TEXT_WORD_LEFTKEY_TEXT_WORD_RIGHTKEY_SCROLL_STARTKEY_SCROLL_ENDKEY_SCROLL_DOWNKEY_SCROLL_UPKEY_MAXpublic static final int NK_KEY_DOWN
KEY_NONEKEY_SHIFTKEY_CTRLKEY_DELKEY_ENTERKEY_TABKEY_BACKSPACEKEY_COPYKEY_CUTKEY_PASTEKEY_UPKEY_DOWNKEY_LEFTKEY_RIGHTKEY_TEXT_INSERT_MODEKEY_TEXT_REPLACE_MODEKEY_TEXT_RESET_MODEKEY_TEXT_LINE_STARTKEY_TEXT_LINE_ENDKEY_TEXT_STARTKEY_TEXT_ENDKEY_TEXT_UNDOKEY_TEXT_REDOKEY_TEXT_SELECT_ALLKEY_TEXT_WORD_LEFTKEY_TEXT_WORD_RIGHTKEY_SCROLL_STARTKEY_SCROLL_ENDKEY_SCROLL_DOWNKEY_SCROLL_UPKEY_MAXpublic static final int NK_KEY_LEFT
KEY_NONEKEY_SHIFTKEY_CTRLKEY_DELKEY_ENTERKEY_TABKEY_BACKSPACEKEY_COPYKEY_CUTKEY_PASTEKEY_UPKEY_DOWNKEY_LEFTKEY_RIGHTKEY_TEXT_INSERT_MODEKEY_TEXT_REPLACE_MODEKEY_TEXT_RESET_MODEKEY_TEXT_LINE_STARTKEY_TEXT_LINE_ENDKEY_TEXT_STARTKEY_TEXT_ENDKEY_TEXT_UNDOKEY_TEXT_REDOKEY_TEXT_SELECT_ALLKEY_TEXT_WORD_LEFTKEY_TEXT_WORD_RIGHTKEY_SCROLL_STARTKEY_SCROLL_ENDKEY_SCROLL_DOWNKEY_SCROLL_UPKEY_MAXpublic static final int NK_KEY_RIGHT
KEY_NONEKEY_SHIFTKEY_CTRLKEY_DELKEY_ENTERKEY_TABKEY_BACKSPACEKEY_COPYKEY_CUTKEY_PASTEKEY_UPKEY_DOWNKEY_LEFTKEY_RIGHTKEY_TEXT_INSERT_MODEKEY_TEXT_REPLACE_MODEKEY_TEXT_RESET_MODEKEY_TEXT_LINE_STARTKEY_TEXT_LINE_ENDKEY_TEXT_STARTKEY_TEXT_ENDKEY_TEXT_UNDOKEY_TEXT_REDOKEY_TEXT_SELECT_ALLKEY_TEXT_WORD_LEFTKEY_TEXT_WORD_RIGHTKEY_SCROLL_STARTKEY_SCROLL_ENDKEY_SCROLL_DOWNKEY_SCROLL_UPKEY_MAXpublic static final int NK_KEY_TEXT_INSERT_MODE
KEY_NONEKEY_SHIFTKEY_CTRLKEY_DELKEY_ENTERKEY_TABKEY_BACKSPACEKEY_COPYKEY_CUTKEY_PASTEKEY_UPKEY_DOWNKEY_LEFTKEY_RIGHTKEY_TEXT_INSERT_MODEKEY_TEXT_REPLACE_MODEKEY_TEXT_RESET_MODEKEY_TEXT_LINE_STARTKEY_TEXT_LINE_ENDKEY_TEXT_STARTKEY_TEXT_ENDKEY_TEXT_UNDOKEY_TEXT_REDOKEY_TEXT_SELECT_ALLKEY_TEXT_WORD_LEFTKEY_TEXT_WORD_RIGHTKEY_SCROLL_STARTKEY_SCROLL_ENDKEY_SCROLL_DOWNKEY_SCROLL_UPKEY_MAXpublic static final int NK_KEY_TEXT_REPLACE_MODE
KEY_NONEKEY_SHIFTKEY_CTRLKEY_DELKEY_ENTERKEY_TABKEY_BACKSPACEKEY_COPYKEY_CUTKEY_PASTEKEY_UPKEY_DOWNKEY_LEFTKEY_RIGHTKEY_TEXT_INSERT_MODEKEY_TEXT_REPLACE_MODEKEY_TEXT_RESET_MODEKEY_TEXT_LINE_STARTKEY_TEXT_LINE_ENDKEY_TEXT_STARTKEY_TEXT_ENDKEY_TEXT_UNDOKEY_TEXT_REDOKEY_TEXT_SELECT_ALLKEY_TEXT_WORD_LEFTKEY_TEXT_WORD_RIGHTKEY_SCROLL_STARTKEY_SCROLL_ENDKEY_SCROLL_DOWNKEY_SCROLL_UPKEY_MAXpublic static final int NK_KEY_TEXT_RESET_MODE
KEY_NONEKEY_SHIFTKEY_CTRLKEY_DELKEY_ENTERKEY_TABKEY_BACKSPACEKEY_COPYKEY_CUTKEY_PASTEKEY_UPKEY_DOWNKEY_LEFTKEY_RIGHTKEY_TEXT_INSERT_MODEKEY_TEXT_REPLACE_MODEKEY_TEXT_RESET_MODEKEY_TEXT_LINE_STARTKEY_TEXT_LINE_ENDKEY_TEXT_STARTKEY_TEXT_ENDKEY_TEXT_UNDOKEY_TEXT_REDOKEY_TEXT_SELECT_ALLKEY_TEXT_WORD_LEFTKEY_TEXT_WORD_RIGHTKEY_SCROLL_STARTKEY_SCROLL_ENDKEY_SCROLL_DOWNKEY_SCROLL_UPKEY_MAXpublic static final int NK_KEY_TEXT_LINE_START
KEY_NONEKEY_SHIFTKEY_CTRLKEY_DELKEY_ENTERKEY_TABKEY_BACKSPACEKEY_COPYKEY_CUTKEY_PASTEKEY_UPKEY_DOWNKEY_LEFTKEY_RIGHTKEY_TEXT_INSERT_MODEKEY_TEXT_REPLACE_MODEKEY_TEXT_RESET_MODEKEY_TEXT_LINE_STARTKEY_TEXT_LINE_ENDKEY_TEXT_STARTKEY_TEXT_ENDKEY_TEXT_UNDOKEY_TEXT_REDOKEY_TEXT_SELECT_ALLKEY_TEXT_WORD_LEFTKEY_TEXT_WORD_RIGHTKEY_SCROLL_STARTKEY_SCROLL_ENDKEY_SCROLL_DOWNKEY_SCROLL_UPKEY_MAXpublic static final int NK_KEY_TEXT_LINE_END
KEY_NONEKEY_SHIFTKEY_CTRLKEY_DELKEY_ENTERKEY_TABKEY_BACKSPACEKEY_COPYKEY_CUTKEY_PASTEKEY_UPKEY_DOWNKEY_LEFTKEY_RIGHTKEY_TEXT_INSERT_MODEKEY_TEXT_REPLACE_MODEKEY_TEXT_RESET_MODEKEY_TEXT_LINE_STARTKEY_TEXT_LINE_ENDKEY_TEXT_STARTKEY_TEXT_ENDKEY_TEXT_UNDOKEY_TEXT_REDOKEY_TEXT_SELECT_ALLKEY_TEXT_WORD_LEFTKEY_TEXT_WORD_RIGHTKEY_SCROLL_STARTKEY_SCROLL_ENDKEY_SCROLL_DOWNKEY_SCROLL_UPKEY_MAXpublic static final int NK_KEY_TEXT_START
KEY_NONEKEY_SHIFTKEY_CTRLKEY_DELKEY_ENTERKEY_TABKEY_BACKSPACEKEY_COPYKEY_CUTKEY_PASTEKEY_UPKEY_DOWNKEY_LEFTKEY_RIGHTKEY_TEXT_INSERT_MODEKEY_TEXT_REPLACE_MODEKEY_TEXT_RESET_MODEKEY_TEXT_LINE_STARTKEY_TEXT_LINE_ENDKEY_TEXT_STARTKEY_TEXT_ENDKEY_TEXT_UNDOKEY_TEXT_REDOKEY_TEXT_SELECT_ALLKEY_TEXT_WORD_LEFTKEY_TEXT_WORD_RIGHTKEY_SCROLL_STARTKEY_SCROLL_ENDKEY_SCROLL_DOWNKEY_SCROLL_UPKEY_MAXpublic static final int NK_KEY_TEXT_END
KEY_NONEKEY_SHIFTKEY_CTRLKEY_DELKEY_ENTERKEY_TABKEY_BACKSPACEKEY_COPYKEY_CUTKEY_PASTEKEY_UPKEY_DOWNKEY_LEFTKEY_RIGHTKEY_TEXT_INSERT_MODEKEY_TEXT_REPLACE_MODEKEY_TEXT_RESET_MODEKEY_TEXT_LINE_STARTKEY_TEXT_LINE_ENDKEY_TEXT_STARTKEY_TEXT_ENDKEY_TEXT_UNDOKEY_TEXT_REDOKEY_TEXT_SELECT_ALLKEY_TEXT_WORD_LEFTKEY_TEXT_WORD_RIGHTKEY_SCROLL_STARTKEY_SCROLL_ENDKEY_SCROLL_DOWNKEY_SCROLL_UPKEY_MAXpublic static final int NK_KEY_TEXT_UNDO
KEY_NONEKEY_SHIFTKEY_CTRLKEY_DELKEY_ENTERKEY_TABKEY_BACKSPACEKEY_COPYKEY_CUTKEY_PASTEKEY_UPKEY_DOWNKEY_LEFTKEY_RIGHTKEY_TEXT_INSERT_MODEKEY_TEXT_REPLACE_MODEKEY_TEXT_RESET_MODEKEY_TEXT_LINE_STARTKEY_TEXT_LINE_ENDKEY_TEXT_STARTKEY_TEXT_ENDKEY_TEXT_UNDOKEY_TEXT_REDOKEY_TEXT_SELECT_ALLKEY_TEXT_WORD_LEFTKEY_TEXT_WORD_RIGHTKEY_SCROLL_STARTKEY_SCROLL_ENDKEY_SCROLL_DOWNKEY_SCROLL_UPKEY_MAXpublic static final int NK_KEY_TEXT_REDO
KEY_NONEKEY_SHIFTKEY_CTRLKEY_DELKEY_ENTERKEY_TABKEY_BACKSPACEKEY_COPYKEY_CUTKEY_PASTEKEY_UPKEY_DOWNKEY_LEFTKEY_RIGHTKEY_TEXT_INSERT_MODEKEY_TEXT_REPLACE_MODEKEY_TEXT_RESET_MODEKEY_TEXT_LINE_STARTKEY_TEXT_LINE_ENDKEY_TEXT_STARTKEY_TEXT_ENDKEY_TEXT_UNDOKEY_TEXT_REDOKEY_TEXT_SELECT_ALLKEY_TEXT_WORD_LEFTKEY_TEXT_WORD_RIGHTKEY_SCROLL_STARTKEY_SCROLL_ENDKEY_SCROLL_DOWNKEY_SCROLL_UPKEY_MAXpublic static final int NK_KEY_TEXT_SELECT_ALL
KEY_NONEKEY_SHIFTKEY_CTRLKEY_DELKEY_ENTERKEY_TABKEY_BACKSPACEKEY_COPYKEY_CUTKEY_PASTEKEY_UPKEY_DOWNKEY_LEFTKEY_RIGHTKEY_TEXT_INSERT_MODEKEY_TEXT_REPLACE_MODEKEY_TEXT_RESET_MODEKEY_TEXT_LINE_STARTKEY_TEXT_LINE_ENDKEY_TEXT_STARTKEY_TEXT_ENDKEY_TEXT_UNDOKEY_TEXT_REDOKEY_TEXT_SELECT_ALLKEY_TEXT_WORD_LEFTKEY_TEXT_WORD_RIGHTKEY_SCROLL_STARTKEY_SCROLL_ENDKEY_SCROLL_DOWNKEY_SCROLL_UPKEY_MAXpublic static final int NK_KEY_TEXT_WORD_LEFT
KEY_NONEKEY_SHIFTKEY_CTRLKEY_DELKEY_ENTERKEY_TABKEY_BACKSPACEKEY_COPYKEY_CUTKEY_PASTEKEY_UPKEY_DOWNKEY_LEFTKEY_RIGHTKEY_TEXT_INSERT_MODEKEY_TEXT_REPLACE_MODEKEY_TEXT_RESET_MODEKEY_TEXT_LINE_STARTKEY_TEXT_LINE_ENDKEY_TEXT_STARTKEY_TEXT_ENDKEY_TEXT_UNDOKEY_TEXT_REDOKEY_TEXT_SELECT_ALLKEY_TEXT_WORD_LEFTKEY_TEXT_WORD_RIGHTKEY_SCROLL_STARTKEY_SCROLL_ENDKEY_SCROLL_DOWNKEY_SCROLL_UPKEY_MAXpublic static final int NK_KEY_TEXT_WORD_RIGHT
KEY_NONEKEY_SHIFTKEY_CTRLKEY_DELKEY_ENTERKEY_TABKEY_BACKSPACEKEY_COPYKEY_CUTKEY_PASTEKEY_UPKEY_DOWNKEY_LEFTKEY_RIGHTKEY_TEXT_INSERT_MODEKEY_TEXT_REPLACE_MODEKEY_TEXT_RESET_MODEKEY_TEXT_LINE_STARTKEY_TEXT_LINE_ENDKEY_TEXT_STARTKEY_TEXT_ENDKEY_TEXT_UNDOKEY_TEXT_REDOKEY_TEXT_SELECT_ALLKEY_TEXT_WORD_LEFTKEY_TEXT_WORD_RIGHTKEY_SCROLL_STARTKEY_SCROLL_ENDKEY_SCROLL_DOWNKEY_SCROLL_UPKEY_MAXpublic static final int NK_KEY_SCROLL_START
KEY_NONEKEY_SHIFTKEY_CTRLKEY_DELKEY_ENTERKEY_TABKEY_BACKSPACEKEY_COPYKEY_CUTKEY_PASTEKEY_UPKEY_DOWNKEY_LEFTKEY_RIGHTKEY_TEXT_INSERT_MODEKEY_TEXT_REPLACE_MODEKEY_TEXT_RESET_MODEKEY_TEXT_LINE_STARTKEY_TEXT_LINE_ENDKEY_TEXT_STARTKEY_TEXT_ENDKEY_TEXT_UNDOKEY_TEXT_REDOKEY_TEXT_SELECT_ALLKEY_TEXT_WORD_LEFTKEY_TEXT_WORD_RIGHTKEY_SCROLL_STARTKEY_SCROLL_ENDKEY_SCROLL_DOWNKEY_SCROLL_UPKEY_MAXpublic static final int NK_KEY_SCROLL_END
KEY_NONEKEY_SHIFTKEY_CTRLKEY_DELKEY_ENTERKEY_TABKEY_BACKSPACEKEY_COPYKEY_CUTKEY_PASTEKEY_UPKEY_DOWNKEY_LEFTKEY_RIGHTKEY_TEXT_INSERT_MODEKEY_TEXT_REPLACE_MODEKEY_TEXT_RESET_MODEKEY_TEXT_LINE_STARTKEY_TEXT_LINE_ENDKEY_TEXT_STARTKEY_TEXT_ENDKEY_TEXT_UNDOKEY_TEXT_REDOKEY_TEXT_SELECT_ALLKEY_TEXT_WORD_LEFTKEY_TEXT_WORD_RIGHTKEY_SCROLL_STARTKEY_SCROLL_ENDKEY_SCROLL_DOWNKEY_SCROLL_UPKEY_MAXpublic static final int NK_KEY_SCROLL_DOWN
KEY_NONEKEY_SHIFTKEY_CTRLKEY_DELKEY_ENTERKEY_TABKEY_BACKSPACEKEY_COPYKEY_CUTKEY_PASTEKEY_UPKEY_DOWNKEY_LEFTKEY_RIGHTKEY_TEXT_INSERT_MODEKEY_TEXT_REPLACE_MODEKEY_TEXT_RESET_MODEKEY_TEXT_LINE_STARTKEY_TEXT_LINE_ENDKEY_TEXT_STARTKEY_TEXT_ENDKEY_TEXT_UNDOKEY_TEXT_REDOKEY_TEXT_SELECT_ALLKEY_TEXT_WORD_LEFTKEY_TEXT_WORD_RIGHTKEY_SCROLL_STARTKEY_SCROLL_ENDKEY_SCROLL_DOWNKEY_SCROLL_UPKEY_MAXpublic static final int NK_KEY_SCROLL_UP
KEY_NONEKEY_SHIFTKEY_CTRLKEY_DELKEY_ENTERKEY_TABKEY_BACKSPACEKEY_COPYKEY_CUTKEY_PASTEKEY_UPKEY_DOWNKEY_LEFTKEY_RIGHTKEY_TEXT_INSERT_MODEKEY_TEXT_REPLACE_MODEKEY_TEXT_RESET_MODEKEY_TEXT_LINE_STARTKEY_TEXT_LINE_ENDKEY_TEXT_STARTKEY_TEXT_ENDKEY_TEXT_UNDOKEY_TEXT_REDOKEY_TEXT_SELECT_ALLKEY_TEXT_WORD_LEFTKEY_TEXT_WORD_RIGHTKEY_SCROLL_STARTKEY_SCROLL_ENDKEY_SCROLL_DOWNKEY_SCROLL_UPKEY_MAXpublic static final int NK_KEY_MAX
KEY_NONEKEY_SHIFTKEY_CTRLKEY_DELKEY_ENTERKEY_TABKEY_BACKSPACEKEY_COPYKEY_CUTKEY_PASTEKEY_UPKEY_DOWNKEY_LEFTKEY_RIGHTKEY_TEXT_INSERT_MODEKEY_TEXT_REPLACE_MODEKEY_TEXT_RESET_MODEKEY_TEXT_LINE_STARTKEY_TEXT_LINE_ENDKEY_TEXT_STARTKEY_TEXT_ENDKEY_TEXT_UNDOKEY_TEXT_REDOKEY_TEXT_SELECT_ALLKEY_TEXT_WORD_LEFTKEY_TEXT_WORD_RIGHTKEY_SCROLL_STARTKEY_SCROLL_ENDKEY_SCROLL_DOWNKEY_SCROLL_UPKEY_MAXpublic static final int NK_BUTTON_LEFT
public static final int NK_BUTTON_MIDDLE
public static final int NK_BUTTON_RIGHT
public static final int NK_BUTTON_DOUBLE
public static final int NK_BUTTON_MAX
public static final int NK_COLOR_TEXT
COLOR_TEXTCOLOR_WINDOWCOLOR_HEADERCOLOR_BORDERCOLOR_BUTTONCOLOR_BUTTON_HOVERCOLOR_BUTTON_ACTIVECOLOR_TOGGLECOLOR_TOGGLE_HOVERCOLOR_TOGGLE_CURSORCOLOR_SELECTCOLOR_SELECT_ACTIVECOLOR_SLIDERCOLOR_SLIDER_CURSORCOLOR_SLIDER_CURSOR_HOVERCOLOR_SLIDER_CURSOR_ACTIVECOLOR_PROPERTYCOLOR_EDITCOLOR_EDIT_CURSORCOLOR_COMBOCOLOR_CHARTCOLOR_CHART_COLORCOLOR_CHART_COLOR_HIGHLIGHTCOLOR_SCROLLBARCOLOR_SCROLLBAR_CURSORCOLOR_SCROLLBAR_CURSOR_HOVERCOLOR_SCROLLBAR_CURSOR_ACTIVECOLOR_TAB_HEADERCOLOR_COUNTpublic static final int NK_COLOR_WINDOW
COLOR_TEXTCOLOR_WINDOWCOLOR_HEADERCOLOR_BORDERCOLOR_BUTTONCOLOR_BUTTON_HOVERCOLOR_BUTTON_ACTIVECOLOR_TOGGLECOLOR_TOGGLE_HOVERCOLOR_TOGGLE_CURSORCOLOR_SELECTCOLOR_SELECT_ACTIVECOLOR_SLIDERCOLOR_SLIDER_CURSORCOLOR_SLIDER_CURSOR_HOVERCOLOR_SLIDER_CURSOR_ACTIVECOLOR_PROPERTYCOLOR_EDITCOLOR_EDIT_CURSORCOLOR_COMBOCOLOR_CHARTCOLOR_CHART_COLORCOLOR_CHART_COLOR_HIGHLIGHTCOLOR_SCROLLBARCOLOR_SCROLLBAR_CURSORCOLOR_SCROLLBAR_CURSOR_HOVERCOLOR_SCROLLBAR_CURSOR_ACTIVECOLOR_TAB_HEADERCOLOR_COUNTpublic static final int NK_COLOR_HEADER
COLOR_TEXTCOLOR_WINDOWCOLOR_HEADERCOLOR_BORDERCOLOR_BUTTONCOLOR_BUTTON_HOVERCOLOR_BUTTON_ACTIVECOLOR_TOGGLECOLOR_TOGGLE_HOVERCOLOR_TOGGLE_CURSORCOLOR_SELECTCOLOR_SELECT_ACTIVECOLOR_SLIDERCOLOR_SLIDER_CURSORCOLOR_SLIDER_CURSOR_HOVERCOLOR_SLIDER_CURSOR_ACTIVECOLOR_PROPERTYCOLOR_EDITCOLOR_EDIT_CURSORCOLOR_COMBOCOLOR_CHARTCOLOR_CHART_COLORCOLOR_CHART_COLOR_HIGHLIGHTCOLOR_SCROLLBARCOLOR_SCROLLBAR_CURSORCOLOR_SCROLLBAR_CURSOR_HOVERCOLOR_SCROLLBAR_CURSOR_ACTIVECOLOR_TAB_HEADERCOLOR_COUNTpublic static final int NK_COLOR_BORDER
COLOR_TEXTCOLOR_WINDOWCOLOR_HEADERCOLOR_BORDERCOLOR_BUTTONCOLOR_BUTTON_HOVERCOLOR_BUTTON_ACTIVECOLOR_TOGGLECOLOR_TOGGLE_HOVERCOLOR_TOGGLE_CURSORCOLOR_SELECTCOLOR_SELECT_ACTIVECOLOR_SLIDERCOLOR_SLIDER_CURSORCOLOR_SLIDER_CURSOR_HOVERCOLOR_SLIDER_CURSOR_ACTIVECOLOR_PROPERTYCOLOR_EDITCOLOR_EDIT_CURSORCOLOR_COMBOCOLOR_CHARTCOLOR_CHART_COLORCOLOR_CHART_COLOR_HIGHLIGHTCOLOR_SCROLLBARCOLOR_SCROLLBAR_CURSORCOLOR_SCROLLBAR_CURSOR_HOVERCOLOR_SCROLLBAR_CURSOR_ACTIVECOLOR_TAB_HEADERCOLOR_COUNTpublic static final int NK_COLOR_BUTTON
COLOR_TEXTCOLOR_WINDOWCOLOR_HEADERCOLOR_BORDERCOLOR_BUTTONCOLOR_BUTTON_HOVERCOLOR_BUTTON_ACTIVECOLOR_TOGGLECOLOR_TOGGLE_HOVERCOLOR_TOGGLE_CURSORCOLOR_SELECTCOLOR_SELECT_ACTIVECOLOR_SLIDERCOLOR_SLIDER_CURSORCOLOR_SLIDER_CURSOR_HOVERCOLOR_SLIDER_CURSOR_ACTIVECOLOR_PROPERTYCOLOR_EDITCOLOR_EDIT_CURSORCOLOR_COMBOCOLOR_CHARTCOLOR_CHART_COLORCOLOR_CHART_COLOR_HIGHLIGHTCOLOR_SCROLLBARCOLOR_SCROLLBAR_CURSORCOLOR_SCROLLBAR_CURSOR_HOVERCOLOR_SCROLLBAR_CURSOR_ACTIVECOLOR_TAB_HEADERCOLOR_COUNTpublic static final int NK_COLOR_BUTTON_HOVER
COLOR_TEXTCOLOR_WINDOWCOLOR_HEADERCOLOR_BORDERCOLOR_BUTTONCOLOR_BUTTON_HOVERCOLOR_BUTTON_ACTIVECOLOR_TOGGLECOLOR_TOGGLE_HOVERCOLOR_TOGGLE_CURSORCOLOR_SELECTCOLOR_SELECT_ACTIVECOLOR_SLIDERCOLOR_SLIDER_CURSORCOLOR_SLIDER_CURSOR_HOVERCOLOR_SLIDER_CURSOR_ACTIVECOLOR_PROPERTYCOLOR_EDITCOLOR_EDIT_CURSORCOLOR_COMBOCOLOR_CHARTCOLOR_CHART_COLORCOLOR_CHART_COLOR_HIGHLIGHTCOLOR_SCROLLBARCOLOR_SCROLLBAR_CURSORCOLOR_SCROLLBAR_CURSOR_HOVERCOLOR_SCROLLBAR_CURSOR_ACTIVECOLOR_TAB_HEADERCOLOR_COUNTpublic static final int NK_COLOR_BUTTON_ACTIVE
COLOR_TEXTCOLOR_WINDOWCOLOR_HEADERCOLOR_BORDERCOLOR_BUTTONCOLOR_BUTTON_HOVERCOLOR_BUTTON_ACTIVECOLOR_TOGGLECOLOR_TOGGLE_HOVERCOLOR_TOGGLE_CURSORCOLOR_SELECTCOLOR_SELECT_ACTIVECOLOR_SLIDERCOLOR_SLIDER_CURSORCOLOR_SLIDER_CURSOR_HOVERCOLOR_SLIDER_CURSOR_ACTIVECOLOR_PROPERTYCOLOR_EDITCOLOR_EDIT_CURSORCOLOR_COMBOCOLOR_CHARTCOLOR_CHART_COLORCOLOR_CHART_COLOR_HIGHLIGHTCOLOR_SCROLLBARCOLOR_SCROLLBAR_CURSORCOLOR_SCROLLBAR_CURSOR_HOVERCOLOR_SCROLLBAR_CURSOR_ACTIVECOLOR_TAB_HEADERCOLOR_COUNTpublic static final int NK_COLOR_TOGGLE
COLOR_TEXTCOLOR_WINDOWCOLOR_HEADERCOLOR_BORDERCOLOR_BUTTONCOLOR_BUTTON_HOVERCOLOR_BUTTON_ACTIVECOLOR_TOGGLECOLOR_TOGGLE_HOVERCOLOR_TOGGLE_CURSORCOLOR_SELECTCOLOR_SELECT_ACTIVECOLOR_SLIDERCOLOR_SLIDER_CURSORCOLOR_SLIDER_CURSOR_HOVERCOLOR_SLIDER_CURSOR_ACTIVECOLOR_PROPERTYCOLOR_EDITCOLOR_EDIT_CURSORCOLOR_COMBOCOLOR_CHARTCOLOR_CHART_COLORCOLOR_CHART_COLOR_HIGHLIGHTCOLOR_SCROLLBARCOLOR_SCROLLBAR_CURSORCOLOR_SCROLLBAR_CURSOR_HOVERCOLOR_SCROLLBAR_CURSOR_ACTIVECOLOR_TAB_HEADERCOLOR_COUNTpublic static final int NK_COLOR_TOGGLE_HOVER
COLOR_TEXTCOLOR_WINDOWCOLOR_HEADERCOLOR_BORDERCOLOR_BUTTONCOLOR_BUTTON_HOVERCOLOR_BUTTON_ACTIVECOLOR_TOGGLECOLOR_TOGGLE_HOVERCOLOR_TOGGLE_CURSORCOLOR_SELECTCOLOR_SELECT_ACTIVECOLOR_SLIDERCOLOR_SLIDER_CURSORCOLOR_SLIDER_CURSOR_HOVERCOLOR_SLIDER_CURSOR_ACTIVECOLOR_PROPERTYCOLOR_EDITCOLOR_EDIT_CURSORCOLOR_COMBOCOLOR_CHARTCOLOR_CHART_COLORCOLOR_CHART_COLOR_HIGHLIGHTCOLOR_SCROLLBARCOLOR_SCROLLBAR_CURSORCOLOR_SCROLLBAR_CURSOR_HOVERCOLOR_SCROLLBAR_CURSOR_ACTIVECOLOR_TAB_HEADERCOLOR_COUNTpublic static final int NK_COLOR_TOGGLE_CURSOR
COLOR_TEXTCOLOR_WINDOWCOLOR_HEADERCOLOR_BORDERCOLOR_BUTTONCOLOR_BUTTON_HOVERCOLOR_BUTTON_ACTIVECOLOR_TOGGLECOLOR_TOGGLE_HOVERCOLOR_TOGGLE_CURSORCOLOR_SELECTCOLOR_SELECT_ACTIVECOLOR_SLIDERCOLOR_SLIDER_CURSORCOLOR_SLIDER_CURSOR_HOVERCOLOR_SLIDER_CURSOR_ACTIVECOLOR_PROPERTYCOLOR_EDITCOLOR_EDIT_CURSORCOLOR_COMBOCOLOR_CHARTCOLOR_CHART_COLORCOLOR_CHART_COLOR_HIGHLIGHTCOLOR_SCROLLBARCOLOR_SCROLLBAR_CURSORCOLOR_SCROLLBAR_CURSOR_HOVERCOLOR_SCROLLBAR_CURSOR_ACTIVECOLOR_TAB_HEADERCOLOR_COUNTpublic static final int NK_COLOR_SELECT
COLOR_TEXTCOLOR_WINDOWCOLOR_HEADERCOLOR_BORDERCOLOR_BUTTONCOLOR_BUTTON_HOVERCOLOR_BUTTON_ACTIVECOLOR_TOGGLECOLOR_TOGGLE_HOVERCOLOR_TOGGLE_CURSORCOLOR_SELECTCOLOR_SELECT_ACTIVECOLOR_SLIDERCOLOR_SLIDER_CURSORCOLOR_SLIDER_CURSOR_HOVERCOLOR_SLIDER_CURSOR_ACTIVECOLOR_PROPERTYCOLOR_EDITCOLOR_EDIT_CURSORCOLOR_COMBOCOLOR_CHARTCOLOR_CHART_COLORCOLOR_CHART_COLOR_HIGHLIGHTCOLOR_SCROLLBARCOLOR_SCROLLBAR_CURSORCOLOR_SCROLLBAR_CURSOR_HOVERCOLOR_SCROLLBAR_CURSOR_ACTIVECOLOR_TAB_HEADERCOLOR_COUNTpublic static final int NK_COLOR_SELECT_ACTIVE
COLOR_TEXTCOLOR_WINDOWCOLOR_HEADERCOLOR_BORDERCOLOR_BUTTONCOLOR_BUTTON_HOVERCOLOR_BUTTON_ACTIVECOLOR_TOGGLECOLOR_TOGGLE_HOVERCOLOR_TOGGLE_CURSORCOLOR_SELECTCOLOR_SELECT_ACTIVECOLOR_SLIDERCOLOR_SLIDER_CURSORCOLOR_SLIDER_CURSOR_HOVERCOLOR_SLIDER_CURSOR_ACTIVECOLOR_PROPERTYCOLOR_EDITCOLOR_EDIT_CURSORCOLOR_COMBOCOLOR_CHARTCOLOR_CHART_COLORCOLOR_CHART_COLOR_HIGHLIGHTCOLOR_SCROLLBARCOLOR_SCROLLBAR_CURSORCOLOR_SCROLLBAR_CURSOR_HOVERCOLOR_SCROLLBAR_CURSOR_ACTIVECOLOR_TAB_HEADERCOLOR_COUNTpublic static final int NK_COLOR_SLIDER
COLOR_TEXTCOLOR_WINDOWCOLOR_HEADERCOLOR_BORDERCOLOR_BUTTONCOLOR_BUTTON_HOVERCOLOR_BUTTON_ACTIVECOLOR_TOGGLECOLOR_TOGGLE_HOVERCOLOR_TOGGLE_CURSORCOLOR_SELECTCOLOR_SELECT_ACTIVECOLOR_SLIDERCOLOR_SLIDER_CURSORCOLOR_SLIDER_CURSOR_HOVERCOLOR_SLIDER_CURSOR_ACTIVECOLOR_PROPERTYCOLOR_EDITCOLOR_EDIT_CURSORCOLOR_COMBOCOLOR_CHARTCOLOR_CHART_COLORCOLOR_CHART_COLOR_HIGHLIGHTCOLOR_SCROLLBARCOLOR_SCROLLBAR_CURSORCOLOR_SCROLLBAR_CURSOR_HOVERCOLOR_SCROLLBAR_CURSOR_ACTIVECOLOR_TAB_HEADERCOLOR_COUNTpublic static final int NK_COLOR_SLIDER_CURSOR
COLOR_TEXTCOLOR_WINDOWCOLOR_HEADERCOLOR_BORDERCOLOR_BUTTONCOLOR_BUTTON_HOVERCOLOR_BUTTON_ACTIVECOLOR_TOGGLECOLOR_TOGGLE_HOVERCOLOR_TOGGLE_CURSORCOLOR_SELECTCOLOR_SELECT_ACTIVECOLOR_SLIDERCOLOR_SLIDER_CURSORCOLOR_SLIDER_CURSOR_HOVERCOLOR_SLIDER_CURSOR_ACTIVECOLOR_PROPERTYCOLOR_EDITCOLOR_EDIT_CURSORCOLOR_COMBOCOLOR_CHARTCOLOR_CHART_COLORCOLOR_CHART_COLOR_HIGHLIGHTCOLOR_SCROLLBARCOLOR_SCROLLBAR_CURSORCOLOR_SCROLLBAR_CURSOR_HOVERCOLOR_SCROLLBAR_CURSOR_ACTIVECOLOR_TAB_HEADERCOLOR_COUNTpublic static final int NK_COLOR_SLIDER_CURSOR_HOVER
COLOR_TEXTCOLOR_WINDOWCOLOR_HEADERCOLOR_BORDERCOLOR_BUTTONCOLOR_BUTTON_HOVERCOLOR_BUTTON_ACTIVECOLOR_TOGGLECOLOR_TOGGLE_HOVERCOLOR_TOGGLE_CURSORCOLOR_SELECTCOLOR_SELECT_ACTIVECOLOR_SLIDERCOLOR_SLIDER_CURSORCOLOR_SLIDER_CURSOR_HOVERCOLOR_SLIDER_CURSOR_ACTIVECOLOR_PROPERTYCOLOR_EDITCOLOR_EDIT_CURSORCOLOR_COMBOCOLOR_CHARTCOLOR_CHART_COLORCOLOR_CHART_COLOR_HIGHLIGHTCOLOR_SCROLLBARCOLOR_SCROLLBAR_CURSORCOLOR_SCROLLBAR_CURSOR_HOVERCOLOR_SCROLLBAR_CURSOR_ACTIVECOLOR_TAB_HEADERCOLOR_COUNTpublic static final int NK_COLOR_SLIDER_CURSOR_ACTIVE
COLOR_TEXTCOLOR_WINDOWCOLOR_HEADERCOLOR_BORDERCOLOR_BUTTONCOLOR_BUTTON_HOVERCOLOR_BUTTON_ACTIVECOLOR_TOGGLECOLOR_TOGGLE_HOVERCOLOR_TOGGLE_CURSORCOLOR_SELECTCOLOR_SELECT_ACTIVECOLOR_SLIDERCOLOR_SLIDER_CURSORCOLOR_SLIDER_CURSOR_HOVERCOLOR_SLIDER_CURSOR_ACTIVECOLOR_PROPERTYCOLOR_EDITCOLOR_EDIT_CURSORCOLOR_COMBOCOLOR_CHARTCOLOR_CHART_COLORCOLOR_CHART_COLOR_HIGHLIGHTCOLOR_SCROLLBARCOLOR_SCROLLBAR_CURSORCOLOR_SCROLLBAR_CURSOR_HOVERCOLOR_SCROLLBAR_CURSOR_ACTIVECOLOR_TAB_HEADERCOLOR_COUNTpublic static final int NK_COLOR_PROPERTY
COLOR_TEXTCOLOR_WINDOWCOLOR_HEADERCOLOR_BORDERCOLOR_BUTTONCOLOR_BUTTON_HOVERCOLOR_BUTTON_ACTIVECOLOR_TOGGLECOLOR_TOGGLE_HOVERCOLOR_TOGGLE_CURSORCOLOR_SELECTCOLOR_SELECT_ACTIVECOLOR_SLIDERCOLOR_SLIDER_CURSORCOLOR_SLIDER_CURSOR_HOVERCOLOR_SLIDER_CURSOR_ACTIVECOLOR_PROPERTYCOLOR_EDITCOLOR_EDIT_CURSORCOLOR_COMBOCOLOR_CHARTCOLOR_CHART_COLORCOLOR_CHART_COLOR_HIGHLIGHTCOLOR_SCROLLBARCOLOR_SCROLLBAR_CURSORCOLOR_SCROLLBAR_CURSOR_HOVERCOLOR_SCROLLBAR_CURSOR_ACTIVECOLOR_TAB_HEADERCOLOR_COUNTpublic static final int NK_COLOR_EDIT
COLOR_TEXTCOLOR_WINDOWCOLOR_HEADERCOLOR_BORDERCOLOR_BUTTONCOLOR_BUTTON_HOVERCOLOR_BUTTON_ACTIVECOLOR_TOGGLECOLOR_TOGGLE_HOVERCOLOR_TOGGLE_CURSORCOLOR_SELECTCOLOR_SELECT_ACTIVECOLOR_SLIDERCOLOR_SLIDER_CURSORCOLOR_SLIDER_CURSOR_HOVERCOLOR_SLIDER_CURSOR_ACTIVECOLOR_PROPERTYCOLOR_EDITCOLOR_EDIT_CURSORCOLOR_COMBOCOLOR_CHARTCOLOR_CHART_COLORCOLOR_CHART_COLOR_HIGHLIGHTCOLOR_SCROLLBARCOLOR_SCROLLBAR_CURSORCOLOR_SCROLLBAR_CURSOR_HOVERCOLOR_SCROLLBAR_CURSOR_ACTIVECOLOR_TAB_HEADERCOLOR_COUNTpublic static final int NK_COLOR_EDIT_CURSOR
COLOR_TEXTCOLOR_WINDOWCOLOR_HEADERCOLOR_BORDERCOLOR_BUTTONCOLOR_BUTTON_HOVERCOLOR_BUTTON_ACTIVECOLOR_TOGGLECOLOR_TOGGLE_HOVERCOLOR_TOGGLE_CURSORCOLOR_SELECTCOLOR_SELECT_ACTIVECOLOR_SLIDERCOLOR_SLIDER_CURSORCOLOR_SLIDER_CURSOR_HOVERCOLOR_SLIDER_CURSOR_ACTIVECOLOR_PROPERTYCOLOR_EDITCOLOR_EDIT_CURSORCOLOR_COMBOCOLOR_CHARTCOLOR_CHART_COLORCOLOR_CHART_COLOR_HIGHLIGHTCOLOR_SCROLLBARCOLOR_SCROLLBAR_CURSORCOLOR_SCROLLBAR_CURSOR_HOVERCOLOR_SCROLLBAR_CURSOR_ACTIVECOLOR_TAB_HEADERCOLOR_COUNTpublic static final int NK_COLOR_COMBO
COLOR_TEXTCOLOR_WINDOWCOLOR_HEADERCOLOR_BORDERCOLOR_BUTTONCOLOR_BUTTON_HOVERCOLOR_BUTTON_ACTIVECOLOR_TOGGLECOLOR_TOGGLE_HOVERCOLOR_TOGGLE_CURSORCOLOR_SELECTCOLOR_SELECT_ACTIVECOLOR_SLIDERCOLOR_SLIDER_CURSORCOLOR_SLIDER_CURSOR_HOVERCOLOR_SLIDER_CURSOR_ACTIVECOLOR_PROPERTYCOLOR_EDITCOLOR_EDIT_CURSORCOLOR_COMBOCOLOR_CHARTCOLOR_CHART_COLORCOLOR_CHART_COLOR_HIGHLIGHTCOLOR_SCROLLBARCOLOR_SCROLLBAR_CURSORCOLOR_SCROLLBAR_CURSOR_HOVERCOLOR_SCROLLBAR_CURSOR_ACTIVECOLOR_TAB_HEADERCOLOR_COUNTpublic static final int NK_COLOR_CHART
COLOR_TEXTCOLOR_WINDOWCOLOR_HEADERCOLOR_BORDERCOLOR_BUTTONCOLOR_BUTTON_HOVERCOLOR_BUTTON_ACTIVECOLOR_TOGGLECOLOR_TOGGLE_HOVERCOLOR_TOGGLE_CURSORCOLOR_SELECTCOLOR_SELECT_ACTIVECOLOR_SLIDERCOLOR_SLIDER_CURSORCOLOR_SLIDER_CURSOR_HOVERCOLOR_SLIDER_CURSOR_ACTIVECOLOR_PROPERTYCOLOR_EDITCOLOR_EDIT_CURSORCOLOR_COMBOCOLOR_CHARTCOLOR_CHART_COLORCOLOR_CHART_COLOR_HIGHLIGHTCOLOR_SCROLLBARCOLOR_SCROLLBAR_CURSORCOLOR_SCROLLBAR_CURSOR_HOVERCOLOR_SCROLLBAR_CURSOR_ACTIVECOLOR_TAB_HEADERCOLOR_COUNTpublic static final int NK_COLOR_CHART_COLOR
COLOR_TEXTCOLOR_WINDOWCOLOR_HEADERCOLOR_BORDERCOLOR_BUTTONCOLOR_BUTTON_HOVERCOLOR_BUTTON_ACTIVECOLOR_TOGGLECOLOR_TOGGLE_HOVERCOLOR_TOGGLE_CURSORCOLOR_SELECTCOLOR_SELECT_ACTIVECOLOR_SLIDERCOLOR_SLIDER_CURSORCOLOR_SLIDER_CURSOR_HOVERCOLOR_SLIDER_CURSOR_ACTIVECOLOR_PROPERTYCOLOR_EDITCOLOR_EDIT_CURSORCOLOR_COMBOCOLOR_CHARTCOLOR_CHART_COLORCOLOR_CHART_COLOR_HIGHLIGHTCOLOR_SCROLLBARCOLOR_SCROLLBAR_CURSORCOLOR_SCROLLBAR_CURSOR_HOVERCOLOR_SCROLLBAR_CURSOR_ACTIVECOLOR_TAB_HEADERCOLOR_COUNTpublic static final int NK_COLOR_CHART_COLOR_HIGHLIGHT
COLOR_TEXTCOLOR_WINDOWCOLOR_HEADERCOLOR_BORDERCOLOR_BUTTONCOLOR_BUTTON_HOVERCOLOR_BUTTON_ACTIVECOLOR_TOGGLECOLOR_TOGGLE_HOVERCOLOR_TOGGLE_CURSORCOLOR_SELECTCOLOR_SELECT_ACTIVECOLOR_SLIDERCOLOR_SLIDER_CURSORCOLOR_SLIDER_CURSOR_HOVERCOLOR_SLIDER_CURSOR_ACTIVECOLOR_PROPERTYCOLOR_EDITCOLOR_EDIT_CURSORCOLOR_COMBOCOLOR_CHARTCOLOR_CHART_COLORCOLOR_CHART_COLOR_HIGHLIGHTCOLOR_SCROLLBARCOLOR_SCROLLBAR_CURSORCOLOR_SCROLLBAR_CURSOR_HOVERCOLOR_SCROLLBAR_CURSOR_ACTIVECOLOR_TAB_HEADERCOLOR_COUNTpublic static final int NK_COLOR_SCROLLBAR
COLOR_TEXTCOLOR_WINDOWCOLOR_HEADERCOLOR_BORDERCOLOR_BUTTONCOLOR_BUTTON_HOVERCOLOR_BUTTON_ACTIVECOLOR_TOGGLECOLOR_TOGGLE_HOVERCOLOR_TOGGLE_CURSORCOLOR_SELECTCOLOR_SELECT_ACTIVECOLOR_SLIDERCOLOR_SLIDER_CURSORCOLOR_SLIDER_CURSOR_HOVERCOLOR_SLIDER_CURSOR_ACTIVECOLOR_PROPERTYCOLOR_EDITCOLOR_EDIT_CURSORCOLOR_COMBOCOLOR_CHARTCOLOR_CHART_COLORCOLOR_CHART_COLOR_HIGHLIGHTCOLOR_SCROLLBARCOLOR_SCROLLBAR_CURSORCOLOR_SCROLLBAR_CURSOR_HOVERCOLOR_SCROLLBAR_CURSOR_ACTIVECOLOR_TAB_HEADERCOLOR_COUNTpublic static final int NK_COLOR_SCROLLBAR_CURSOR
COLOR_TEXTCOLOR_WINDOWCOLOR_HEADERCOLOR_BORDERCOLOR_BUTTONCOLOR_BUTTON_HOVERCOLOR_BUTTON_ACTIVECOLOR_TOGGLECOLOR_TOGGLE_HOVERCOLOR_TOGGLE_CURSORCOLOR_SELECTCOLOR_SELECT_ACTIVECOLOR_SLIDERCOLOR_SLIDER_CURSORCOLOR_SLIDER_CURSOR_HOVERCOLOR_SLIDER_CURSOR_ACTIVECOLOR_PROPERTYCOLOR_EDITCOLOR_EDIT_CURSORCOLOR_COMBOCOLOR_CHARTCOLOR_CHART_COLORCOLOR_CHART_COLOR_HIGHLIGHTCOLOR_SCROLLBARCOLOR_SCROLLBAR_CURSORCOLOR_SCROLLBAR_CURSOR_HOVERCOLOR_SCROLLBAR_CURSOR_ACTIVECOLOR_TAB_HEADERCOLOR_COUNTpublic static final int NK_COLOR_SCROLLBAR_CURSOR_HOVER
COLOR_TEXTCOLOR_WINDOWCOLOR_HEADERCOLOR_BORDERCOLOR_BUTTONCOLOR_BUTTON_HOVERCOLOR_BUTTON_ACTIVECOLOR_TOGGLECOLOR_TOGGLE_HOVERCOLOR_TOGGLE_CURSORCOLOR_SELECTCOLOR_SELECT_ACTIVECOLOR_SLIDERCOLOR_SLIDER_CURSORCOLOR_SLIDER_CURSOR_HOVERCOLOR_SLIDER_CURSOR_ACTIVECOLOR_PROPERTYCOLOR_EDITCOLOR_EDIT_CURSORCOLOR_COMBOCOLOR_CHARTCOLOR_CHART_COLORCOLOR_CHART_COLOR_HIGHLIGHTCOLOR_SCROLLBARCOLOR_SCROLLBAR_CURSORCOLOR_SCROLLBAR_CURSOR_HOVERCOLOR_SCROLLBAR_CURSOR_ACTIVECOLOR_TAB_HEADERCOLOR_COUNTpublic static final int NK_COLOR_SCROLLBAR_CURSOR_ACTIVE
COLOR_TEXTCOLOR_WINDOWCOLOR_HEADERCOLOR_BORDERCOLOR_BUTTONCOLOR_BUTTON_HOVERCOLOR_BUTTON_ACTIVECOLOR_TOGGLECOLOR_TOGGLE_HOVERCOLOR_TOGGLE_CURSORCOLOR_SELECTCOLOR_SELECT_ACTIVECOLOR_SLIDERCOLOR_SLIDER_CURSORCOLOR_SLIDER_CURSOR_HOVERCOLOR_SLIDER_CURSOR_ACTIVECOLOR_PROPERTYCOLOR_EDITCOLOR_EDIT_CURSORCOLOR_COMBOCOLOR_CHARTCOLOR_CHART_COLORCOLOR_CHART_COLOR_HIGHLIGHTCOLOR_SCROLLBARCOLOR_SCROLLBAR_CURSORCOLOR_SCROLLBAR_CURSOR_HOVERCOLOR_SCROLLBAR_CURSOR_ACTIVECOLOR_TAB_HEADERCOLOR_COUNTpublic static final int NK_COLOR_TAB_HEADER
COLOR_TEXTCOLOR_WINDOWCOLOR_HEADERCOLOR_BORDERCOLOR_BUTTONCOLOR_BUTTON_HOVERCOLOR_BUTTON_ACTIVECOLOR_TOGGLECOLOR_TOGGLE_HOVERCOLOR_TOGGLE_CURSORCOLOR_SELECTCOLOR_SELECT_ACTIVECOLOR_SLIDERCOLOR_SLIDER_CURSORCOLOR_SLIDER_CURSOR_HOVERCOLOR_SLIDER_CURSOR_ACTIVECOLOR_PROPERTYCOLOR_EDITCOLOR_EDIT_CURSORCOLOR_COMBOCOLOR_CHARTCOLOR_CHART_COLORCOLOR_CHART_COLOR_HIGHLIGHTCOLOR_SCROLLBARCOLOR_SCROLLBAR_CURSORCOLOR_SCROLLBAR_CURSOR_HOVERCOLOR_SCROLLBAR_CURSOR_ACTIVECOLOR_TAB_HEADERCOLOR_COUNTpublic static final int NK_COLOR_COUNT
COLOR_TEXTCOLOR_WINDOWCOLOR_HEADERCOLOR_BORDERCOLOR_BUTTONCOLOR_BUTTON_HOVERCOLOR_BUTTON_ACTIVECOLOR_TOGGLECOLOR_TOGGLE_HOVERCOLOR_TOGGLE_CURSORCOLOR_SELECTCOLOR_SELECT_ACTIVECOLOR_SLIDERCOLOR_SLIDER_CURSORCOLOR_SLIDER_CURSOR_HOVERCOLOR_SLIDER_CURSOR_ACTIVECOLOR_PROPERTYCOLOR_EDITCOLOR_EDIT_CURSORCOLOR_COMBOCOLOR_CHARTCOLOR_CHART_COLORCOLOR_CHART_COLOR_HIGHLIGHTCOLOR_SCROLLBARCOLOR_SCROLLBAR_CURSORCOLOR_SCROLLBAR_CURSOR_HOVERCOLOR_SCROLLBAR_CURSOR_ACTIVECOLOR_TAB_HEADERCOLOR_COUNTpublic static final int NK_CURSOR_ARROW
public static final int NK_CURSOR_TEXT
public static final int NK_CURSOR_MOVE
public static final int NK_CURSOR_RESIZE_VERTICAL
public static final int NK_CURSOR_RESIZE_HORIZONTAL
public static final int NK_CURSOR_RESIZE_TOP_LEFT_DOWN_RIGHT
public static final int NK_CURSOR_RESIZE_TOP_RIGHT_DOWN_LEFT
public static final int NK_CURSOR_COUNT
public static final int NK_WIDGET_INVALID
WIDGET_INVALID - The widget cannot be seen and is completely out of viewWIDGET_VALID - The widget is completely inside the window and can be updated and drawnWIDGET_ROM - The widget is partially visible and cannot be updatedpublic static final int NK_WIDGET_VALID
WIDGET_INVALID - The widget cannot be seen and is completely out of viewWIDGET_VALID - The widget is completely inside the window and can be updated and drawnWIDGET_ROM - The widget is partially visible and cannot be updatedpublic static final int NK_WIDGET_ROM
WIDGET_INVALID - The widget cannot be seen and is completely out of viewWIDGET_VALID - The widget is completely inside the window and can be updated and drawnWIDGET_ROM - The widget is partially visible and cannot be updatedpublic static final int NK_WIDGET_STATE_MODIFIED
WIDGET_STATE_MODIFIEDWIDGET_STATE_INACTIVE - widget is neither active nor hoveredWIDGET_STATE_ENTERED - widget has been hovered on the current frameWIDGET_STATE_HOVER - widget is being hoveredWIDGET_STATE_ACTIVED - widget is currently activatedWIDGET_STATE_LEFT - widget is from this frame on not hovered anymoreWIDGET_STATE_HOVERED - widget is being hoveredWIDGET_STATE_ACTIVE - widget is currently activatedpublic static final int NK_WIDGET_STATE_INACTIVE
WIDGET_STATE_MODIFIEDWIDGET_STATE_INACTIVE - widget is neither active nor hoveredWIDGET_STATE_ENTERED - widget has been hovered on the current frameWIDGET_STATE_HOVER - widget is being hoveredWIDGET_STATE_ACTIVED - widget is currently activatedWIDGET_STATE_LEFT - widget is from this frame on not hovered anymoreWIDGET_STATE_HOVERED - widget is being hoveredWIDGET_STATE_ACTIVE - widget is currently activatedpublic static final int NK_WIDGET_STATE_ENTERED
WIDGET_STATE_MODIFIEDWIDGET_STATE_INACTIVE - widget is neither active nor hoveredWIDGET_STATE_ENTERED - widget has been hovered on the current frameWIDGET_STATE_HOVER - widget is being hoveredWIDGET_STATE_ACTIVED - widget is currently activatedWIDGET_STATE_LEFT - widget is from this frame on not hovered anymoreWIDGET_STATE_HOVERED - widget is being hoveredWIDGET_STATE_ACTIVE - widget is currently activatedpublic static final int NK_WIDGET_STATE_HOVER
WIDGET_STATE_MODIFIEDWIDGET_STATE_INACTIVE - widget is neither active nor hoveredWIDGET_STATE_ENTERED - widget has been hovered on the current frameWIDGET_STATE_HOVER - widget is being hoveredWIDGET_STATE_ACTIVED - widget is currently activatedWIDGET_STATE_LEFT - widget is from this frame on not hovered anymoreWIDGET_STATE_HOVERED - widget is being hoveredWIDGET_STATE_ACTIVE - widget is currently activatedpublic static final int NK_WIDGET_STATE_ACTIVED
WIDGET_STATE_MODIFIEDWIDGET_STATE_INACTIVE - widget is neither active nor hoveredWIDGET_STATE_ENTERED - widget has been hovered on the current frameWIDGET_STATE_HOVER - widget is being hoveredWIDGET_STATE_ACTIVED - widget is currently activatedWIDGET_STATE_LEFT - widget is from this frame on not hovered anymoreWIDGET_STATE_HOVERED - widget is being hoveredWIDGET_STATE_ACTIVE - widget is currently activatedpublic static final int NK_WIDGET_STATE_LEFT
WIDGET_STATE_MODIFIEDWIDGET_STATE_INACTIVE - widget is neither active nor hoveredWIDGET_STATE_ENTERED - widget has been hovered on the current frameWIDGET_STATE_HOVER - widget is being hoveredWIDGET_STATE_ACTIVED - widget is currently activatedWIDGET_STATE_LEFT - widget is from this frame on not hovered anymoreWIDGET_STATE_HOVERED - widget is being hoveredWIDGET_STATE_ACTIVE - widget is currently activatedpublic static final int NK_WIDGET_STATE_HOVERED
WIDGET_STATE_MODIFIEDWIDGET_STATE_INACTIVE - widget is neither active nor hoveredWIDGET_STATE_ENTERED - widget has been hovered on the current frameWIDGET_STATE_HOVER - widget is being hoveredWIDGET_STATE_ACTIVED - widget is currently activatedWIDGET_STATE_LEFT - widget is from this frame on not hovered anymoreWIDGET_STATE_HOVERED - widget is being hoveredWIDGET_STATE_ACTIVE - widget is currently activatedpublic static final int NK_WIDGET_STATE_ACTIVE
WIDGET_STATE_MODIFIEDWIDGET_STATE_INACTIVE - widget is neither active nor hoveredWIDGET_STATE_ENTERED - widget has been hovered on the current frameWIDGET_STATE_HOVER - widget is being hoveredWIDGET_STATE_ACTIVED - widget is currently activatedWIDGET_STATE_LEFT - widget is from this frame on not hovered anymoreWIDGET_STATE_HOVERED - widget is being hoveredWIDGET_STATE_ACTIVE - widget is currently activatedpublic static final int NK_TEXT_ALIGN_LEFT
public static final int NK_TEXT_ALIGN_CENTERED
public static final int NK_TEXT_ALIGN_RIGHT
public static final int NK_TEXT_ALIGN_TOP
public static final int NK_TEXT_ALIGN_MIDDLE
public static final int NK_TEXT_ALIGN_BOTTOM
public static final int NK_TEXT_LEFT
public static final int NK_TEXT_CENTERED
public static final int NK_TEXT_RIGHT
public static final int NK_EDIT_DEFAULT
public static final int NK_EDIT_READ_ONLY
public static final int NK_EDIT_AUTO_SELECT
public static final int NK_EDIT_SIG_ENTER
public static final int NK_EDIT_ALLOW_TAB
public static final int NK_EDIT_NO_CURSOR
public static final int NK_EDIT_SELECTABLE
public static final int NK_EDIT_CLIPBOARD
public static final int NK_EDIT_CTRL_ENTER_NEWLINE
public static final int NK_EDIT_NO_HORIZONTAL_SCROLL
public static final int NK_EDIT_ALWAYS_INSERT_MODE
public static final int NK_EDIT_MULTILINE
public static final int NK_EDIT_GOTO_END_ON_ACTIVATE
public static final int NK_EDIT_SIMPLE
public static final int NK_EDIT_FIELD
public static final int NK_EDIT_BOX
public static final int NK_EDIT_EDITOR
public static final int NK_EDIT_ACTIVE
EDIT_ACTIVE - edit widget is currently being modifiedEDIT_INACTIVE - edit widget is not active and is not being modifiedEDIT_ACTIVATED - edit widget went from state inactive to state activeEDIT_DEACTIVATED - edit widget went from state active to state inactiveEDIT_COMMITED - edit widget has received an enter and lost focuspublic static final int NK_EDIT_INACTIVE
EDIT_ACTIVE - edit widget is currently being modifiedEDIT_INACTIVE - edit widget is not active and is not being modifiedEDIT_ACTIVATED - edit widget went from state inactive to state activeEDIT_DEACTIVATED - edit widget went from state active to state inactiveEDIT_COMMITED - edit widget has received an enter and lost focuspublic static final int NK_EDIT_ACTIVATED
EDIT_ACTIVE - edit widget is currently being modifiedEDIT_INACTIVE - edit widget is not active and is not being modifiedEDIT_ACTIVATED - edit widget went from state inactive to state activeEDIT_DEACTIVATED - edit widget went from state active to state inactiveEDIT_COMMITED - edit widget has received an enter and lost focuspublic static final int NK_EDIT_DEACTIVATED
EDIT_ACTIVE - edit widget is currently being modifiedEDIT_INACTIVE - edit widget is not active and is not being modifiedEDIT_ACTIVATED - edit widget went from state inactive to state activeEDIT_DEACTIVATED - edit widget went from state active to state inactiveEDIT_COMMITED - edit widget has received an enter and lost focuspublic static final int NK_EDIT_COMMITED
EDIT_ACTIVE - edit widget is currently being modifiedEDIT_INACTIVE - edit widget is not active and is not being modifiedEDIT_ACTIVATED - edit widget went from state inactive to state activeEDIT_DEACTIVATED - edit widget went from state active to state inactiveEDIT_COMMITED - edit widget has received an enter and lost focuspublic static final int NK_WINDOW_BORDER
WINDOW_BORDER - Draws a border around the window to visually separate the window from the backgroundWINDOW_MOVABLE - The movable flag indicates that a window can be moved by user input or by dragging the window headerWINDOW_SCALABLE - The scalable flag indicates that a window can be scaled by user input by dragging a scaler icon at the button of the windowWINDOW_CLOSABLE - adds a closable icon into the headerWINDOW_MINIMIZABLE - adds a minimize icon into the headerWINDOW_NO_SCROLLBAR - Removes the scrollbar from the windowWINDOW_TITLE - Forces a header at the top at the window showing the titleWINDOW_SCROLL_AUTO_HIDE - Automatically hides the window scrollbar if no user interaction: also requires delta time in nk_context to be set each frameWINDOW_BACKGROUND - Always keep window in the backgroundWINDOW_SCALE_LEFT - Puts window scaler in the left-bottom corner instead right-bottomWINDOW_NO_INPUT - Prevents window of scaling, moving or getting focuspublic static final int NK_WINDOW_MOVABLE
WINDOW_BORDER - Draws a border around the window to visually separate the window from the backgroundWINDOW_MOVABLE - The movable flag indicates that a window can be moved by user input or by dragging the window headerWINDOW_SCALABLE - The scalable flag indicates that a window can be scaled by user input by dragging a scaler icon at the button of the windowWINDOW_CLOSABLE - adds a closable icon into the headerWINDOW_MINIMIZABLE - adds a minimize icon into the headerWINDOW_NO_SCROLLBAR - Removes the scrollbar from the windowWINDOW_TITLE - Forces a header at the top at the window showing the titleWINDOW_SCROLL_AUTO_HIDE - Automatically hides the window scrollbar if no user interaction: also requires delta time in nk_context to be set each frameWINDOW_BACKGROUND - Always keep window in the backgroundWINDOW_SCALE_LEFT - Puts window scaler in the left-bottom corner instead right-bottomWINDOW_NO_INPUT - Prevents window of scaling, moving or getting focuspublic static final int NK_WINDOW_SCALABLE
WINDOW_BORDER - Draws a border around the window to visually separate the window from the backgroundWINDOW_MOVABLE - The movable flag indicates that a window can be moved by user input or by dragging the window headerWINDOW_SCALABLE - The scalable flag indicates that a window can be scaled by user input by dragging a scaler icon at the button of the windowWINDOW_CLOSABLE - adds a closable icon into the headerWINDOW_MINIMIZABLE - adds a minimize icon into the headerWINDOW_NO_SCROLLBAR - Removes the scrollbar from the windowWINDOW_TITLE - Forces a header at the top at the window showing the titleWINDOW_SCROLL_AUTO_HIDE - Automatically hides the window scrollbar if no user interaction: also requires delta time in nk_context to be set each frameWINDOW_BACKGROUND - Always keep window in the backgroundWINDOW_SCALE_LEFT - Puts window scaler in the left-bottom corner instead right-bottomWINDOW_NO_INPUT - Prevents window of scaling, moving or getting focuspublic static final int NK_WINDOW_CLOSABLE
WINDOW_BORDER - Draws a border around the window to visually separate the window from the backgroundWINDOW_MOVABLE - The movable flag indicates that a window can be moved by user input or by dragging the window headerWINDOW_SCALABLE - The scalable flag indicates that a window can be scaled by user input by dragging a scaler icon at the button of the windowWINDOW_CLOSABLE - adds a closable icon into the headerWINDOW_MINIMIZABLE - adds a minimize icon into the headerWINDOW_NO_SCROLLBAR - Removes the scrollbar from the windowWINDOW_TITLE - Forces a header at the top at the window showing the titleWINDOW_SCROLL_AUTO_HIDE - Automatically hides the window scrollbar if no user interaction: also requires delta time in nk_context to be set each frameWINDOW_BACKGROUND - Always keep window in the backgroundWINDOW_SCALE_LEFT - Puts window scaler in the left-bottom corner instead right-bottomWINDOW_NO_INPUT - Prevents window of scaling, moving or getting focuspublic static final int NK_WINDOW_MINIMIZABLE
WINDOW_BORDER - Draws a border around the window to visually separate the window from the backgroundWINDOW_MOVABLE - The movable flag indicates that a window can be moved by user input or by dragging the window headerWINDOW_SCALABLE - The scalable flag indicates that a window can be scaled by user input by dragging a scaler icon at the button of the windowWINDOW_CLOSABLE - adds a closable icon into the headerWINDOW_MINIMIZABLE - adds a minimize icon into the headerWINDOW_NO_SCROLLBAR - Removes the scrollbar from the windowWINDOW_TITLE - Forces a header at the top at the window showing the titleWINDOW_SCROLL_AUTO_HIDE - Automatically hides the window scrollbar if no user interaction: also requires delta time in nk_context to be set each frameWINDOW_BACKGROUND - Always keep window in the backgroundWINDOW_SCALE_LEFT - Puts window scaler in the left-bottom corner instead right-bottomWINDOW_NO_INPUT - Prevents window of scaling, moving or getting focuspublic static final int NK_WINDOW_NO_SCROLLBAR
WINDOW_BORDER - Draws a border around the window to visually separate the window from the backgroundWINDOW_MOVABLE - The movable flag indicates that a window can be moved by user input or by dragging the window headerWINDOW_SCALABLE - The scalable flag indicates that a window can be scaled by user input by dragging a scaler icon at the button of the windowWINDOW_CLOSABLE - adds a closable icon into the headerWINDOW_MINIMIZABLE - adds a minimize icon into the headerWINDOW_NO_SCROLLBAR - Removes the scrollbar from the windowWINDOW_TITLE - Forces a header at the top at the window showing the titleWINDOW_SCROLL_AUTO_HIDE - Automatically hides the window scrollbar if no user interaction: also requires delta time in nk_context to be set each frameWINDOW_BACKGROUND - Always keep window in the backgroundWINDOW_SCALE_LEFT - Puts window scaler in the left-bottom corner instead right-bottomWINDOW_NO_INPUT - Prevents window of scaling, moving or getting focuspublic static final int NK_WINDOW_TITLE
WINDOW_BORDER - Draws a border around the window to visually separate the window from the backgroundWINDOW_MOVABLE - The movable flag indicates that a window can be moved by user input or by dragging the window headerWINDOW_SCALABLE - The scalable flag indicates that a window can be scaled by user input by dragging a scaler icon at the button of the windowWINDOW_CLOSABLE - adds a closable icon into the headerWINDOW_MINIMIZABLE - adds a minimize icon into the headerWINDOW_NO_SCROLLBAR - Removes the scrollbar from the windowWINDOW_TITLE - Forces a header at the top at the window showing the titleWINDOW_SCROLL_AUTO_HIDE - Automatically hides the window scrollbar if no user interaction: also requires delta time in nk_context to be set each frameWINDOW_BACKGROUND - Always keep window in the backgroundWINDOW_SCALE_LEFT - Puts window scaler in the left-bottom corner instead right-bottomWINDOW_NO_INPUT - Prevents window of scaling, moving or getting focuspublic static final int NK_WINDOW_SCROLL_AUTO_HIDE
WINDOW_BORDER - Draws a border around the window to visually separate the window from the backgroundWINDOW_MOVABLE - The movable flag indicates that a window can be moved by user input or by dragging the window headerWINDOW_SCALABLE - The scalable flag indicates that a window can be scaled by user input by dragging a scaler icon at the button of the windowWINDOW_CLOSABLE - adds a closable icon into the headerWINDOW_MINIMIZABLE - adds a minimize icon into the headerWINDOW_NO_SCROLLBAR - Removes the scrollbar from the windowWINDOW_TITLE - Forces a header at the top at the window showing the titleWINDOW_SCROLL_AUTO_HIDE - Automatically hides the window scrollbar if no user interaction: also requires delta time in nk_context to be set each frameWINDOW_BACKGROUND - Always keep window in the backgroundWINDOW_SCALE_LEFT - Puts window scaler in the left-bottom corner instead right-bottomWINDOW_NO_INPUT - Prevents window of scaling, moving or getting focuspublic static final int NK_WINDOW_BACKGROUND
WINDOW_BORDER - Draws a border around the window to visually separate the window from the backgroundWINDOW_MOVABLE - The movable flag indicates that a window can be moved by user input or by dragging the window headerWINDOW_SCALABLE - The scalable flag indicates that a window can be scaled by user input by dragging a scaler icon at the button of the windowWINDOW_CLOSABLE - adds a closable icon into the headerWINDOW_MINIMIZABLE - adds a minimize icon into the headerWINDOW_NO_SCROLLBAR - Removes the scrollbar from the windowWINDOW_TITLE - Forces a header at the top at the window showing the titleWINDOW_SCROLL_AUTO_HIDE - Automatically hides the window scrollbar if no user interaction: also requires delta time in nk_context to be set each frameWINDOW_BACKGROUND - Always keep window in the backgroundWINDOW_SCALE_LEFT - Puts window scaler in the left-bottom corner instead right-bottomWINDOW_NO_INPUT - Prevents window of scaling, moving or getting focuspublic static final int NK_WINDOW_SCALE_LEFT
WINDOW_BORDER - Draws a border around the window to visually separate the window from the backgroundWINDOW_MOVABLE - The movable flag indicates that a window can be moved by user input or by dragging the window headerWINDOW_SCALABLE - The scalable flag indicates that a window can be scaled by user input by dragging a scaler icon at the button of the windowWINDOW_CLOSABLE - adds a closable icon into the headerWINDOW_MINIMIZABLE - adds a minimize icon into the headerWINDOW_NO_SCROLLBAR - Removes the scrollbar from the windowWINDOW_TITLE - Forces a header at the top at the window showing the titleWINDOW_SCROLL_AUTO_HIDE - Automatically hides the window scrollbar if no user interaction: also requires delta time in nk_context to be set each frameWINDOW_BACKGROUND - Always keep window in the backgroundWINDOW_SCALE_LEFT - Puts window scaler in the left-bottom corner instead right-bottomWINDOW_NO_INPUT - Prevents window of scaling, moving or getting focuspublic static final int NK_WINDOW_NO_INPUT
WINDOW_BORDER - Draws a border around the window to visually separate the window from the backgroundWINDOW_MOVABLE - The movable flag indicates that a window can be moved by user input or by dragging the window headerWINDOW_SCALABLE - The scalable flag indicates that a window can be scaled by user input by dragging a scaler icon at the button of the windowWINDOW_CLOSABLE - adds a closable icon into the headerWINDOW_MINIMIZABLE - adds a minimize icon into the headerWINDOW_NO_SCROLLBAR - Removes the scrollbar from the windowWINDOW_TITLE - Forces a header at the top at the window showing the titleWINDOW_SCROLL_AUTO_HIDE - Automatically hides the window scrollbar if no user interaction: also requires delta time in nk_context to be set each frameWINDOW_BACKGROUND - Always keep window in the backgroundWINDOW_SCALE_LEFT - Puts window scaler in the left-bottom corner instead right-bottomWINDOW_NO_INPUT - Prevents window of scaling, moving or getting focuspublic static final int NK_BUFFER_FIXED
public static final int NK_BUFFER_DYNAMIC
public static final int NK_BUFFER_FRONT
public static final int NK_BUFFER_BACK
public static final int NK_BUFFER_MAX
public static final int NK_TEXT_EDIT_SINGLE_LINE
public static final int NK_TEXT_EDIT_MULTI_LINE
public static final int NK_TEXT_EDIT_MODE_VIEW
public static final int NK_TEXT_EDIT_MODE_INSERT
public static final int NK_TEXT_EDIT_MODE_REPLACE
public static final int NK_FONT_ATLAS_ALPHA8
public static final int NK_FONT_ATLAS_RGBA32
public static final int NK_COMMAND_NOP
COMMAND_NOPCOMMAND_SCISSORCOMMAND_LINECOMMAND_CURVECOMMAND_RECTCOMMAND_RECT_FILLEDCOMMAND_RECT_MULTI_COLORCOMMAND_CIRCLECOMMAND_CIRCLE_FILLEDCOMMAND_ARCCOMMAND_ARC_FILLEDCOMMAND_TRIANGLECOMMAND_TRIANGLE_FILLEDCOMMAND_POLYGONCOMMAND_POLYGON_FILLEDCOMMAND_POLYLINECOMMAND_TEXTCOMMAND_IMAGECOMMAND_CUSTOMpublic static final int NK_COMMAND_SCISSOR
COMMAND_NOPCOMMAND_SCISSORCOMMAND_LINECOMMAND_CURVECOMMAND_RECTCOMMAND_RECT_FILLEDCOMMAND_RECT_MULTI_COLORCOMMAND_CIRCLECOMMAND_CIRCLE_FILLEDCOMMAND_ARCCOMMAND_ARC_FILLEDCOMMAND_TRIANGLECOMMAND_TRIANGLE_FILLEDCOMMAND_POLYGONCOMMAND_POLYGON_FILLEDCOMMAND_POLYLINECOMMAND_TEXTCOMMAND_IMAGECOMMAND_CUSTOMpublic static final int NK_COMMAND_LINE
COMMAND_NOPCOMMAND_SCISSORCOMMAND_LINECOMMAND_CURVECOMMAND_RECTCOMMAND_RECT_FILLEDCOMMAND_RECT_MULTI_COLORCOMMAND_CIRCLECOMMAND_CIRCLE_FILLEDCOMMAND_ARCCOMMAND_ARC_FILLEDCOMMAND_TRIANGLECOMMAND_TRIANGLE_FILLEDCOMMAND_POLYGONCOMMAND_POLYGON_FILLEDCOMMAND_POLYLINECOMMAND_TEXTCOMMAND_IMAGECOMMAND_CUSTOMpublic static final int NK_COMMAND_CURVE
COMMAND_NOPCOMMAND_SCISSORCOMMAND_LINECOMMAND_CURVECOMMAND_RECTCOMMAND_RECT_FILLEDCOMMAND_RECT_MULTI_COLORCOMMAND_CIRCLECOMMAND_CIRCLE_FILLEDCOMMAND_ARCCOMMAND_ARC_FILLEDCOMMAND_TRIANGLECOMMAND_TRIANGLE_FILLEDCOMMAND_POLYGONCOMMAND_POLYGON_FILLEDCOMMAND_POLYLINECOMMAND_TEXTCOMMAND_IMAGECOMMAND_CUSTOMpublic static final int NK_COMMAND_RECT
COMMAND_NOPCOMMAND_SCISSORCOMMAND_LINECOMMAND_CURVECOMMAND_RECTCOMMAND_RECT_FILLEDCOMMAND_RECT_MULTI_COLORCOMMAND_CIRCLECOMMAND_CIRCLE_FILLEDCOMMAND_ARCCOMMAND_ARC_FILLEDCOMMAND_TRIANGLECOMMAND_TRIANGLE_FILLEDCOMMAND_POLYGONCOMMAND_POLYGON_FILLEDCOMMAND_POLYLINECOMMAND_TEXTCOMMAND_IMAGECOMMAND_CUSTOMpublic static final int NK_COMMAND_RECT_FILLED
COMMAND_NOPCOMMAND_SCISSORCOMMAND_LINECOMMAND_CURVECOMMAND_RECTCOMMAND_RECT_FILLEDCOMMAND_RECT_MULTI_COLORCOMMAND_CIRCLECOMMAND_CIRCLE_FILLEDCOMMAND_ARCCOMMAND_ARC_FILLEDCOMMAND_TRIANGLECOMMAND_TRIANGLE_FILLEDCOMMAND_POLYGONCOMMAND_POLYGON_FILLEDCOMMAND_POLYLINECOMMAND_TEXTCOMMAND_IMAGECOMMAND_CUSTOMpublic static final int NK_COMMAND_RECT_MULTI_COLOR
COMMAND_NOPCOMMAND_SCISSORCOMMAND_LINECOMMAND_CURVECOMMAND_RECTCOMMAND_RECT_FILLEDCOMMAND_RECT_MULTI_COLORCOMMAND_CIRCLECOMMAND_CIRCLE_FILLEDCOMMAND_ARCCOMMAND_ARC_FILLEDCOMMAND_TRIANGLECOMMAND_TRIANGLE_FILLEDCOMMAND_POLYGONCOMMAND_POLYGON_FILLEDCOMMAND_POLYLINECOMMAND_TEXTCOMMAND_IMAGECOMMAND_CUSTOMpublic static final int NK_COMMAND_CIRCLE
COMMAND_NOPCOMMAND_SCISSORCOMMAND_LINECOMMAND_CURVECOMMAND_RECTCOMMAND_RECT_FILLEDCOMMAND_RECT_MULTI_COLORCOMMAND_CIRCLECOMMAND_CIRCLE_FILLEDCOMMAND_ARCCOMMAND_ARC_FILLEDCOMMAND_TRIANGLECOMMAND_TRIANGLE_FILLEDCOMMAND_POLYGONCOMMAND_POLYGON_FILLEDCOMMAND_POLYLINECOMMAND_TEXTCOMMAND_IMAGECOMMAND_CUSTOMpublic static final int NK_COMMAND_CIRCLE_FILLED
COMMAND_NOPCOMMAND_SCISSORCOMMAND_LINECOMMAND_CURVECOMMAND_RECTCOMMAND_RECT_FILLEDCOMMAND_RECT_MULTI_COLORCOMMAND_CIRCLECOMMAND_CIRCLE_FILLEDCOMMAND_ARCCOMMAND_ARC_FILLEDCOMMAND_TRIANGLECOMMAND_TRIANGLE_FILLEDCOMMAND_POLYGONCOMMAND_POLYGON_FILLEDCOMMAND_POLYLINECOMMAND_TEXTCOMMAND_IMAGECOMMAND_CUSTOMpublic static final int NK_COMMAND_ARC
COMMAND_NOPCOMMAND_SCISSORCOMMAND_LINECOMMAND_CURVECOMMAND_RECTCOMMAND_RECT_FILLEDCOMMAND_RECT_MULTI_COLORCOMMAND_CIRCLECOMMAND_CIRCLE_FILLEDCOMMAND_ARCCOMMAND_ARC_FILLEDCOMMAND_TRIANGLECOMMAND_TRIANGLE_FILLEDCOMMAND_POLYGONCOMMAND_POLYGON_FILLEDCOMMAND_POLYLINECOMMAND_TEXTCOMMAND_IMAGECOMMAND_CUSTOMpublic static final int NK_COMMAND_ARC_FILLED
COMMAND_NOPCOMMAND_SCISSORCOMMAND_LINECOMMAND_CURVECOMMAND_RECTCOMMAND_RECT_FILLEDCOMMAND_RECT_MULTI_COLORCOMMAND_CIRCLECOMMAND_CIRCLE_FILLEDCOMMAND_ARCCOMMAND_ARC_FILLEDCOMMAND_TRIANGLECOMMAND_TRIANGLE_FILLEDCOMMAND_POLYGONCOMMAND_POLYGON_FILLEDCOMMAND_POLYLINECOMMAND_TEXTCOMMAND_IMAGECOMMAND_CUSTOMpublic static final int NK_COMMAND_TRIANGLE
COMMAND_NOPCOMMAND_SCISSORCOMMAND_LINECOMMAND_CURVECOMMAND_RECTCOMMAND_RECT_FILLEDCOMMAND_RECT_MULTI_COLORCOMMAND_CIRCLECOMMAND_CIRCLE_FILLEDCOMMAND_ARCCOMMAND_ARC_FILLEDCOMMAND_TRIANGLECOMMAND_TRIANGLE_FILLEDCOMMAND_POLYGONCOMMAND_POLYGON_FILLEDCOMMAND_POLYLINECOMMAND_TEXTCOMMAND_IMAGECOMMAND_CUSTOMpublic static final int NK_COMMAND_TRIANGLE_FILLED
COMMAND_NOPCOMMAND_SCISSORCOMMAND_LINECOMMAND_CURVECOMMAND_RECTCOMMAND_RECT_FILLEDCOMMAND_RECT_MULTI_COLORCOMMAND_CIRCLECOMMAND_CIRCLE_FILLEDCOMMAND_ARCCOMMAND_ARC_FILLEDCOMMAND_TRIANGLECOMMAND_TRIANGLE_FILLEDCOMMAND_POLYGONCOMMAND_POLYGON_FILLEDCOMMAND_POLYLINECOMMAND_TEXTCOMMAND_IMAGECOMMAND_CUSTOMpublic static final int NK_COMMAND_POLYGON
COMMAND_NOPCOMMAND_SCISSORCOMMAND_LINECOMMAND_CURVECOMMAND_RECTCOMMAND_RECT_FILLEDCOMMAND_RECT_MULTI_COLORCOMMAND_CIRCLECOMMAND_CIRCLE_FILLEDCOMMAND_ARCCOMMAND_ARC_FILLEDCOMMAND_TRIANGLECOMMAND_TRIANGLE_FILLEDCOMMAND_POLYGONCOMMAND_POLYGON_FILLEDCOMMAND_POLYLINECOMMAND_TEXTCOMMAND_IMAGECOMMAND_CUSTOMpublic static final int NK_COMMAND_POLYGON_FILLED
COMMAND_NOPCOMMAND_SCISSORCOMMAND_LINECOMMAND_CURVECOMMAND_RECTCOMMAND_RECT_FILLEDCOMMAND_RECT_MULTI_COLORCOMMAND_CIRCLECOMMAND_CIRCLE_FILLEDCOMMAND_ARCCOMMAND_ARC_FILLEDCOMMAND_TRIANGLECOMMAND_TRIANGLE_FILLEDCOMMAND_POLYGONCOMMAND_POLYGON_FILLEDCOMMAND_POLYLINECOMMAND_TEXTCOMMAND_IMAGECOMMAND_CUSTOMpublic static final int NK_COMMAND_POLYLINE
COMMAND_NOPCOMMAND_SCISSORCOMMAND_LINECOMMAND_CURVECOMMAND_RECTCOMMAND_RECT_FILLEDCOMMAND_RECT_MULTI_COLORCOMMAND_CIRCLECOMMAND_CIRCLE_FILLEDCOMMAND_ARCCOMMAND_ARC_FILLEDCOMMAND_TRIANGLECOMMAND_TRIANGLE_FILLEDCOMMAND_POLYGONCOMMAND_POLYGON_FILLEDCOMMAND_POLYLINECOMMAND_TEXTCOMMAND_IMAGECOMMAND_CUSTOMpublic static final int NK_COMMAND_TEXT
COMMAND_NOPCOMMAND_SCISSORCOMMAND_LINECOMMAND_CURVECOMMAND_RECTCOMMAND_RECT_FILLEDCOMMAND_RECT_MULTI_COLORCOMMAND_CIRCLECOMMAND_CIRCLE_FILLEDCOMMAND_ARCCOMMAND_ARC_FILLEDCOMMAND_TRIANGLECOMMAND_TRIANGLE_FILLEDCOMMAND_POLYGONCOMMAND_POLYGON_FILLEDCOMMAND_POLYLINECOMMAND_TEXTCOMMAND_IMAGECOMMAND_CUSTOMpublic static final int NK_COMMAND_IMAGE
COMMAND_NOPCOMMAND_SCISSORCOMMAND_LINECOMMAND_CURVECOMMAND_RECTCOMMAND_RECT_FILLEDCOMMAND_RECT_MULTI_COLORCOMMAND_CIRCLECOMMAND_CIRCLE_FILLEDCOMMAND_ARCCOMMAND_ARC_FILLEDCOMMAND_TRIANGLECOMMAND_TRIANGLE_FILLEDCOMMAND_POLYGONCOMMAND_POLYGON_FILLEDCOMMAND_POLYLINECOMMAND_TEXTCOMMAND_IMAGECOMMAND_CUSTOMpublic static final int NK_COMMAND_CUSTOM
COMMAND_NOPCOMMAND_SCISSORCOMMAND_LINECOMMAND_CURVECOMMAND_RECTCOMMAND_RECT_FILLEDCOMMAND_RECT_MULTI_COLORCOMMAND_CIRCLECOMMAND_CIRCLE_FILLEDCOMMAND_ARCCOMMAND_ARC_FILLEDCOMMAND_TRIANGLECOMMAND_TRIANGLE_FILLEDCOMMAND_POLYGONCOMMAND_POLYGON_FILLEDCOMMAND_POLYLINECOMMAND_TEXTCOMMAND_IMAGECOMMAND_CUSTOMpublic static final int NK_CLIPPING_OFF
public static final int NK_CLIPPING_ON
public static final int NK_STROKE_OPEN
STROKE_OPEN - build up path has no connection back to the beginningSTROKE_CLOSED - build up path has a connection back to the beginningpublic static final int NK_STROKE_CLOSED
STROKE_OPEN - build up path has no connection back to the beginningSTROKE_CLOSED - build up path has a connection back to the beginningpublic static final int NK_VERTEX_POSITION
public static final int NK_VERTEX_COLOR
public static final int NK_VERTEX_TEXCOORD
public static final int NK_VERTEX_ATTRIBUTE_COUNT
public static final int NK_FORMAT_SCHAR
FORMAT_SCHARFORMAT_SSHORTFORMAT_SINTFORMAT_UCHARFORMAT_USHORTFORMAT_UINTFORMAT_FLOATFORMAT_DOUBLEFORMAT_R8G8B8FORMAT_R16G15B16FORMAT_R32G32B32FORMAT_R8G8B8A8FORMAT_B8G8R8A8FORMAT_R16G15B16A16FORMAT_R32G32B32A32FORMAT_R32G32B32A32_FLOATFORMAT_R32G32B32A32_DOUBLEFORMAT_RGB32FORMAT_RGBA32FORMAT_COUNTpublic static final int NK_FORMAT_SSHORT
FORMAT_SCHARFORMAT_SSHORTFORMAT_SINTFORMAT_UCHARFORMAT_USHORTFORMAT_UINTFORMAT_FLOATFORMAT_DOUBLEFORMAT_R8G8B8FORMAT_R16G15B16FORMAT_R32G32B32FORMAT_R8G8B8A8FORMAT_B8G8R8A8FORMAT_R16G15B16A16FORMAT_R32G32B32A32FORMAT_R32G32B32A32_FLOATFORMAT_R32G32B32A32_DOUBLEFORMAT_RGB32FORMAT_RGBA32FORMAT_COUNTpublic static final int NK_FORMAT_SINT
FORMAT_SCHARFORMAT_SSHORTFORMAT_SINTFORMAT_UCHARFORMAT_USHORTFORMAT_UINTFORMAT_FLOATFORMAT_DOUBLEFORMAT_R8G8B8FORMAT_R16G15B16FORMAT_R32G32B32FORMAT_R8G8B8A8FORMAT_B8G8R8A8FORMAT_R16G15B16A16FORMAT_R32G32B32A32FORMAT_R32G32B32A32_FLOATFORMAT_R32G32B32A32_DOUBLEFORMAT_RGB32FORMAT_RGBA32FORMAT_COUNTpublic static final int NK_FORMAT_UCHAR
FORMAT_SCHARFORMAT_SSHORTFORMAT_SINTFORMAT_UCHARFORMAT_USHORTFORMAT_UINTFORMAT_FLOATFORMAT_DOUBLEFORMAT_R8G8B8FORMAT_R16G15B16FORMAT_R32G32B32FORMAT_R8G8B8A8FORMAT_B8G8R8A8FORMAT_R16G15B16A16FORMAT_R32G32B32A32FORMAT_R32G32B32A32_FLOATFORMAT_R32G32B32A32_DOUBLEFORMAT_RGB32FORMAT_RGBA32FORMAT_COUNTpublic static final int NK_FORMAT_USHORT
FORMAT_SCHARFORMAT_SSHORTFORMAT_SINTFORMAT_UCHARFORMAT_USHORTFORMAT_UINTFORMAT_FLOATFORMAT_DOUBLEFORMAT_R8G8B8FORMAT_R16G15B16FORMAT_R32G32B32FORMAT_R8G8B8A8FORMAT_B8G8R8A8FORMAT_R16G15B16A16FORMAT_R32G32B32A32FORMAT_R32G32B32A32_FLOATFORMAT_R32G32B32A32_DOUBLEFORMAT_RGB32FORMAT_RGBA32FORMAT_COUNTpublic static final int NK_FORMAT_UINT
FORMAT_SCHARFORMAT_SSHORTFORMAT_SINTFORMAT_UCHARFORMAT_USHORTFORMAT_UINTFORMAT_FLOATFORMAT_DOUBLEFORMAT_R8G8B8FORMAT_R16G15B16FORMAT_R32G32B32FORMAT_R8G8B8A8FORMAT_B8G8R8A8FORMAT_R16G15B16A16FORMAT_R32G32B32A32FORMAT_R32G32B32A32_FLOATFORMAT_R32G32B32A32_DOUBLEFORMAT_RGB32FORMAT_RGBA32FORMAT_COUNTpublic static final int NK_FORMAT_FLOAT
FORMAT_SCHARFORMAT_SSHORTFORMAT_SINTFORMAT_UCHARFORMAT_USHORTFORMAT_UINTFORMAT_FLOATFORMAT_DOUBLEFORMAT_R8G8B8FORMAT_R16G15B16FORMAT_R32G32B32FORMAT_R8G8B8A8FORMAT_B8G8R8A8FORMAT_R16G15B16A16FORMAT_R32G32B32A32FORMAT_R32G32B32A32_FLOATFORMAT_R32G32B32A32_DOUBLEFORMAT_RGB32FORMAT_RGBA32FORMAT_COUNTpublic static final int NK_FORMAT_DOUBLE
FORMAT_SCHARFORMAT_SSHORTFORMAT_SINTFORMAT_UCHARFORMAT_USHORTFORMAT_UINTFORMAT_FLOATFORMAT_DOUBLEFORMAT_R8G8B8FORMAT_R16G15B16FORMAT_R32G32B32FORMAT_R8G8B8A8FORMAT_B8G8R8A8FORMAT_R16G15B16A16FORMAT_R32G32B32A32FORMAT_R32G32B32A32_FLOATFORMAT_R32G32B32A32_DOUBLEFORMAT_RGB32FORMAT_RGBA32FORMAT_COUNTpublic static final int NK_FORMAT_R8G8B8
FORMAT_SCHARFORMAT_SSHORTFORMAT_SINTFORMAT_UCHARFORMAT_USHORTFORMAT_UINTFORMAT_FLOATFORMAT_DOUBLEFORMAT_R8G8B8FORMAT_R16G15B16FORMAT_R32G32B32FORMAT_R8G8B8A8FORMAT_B8G8R8A8FORMAT_R16G15B16A16FORMAT_R32G32B32A32FORMAT_R32G32B32A32_FLOATFORMAT_R32G32B32A32_DOUBLEFORMAT_RGB32FORMAT_RGBA32FORMAT_COUNTpublic static final int NK_FORMAT_R16G15B16
FORMAT_SCHARFORMAT_SSHORTFORMAT_SINTFORMAT_UCHARFORMAT_USHORTFORMAT_UINTFORMAT_FLOATFORMAT_DOUBLEFORMAT_R8G8B8FORMAT_R16G15B16FORMAT_R32G32B32FORMAT_R8G8B8A8FORMAT_B8G8R8A8FORMAT_R16G15B16A16FORMAT_R32G32B32A32FORMAT_R32G32B32A32_FLOATFORMAT_R32G32B32A32_DOUBLEFORMAT_RGB32FORMAT_RGBA32FORMAT_COUNTpublic static final int NK_FORMAT_R32G32B32
FORMAT_SCHARFORMAT_SSHORTFORMAT_SINTFORMAT_UCHARFORMAT_USHORTFORMAT_UINTFORMAT_FLOATFORMAT_DOUBLEFORMAT_R8G8B8FORMAT_R16G15B16FORMAT_R32G32B32FORMAT_R8G8B8A8FORMAT_B8G8R8A8FORMAT_R16G15B16A16FORMAT_R32G32B32A32FORMAT_R32G32B32A32_FLOATFORMAT_R32G32B32A32_DOUBLEFORMAT_RGB32FORMAT_RGBA32FORMAT_COUNTpublic static final int NK_FORMAT_R8G8B8A8
FORMAT_SCHARFORMAT_SSHORTFORMAT_SINTFORMAT_UCHARFORMAT_USHORTFORMAT_UINTFORMAT_FLOATFORMAT_DOUBLEFORMAT_R8G8B8FORMAT_R16G15B16FORMAT_R32G32B32FORMAT_R8G8B8A8FORMAT_B8G8R8A8FORMAT_R16G15B16A16FORMAT_R32G32B32A32FORMAT_R32G32B32A32_FLOATFORMAT_R32G32B32A32_DOUBLEFORMAT_RGB32FORMAT_RGBA32FORMAT_COUNTpublic static final int NK_FORMAT_B8G8R8A8
FORMAT_SCHARFORMAT_SSHORTFORMAT_SINTFORMAT_UCHARFORMAT_USHORTFORMAT_UINTFORMAT_FLOATFORMAT_DOUBLEFORMAT_R8G8B8FORMAT_R16G15B16FORMAT_R32G32B32FORMAT_R8G8B8A8FORMAT_B8G8R8A8FORMAT_R16G15B16A16FORMAT_R32G32B32A32FORMAT_R32G32B32A32_FLOATFORMAT_R32G32B32A32_DOUBLEFORMAT_RGB32FORMAT_RGBA32FORMAT_COUNTpublic static final int NK_FORMAT_R16G15B16A16
FORMAT_SCHARFORMAT_SSHORTFORMAT_SINTFORMAT_UCHARFORMAT_USHORTFORMAT_UINTFORMAT_FLOATFORMAT_DOUBLEFORMAT_R8G8B8FORMAT_R16G15B16FORMAT_R32G32B32FORMAT_R8G8B8A8FORMAT_B8G8R8A8FORMAT_R16G15B16A16FORMAT_R32G32B32A32FORMAT_R32G32B32A32_FLOATFORMAT_R32G32B32A32_DOUBLEFORMAT_RGB32FORMAT_RGBA32FORMAT_COUNTpublic static final int NK_FORMAT_R32G32B32A32
FORMAT_SCHARFORMAT_SSHORTFORMAT_SINTFORMAT_UCHARFORMAT_USHORTFORMAT_UINTFORMAT_FLOATFORMAT_DOUBLEFORMAT_R8G8B8FORMAT_R16G15B16FORMAT_R32G32B32FORMAT_R8G8B8A8FORMAT_B8G8R8A8FORMAT_R16G15B16A16FORMAT_R32G32B32A32FORMAT_R32G32B32A32_FLOATFORMAT_R32G32B32A32_DOUBLEFORMAT_RGB32FORMAT_RGBA32FORMAT_COUNTpublic static final int NK_FORMAT_R32G32B32A32_FLOAT
FORMAT_SCHARFORMAT_SSHORTFORMAT_SINTFORMAT_UCHARFORMAT_USHORTFORMAT_UINTFORMAT_FLOATFORMAT_DOUBLEFORMAT_R8G8B8FORMAT_R16G15B16FORMAT_R32G32B32FORMAT_R8G8B8A8FORMAT_B8G8R8A8FORMAT_R16G15B16A16FORMAT_R32G32B32A32FORMAT_R32G32B32A32_FLOATFORMAT_R32G32B32A32_DOUBLEFORMAT_RGB32FORMAT_RGBA32FORMAT_COUNTpublic static final int NK_FORMAT_R32G32B32A32_DOUBLE
FORMAT_SCHARFORMAT_SSHORTFORMAT_SINTFORMAT_UCHARFORMAT_USHORTFORMAT_UINTFORMAT_FLOATFORMAT_DOUBLEFORMAT_R8G8B8FORMAT_R16G15B16FORMAT_R32G32B32FORMAT_R8G8B8A8FORMAT_B8G8R8A8FORMAT_R16G15B16A16FORMAT_R32G32B32A32FORMAT_R32G32B32A32_FLOATFORMAT_R32G32B32A32_DOUBLEFORMAT_RGB32FORMAT_RGBA32FORMAT_COUNTpublic static final int NK_FORMAT_RGB32
FORMAT_SCHARFORMAT_SSHORTFORMAT_SINTFORMAT_UCHARFORMAT_USHORTFORMAT_UINTFORMAT_FLOATFORMAT_DOUBLEFORMAT_R8G8B8FORMAT_R16G15B16FORMAT_R32G32B32FORMAT_R8G8B8A8FORMAT_B8G8R8A8FORMAT_R16G15B16A16FORMAT_R32G32B32A32FORMAT_R32G32B32A32_FLOATFORMAT_R32G32B32A32_DOUBLEFORMAT_RGB32FORMAT_RGBA32FORMAT_COUNTpublic static final int NK_FORMAT_RGBA32
FORMAT_SCHARFORMAT_SSHORTFORMAT_SINTFORMAT_UCHARFORMAT_USHORTFORMAT_UINTFORMAT_FLOATFORMAT_DOUBLEFORMAT_R8G8B8FORMAT_R16G15B16FORMAT_R32G32B32FORMAT_R8G8B8A8FORMAT_B8G8R8A8FORMAT_R16G15B16A16FORMAT_R32G32B32A32FORMAT_R32G32B32A32_FLOATFORMAT_R32G32B32A32_DOUBLEFORMAT_RGB32FORMAT_RGBA32FORMAT_COUNTpublic static final int NK_FORMAT_COUNT
FORMAT_SCHARFORMAT_SSHORTFORMAT_SINTFORMAT_UCHARFORMAT_USHORTFORMAT_UINTFORMAT_FLOATFORMAT_DOUBLEFORMAT_R8G8B8FORMAT_R16G15B16FORMAT_R32G32B32FORMAT_R8G8B8A8FORMAT_B8G8R8A8FORMAT_R16G15B16A16FORMAT_R32G32B32A32FORMAT_R32G32B32A32_FLOATFORMAT_R32G32B32A32_DOUBLEFORMAT_RGB32FORMAT_RGBA32FORMAT_COUNTpublic static final int NK_STYLE_ITEM_COLOR
public static final int NK_STYLE_ITEM_IMAGE
public static final int NK_HEADER_LEFT
public static final int NK_HEADER_RIGHT
public static final int NK_PANEL_NONE
public static final int NK_PANEL_WINDOW
public static final int NK_PANEL_GROUP
public static final int NK_PANEL_POPUP
public static final int NK_PANEL_CONTEXTUAL
public static final int NK_PANEL_COMBO
public static final int NK_PANEL_MENU
public static final int NK_PANEL_TOOLTIP
public static final int NK_PANEL_SET_NONBLOCK
public static final int NK_PANEL_SET_POPUP
public static final int NK_PANEL_SET_SUB
public static final int NK_LAYOUT_DYNAMIC_FIXED
public static final int NK_LAYOUT_DYNAMIC_ROW
public static final int NK_LAYOUT_DYNAMIC_FREE
public static final int NK_LAYOUT_DYNAMIC
public static final int NK_LAYOUT_STATIC_FIXED
public static final int NK_LAYOUT_STATIC_ROW
public static final int NK_LAYOUT_STATIC_FREE
public static final int NK_LAYOUT_STATIC
public static final int NK_LAYOUT_TEMPLATE
public static final int NK_LAYOUT_COUNT
public static final int NK_WINDOW_PRIVATE
WINDOW_PRIVATEWINDOW_DYNAMIC - special window type growing up in height while being filled to a certain maximum heightWINDOW_ROM - sets the window into a read only mode and does not allow input changesWINDOW_HIDDEN - Hides the window and stops any window interaction and drawing can be set by user input or by closing the windowWINDOW_CLOSED - Directly closes and frees the window at the end of the frameWINDOW_MINIMIZED - marks the window as minimizedWINDOW_REMOVE_ROM - Removes the read only mode at the end of the windowpublic static final int NK_WINDOW_DYNAMIC
WINDOW_PRIVATEWINDOW_DYNAMIC - special window type growing up in height while being filled to a certain maximum heightWINDOW_ROM - sets the window into a read only mode and does not allow input changesWINDOW_HIDDEN - Hides the window and stops any window interaction and drawing can be set by user input or by closing the windowWINDOW_CLOSED - Directly closes and frees the window at the end of the frameWINDOW_MINIMIZED - marks the window as minimizedWINDOW_REMOVE_ROM - Removes the read only mode at the end of the windowpublic static final int NK_WINDOW_ROM
WINDOW_PRIVATEWINDOW_DYNAMIC - special window type growing up in height while being filled to a certain maximum heightWINDOW_ROM - sets the window into a read only mode and does not allow input changesWINDOW_HIDDEN - Hides the window and stops any window interaction and drawing can be set by user input or by closing the windowWINDOW_CLOSED - Directly closes and frees the window at the end of the frameWINDOW_MINIMIZED - marks the window as minimizedWINDOW_REMOVE_ROM - Removes the read only mode at the end of the windowpublic static final int NK_WINDOW_HIDDEN
WINDOW_PRIVATEWINDOW_DYNAMIC - special window type growing up in height while being filled to a certain maximum heightWINDOW_ROM - sets the window into a read only mode and does not allow input changesWINDOW_HIDDEN - Hides the window and stops any window interaction and drawing can be set by user input or by closing the windowWINDOW_CLOSED - Directly closes and frees the window at the end of the frameWINDOW_MINIMIZED - marks the window as minimizedWINDOW_REMOVE_ROM - Removes the read only mode at the end of the windowpublic static final int NK_WINDOW_CLOSED
WINDOW_PRIVATEWINDOW_DYNAMIC - special window type growing up in height while being filled to a certain maximum heightWINDOW_ROM - sets the window into a read only mode and does not allow input changesWINDOW_HIDDEN - Hides the window and stops any window interaction and drawing can be set by user input or by closing the windowWINDOW_CLOSED - Directly closes and frees the window at the end of the frameWINDOW_MINIMIZED - marks the window as minimizedWINDOW_REMOVE_ROM - Removes the read only mode at the end of the windowpublic static final int NK_WINDOW_MINIMIZED
WINDOW_PRIVATEWINDOW_DYNAMIC - special window type growing up in height while being filled to a certain maximum heightWINDOW_ROM - sets the window into a read only mode and does not allow input changesWINDOW_HIDDEN - Hides the window and stops any window interaction and drawing can be set by user input or by closing the windowWINDOW_CLOSED - Directly closes and frees the window at the end of the frameWINDOW_MINIMIZED - marks the window as minimizedWINDOW_REMOVE_ROM - Removes the read only mode at the end of the windowpublic static final int NK_WINDOW_REMOVE_ROM
WINDOW_PRIVATEWINDOW_DYNAMIC - special window type growing up in height while being filled to a certain maximum heightWINDOW_ROM - sets the window into a read only mode and does not allow input changesWINDOW_HIDDEN - Hides the window and stops any window interaction and drawing can be set by user input or by closing the windowWINDOW_CLOSED - Directly closes and frees the window at the end of the frameWINDOW_MINIMIZED - marks the window as minimizedWINDOW_REMOVE_ROM - Removes the read only mode at the end of the windowpublic static int nnk_init_fixed(long ctx,
long memory,
long size,
long font)
init_fixedsize - must contain the total size of memorypublic static boolean nk_init_fixed(NkContext ctx, java.nio.ByteBuffer memory, @Nullable NkUserFont font)
Should be used if you want complete control over nuklears memory management. Especially recommended for system with little memory or systems with virtual memory. For the later case you can just allocate for example 16MB of virtual memory and only the required amount of memory will actually be committed.
IMPORTANT: make sure the passed memory block is aligned correctly for NkDrawCommand.
ctx - the nuklear contextmemory - must point to a previously allocated memory blockfont - must point to a previously initialized font handlepublic static int nnk_init(long ctx,
long allocator,
long font)
initpublic static boolean nk_init(NkContext ctx, NkAllocator allocator, @Nullable NkUserFont font)
Used internally for nk_init_default and provides a kitchen sink allocation interface to nuklear. Can be useful for cases like monitoring
memory consumption.
ctx - the nuklear contextallocator - must point to a previously allocated memory allocatorfont - must point to a previously initialized font handlepublic static int nnk_init_custom(long ctx,
long cmds,
long pool,
long font)
init_custompublic static boolean nk_init_custom(NkContext ctx, NkBuffer cmds, NkBuffer pool, @Nullable NkUserFont font)
ctx - the nuklear contextcmds - must point to a previously initialized memory buffer either fixed or dynamic to store draw commands intopool - must point to a previously initialized memory buffer either fixed or dynamic to store windows, panels and tablesfont - must point to a previously initialized font handlepublic static void nnk_clear(long ctx)
clearpublic static void nk_clear(NkContext ctx)
Resets the context state at the end of the frame. This includes mostly garbage collector tasks like removing windows or table not called and therefore used anymore.
ctx - the nuklear contextpublic static void nnk_free(long ctx)
freepublic static void nk_free(NkContext ctx)
Frees all memory allocated by nuklear. Not needed if context was initialized with init_fixed.
ctx - the nuklear contextpublic static void nnk_set_user_data(long ctx,
long handle)
set_user_datapublic static void nk_set_user_data(NkContext ctx, NkHandle handle)
ctx - the nuklear contexthandle - handle with either pointer or index to be passed into every draw commandspublic static int nnk_begin(long ctx,
long title,
long bounds,
int flags)
beginpublic static boolean nk_begin(NkContext ctx, java.nio.ByteBuffer title, NkRect bounds, int flags)
ctx - the nuklear contextflags - one or more of:WINDOW_PRIVATE | WINDOW_DYNAMIC | WINDOW_ROM | WINDOW_HIDDEN | WINDOW_CLOSED |
WINDOW_MINIMIZED | WINDOW_REMOVE_ROM |
public static boolean nk_begin(NkContext ctx, java.lang.CharSequence title, NkRect bounds, int flags)
ctx - the nuklear contextflags - one or more of:WINDOW_PRIVATE | WINDOW_DYNAMIC | WINDOW_ROM | WINDOW_HIDDEN | WINDOW_CLOSED |
WINDOW_MINIMIZED | WINDOW_REMOVE_ROM |
public static int nnk_begin_titled(long ctx,
long name,
long title,
long bounds,
int flags)
begin_titledpublic static boolean nk_begin_titled(NkContext ctx, java.nio.ByteBuffer name, java.nio.ByteBuffer title, NkRect bounds, int flags)
ctx - the nuklear contextflags - one or more of:WINDOW_PRIVATE | WINDOW_DYNAMIC | WINDOW_ROM | WINDOW_HIDDEN | WINDOW_CLOSED |
WINDOW_MINIMIZED | WINDOW_REMOVE_ROM |
public static boolean nk_begin_titled(NkContext ctx, java.lang.CharSequence name, java.lang.CharSequence title, NkRect bounds, int flags)
ctx - the nuklear contextflags - one or more of:WINDOW_PRIVATE | WINDOW_DYNAMIC | WINDOW_ROM | WINDOW_HIDDEN | WINDOW_CLOSED |
WINDOW_MINIMIZED | WINDOW_REMOVE_ROM |
public static void nnk_end(long ctx)
endpublic static void nk_end(NkContext ctx)
ctx - the nuklear contextpublic static long nnk_window_find(long ctx,
long name)
window_find@Nullable public static NkWindow nk_window_find(NkContext ctx, java.nio.ByteBuffer name)
ctx - the nuklear context@Nullable public static NkWindow nk_window_find(NkContext ctx, java.lang.CharSequence name)
ctx - the nuklear contextpublic static void nnk_window_get_bounds(long ctx,
long __result)
window_get_boundspublic static NkRect nk_window_get_bounds(NkContext ctx, NkRect __result)
ctx - the nuklear contextpublic static void nnk_window_get_position(long ctx,
long __result)
window_get_positionpublic static NkVec2 nk_window_get_position(NkContext ctx, NkVec2 __result)
ctx - the nuklear contextpublic static void nnk_window_get_size(long ctx,
long __result)
window_get_sizepublic static NkVec2 nk_window_get_size(NkContext ctx, NkVec2 __result)
ctx - the nuklear contextpublic static float nnk_window_get_width(long ctx)
window_get_widthpublic static float nk_window_get_width(NkContext ctx)
ctx - the nuklear contextpublic static float nnk_window_get_height(long ctx)
window_get_heightpublic static float nk_window_get_height(NkContext ctx)
ctx - the nuklear contextpublic static long nnk_window_get_panel(long ctx)
window_get_panel@Nullable public static NkPanel nk_window_get_panel(NkContext ctx)
ctx - the nuklear contextpublic static void nnk_window_get_content_region(long ctx,
long __result)
window_get_content_regionpublic static NkRect nk_window_get_content_region(NkContext ctx, NkRect __result)
ctx - the nuklear contextpublic static void nnk_window_get_content_region_min(long ctx,
long __result)
window_get_content_region_minpublic static NkVec2 nk_window_get_content_region_min(NkContext ctx, NkVec2 __result)
ctx - the nuklear contextpublic static void nnk_window_get_content_region_max(long ctx,
long __result)
window_get_content_region_maxpublic static NkVec2 nk_window_get_content_region_max(NkContext ctx, NkVec2 __result)
ctx - the nuklear contextpublic static void nnk_window_get_content_region_size(long ctx,
long __result)
window_get_content_region_sizepublic static NkVec2 nk_window_get_content_region_size(NkContext ctx, NkVec2 __result)
ctx - the nuklear contextpublic static long nnk_window_get_canvas(long ctx)
window_get_canvas@Nullable public static NkCommandBuffer nk_window_get_canvas(NkContext ctx)
ctx - the nuklear contextpublic static void nnk_window_get_scroll(long ctx,
long offset_x,
long offset_y)
window_get_scrollpublic static void nk_window_get_scroll(NkContext ctx, @Nullable java.nio.IntBuffer offset_x, @Nullable java.nio.IntBuffer offset_y)
Warning: Only call this function between calls nk_begin_xxx and end.
ctx - the nuklear contextoffset_x - a pointer to the x offset output (or NULL to ignore)offset_y - a pointer to the y offset output (or NULL to ignore)public static int nnk_window_has_focus(long ctx)
window_has_focuspublic static boolean nk_window_has_focus(NkContext ctx)
ctx - the nuklear contextpublic static int nnk_window_is_collapsed(long ctx,
long name)
window_is_collapsedpublic static boolean nk_window_is_collapsed(NkContext ctx, java.nio.ByteBuffer name)
ctx - the nuklear contextpublic static boolean nk_window_is_collapsed(NkContext ctx, java.lang.CharSequence name)
ctx - the nuklear contextpublic static int nnk_window_is_closed(long ctx,
long name)
window_is_closedpublic static boolean nk_window_is_closed(NkContext ctx, java.nio.ByteBuffer name)
ctx - the nuklear contextpublic static boolean nk_window_is_closed(NkContext ctx, java.lang.CharSequence name)
ctx - the nuklear contextpublic static int nnk_window_is_hidden(long ctx,
long name)
window_is_hiddenpublic static boolean nk_window_is_hidden(NkContext ctx, java.nio.ByteBuffer name)
ctx - the nuklear contextpublic static boolean nk_window_is_hidden(NkContext ctx, java.lang.CharSequence name)
ctx - the nuklear contextpublic static int nnk_window_is_active(long ctx,
long name)
window_is_activepublic static boolean nk_window_is_active(NkContext ctx, java.nio.ByteBuffer name)
window_has_focus for some reason.ctx - the nuklear contextpublic static boolean nk_window_is_active(NkContext ctx, java.lang.CharSequence name)
window_has_focus for some reason.ctx - the nuklear contextpublic static int nnk_window_is_hovered(long ctx)
window_is_hoveredpublic static boolean nk_window_is_hovered(NkContext ctx)
ctx - the nuklear contextpublic static int nnk_window_is_any_hovered(long ctx)
window_is_any_hoveredpublic static boolean nk_window_is_any_hovered(NkContext ctx)
ctx - the nuklear contextpublic static int nnk_item_is_any_active(long ctx)
item_is_any_activepublic static boolean nk_item_is_any_active(NkContext ctx)
ctx - the nuklear contextpublic static void nnk_window_set_bounds(long ctx,
long name,
long bounds)
window_set_boundspublic static void nk_window_set_bounds(NkContext ctx, java.nio.ByteBuffer name, NkRect bounds)
ctx - the nuklear contextname - name of the window to modify both position and sizebounds - points to a nk_rect struct with the new position and size of the specified windowpublic static void nk_window_set_bounds(NkContext ctx, java.lang.CharSequence name, NkRect bounds)
ctx - the nuklear contextname - name of the window to modify both position and sizebounds - points to a nk_rect struct with the new position and size of the specified windowpublic static void nnk_window_set_position(long ctx,
long name,
long position)
window_set_positionpublic static void nk_window_set_position(NkContext ctx, java.nio.ByteBuffer name, NkVec2 position)
ctx - the nuklear contextname - name of the window to modify position ofposition - points to a nk_vec2 struct with the new position of currently active windowpublic static void nk_window_set_position(NkContext ctx, java.lang.CharSequence name, NkVec2 position)
ctx - the nuklear contextname - name of the window to modify position ofposition - points to a nk_vec2 struct with the new position of currently active windowpublic static void nnk_window_set_size(long ctx,
long name,
long size)
window_set_sizepublic static void nk_window_set_size(NkContext ctx, java.nio.ByteBuffer name, NkVec2 size)
ctx - the nuklear contextname - name of the window to modify size ofsize - points to a nk_vec2 struct with the new size of currently active windowpublic static void nk_window_set_size(NkContext ctx, java.lang.CharSequence name, NkVec2 size)
ctx - the nuklear contextname - name of the window to modify size ofsize - points to a nk_vec2 struct with the new size of currently active windowpublic static void nnk_window_set_focus(long ctx,
long name)
window_set_focuspublic static void nk_window_set_focus(NkContext ctx, java.nio.ByteBuffer name)
ctx - the nuklear contextname - name of the window to be set activepublic static void nk_window_set_focus(NkContext ctx, java.lang.CharSequence name)
ctx - the nuklear contextname - name of the window to be set activepublic static void nnk_window_set_scroll(long ctx,
int offset_x,
int offset_y)
window_set_scrollpublic static void nk_window_set_scroll(NkContext ctx, int offset_x, int offset_y)
Warning: Only call this function between calls nk_begin_xxx and end.
ctx - the nuklear contextoffset_x - the x offset to scroll tooffset_y - the y offset to scroll topublic static void nnk_window_close(long ctx,
long name)
window_closepublic static void nk_window_close(NkContext ctx, java.nio.ByteBuffer name)
ctx - the nuklear contextpublic static void nk_window_close(NkContext ctx, java.lang.CharSequence name)
ctx - the nuklear contextpublic static void nnk_window_collapse(long ctx,
long name,
int c)
window_collapsepublic static void nk_window_collapse(NkContext ctx, java.nio.ByteBuffer name, int c)
public static void nk_window_collapse(NkContext ctx, java.lang.CharSequence name, int c)
public static void nnk_window_collapse_if(long ctx,
long name,
int c,
int cond)
window_collapse_ifpublic static void nk_window_collapse_if(NkContext ctx, java.nio.ByteBuffer name, int c, boolean cond)
public static void nk_window_collapse_if(NkContext ctx, java.lang.CharSequence name, int c, boolean cond)
public static void nnk_window_show(long ctx,
long name,
int s)
window_showpublic static void nk_window_show(NkContext ctx, java.nio.ByteBuffer name, int s)
public static void nk_window_show(NkContext ctx, java.lang.CharSequence name, int s)
public static void nnk_window_show_if(long ctx,
long name,
int s,
int cond)
window_show_ifpublic static void nk_window_show_if(NkContext ctx, java.nio.ByteBuffer name, int s, boolean cond)
public static void nk_window_show_if(NkContext ctx, java.lang.CharSequence name, int s, boolean cond)
public static void nnk_layout_set_min_row_height(long ctx,
float height)
layout_set_min_row_heightpublic static void nk_layout_set_min_row_height(NkContext ctx, float height)
IMPORTANT: The passed height needs to include both your preferred row height as well as padding. No internal padding is added.
ctx - the nuklear contextheight - new minimum row height to be used for auto generating the row heightpublic static void nnk_layout_reset_min_row_height(long ctx)
layout_reset_min_row_heightpublic static void nk_layout_reset_min_row_height(NkContext ctx)
style_window.min_row_height_padding).ctx - the nuklear contextpublic static void nnk_layout_widget_bounds(long ctx,
long __result)
layout_widget_boundspublic static NkRect nk_layout_widget_bounds(NkContext ctx, NkRect __result)
ctx - the nuklear contextpublic static float nnk_layout_ratio_from_pixel(long ctx,
float pixel_width)
layout_ratio_from_pixelpublic static float nk_layout_ratio_from_pixel(NkContext ctx, float pixel_width)
ctx - the nuklear contextpixel_width - pixel width to convert to window ratiopublic static void nnk_layout_row_dynamic(long ctx,
float height,
int cols)
layout_row_dynamicpublic static void nk_layout_row_dynamic(NkContext ctx, float height, int cols)
cols number of widgets evenly. Once called all subsequent widget calls greater
than cols will allocate a new row with same layout.ctx - the nuklear contextheight - holds height of each widget in row or zero for auto layoutingcols - number of widgets inside rowpublic static void nnk_layout_row_static(long ctx,
float height,
int item_width,
int cols)
layout_row_staticpublic static void nk_layout_row_static(NkContext ctx, float height, int item_width, int cols)
cols number of widgets in row with same item_width horizontal size. Once called all subsequent
widget calls greater than cols will allocate a new row with same layout.ctx - the nuklear contextheight - holds row height to allocate from panel for widget heightitem_width - holds width of each widget in rowcols - number of widgets inside rowpublic static void nnk_layout_row_begin(long ctx,
int fmt,
float row_height,
int cols)
layout_row_beginpublic static void nk_layout_row_begin(NkContext ctx, int fmt, float row_height, int cols)
public static void nnk_layout_row_push(long ctx,
float value)
layout_row_pushpublic static void nk_layout_row_push(NkContext ctx, float value)
ctx - the nuklear contextvalue - either a window ratio or fixed width depending on fmt in previous layout_row_begin callpublic static void nnk_layout_row_end(long ctx)
layout_row_endpublic static void nk_layout_row_end(NkContext ctx)
ctx - the nuklear contextpublic static void nnk_layout_row(long ctx,
int fmt,
float height,
int cols,
long ratio)
layout_rowcols - number of widgets inside rowpublic static void nk_layout_row(NkContext ctx, int fmt, float height, java.nio.FloatBuffer ratio)
public static void nnk_layout_row_template_begin(long ctx,
float height)
layout_row_template_beginpublic static void nk_layout_row_template_begin(NkContext ctx, float height)
ctx - the nuklear contextheight - holds height of each widget in row or zero for auto layoutingpublic static void nnk_layout_row_template_push_dynamic(long ctx)
layout_row_template_push_dynamicpublic static void nk_layout_row_template_push_dynamic(NkContext ctx)
ctx - the nuklear contextpublic static void nnk_layout_row_template_push_variable(long ctx,
float min_width)
layout_row_template_push_variablepublic static void nk_layout_row_template_push_variable(NkContext ctx, float min_width)
ctx - the nuklear contextmin_width - holds the minimum pixel width the next column must bepublic static void nnk_layout_row_template_push_static(long ctx,
float width)
layout_row_template_push_staticpublic static void nk_layout_row_template_push_static(NkContext ctx, float width)
ctx - the nuklear contextwidth - holds the absolute pixel width value the next column must bepublic static void nnk_layout_row_template_end(long ctx)
layout_row_template_endpublic static void nk_layout_row_template_end(NkContext ctx)
ctx - the nuklear contextpublic static void nnk_layout_space_begin(long ctx,
int fmt,
float height,
int widget_count)
layout_space_beginpublic static void nk_layout_space_begin(NkContext ctx, int fmt, float height, int widget_count)
public static void nnk_layout_space_push(long ctx,
long rect)
layout_space_pushpublic static void nk_layout_space_push(NkContext ctx, NkRect rect)
ctx - the nuklear contextrect - position and size in layout space local coordinatespublic static void nnk_layout_space_end(long ctx)
layout_space_endpublic static void nk_layout_space_end(NkContext ctx)
ctx - the nuklear contextpublic static void nnk_layout_space_bounds(long ctx,
long __result)
layout_space_boundspublic static NkRect nk_layout_space_bounds(NkContext ctx, NkRect __result)
nk_layout_space.ctx - the nuklear contextpublic static void nnk_layout_space_to_screen(long ctx,
long ret)
layout_space_to_screenpublic static NkVec2 nk_layout_space_to_screen(NkContext ctx, NkVec2 ret)
nk_layout_space coordinate space into screen space.ctx - the nuklear contextret - position to convert from layout space into screen coordinate spacepublic static void nnk_layout_space_to_local(long ctx,
long ret)
layout_space_to_localpublic static NkVec2 nk_layout_space_to_local(NkContext ctx, NkVec2 ret)
ctx - the nuklear contextret - position to convert from screen space into layout coordinate spacepublic static void nnk_layout_space_rect_to_screen(long ctx,
long ret)
layout_space_rect_to_screenpublic static NkRect nk_layout_space_rect_to_screen(NkContext ctx, NkRect ret)
ctx - the nuklear contextret - rectangle to convert from layout space into screen spacepublic static void nnk_layout_space_rect_to_local(long ctx,
long ret)
layout_space_rect_to_localpublic static NkRect nk_layout_space_rect_to_local(NkContext ctx, NkRect ret)
ctx - the nuklear contextret - rectangle to convert from screen space into layout spacepublic static int nnk_group_begin(long ctx,
long title,
int flags)
group_beginpublic static boolean nk_group_begin(NkContext ctx, java.nio.ByteBuffer title, int flags)
ctx - the nuklear contextpublic static boolean nk_group_begin(NkContext ctx, java.lang.CharSequence title, int flags)
ctx - the nuklear contextpublic static int nnk_group_begin_titled(long ctx,
long name,
long title,
int flags)
group_begin_titledpublic static boolean nk_group_begin_titled(NkContext ctx, java.nio.ByteBuffer name, java.nio.ByteBuffer title, int flags)
ctx - the nuklear contextname - must be an unique identifier for this grouptitle - group header titleflags - window flags defined in the nk_panel_flags section with a number of different group behaviors. One or more of:WINDOW_PRIVATE | WINDOW_DYNAMIC | WINDOW_ROM | WINDOW_HIDDEN | WINDOW_CLOSED |
WINDOW_MINIMIZED | WINDOW_REMOVE_ROM |
true if visible and fillable with widgets or false otherwisepublic static boolean nk_group_begin_titled(NkContext ctx, java.lang.CharSequence name, java.lang.CharSequence title, int flags)
ctx - the nuklear contextname - must be an unique identifier for this grouptitle - group header titleflags - window flags defined in the nk_panel_flags section with a number of different group behaviors. One or more of:WINDOW_PRIVATE | WINDOW_DYNAMIC | WINDOW_ROM | WINDOW_HIDDEN | WINDOW_CLOSED |
WINDOW_MINIMIZED | WINDOW_REMOVE_ROM |
true if visible and fillable with widgets or false otherwisepublic static void nnk_group_end(long ctx)
group_endpublic static void nk_group_end(NkContext ctx)
ctx - the nuklear contextpublic static int nnk_group_scrolled_offset_begin(long ctx,
long x_offset,
long y_offset,
long title,
int flags)
group_scrolled_offset_beginpublic static boolean nk_group_scrolled_offset_begin(NkContext ctx, java.nio.IntBuffer x_offset, java.nio.IntBuffer y_offset, java.nio.ByteBuffer title, int flags)
ctx - the nuklear contextpublic static boolean nk_group_scrolled_offset_begin(NkContext ctx, java.nio.IntBuffer x_offset, java.nio.IntBuffer y_offset, java.lang.CharSequence title, int flags)
ctx - the nuklear contextpublic static int nnk_group_scrolled_begin(long ctx,
long scroll,
long title,
int flags)
group_scrolled_beginpublic static boolean nk_group_scrolled_begin(NkContext ctx, NkScroll scroll, java.nio.ByteBuffer title, int flags)
ctx - the nuklear contextpublic static boolean nk_group_scrolled_begin(NkContext ctx, NkScroll scroll, java.lang.CharSequence title, int flags)
ctx - the nuklear contextpublic static void nnk_group_scrolled_end(long ctx)
group_scrolled_endpublic static void nk_group_scrolled_end(NkContext ctx)
ctx - the nuklear contextpublic static void nnk_group_get_scroll(long ctx,
long id,
long x_offset,
long y_offset)
group_get_scrollpublic static void nk_group_get_scroll(NkContext ctx, java.nio.ByteBuffer id, @Nullable java.nio.IntBuffer x_offset, @Nullable java.nio.IntBuffer y_offset)
ctx - the nuklear contextid - the id of the group to get the scroll position ofx_offset - a pointer to the x offset output (or NULL to ignore)y_offset - a pointer to the y offset output (or NULL to ignore)public static void nk_group_get_scroll(NkContext ctx, java.lang.CharSequence id, @Nullable java.nio.IntBuffer x_offset, @Nullable java.nio.IntBuffer y_offset)
ctx - the nuklear contextid - the id of the group to get the scroll position ofx_offset - a pointer to the x offset output (or NULL to ignore)y_offset - a pointer to the y offset output (or NULL to ignore)public static void nnk_group_set_scroll(long ctx,
long id,
int x_offset,
int y_offset)
group_set_scrollpublic static void nk_group_set_scroll(NkContext ctx, java.nio.ByteBuffer id, int x_offset, int y_offset)
ctx - the nuklear contextid - the id of the group to scrollx_offset - the x offset to scroll toy_offset - the y offset to scroll topublic static void nk_group_set_scroll(NkContext ctx, java.lang.CharSequence id, int x_offset, int y_offset)
ctx - the nuklear contextid - the id of the group to scrollx_offset - the x offset to scroll toy_offset - the y offset to scroll topublic static int nnk_list_view_begin(long ctx,
long view,
long title,
int flags,
int row_height,
int row_count)
list_view_beginpublic static boolean nk_list_view_begin(NkContext ctx, NkListView view, java.nio.ByteBuffer title, int flags, int row_height, int row_count)
ctx - the nuklear contextpublic static boolean nk_list_view_begin(NkContext ctx, NkListView view, java.lang.CharSequence title, int flags, int row_height, int row_count)
ctx - the nuklear contextpublic static void nnk_list_view_end(long view)
public static void nk_list_view_end(NkListView view)
public static int nnk_tree_push_hashed(long ctx,
int type,
long title,
int initial_state,
long hash,
int len,
int seed)
tree_push_hashedlen - size of passed memory block or string in hashpublic static boolean nk_tree_push_hashed(NkContext ctx, int type, java.nio.ByteBuffer title, int initial_state, java.nio.ByteBuffer hash, int seed)
ctx - the nuklear contexttype - value from the nk_tree_type section to visually mark a tree node header as either a collapseable UI section or tree node. One of:TREE_NODE | TREE_TAB |
title - label printed in the tree headerinitial_state - initial tree state value out of nk_collapse_states. One of:MINIMIZED | MAXIMIZED |
hash - memory block or string to generate the ID fromseed - seeding value if this function is called in a loop or default to 0public static boolean nk_tree_push_hashed(NkContext ctx, int type, java.lang.CharSequence title, int initial_state, java.nio.ByteBuffer hash, int seed)
ctx - the nuklear contexttype - value from the nk_tree_type section to visually mark a tree node header as either a collapseable UI section or tree node. One of:TREE_NODE | TREE_TAB |
title - label printed in the tree headerinitial_state - initial tree state value out of nk_collapse_states. One of:MINIMIZED | MAXIMIZED |
hash - memory block or string to generate the ID fromseed - seeding value if this function is called in a loop or default to 0public static int nnk_tree_image_push_hashed(long ctx,
int type,
long img,
long title,
int initial_state,
long hash,
int len,
int seed)
tree_image_push_hashedlen - size of passed memory block or string in hashpublic static boolean nk_tree_image_push_hashed(NkContext ctx, int type, NkImage img, java.nio.ByteBuffer title, int initial_state, java.nio.ByteBuffer hash, int seed)
ctx - the nuklear contexttype - value from the nk_tree_type section to visually mark a tree node header as either a collapseable UI section or tree node. One of:TREE_NODE | TREE_TAB |
img - image to display inside the header on the left of the labeltitle - label printed in the tree headerinitial_state - initial tree state value out of nk_collapse_states. One of:MINIMIZED | MAXIMIZED |
hash - memory block or string to generate the ID fromseed - seeding value if this function is called in a loop or default to 0public static boolean nk_tree_image_push_hashed(NkContext ctx, int type, NkImage img, java.lang.CharSequence title, int initial_state, java.nio.ByteBuffer hash, int seed)
ctx - the nuklear contexttype - value from the nk_tree_type section to visually mark a tree node header as either a collapseable UI section or tree node. One of:TREE_NODE | TREE_TAB |
img - image to display inside the header on the left of the labeltitle - label printed in the tree headerinitial_state - initial tree state value out of nk_collapse_states. One of:MINIMIZED | MAXIMIZED |
hash - memory block or string to generate the ID fromseed - seeding value if this function is called in a loop or default to 0public static void nnk_tree_pop(long ctx)
tree_poppublic static void nk_tree_pop(NkContext ctx)
ctx - the nuklear contextpublic static int nnk_tree_state_push(long ctx,
int type,
long title,
long state)
tree_state_pushpublic static boolean nk_tree_state_push(NkContext ctx, int type, java.nio.ByteBuffer title, java.nio.IntBuffer state)
public static boolean nk_tree_state_push(NkContext ctx, int type, java.lang.CharSequence title, java.nio.IntBuffer state)
public static int nnk_tree_state_image_push(long ctx,
int type,
long image,
long title,
long state)
tree_state_image_pushpublic static boolean nk_tree_state_image_push(NkContext ctx, int type, NkImage image, java.nio.ByteBuffer title, java.nio.IntBuffer state)
ctx - the nuklear contexttype - value from the nk_tree_type section to visually mark a tree node header as either a collapseable UI section or tree node. One of:TREE_NODE | TREE_TAB |
image - image to display inside the header on the left of the labeltitle - label printed in the tree headerpublic static boolean nk_tree_state_image_push(NkContext ctx, int type, NkImage image, java.lang.CharSequence title, java.nio.IntBuffer state)
ctx - the nuklear contexttype - value from the nk_tree_type section to visually mark a tree node header as either a collapseable UI section or tree node. One of:TREE_NODE | TREE_TAB |
image - image to display inside the header on the left of the labeltitle - label printed in the tree headerpublic static void nnk_tree_state_pop(long ctx)
tree_state_poppublic static void nk_tree_state_pop(NkContext ctx)
ctx - the nuklear contextpublic static int nnk_tree_element_push_hashed(long ctx,
int type,
long title,
int initial_state,
long selected,
long hash,
int len,
int seed)
tree_element_push_hashedpublic static boolean nk_tree_element_push_hashed(NkContext ctx, int type, java.nio.ByteBuffer title, int initial_state, java.nio.IntBuffer selected, java.nio.ByteBuffer hash, int seed)
public static boolean nk_tree_element_push_hashed(NkContext ctx, int type, java.lang.CharSequence title, int initial_state, java.nio.IntBuffer selected, java.nio.ByteBuffer hash, int seed)
public static int nnk_tree_element_image_push_hashed(long ctx,
int type,
long img,
long title,
int initial_state,
long selected,
long hash,
int len,
int seed)
tree_element_image_push_hashedpublic static boolean nk_tree_element_image_push_hashed(NkContext ctx, int type, NkImage img, java.nio.ByteBuffer title, int initial_state, java.nio.IntBuffer selected, java.nio.ByteBuffer hash, int seed)
public static boolean nk_tree_element_image_push_hashed(NkContext ctx, int type, NkImage img, java.lang.CharSequence title, int initial_state, java.nio.IntBuffer selected, java.nio.ByteBuffer hash, int seed)
public static void nnk_tree_element_pop(long ctx)
tree_element_poppublic static void nk_tree_element_pop(NkContext ctx)
ctx - the nuklear contextpublic static void nnk_text(long ctx,
long str,
int len,
int alignment)
textpublic static void nk_text(NkContext ctx, java.nio.ByteBuffer str, int alignment)
ctx - the nuklear contextalignment - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static void nk_text(NkContext ctx, java.lang.CharSequence str, int alignment)
ctx - the nuklear contextalignment - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static void nnk_text_colored(long ctx,
long str,
int len,
int alignment,
long color)
text_coloredpublic static void nk_text_colored(NkContext ctx, java.nio.ByteBuffer str, int alignment, NkColor color)
ctx - the nuklear contextalignment - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static void nk_text_colored(NkContext ctx, java.lang.CharSequence str, int alignment, NkColor color)
ctx - the nuklear contextalignment - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static void nnk_text_wrap(long ctx,
long str,
int len)
text_wrappublic static void nk_text_wrap(NkContext ctx, java.nio.ByteBuffer str)
ctx - the nuklear contextpublic static void nk_text_wrap(NkContext ctx, java.lang.CharSequence str)
ctx - the nuklear contextpublic static void nnk_text_wrap_colored(long ctx,
long str,
int len,
long color)
text_wrap_coloredpublic static void nk_text_wrap_colored(NkContext ctx, java.nio.ByteBuffer str, NkColor color)
ctx - the nuklear contextpublic static void nk_text_wrap_colored(NkContext ctx, java.lang.CharSequence str, NkColor color)
ctx - the nuklear contextpublic static void nnk_label(long ctx,
long str,
int align)
labelpublic static void nk_label(NkContext ctx, java.nio.ByteBuffer str, int align)
ctx - the nuklear contextalign - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static void nk_label(NkContext ctx, java.lang.CharSequence str, int align)
ctx - the nuklear contextalign - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static void nnk_label_colored(long ctx,
long str,
int align,
long color)
label_coloredpublic static void nk_label_colored(NkContext ctx, java.nio.ByteBuffer str, int align, NkColor color)
ctx - the nuklear contextalign - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static void nk_label_colored(NkContext ctx, java.lang.CharSequence str, int align, NkColor color)
ctx - the nuklear contextalign - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static void nnk_label_wrap(long ctx,
long str)
label_wrappublic static void nk_label_wrap(NkContext ctx, java.nio.ByteBuffer str)
ctx - the nuklear contextpublic static void nk_label_wrap(NkContext ctx, java.lang.CharSequence str)
ctx - the nuklear contextpublic static void nnk_label_colored_wrap(long ctx,
long str,
long color)
label_colored_wrappublic static void nk_label_colored_wrap(NkContext ctx, java.nio.ByteBuffer str, NkColor color)
ctx - the nuklear contextpublic static void nk_label_colored_wrap(NkContext ctx, java.lang.CharSequence str, NkColor color)
ctx - the nuklear contextpublic static void nnk_image(long ctx,
long img)
imagepublic static void nk_image(NkContext ctx, NkImage img)
ctx - the nuklear contextpublic static void nnk_image_color(long ctx,
long img,
long color)
image_colorpublic static void nk_image_color(NkContext ctx, NkImage img, NkColor color)
ctx - the nuklear contextpublic static void nnk_button_set_behavior(long ctx,
int behavior)
button_set_behaviorpublic static void nk_button_set_behavior(NkContext ctx, int behavior)
ctx - the nuklear contextbehavior - one of:BUTTON_DEFAULT | BUTTON_REPEATER |
public static int nnk_button_push_behavior(long ctx,
int behavior)
button_push_behaviorpublic static boolean nk_button_push_behavior(NkContext ctx, int behavior)
ctx - the nuklear contextbehavior - one of:BUTTON_DEFAULT | BUTTON_REPEATER |
public static int nnk_button_pop_behavior(long ctx)
button_pop_behaviorpublic static boolean nk_button_pop_behavior(NkContext ctx)
ctx - the nuklear contextpublic static int nnk_button_text(long ctx,
long title,
int len)
button_textpublic static boolean nk_button_text(NkContext ctx, java.nio.ByteBuffer title)
ctx - the nuklear contextpublic static boolean nk_button_text(NkContext ctx, java.lang.CharSequence title)
ctx - the nuklear contextpublic static int nnk_button_label(long ctx,
long title)
button_labelpublic static boolean nk_button_label(NkContext ctx, java.nio.ByteBuffer title)
ctx - the nuklear contextpublic static boolean nk_button_label(NkContext ctx, java.lang.CharSequence title)
ctx - the nuklear contextpublic static int nnk_button_color(long ctx,
long color)
button_colorpublic static boolean nk_button_color(NkContext ctx, NkColor color)
ctx - the nuklear contextpublic static int nnk_button_symbol(long ctx,
int symbol)
button_symbolpublic static boolean nk_button_symbol(NkContext ctx, int symbol)
public static int nnk_button_image(long ctx,
long img)
button_imagepublic static boolean nk_button_image(NkContext ctx, NkImage img)
ctx - the nuklear contextpublic static int nnk_button_symbol_label(long ctx,
int symbol,
long text,
int text_alignment)
button_symbol_labelpublic static boolean nk_button_symbol_label(NkContext ctx, int symbol, java.nio.ByteBuffer text, int text_alignment)
ctx - the nuklear contextsymbol - one of:text_alignment - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static boolean nk_button_symbol_label(NkContext ctx, int symbol, java.lang.CharSequence text, int text_alignment)
ctx - the nuklear contextsymbol - one of:text_alignment - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static int nnk_button_symbol_text(long ctx,
int symbol,
long text,
int len,
int alignment)
button_symbol_textpublic static boolean nk_button_symbol_text(NkContext ctx, int symbol, java.nio.ByteBuffer text, int alignment)
ctx - the nuklear contextsymbol - one of:alignment - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static boolean nk_button_symbol_text(NkContext ctx, int symbol, java.lang.CharSequence text, int alignment)
ctx - the nuklear contextsymbol - one of:alignment - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static int nnk_button_image_label(long ctx,
long img,
long text,
int text_alignment)
button_image_labelpublic static boolean nk_button_image_label(NkContext ctx, NkImage img, java.nio.ByteBuffer text, int text_alignment)
ctx - the nuklear contexttext_alignment - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static boolean nk_button_image_label(NkContext ctx, NkImage img, java.lang.CharSequence text, int text_alignment)
ctx - the nuklear contexttext_alignment - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static int nnk_button_image_text(long ctx,
long img,
long text,
int len,
int alignment)
button_image_textpublic static boolean nk_button_image_text(NkContext ctx, NkImage img, java.nio.ByteBuffer text, int alignment)
ctx - the nuklear contextalignment - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static boolean nk_button_image_text(NkContext ctx, NkImage img, java.lang.CharSequence text, int alignment)
ctx - the nuklear contextalignment - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static int nnk_button_text_styled(long ctx,
long style,
long title,
int len)
button_text_styledpublic static boolean nk_button_text_styled(NkContext ctx, NkStyleButton style, java.nio.ByteBuffer title, int len)
ctx - the nuklear contextpublic static boolean nk_button_text_styled(NkContext ctx, NkStyleButton style, java.lang.CharSequence title, int len)
ctx - the nuklear contextpublic static int nnk_button_label_styled(long ctx,
long style,
long title)
button_label_styledpublic static boolean nk_button_label_styled(NkContext ctx, NkStyleButton style, java.nio.ByteBuffer title)
ctx - the nuklear contextpublic static boolean nk_button_label_styled(NkContext ctx, NkStyleButton style, java.lang.CharSequence title)
ctx - the nuklear contextpublic static int nnk_button_symbol_styled(long ctx,
long style,
int symbol)
button_symbol_styledpublic static boolean nk_button_symbol_styled(NkContext ctx, NkStyleButton style, int symbol)
ctx - the nuklear contextpublic static int nnk_button_image_styled(long ctx,
long style,
long img)
button_image_styledpublic static boolean nk_button_image_styled(NkContext ctx, NkStyleButton style, NkImage img)
ctx - the nuklear contextpublic static int nnk_button_symbol_text_styled(long ctx,
long style,
int symbol,
long title,
int len,
int alignment)
button_symbol_text_styledpublic static boolean nk_button_symbol_text_styled(NkContext ctx, NkStyleButton style, int symbol, java.nio.ByteBuffer title, int len, int alignment)
ctx - the nuklear contextpublic static boolean nk_button_symbol_text_styled(NkContext ctx, NkStyleButton style, int symbol, java.lang.CharSequence title, int len, int alignment)
ctx - the nuklear contextpublic static int nnk_button_symbol_label_styled(long ctx,
long style,
int symbol,
long title,
int text_alignment)
button_symbol_label_styledpublic static boolean nk_button_symbol_label_styled(NkContext ctx, NkStyleButton style, int symbol, java.nio.ByteBuffer title, int text_alignment)
ctx - the nuklear contextpublic static boolean nk_button_symbol_label_styled(NkContext ctx, NkStyleButton style, int symbol, java.lang.CharSequence title, int text_alignment)
ctx - the nuklear contextpublic static int nnk_button_image_label_styled(long ctx,
long style,
long img,
long title,
int text_alignment)
button_image_label_styledpublic static boolean nk_button_image_label_styled(NkContext ctx, NkStyleButton style, NkImage img, java.nio.ByteBuffer title, int text_alignment)
ctx - the nuklear contextpublic static boolean nk_button_image_label_styled(NkContext ctx, NkStyleButton style, NkImage img, java.lang.CharSequence title, int text_alignment)
ctx - the nuklear contextpublic static int nnk_button_image_text_styled(long ctx,
long style,
long img,
long title,
int len,
int alignment)
button_image_text_styledpublic static boolean nk_button_image_text_styled(NkContext ctx, NkStyleButton style, NkImage img, java.nio.ByteBuffer title, int len, int alignment)
ctx - the nuklear contextpublic static boolean nk_button_image_text_styled(NkContext ctx, NkStyleButton style, NkImage img, java.lang.CharSequence title, int len, int alignment)
ctx - the nuklear contextpublic static int nnk_check_label(long ctx,
long str,
int active)
check_labelpublic static boolean nk_check_label(NkContext ctx, java.nio.ByteBuffer str, boolean active)
ctx - the nuklear contextpublic static boolean nk_check_label(NkContext ctx, java.lang.CharSequence str, boolean active)
ctx - the nuklear contextpublic static int nnk_check_text(long ctx,
long str,
int len,
int active)
check_textpublic static boolean nk_check_text(NkContext ctx, java.nio.ByteBuffer str, boolean active)
ctx - the nuklear contextpublic static boolean nk_check_text(NkContext ctx, java.lang.CharSequence str, boolean active)
ctx - the nuklear contextpublic static int nnk_check_flags_label(long ctx,
long str,
int flags,
int value)
check_flags_labelpublic static int nk_check_flags_label(NkContext ctx, java.nio.ByteBuffer str, int flags, int value)
ctx - the nuklear contextpublic static int nk_check_flags_label(NkContext ctx, java.lang.CharSequence str, int flags, int value)
ctx - the nuklear contextpublic static int nnk_check_flags_text(long ctx,
long str,
int len,
int flags,
int value)
check_flags_textpublic static int nk_check_flags_text(NkContext ctx, java.nio.ByteBuffer str, int flags, int value)
ctx - the nuklear contextpublic static int nk_check_flags_text(NkContext ctx, java.lang.CharSequence str, int flags, int value)
ctx - the nuklear contextpublic static int nnk_checkbox_label(long ctx,
long str,
long active)
checkbox_labelpublic static boolean nk_checkbox_label(NkContext ctx, java.nio.ByteBuffer str, java.nio.IntBuffer active)
ctx - the nuklear contextpublic static boolean nk_checkbox_label(NkContext ctx, java.lang.CharSequence str, java.nio.IntBuffer active)
ctx - the nuklear contextpublic static int nnk_checkbox_text(long ctx,
long str,
int len,
long active)
checkbox_textpublic static boolean nk_checkbox_text(NkContext ctx, java.nio.ByteBuffer str, java.nio.IntBuffer active)
ctx - the nuklear contextpublic static boolean nk_checkbox_text(NkContext ctx, java.lang.CharSequence str, java.nio.IntBuffer active)
ctx - the nuklear contextpublic static int nnk_checkbox_flags_label(long ctx,
long str,
long flags,
int value)
checkbox_flags_labelpublic static boolean nk_checkbox_flags_label(NkContext ctx, java.nio.ByteBuffer str, java.nio.IntBuffer flags, int value)
ctx - the nuklear contextpublic static boolean nk_checkbox_flags_label(NkContext ctx, java.lang.CharSequence str, java.nio.IntBuffer flags, int value)
ctx - the nuklear contextpublic static int nnk_checkbox_flags_text(long ctx,
long str,
int len,
long flags,
int value)
checkbox_flags_textpublic static boolean nk_checkbox_flags_text(NkContext ctx, java.nio.ByteBuffer str, java.nio.IntBuffer flags, int value)
ctx - the nuklear contextpublic static boolean nk_checkbox_flags_text(NkContext ctx, java.lang.CharSequence str, java.nio.IntBuffer flags, int value)
ctx - the nuklear contextpublic static int nnk_radio_label(long ctx,
long str,
long active)
radio_labelpublic static boolean nk_radio_label(NkContext ctx, java.nio.ByteBuffer str, java.nio.IntBuffer active)
ctx - the nuklear contextpublic static boolean nk_radio_label(NkContext ctx, java.lang.CharSequence str, java.nio.IntBuffer active)
ctx - the nuklear contextpublic static int nnk_radio_text(long ctx,
long str,
int len,
long active)
radio_textpublic static boolean nk_radio_text(NkContext ctx, java.nio.ByteBuffer str, java.nio.IntBuffer active)
ctx - the nuklear contextpublic static boolean nk_radio_text(NkContext ctx, java.lang.CharSequence str, java.nio.IntBuffer active)
ctx - the nuklear contextpublic static int nnk_option_label(long ctx,
long str,
int active)
option_labelpublic static boolean nk_option_label(NkContext ctx, java.nio.ByteBuffer str, boolean active)
ctx - the nuklear contextpublic static boolean nk_option_label(NkContext ctx, java.lang.CharSequence str, boolean active)
ctx - the nuklear contextpublic static int nnk_option_text(long ctx,
long str,
int len,
int active)
option_textpublic static boolean nk_option_text(NkContext ctx, java.nio.ByteBuffer str, boolean active)
ctx - the nuklear contextpublic static boolean nk_option_text(NkContext ctx, java.lang.CharSequence str, boolean active)
ctx - the nuklear contextpublic static int nnk_selectable_label(long ctx,
long str,
int align,
long value)
selectable_labelpublic static boolean nk_selectable_label(NkContext ctx, java.nio.ByteBuffer str, int align, java.nio.IntBuffer value)
ctx - the nuklear contextalign - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static boolean nk_selectable_label(NkContext ctx, java.lang.CharSequence str, int align, java.nio.IntBuffer value)
ctx - the nuklear contextalign - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static int nnk_selectable_text(long ctx,
long str,
int len,
int align,
long value)
selectable_textpublic static boolean nk_selectable_text(NkContext ctx, java.nio.ByteBuffer str, int align, java.nio.IntBuffer value)
ctx - the nuklear contextalign - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static boolean nk_selectable_text(NkContext ctx, java.lang.CharSequence str, int align, java.nio.IntBuffer value)
ctx - the nuklear contextalign - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static int nnk_selectable_image_label(long ctx,
long img,
long str,
int align,
long value)
selectable_image_labelpublic static boolean nk_selectable_image_label(NkContext ctx, NkImage img, java.nio.ByteBuffer str, int align, java.nio.IntBuffer value)
ctx - the nuklear contextalign - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static boolean nk_selectable_image_label(NkContext ctx, NkImage img, java.lang.CharSequence str, int align, java.nio.IntBuffer value)
ctx - the nuklear contextalign - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static int nnk_selectable_image_text(long ctx,
long img,
long str,
int len,
int align,
long value)
selectable_image_textpublic static boolean nk_selectable_image_text(NkContext ctx, NkImage img, java.nio.ByteBuffer str, int align, java.nio.IntBuffer value)
ctx - the nuklear contextalign - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static boolean nk_selectable_image_text(NkContext ctx, NkImage img, java.lang.CharSequence str, int align, java.nio.IntBuffer value)
ctx - the nuklear contextalign - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static int nnk_selectable_symbol_label(long ctx,
int symbol,
long str,
int align,
long value)
selectable_symbol_labelpublic static boolean nk_selectable_symbol_label(NkContext ctx, int symbol, java.nio.ByteBuffer str, int align, java.nio.IntBuffer value)
ctx - the nuklear contextsymbol - one of:align - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static boolean nk_selectable_symbol_label(NkContext ctx, int symbol, java.lang.CharSequence str, int align, java.nio.IntBuffer value)
ctx - the nuklear contextsymbol - one of:align - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static int nnk_selectable_symbol_text(long ctx,
int symbol,
long str,
int len,
int align,
long value)
selectable_symbol_textpublic static boolean nk_selectable_symbol_text(NkContext ctx, int symbol, java.nio.ByteBuffer str, int align, java.nio.IntBuffer value)
ctx - the nuklear contextsymbol - one of:align - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static boolean nk_selectable_symbol_text(NkContext ctx, int symbol, java.lang.CharSequence str, int align, java.nio.IntBuffer value)
ctx - the nuklear contextsymbol - one of:align - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static int nnk_select_label(long ctx,
long str,
int align,
int value)
select_labelpublic static boolean nk_select_label(NkContext ctx, java.nio.ByteBuffer str, int align, boolean value)
ctx - the nuklear contextalign - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static boolean nk_select_label(NkContext ctx, java.lang.CharSequence str, int align, boolean value)
ctx - the nuklear contextalign - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static int nnk_select_text(long ctx,
long str,
int len,
int align,
int value)
select_textpublic static boolean nk_select_text(NkContext ctx, java.nio.ByteBuffer str, int align, boolean value)
ctx - the nuklear contextalign - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static boolean nk_select_text(NkContext ctx, java.lang.CharSequence str, int align, boolean value)
ctx - the nuklear contextalign - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static int nnk_select_image_label(long ctx,
long img,
long str,
int align,
int value)
select_image_labelpublic static boolean nk_select_image_label(NkContext ctx, NkImage img, java.nio.ByteBuffer str, int align, boolean value)
ctx - the nuklear contextalign - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static boolean nk_select_image_label(NkContext ctx, NkImage img, java.lang.CharSequence str, int align, boolean value)
ctx - the nuklear contextalign - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static int nnk_select_image_text(long ctx,
long img,
long str,
int len,
int align,
int value)
select_image_textpublic static boolean nk_select_image_text(NkContext ctx, NkImage img, java.nio.ByteBuffer str, int align, boolean value)
ctx - the nuklear contextalign - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static boolean nk_select_image_text(NkContext ctx, NkImage img, java.lang.CharSequence str, int align, boolean value)
ctx - the nuklear contextalign - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static int nnk_select_symbol_label(long ctx,
int symbol,
long str,
int align,
int value)
select_symbol_labelpublic static boolean nk_select_symbol_label(NkContext ctx, int symbol, java.nio.ByteBuffer str, int align, boolean value)
ctx - the nuklear contextsymbol - one of:align - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static boolean nk_select_symbol_label(NkContext ctx, int symbol, java.lang.CharSequence str, int align, boolean value)
ctx - the nuklear contextsymbol - one of:align - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static int nnk_select_symbol_text(long ctx,
int symbol,
long str,
int len,
int align,
int value)
select_symbol_textpublic static boolean nk_select_symbol_text(NkContext ctx, int symbol, java.nio.ByteBuffer str, int align, boolean value)
ctx - the nuklear contextsymbol - one of:align - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static boolean nk_select_symbol_text(NkContext ctx, int symbol, java.lang.CharSequence str, int align, boolean value)
ctx - the nuklear contextsymbol - one of:align - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static float nnk_slide_float(long ctx,
float min,
float val,
float max,
float step)
slide_floatpublic static float nk_slide_float(NkContext ctx, float min, float val, float max, float step)
ctx - the nuklear contextpublic static int nnk_slide_int(long ctx,
int min,
int val,
int max,
int step)
slide_intpublic static int nk_slide_int(NkContext ctx, int min, int val, int max, int step)
ctx - the nuklear contextpublic static int nnk_slider_float(long ctx,
float min,
long val,
float max,
float step)
slider_floatpublic static int nk_slider_float(NkContext ctx, float min, java.nio.FloatBuffer val, float max, float step)
ctx - the nuklear contextpublic static int nnk_slider_int(long ctx,
int min,
long val,
int max,
int step)
slider_intpublic static int nk_slider_int(NkContext ctx, int min, java.nio.IntBuffer val, int max, int step)
ctx - the nuklear contextpublic static int nnk_progress(long ctx,
long cur,
long max,
int modifyable)
progresspublic static boolean nk_progress(NkContext ctx, org.lwjgl.PointerBuffer cur, long max, boolean modifyable)
ctx - the nuklear contextpublic static long nnk_prog(long ctx,
long cur,
long max,
int modifyable)
progpublic static long nk_prog(NkContext ctx, long cur, long max, boolean modifyable)
ctx - the nuklear contextpublic static void nnk_color_picker(long ctx,
long color,
int fmt)
color_pickerpublic static int nnk_color_pick(long ctx,
long color,
int fmt)
color_pickpublic static void nnk_property_int(long ctx,
long name,
int min,
long val,
int max,
int step,
float inc_per_pixel)
property_intpublic static void nk_property_int(NkContext ctx, java.nio.ByteBuffer name, int min, java.nio.IntBuffer val, int max, int step, float inc_per_pixel)
ctx - the nuklear contextpublic static void nk_property_int(NkContext ctx, java.lang.CharSequence name, int min, java.nio.IntBuffer val, int max, int step, float inc_per_pixel)
ctx - the nuklear contextpublic static void nnk_property_float(long ctx,
long name,
float min,
long val,
float max,
float step,
float inc_per_pixel)
property_floatpublic static void nk_property_float(NkContext ctx, java.nio.ByteBuffer name, float min, java.nio.FloatBuffer val, float max, float step, float inc_per_pixel)
ctx - the nuklear contextpublic static void nk_property_float(NkContext ctx, java.lang.CharSequence name, float min, java.nio.FloatBuffer val, float max, float step, float inc_per_pixel)
ctx - the nuklear contextpublic static void nnk_property_double(long ctx,
long name,
double min,
long val,
double max,
double step,
float inc_per_pixel)
property_doublepublic static void nk_property_double(NkContext ctx, java.nio.ByteBuffer name, double min, java.nio.DoubleBuffer val, double max, double step, float inc_per_pixel)
ctx - the nuklear contextpublic static void nk_property_double(NkContext ctx, java.lang.CharSequence name, double min, java.nio.DoubleBuffer val, double max, double step, float inc_per_pixel)
ctx - the nuklear contextpublic static int nnk_propertyi(long ctx,
long name,
int min,
int val,
int max,
int step,
float inc_per_pixel)
propertyipublic static int nk_propertyi(NkContext ctx, java.nio.ByteBuffer name, int min, int val, int max, int step, float inc_per_pixel)
ctx - the nuklear contextpublic static int nk_propertyi(NkContext ctx, java.lang.CharSequence name, int min, int val, int max, int step, float inc_per_pixel)
ctx - the nuklear contextpublic static float nnk_propertyf(long ctx,
long name,
float min,
float val,
float max,
float step,
float inc_per_pixel)
propertyfpublic static float nk_propertyf(NkContext ctx, java.nio.ByteBuffer name, float min, float val, float max, float step, float inc_per_pixel)
ctx - the nuklear contextpublic static float nk_propertyf(NkContext ctx, java.lang.CharSequence name, float min, float val, float max, float step, float inc_per_pixel)
ctx - the nuklear contextpublic static double nnk_propertyd(long ctx,
long name,
double min,
double val,
double max,
double step,
float inc_per_pixel)
propertydpublic static double nk_propertyd(NkContext ctx, java.nio.ByteBuffer name, double min, double val, double max, double step, float inc_per_pixel)
ctx - the nuklear contextpublic static double nk_propertyd(NkContext ctx, java.lang.CharSequence name, double min, double val, double max, double step, float inc_per_pixel)
ctx - the nuklear contextpublic static void nnk_edit_focus(long ctx,
int flags)
edit_focuspublic static void nk_edit_focus(NkContext ctx, int flags)
public static void nnk_edit_unfocus(long ctx)
edit_unfocuspublic static void nk_edit_unfocus(NkContext ctx)
ctx - the nuklear contextpublic static int nnk_edit_string(long ctx,
int flags,
long memory,
long len,
int max,
long filter)
edit_stringpublic static int nk_edit_string(NkContext ctx, int flags, java.nio.ByteBuffer memory, java.nio.IntBuffer len, int max, @Nullable NkPluginFilterI filter)
public static int nk_edit_string(NkContext ctx, int flags, java.lang.CharSequence memory, java.nio.IntBuffer len, int max, @Nullable NkPluginFilterI filter)
public static int nnk_edit_buffer(long ctx,
int flags,
long edit,
long filter)
edit_bufferpublic static int nk_edit_buffer(NkContext ctx, int flags, NkTextEdit edit, @Nullable NkPluginFilterI filter)
public static int nnk_edit_string_zero_terminated(long ctx,
int flags,
long buffer,
int max,
long filter)
edit_string_zero_terminatedpublic static int nk_edit_string_zero_terminated(NkContext ctx, int flags, java.nio.ByteBuffer buffer, int max, @Nullable NkPluginFilterI filter)
public static int nk_edit_string_zero_terminated(NkContext ctx, int flags, java.lang.CharSequence buffer, int max, @Nullable NkPluginFilterI filter)
public static int nnk_chart_begin(long ctx,
int type,
int num,
float min,
float max)
chart_beginpublic static boolean nk_chart_begin(NkContext ctx, int type, int num, float min, float max)
ctx - the nuklear contexttype - one of:CHART_LINES | CHART_COLUMN | CHART_MAX |
public static int nnk_chart_begin_colored(long ctx,
int type,
long color,
long active,
int num,
float min,
float max)
chart_begin_coloredpublic static boolean nk_chart_begin_colored(NkContext ctx, int type, NkColor color, NkColor active, int num, float min, float max)
ctx - the nuklear contexttype - one of:CHART_LINES | CHART_COLUMN | CHART_MAX |
public static void nnk_chart_add_slot(long ctx,
int type,
int count,
float min_value,
float max_value)
chart_add_slotpublic static void nk_chart_add_slot(NkContext ctx, int type, int count, float min_value, float max_value)
ctx - the nuklear contexttype - one of:CHART_LINES | CHART_COLUMN | CHART_MAX |
public static void nnk_chart_add_slot_colored(long ctx,
int type,
long color,
long active,
int count,
float min_value,
float max_value)
chart_add_slot_coloredpublic static void nk_chart_add_slot_colored(NkContext ctx, int type, NkColor color, NkColor active, int count, float min_value, float max_value)
ctx - the nuklear contexttype - one of:CHART_LINES | CHART_COLUMN | CHART_MAX |
public static int nnk_chart_push(long ctx,
float value)
chart_pushpublic static int nk_chart_push(NkContext ctx, float value)
ctx - the nuklear contextpublic static int nnk_chart_push_slot(long ctx,
float value,
int slot)
chart_push_slotpublic static int nk_chart_push_slot(NkContext ctx, float value, int slot)
ctx - the nuklear contextpublic static void nnk_chart_end(long ctx)
chart_endpublic static void nk_chart_end(NkContext ctx)
ctx - the nuklear contextpublic static void nnk_plot(long ctx,
int type,
long values,
int count,
int offset)
plotpublic static void nk_plot(NkContext ctx, int type, java.nio.FloatBuffer values, int count, int offset)
ctx - the nuklear contexttype - one of:CHART_LINES | CHART_COLUMN | CHART_MAX |
public static void nnk_plot_function(long ctx,
int type,
long userdata,
long value_getter,
int count,
int offset)
plot_functionpublic static void nk_plot_function(NkContext ctx, int type, long userdata, NkValueGetterI value_getter, int count, int offset)
ctx - the nuklear contexttype - one of:CHART_LINES | CHART_COLUMN | CHART_MAX |
public static int nnk_popup_begin(long ctx,
int type,
long title,
int flags,
long rect)
popup_beginpublic static boolean nk_popup_begin(NkContext ctx, int type, java.nio.ByteBuffer title, int flags, NkRect rect)
ctx - the nuklear contexttype - one of:POPUP_STATIC | POPUP_DYNAMIC |
flags - one of:WINDOW_BORDER | WINDOW_MOVABLE | WINDOW_SCALABLE | WINDOW_CLOSABLE | WINDOW_MINIMIZABLE |
WINDOW_NO_SCROLLBAR | WINDOW_TITLE | WINDOW_SCROLL_AUTO_HIDE | WINDOW_BACKGROUND | WINDOW_SCALE_LEFT |
WINDOW_NO_INPUT |
public static boolean nk_popup_begin(NkContext ctx, int type, java.lang.CharSequence title, int flags, NkRect rect)
ctx - the nuklear contexttype - one of:POPUP_STATIC | POPUP_DYNAMIC |
flags - one of:WINDOW_BORDER | WINDOW_MOVABLE | WINDOW_SCALABLE | WINDOW_CLOSABLE | WINDOW_MINIMIZABLE |
WINDOW_NO_SCROLLBAR | WINDOW_TITLE | WINDOW_SCROLL_AUTO_HIDE | WINDOW_BACKGROUND | WINDOW_SCALE_LEFT |
WINDOW_NO_INPUT |
public static void nnk_popup_close(long ctx)
popup_closepublic static void nk_popup_close(NkContext ctx)
ctx - the nuklear contextpublic static void nnk_popup_end(long ctx)
popup_endpublic static void nk_popup_end(NkContext ctx)
ctx - the nuklear contextpublic static void nnk_popup_get_scroll(long ctx,
long offset_x,
long offset_y)
popup_get_scrollpublic static void nk_popup_get_scroll(NkContext ctx, @Nullable java.nio.IntBuffer offset_x, @Nullable java.nio.IntBuffer offset_y)
ctx - the nuklear contextpublic static void nnk_popup_set_scroll(long ctx,
int offset_x,
int offset_y)
popup_set_scrollpublic static void nk_popup_set_scroll(NkContext ctx, int offset_x, int offset_y)
ctx - the nuklear contextpublic static int nnk_combo(long ctx,
long items,
int count,
int selected,
int item_height,
long size)
combopublic static boolean nk_combo(NkContext ctx, org.lwjgl.PointerBuffer items, boolean selected, int item_height, NkVec2 size)
ctx - the nuklear contextpublic static int nnk_combo_separator(long ctx,
long items_separated_by_separator,
int separator,
int selected,
int count,
int item_height,
long size)
combo_separatorpublic static boolean nk_combo_separator(NkContext ctx, java.nio.ByteBuffer items_separated_by_separator, int separator, boolean selected, int count, int item_height, NkVec2 size)
ctx - the nuklear contextpublic static boolean nk_combo_separator(NkContext ctx, java.lang.CharSequence items_separated_by_separator, int separator, boolean selected, int count, int item_height, NkVec2 size)
ctx - the nuklear contextpublic static int nnk_combo_string(long ctx,
long items_separated_by_zeros,
int selected,
int count,
int item_height,
long size)
combo_stringpublic static boolean nk_combo_string(NkContext ctx, java.nio.ByteBuffer items_separated_by_zeros, boolean selected, int count, int item_height, NkVec2 size)
ctx - the nuklear contextpublic static boolean nk_combo_string(NkContext ctx, java.lang.CharSequence items_separated_by_zeros, boolean selected, int count, int item_height, NkVec2 size)
ctx - the nuklear contextpublic static int nnk_combo_callback(long ctx,
long item_getter,
long userdata,
int selected,
int count,
int item_height,
long size)
combo_callbackpublic static boolean nk_combo_callback(NkContext ctx, NkItemGetterI item_getter, long userdata, boolean selected, int count, int item_height, NkVec2 size)
ctx - the nuklear contextpublic static void nnk_combobox(long ctx,
long items,
int count,
long selected,
int item_height,
long size)
comboboxpublic static void nk_combobox(NkContext ctx, org.lwjgl.PointerBuffer items, java.nio.IntBuffer selected, int item_height, NkVec2 size)
ctx - the nuklear contextpublic static void nnk_combobox_string(long ctx,
long items_separated_by_zeros,
long selected,
int count,
int item_height,
long size)
combobox_stringpublic static void nk_combobox_string(NkContext ctx, java.nio.ByteBuffer items_separated_by_zeros, java.nio.IntBuffer selected, int count, int item_height, NkVec2 size)
ctx - the nuklear contextpublic static void nk_combobox_string(NkContext ctx, java.lang.CharSequence items_separated_by_zeros, java.nio.IntBuffer selected, int count, int item_height, NkVec2 size)
ctx - the nuklear contextpublic static void nnk_combobox_separator(long ctx,
long items_separated_by_separator,
int separator,
long selected,
int count,
int item_height,
long size)
combobox_separatorpublic static void nk_combobox_separator(NkContext ctx, java.nio.ByteBuffer items_separated_by_separator, int separator, java.nio.IntBuffer selected, int count, int item_height, NkVec2 size)
ctx - the nuklear contextpublic static void nk_combobox_separator(NkContext ctx, java.lang.CharSequence items_separated_by_separator, int separator, java.nio.IntBuffer selected, int count, int item_height, NkVec2 size)
ctx - the nuklear contextpublic static void nnk_combobox_callback(long ctx,
long item_getter,
long userdata,
long selected,
int count,
int item_height,
long size)
combobox_callbackpublic static void nk_combobox_callback(NkContext ctx, NkItemGetterI item_getter, long userdata, java.nio.IntBuffer selected, int count, int item_height, NkVec2 size)
ctx - the nuklear contextpublic static int nnk_combo_begin_text(long ctx,
long selected,
int len,
long size)
combo_begin_textpublic static boolean nk_combo_begin_text(NkContext ctx, java.nio.ByteBuffer selected, NkVec2 size)
ctx - the nuklear contextpublic static boolean nk_combo_begin_text(NkContext ctx, java.lang.CharSequence selected, NkVec2 size)
ctx - the nuklear contextpublic static int nnk_combo_begin_label(long ctx,
long selected,
long size)
combo_begin_labelpublic static boolean nk_combo_begin_label(NkContext ctx, java.nio.ByteBuffer selected, NkVec2 size)
ctx - the nuklear contextpublic static boolean nk_combo_begin_label(NkContext ctx, java.lang.CharSequence selected, NkVec2 size)
ctx - the nuklear contextpublic static int nnk_combo_begin_color(long ctx,
long color,
long size)
combo_begin_colorpublic static boolean nk_combo_begin_color(NkContext ctx, NkColor color, NkVec2 size)
ctx - the nuklear contextpublic static int nnk_combo_begin_symbol(long ctx,
int symbol,
long size)
combo_begin_symbolpublic static boolean nk_combo_begin_symbol(NkContext ctx, int symbol, NkVec2 size)
public static int nnk_combo_begin_symbol_label(long ctx,
long selected,
int symbol,
long size)
combo_begin_symbol_labelpublic static boolean nk_combo_begin_symbol_label(NkContext ctx, java.nio.ByteBuffer selected, int symbol, NkVec2 size)
public static boolean nk_combo_begin_symbol_label(NkContext ctx, java.lang.CharSequence selected, int symbol, NkVec2 size)
public static int nnk_combo_begin_symbol_text(long ctx,
long selected,
int len,
int symbol,
long size)
combo_begin_symbol_textpublic static boolean nk_combo_begin_symbol_text(NkContext ctx, java.nio.ByteBuffer selected, int symbol, NkVec2 size)
public static boolean nk_combo_begin_symbol_text(NkContext ctx, java.lang.CharSequence selected, int symbol, NkVec2 size)
public static int nnk_combo_begin_image(long ctx,
long img,
long size)
combo_begin_imagepublic static boolean nk_combo_begin_image(NkContext ctx, NkImage img, NkVec2 size)
ctx - the nuklear contextpublic static int nnk_combo_begin_image_label(long ctx,
long selected,
long img,
long size)
combo_begin_image_labelpublic static boolean nk_combo_begin_image_label(NkContext ctx, java.nio.ByteBuffer selected, NkImage img, NkVec2 size)
ctx - the nuklear contextpublic static boolean nk_combo_begin_image_label(NkContext ctx, java.lang.CharSequence selected, NkImage img, NkVec2 size)
ctx - the nuklear contextpublic static int nnk_combo_begin_image_text(long ctx,
long selected,
int len,
long img,
long size)
combo_begin_image_textpublic static boolean nk_combo_begin_image_text(NkContext ctx, java.nio.ByteBuffer selected, NkImage img, NkVec2 size)
ctx - the nuklear contextpublic static boolean nk_combo_begin_image_text(NkContext ctx, java.lang.CharSequence selected, NkImage img, NkVec2 size)
ctx - the nuklear contextpublic static int nnk_combo_item_label(long ctx,
long text,
int alignment)
combo_item_labelpublic static boolean nk_combo_item_label(NkContext ctx, java.nio.ByteBuffer text, int alignment)
ctx - the nuklear contextalignment - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static boolean nk_combo_item_label(NkContext ctx, java.lang.CharSequence text, int alignment)
ctx - the nuklear contextalignment - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static int nnk_combo_item_text(long ctx,
long text,
int len,
int alignment)
combo_item_textpublic static boolean nk_combo_item_text(NkContext ctx, java.nio.ByteBuffer text, int alignment)
ctx - the nuklear contextalignment - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static boolean nk_combo_item_text(NkContext ctx, java.lang.CharSequence text, int alignment)
ctx - the nuklear contextalignment - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static int nnk_combo_item_image_label(long ctx,
long img,
long text,
int alignment)
combo_item_image_labelpublic static boolean nk_combo_item_image_label(NkContext ctx, NkImage img, java.nio.ByteBuffer text, int alignment)
ctx - the nuklear contextalignment - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static boolean nk_combo_item_image_label(NkContext ctx, NkImage img, java.lang.CharSequence text, int alignment)
ctx - the nuklear contextalignment - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static int nnk_combo_item_image_text(long ctx,
long img,
long text,
int len,
int alignment)
combo_item_image_textpublic static boolean nk_combo_item_image_text(NkContext ctx, NkImage img, java.nio.ByteBuffer text, int alignment)
ctx - the nuklear contextalignment - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static boolean nk_combo_item_image_text(NkContext ctx, NkImage img, java.lang.CharSequence text, int alignment)
ctx - the nuklear contextalignment - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static int nnk_combo_item_symbol_label(long ctx,
int symbol,
long text,
int alignment)
combo_item_symbol_labelpublic static boolean nk_combo_item_symbol_label(NkContext ctx, int symbol, java.nio.ByteBuffer text, int alignment)
ctx - the nuklear contextsymbol - one of:alignment - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static boolean nk_combo_item_symbol_label(NkContext ctx, int symbol, java.lang.CharSequence text, int alignment)
ctx - the nuklear contextsymbol - one of:alignment - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static int nnk_combo_item_symbol_text(long ctx,
int symbol,
long text,
int len,
int alignment)
combo_item_symbol_textpublic static boolean nk_combo_item_symbol_text(NkContext ctx, int symbol, java.nio.ByteBuffer text, int alignment)
ctx - the nuklear contextsymbol - one of:alignment - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static boolean nk_combo_item_symbol_text(NkContext ctx, int symbol, java.lang.CharSequence text, int alignment)
ctx - the nuklear contextsymbol - one of:alignment - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static void nnk_combo_close(long ctx)
combo_closepublic static void nk_combo_close(NkContext ctx)
ctx - the nuklear contextpublic static void nnk_combo_end(long ctx)
combo_endpublic static void nk_combo_end(NkContext ctx)
ctx - the nuklear contextpublic static int nnk_contextual_begin(long ctx,
int flags,
long size,
long trigger_bounds)
contextual_beginpublic static boolean nk_contextual_begin(NkContext ctx, int flags, NkVec2 size, NkRect trigger_bounds)
ctx - the nuklear contextflags - one of:WINDOW_PRIVATE | WINDOW_DYNAMIC | WINDOW_ROM | WINDOW_HIDDEN | WINDOW_CLOSED |
WINDOW_MINIMIZED | WINDOW_REMOVE_ROM |
public static int nnk_contextual_item_text(long ctx,
long text,
int len,
int align)
contextual_item_textpublic static boolean nk_contextual_item_text(NkContext ctx, java.nio.ByteBuffer text, int align)
ctx - the nuklear contextalign - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static boolean nk_contextual_item_text(NkContext ctx, java.lang.CharSequence text, int align)
ctx - the nuklear contextalign - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static int nnk_contextual_item_label(long ctx,
long text,
int align)
contextual_item_labelpublic static boolean nk_contextual_item_label(NkContext ctx, java.nio.ByteBuffer text, int align)
ctx - the nuklear contextalign - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static boolean nk_contextual_item_label(NkContext ctx, java.lang.CharSequence text, int align)
ctx - the nuklear contextalign - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static int nnk_contextual_item_image_label(long ctx,
long img,
long text,
int alignment)
contextual_item_image_labelpublic static boolean nk_contextual_item_image_label(NkContext ctx, NkImage img, java.nio.ByteBuffer text, int alignment)
ctx - the nuklear contextalignment - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static boolean nk_contextual_item_image_label(NkContext ctx, NkImage img, java.lang.CharSequence text, int alignment)
ctx - the nuklear contextalignment - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static int nnk_contextual_item_image_text(long ctx,
long img,
long text,
int len,
int alignment)
contextual_item_image_textpublic static boolean nk_contextual_item_image_text(NkContext ctx, NkImage img, java.nio.ByteBuffer text, int alignment)
ctx - the nuklear contextalignment - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static boolean nk_contextual_item_image_text(NkContext ctx, NkImage img, java.lang.CharSequence text, int alignment)
ctx - the nuklear contextalignment - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static int nnk_contextual_item_symbol_label(long ctx,
int symbol,
long text,
int alignment)
contextual_item_symbol_labelpublic static boolean nk_contextual_item_symbol_label(NkContext ctx, int symbol, java.nio.ByteBuffer text, int alignment)
ctx - the nuklear contextsymbol - one of:alignment - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static boolean nk_contextual_item_symbol_label(NkContext ctx, int symbol, java.lang.CharSequence text, int alignment)
ctx - the nuklear contextsymbol - one of:alignment - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static int nnk_contextual_item_symbol_text(long ctx,
int symbol,
long text,
int len,
int alignment)
contextual_item_symbol_textpublic static boolean nk_contextual_item_symbol_text(NkContext ctx, int symbol, java.nio.ByteBuffer text, int alignment)
ctx - the nuklear contextsymbol - one of:alignment - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static boolean nk_contextual_item_symbol_text(NkContext ctx, int symbol, java.lang.CharSequence text, int alignment)
ctx - the nuklear contextsymbol - one of:alignment - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static void nnk_contextual_close(long ctx)
contextual_closepublic static void nk_contextual_close(NkContext ctx)
ctx - the nuklear contextpublic static void nnk_contextual_end(long ctx)
contextual_endpublic static void nk_contextual_end(NkContext ctx)
ctx - the nuklear contextpublic static void nnk_tooltip(long ctx,
long text)
tooltippublic static void nk_tooltip(NkContext ctx, java.nio.ByteBuffer text)
ctx - the nuklear contextpublic static void nk_tooltip(NkContext ctx, java.lang.CharSequence text)
ctx - the nuklear contextpublic static int nnk_tooltip_begin(long ctx,
float width)
tooltip_beginpublic static boolean nk_tooltip_begin(NkContext ctx, float width)
ctx - the nuklear contextpublic static void nnk_tooltip_end(long ctx)
tooltip_endpublic static void nk_tooltip_end(NkContext ctx)
ctx - the nuklear contextpublic static void nnk_menubar_begin(long ctx)
menubar_beginpublic static void nk_menubar_begin(NkContext ctx)
ctx - the nuklear contextpublic static void nnk_menubar_end(long ctx)
menubar_endpublic static void nk_menubar_end(NkContext ctx)
ctx - the nuklear contextpublic static int nnk_menu_begin_text(long ctx,
long text,
int len,
int align,
long size)
menu_begin_textpublic static boolean nk_menu_begin_text(NkContext ctx, java.nio.ByteBuffer text, int align, NkVec2 size)
ctx - the nuklear contextalign - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static boolean nk_menu_begin_text(NkContext ctx, java.lang.CharSequence text, int align, NkVec2 size)
ctx - the nuklear contextalign - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static int nnk_menu_begin_label(long ctx,
long text,
int align,
long size)
menu_begin_labelpublic static boolean nk_menu_begin_label(NkContext ctx, java.nio.ByteBuffer text, int align, NkVec2 size)
ctx - the nuklear contextalign - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static boolean nk_menu_begin_label(NkContext ctx, java.lang.CharSequence text, int align, NkVec2 size)
ctx - the nuklear contextalign - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static int nnk_menu_begin_image(long ctx,
long text,
long img,
long size)
menu_begin_imagepublic static boolean nk_menu_begin_image(NkContext ctx, java.nio.ByteBuffer text, NkImage img, NkVec2 size)
ctx - the nuklear contextpublic static boolean nk_menu_begin_image(NkContext ctx, java.lang.CharSequence text, NkImage img, NkVec2 size)
ctx - the nuklear contextpublic static int nnk_menu_begin_image_text(long ctx,
long text,
int len,
int align,
long img,
long size)
menu_begin_image_textpublic static boolean nk_menu_begin_image_text(NkContext ctx, java.nio.ByteBuffer text, int align, NkImage img, NkVec2 size)
ctx - the nuklear contextalign - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static boolean nk_menu_begin_image_text(NkContext ctx, java.lang.CharSequence text, int align, NkImage img, NkVec2 size)
ctx - the nuklear contextalign - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static int nnk_menu_begin_image_label(long ctx,
long text,
int align,
long img,
long size)
menu_begin_image_labelpublic static boolean nk_menu_begin_image_label(NkContext ctx, java.nio.ByteBuffer text, int align, NkImage img, NkVec2 size)
ctx - the nuklear contextalign - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static boolean nk_menu_begin_image_label(NkContext ctx, java.lang.CharSequence text, int align, NkImage img, NkVec2 size)
ctx - the nuklear contextalign - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static int nnk_menu_begin_symbol(long ctx,
long text,
int symbol,
long size)
menu_begin_symbolpublic static boolean nk_menu_begin_symbol(NkContext ctx, java.nio.ByteBuffer text, int symbol, NkVec2 size)
public static boolean nk_menu_begin_symbol(NkContext ctx, java.lang.CharSequence text, int symbol, NkVec2 size)
public static int nnk_menu_begin_symbol_text(long ctx,
long text,
int len,
int align,
int symbol,
long size)
menu_begin_symbol_textpublic static boolean nk_menu_begin_symbol_text(NkContext ctx, java.nio.ByteBuffer text, int align, int symbol, NkVec2 size)
ctx - the nuklear contextalign - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
symbol - one of:public static boolean nk_menu_begin_symbol_text(NkContext ctx, java.lang.CharSequence text, int align, int symbol, NkVec2 size)
ctx - the nuklear contextalign - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
symbol - one of:public static int nnk_menu_begin_symbol_label(long ctx,
long text,
int align,
int symbol,
long size)
menu_begin_symbol_labelpublic static boolean nk_menu_begin_symbol_label(NkContext ctx, java.nio.ByteBuffer text, int align, int symbol, NkVec2 size)
ctx - the nuklear contextalign - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
symbol - one of:public static boolean nk_menu_begin_symbol_label(NkContext ctx, java.lang.CharSequence text, int align, int symbol, NkVec2 size)
ctx - the nuklear contextalign - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
symbol - one of:public static int nnk_menu_item_text(long ctx,
long text,
int len,
int align)
menu_item_textpublic static boolean nk_menu_item_text(NkContext ctx, java.nio.ByteBuffer text, int align)
ctx - the nuklear contextalign - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static boolean nk_menu_item_text(NkContext ctx, java.lang.CharSequence text, int align)
ctx - the nuklear contextalign - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static int nnk_menu_item_label(long ctx,
long text,
int alignment)
menu_item_labelpublic static boolean nk_menu_item_label(NkContext ctx, java.nio.ByteBuffer text, int alignment)
ctx - the nuklear contextalignment - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static boolean nk_menu_item_label(NkContext ctx, java.lang.CharSequence text, int alignment)
ctx - the nuklear contextalignment - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static int nnk_menu_item_image_label(long ctx,
long img,
long text,
int alignment)
menu_item_image_labelpublic static boolean nk_menu_item_image_label(NkContext ctx, NkImage img, java.nio.ByteBuffer text, int alignment)
ctx - the nuklear contextalignment - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static boolean nk_menu_item_image_label(NkContext ctx, NkImage img, java.lang.CharSequence text, int alignment)
ctx - the nuklear contextalignment - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static int nnk_menu_item_image_text(long ctx,
long img,
long text,
int len,
int alignment)
menu_item_image_textpublic static boolean nk_menu_item_image_text(NkContext ctx, NkImage img, java.nio.ByteBuffer text, int alignment)
ctx - the nuklear contextalignment - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static boolean nk_menu_item_image_text(NkContext ctx, NkImage img, java.lang.CharSequence text, int alignment)
ctx - the nuklear contextalignment - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static int nnk_menu_item_symbol_text(long ctx,
int symbol,
long text,
int len,
int alignment)
menu_item_symbol_textpublic static boolean nk_menu_item_symbol_text(NkContext ctx, int symbol, java.nio.ByteBuffer text, int alignment)
ctx - the nuklear contextsymbol - one of:alignment - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static boolean nk_menu_item_symbol_text(NkContext ctx, int symbol, java.lang.CharSequence text, int alignment)
ctx - the nuklear contextsymbol - one of:alignment - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static int nnk_menu_item_symbol_label(long ctx,
int symbol,
long text,
int alignment)
menu_item_symbol_labelpublic static boolean nk_menu_item_symbol_label(NkContext ctx, int symbol, java.nio.ByteBuffer text, int alignment)
ctx - the nuklear contextsymbol - one of:alignment - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static boolean nk_menu_item_symbol_label(NkContext ctx, int symbol, java.lang.CharSequence text, int alignment)
ctx - the nuklear contextsymbol - one of:alignment - one of:TEXT_LEFT | TEXT_CENTERED | TEXT_RIGHT |
public static void nnk_menu_close(long ctx)
menu_closepublic static void nk_menu_close(NkContext ctx)
ctx - the nuklear contextpublic static void nnk_menu_end(long ctx)
menu_endpublic static void nk_menu_end(NkContext ctx)
ctx - the nuklear contextpublic static int nnk_convert(long ctx,
long cmds,
long vertices,
long elements,
long config)
convertpublic static int nk_convert(NkContext ctx, NkBuffer cmds, NkBuffer vertices, NkBuffer elements, NkConvertConfig config)
ctx - the nuklear contextpublic static void nnk_input_begin(long ctx)
input_beginpublic static void nk_input_begin(NkContext ctx)
ctx - the nuklear contextpublic static void nnk_input_motion(long ctx,
int x,
int y)
input_motionpublic static void nk_input_motion(NkContext ctx, int x, int y)
ctx - the nuklear contextpublic static void nnk_input_key(long ctx,
int key,
int down)
input_keypublic static void nk_input_key(NkContext ctx, int key, boolean down)
ctx - the nuklear contextkey - one of:public static void nnk_input_button(long ctx,
int id,
int x,
int y,
int down)
input_buttonpublic static void nk_input_button(NkContext ctx, int id, int x, int y, boolean down)
ctx - the nuklear contextid - one of:BUTTON_LEFT | BUTTON_MIDDLE | BUTTON_RIGHT | BUTTON_DOUBLE |
public static void nnk_input_scroll(long ctx,
long val)
input_scrollpublic static void nk_input_scroll(NkContext ctx, NkVec2 val)
ctx - the nuklear contextval - vector with both X- as well as Y-scroll valuepublic static void nnk_input_char(long ctx,
byte c)
input_charpublic static void nk_input_char(NkContext ctx, byte c)
ctx - the nuklear contextpublic static void nnk_input_glyph(long ctx,
long glyph)
input_glyphpublic static void nk_input_glyph(NkContext ctx, java.nio.ByteBuffer glyph)
ctx - the nuklear contextpublic static void nnk_input_unicode(long ctx,
int unicode)
input_unicodepublic static void nk_input_unicode(NkContext ctx, int unicode)
ctx - the nuklear contextpublic static void nnk_input_end(long ctx)
input_endpublic static void nk_input_end(NkContext ctx)
nk_input_xxx function referenced above after this call.ctx - the nuklear contextpublic static void nnk_style_default(long ctx)
style_defaultpublic static void nk_style_default(NkContext ctx)
ctx - the nuklear contextpublic static void nnk_style_from_table(long ctx,
long table)
style_from_tablepublic static void nk_style_from_table(NkContext ctx, NkColor.Buffer table)
ctx - the nuklear contextpublic static void nnk_style_load_cursor(long ctx,
int style,
long cursor)
style_load_cursorpublic static void nk_style_load_cursor(NkContext ctx, int style, NkCursor cursor)
ctx - the nuklear contextstyle - one of:CURSOR_ARROW | CURSOR_TEXT | CURSOR_MOVE |
CURSOR_RESIZE_VERTICAL | CURSOR_RESIZE_HORIZONTAL | CURSOR_RESIZE_TOP_LEFT_DOWN_RIGHT |
CURSOR_RESIZE_TOP_RIGHT_DOWN_LEFT |
public static void nnk_style_load_all_cursors(long ctx,
long cursors)
style_load_all_cursorspublic static void nk_style_load_all_cursors(NkContext ctx, NkCursor.Buffer cursors)
ctx - the nuklear contextpublic static long nnk_style_get_color_by_name(int c)
style_get_color_by_name@Nullable public static java.lang.String nk_style_get_color_by_name(int c)
c - one of:public static void nnk_style_set_font(long ctx,
long font)
style_set_fontpublic static void nk_style_set_font(NkContext ctx, NkUserFont font)
ctx - the nuklear contextpublic static int nnk_style_set_cursor(long ctx,
int style)
style_set_cursorpublic static int nk_style_set_cursor(NkContext ctx, int style)
ctx - the nuklear contextstyle - one of:CURSOR_ARROW | CURSOR_TEXT | CURSOR_MOVE |
CURSOR_RESIZE_VERTICAL | CURSOR_RESIZE_HORIZONTAL | CURSOR_RESIZE_TOP_LEFT_DOWN_RIGHT |
CURSOR_RESIZE_TOP_RIGHT_DOWN_LEFT |
public static void nnk_style_show_cursor(long ctx)
style_show_cursorpublic static void nk_style_show_cursor(NkContext ctx)
ctx - the nuklear contextpublic static void nnk_style_hide_cursor(long ctx)
style_hide_cursorpublic static void nk_style_hide_cursor(NkContext ctx)
ctx - the nuklear contextpublic static int nnk_style_push_font(long ctx,
long font)
style_push_fontpublic static int nk_style_push_font(NkContext ctx, NkUserFont font)
ctx - the nuklear contextpublic static int nnk_style_push_float(long ctx,
long address,
float value)
style_push_floatpublic static int nk_style_push_float(NkContext ctx, java.nio.FloatBuffer address, float value)
ctx - the nuklear contextpublic static int nnk_style_push_vec2(long ctx,
long address,
long value)
style_push_vec2public static int nk_style_push_vec2(NkContext ctx, NkVec2 address, NkVec2 value)
ctx - the nuklear contextpublic static int nnk_style_push_style_item(long ctx,
long address,
long value)
style_push_style_itempublic static int nk_style_push_style_item(NkContext ctx, NkStyleItem address, NkStyleItem value)
ctx - the nuklear contextpublic static int nnk_style_push_flags(long ctx,
long address,
int value)
style_push_flagspublic static int nk_style_push_flags(NkContext ctx, java.nio.IntBuffer address, int value)
ctx - the nuklear contextpublic static int nnk_style_push_color(long ctx,
long address,
long value)
style_push_colorpublic static int nk_style_push_color(NkContext ctx, NkColor address, NkColor value)
ctx - the nuklear contextpublic static int nnk_style_pop_font(long ctx)
style_pop_fontpublic static int nk_style_pop_font(NkContext ctx)
ctx - the nuklear contextpublic static int nnk_style_pop_float(long ctx)
style_pop_floatpublic static int nk_style_pop_float(NkContext ctx)
ctx - the nuklear contextpublic static int nnk_style_pop_vec2(long ctx)
style_pop_vec2public static int nk_style_pop_vec2(NkContext ctx)
ctx - the nuklear contextpublic static int nnk_style_pop_style_item(long ctx)
style_pop_style_itempublic static int nk_style_pop_style_item(NkContext ctx)
ctx - the nuklear contextpublic static int nnk_style_pop_flags(long ctx)
style_pop_flagspublic static int nk_style_pop_flags(NkContext ctx)
ctx - the nuklear contextpublic static int nnk_style_pop_color(long ctx)
style_pop_colorpublic static int nk_style_pop_color(NkContext ctx)
ctx - the nuklear contextpublic static void nnk_widget_bounds(long ctx,
long __result)
widget_boundspublic static NkRect nk_widget_bounds(NkContext ctx, NkRect __result)
ctx - the nuklear contextpublic static void nnk_widget_position(long ctx,
long __result)
widget_positionpublic static NkVec2 nk_widget_position(NkContext ctx, NkVec2 __result)
ctx - the nuklear contextpublic static void nnk_widget_size(long ctx,
long __result)
widget_sizepublic static NkVec2 nk_widget_size(NkContext ctx, NkVec2 __result)
ctx - the nuklear contextpublic static float nnk_widget_width(long ctx)
widget_widthpublic static float nk_widget_width(NkContext ctx)
ctx - the nuklear contextpublic static float nnk_widget_height(long ctx)
widget_heightpublic static float nk_widget_height(NkContext ctx)
ctx - the nuklear contextpublic static int nnk_widget_is_hovered(long ctx)
widget_is_hoveredpublic static boolean nk_widget_is_hovered(NkContext ctx)
ctx - the nuklear contextpublic static int nnk_widget_is_mouse_clicked(long ctx,
int btn)
widget_is_mouse_clickedpublic static boolean nk_widget_is_mouse_clicked(NkContext ctx, int btn)
ctx - the nuklear contextpublic static int nnk_widget_has_mouse_click_down(long ctx,
int btn,
int down)
widget_has_mouse_click_downpublic static boolean nk_widget_has_mouse_click_down(NkContext ctx, int btn, boolean down)
ctx - the nuklear contextbtn - one of:BUTTON_LEFT | BUTTON_MIDDLE | BUTTON_RIGHT | BUTTON_DOUBLE |
public static void nnk_spacing(long ctx,
int cols)
spacingpublic static void nk_spacing(NkContext ctx, int cols)
ctx - the nuklear contextpublic static int nnk_widget(long bounds,
long ctx)
widgetpublic static int nk_widget(NkRect bounds, NkContext ctx)
ctx - the nuklear contextpublic static int nnk_widget_fitting(long bounds,
long ctx,
long item_padding)
widget_fittingpublic static int nk_widget_fitting(NkRect bounds, NkContext ctx, NkVec2 item_padding)
ctx - the nuklear contextpublic static void nnk_rgb(int r,
int g,
int b,
long __result)
public static void nnk_rgb_iv(long rgb,
long __result)
public static void nnk_rgb_bv(long rgb,
long __result)
public static void nnk_rgb_f(float r,
float g,
float b,
long __result)
public static void nnk_rgb_fv(long rgb,
long __result)
public static void nnk_rgb_cf(long c,
long __result)
public static void nnk_rgb_hex(long rgb,
long __result)
public static void nnk_rgba(int r,
int g,
int b,
int a,
long __result)
public static void nnk_rgba_u32(int in,
long __result)
public static void nnk_rgba_iv(long rgba,
long __result)
public static void nnk_rgba_bv(long rgba,
long __result)
public static void nnk_rgba_f(float r,
float g,
float b,
float a,
long __result)
public static void nnk_rgba_fv(long rgba,
long __result)
public static void nnk_rgba_cf(long c,
long __result)
public static void nnk_rgba_hex(long rgba,
long __result)
public static void nnk_hsva_colorf(float h,
float s,
float v,
float a,
long __result)
public static NkColorf nk_hsva_colorf(float h, float s, float v, float a, NkColorf __result)
public static void nnk_hsva_colorfv(long c,
long __result)
public static void nnk_colorf_hsva_f(long out_h,
long out_s,
long out_v,
long out_a,
long in)
public static void nk_colorf_hsva_f(java.nio.FloatBuffer out_h,
java.nio.FloatBuffer out_s,
java.nio.FloatBuffer out_v,
java.nio.FloatBuffer out_a,
NkColorf in)
public static void nnk_colorf_hsva_fv(long hsva,
long in)
public static void nk_colorf_hsva_fv(java.nio.FloatBuffer hsva,
NkColorf in)
public static void nnk_hsv(int h,
int s,
int v,
long __result)
public static void nnk_hsv_iv(long hsv,
long __result)
public static void nnk_hsv_bv(long hsv,
long __result)
public static void nnk_hsv_f(float h,
float s,
float v,
long __result)
public static void nnk_hsv_fv(long hsv,
long __result)
public static void nnk_hsva(int h,
int s,
int v,
int a,
long __result)
public static void nnk_hsva_iv(long hsva,
long __result)
public static void nnk_hsva_bv(long hsva,
long __result)
public static void nnk_hsva_f(float h,
float s,
float v,
float a,
long __result)
public static void nnk_hsva_fv(long hsva,
long __result)
public static void nnk_color_f(long r,
long g,
long b,
long a,
long color)
public static void nk_color_f(java.nio.FloatBuffer r,
java.nio.FloatBuffer g,
java.nio.FloatBuffer b,
java.nio.FloatBuffer a,
NkColor color)
public static void nnk_color_fv(long rgba_out,
long color)
public static void nk_color_fv(java.nio.FloatBuffer rgba_out,
NkColor color)
public static void nnk_color_cf(long color,
long __result)
public static void nnk_color_d(long r,
long g,
long b,
long a,
long color)
public static void nk_color_d(java.nio.DoubleBuffer r,
java.nio.DoubleBuffer g,
java.nio.DoubleBuffer b,
java.nio.DoubleBuffer a,
NkColor color)
public static void nnk_color_dv(long rgba_out,
long color)
public static void nk_color_dv(java.nio.DoubleBuffer rgba_out,
NkColor color)
public static int nnk_color_u32(long color)
public static int nk_color_u32(NkColor color)
public static void nnk_color_hex_rgba(long output,
long color)
public static void nk_color_hex_rgba(java.nio.ByteBuffer output,
NkColor color)
public static void nnk_color_hex_rgb(long output,
long color)
public static void nk_color_hex_rgb(java.nio.ByteBuffer output,
NkColor color)
public static void nnk_color_hsv_i(long out_h,
long out_s,
long out_v,
long color)
public static void nk_color_hsv_i(java.nio.IntBuffer out_h,
java.nio.IntBuffer out_s,
java.nio.IntBuffer out_v,
NkColor color)
public static void nnk_color_hsv_b(long out_h,
long out_s,
long out_v,
long color)
public static void nk_color_hsv_b(java.nio.ByteBuffer out_h,
java.nio.ByteBuffer out_s,
java.nio.ByteBuffer out_v,
NkColor color)
public static void nnk_color_hsv_iv(long hsv_out,
long color)
public static void nk_color_hsv_iv(java.nio.IntBuffer hsv_out,
NkColor color)
public static void nnk_color_hsv_bv(long hsv_out,
long color)
public static void nk_color_hsv_bv(java.nio.ByteBuffer hsv_out,
NkColor color)
public static void nnk_color_hsv_f(long out_h,
long out_s,
long out_v,
long color)
public static void nk_color_hsv_f(java.nio.FloatBuffer out_h,
java.nio.FloatBuffer out_s,
java.nio.FloatBuffer out_v,
NkColor color)
public static void nnk_color_hsv_fv(long hsv_out,
long color)
public static void nk_color_hsv_fv(java.nio.FloatBuffer hsv_out,
NkColor color)
public static void nnk_color_hsva_i(long h,
long s,
long v,
long a,
long color)
public static void nk_color_hsva_i(java.nio.IntBuffer h,
java.nio.IntBuffer s,
java.nio.IntBuffer v,
java.nio.IntBuffer a,
NkColor color)
public static void nnk_color_hsva_b(long h,
long s,
long v,
long a,
long color)
public static void nk_color_hsva_b(java.nio.ByteBuffer h,
java.nio.ByteBuffer s,
java.nio.ByteBuffer v,
java.nio.ByteBuffer a,
NkColor color)
public static void nnk_color_hsva_iv(long hsva_out,
long color)
public static void nk_color_hsva_iv(java.nio.IntBuffer hsva_out,
NkColor color)
public static void nnk_color_hsva_bv(long hsva_out,
long color)
public static void nk_color_hsva_bv(java.nio.ByteBuffer hsva_out,
NkColor color)
public static void nnk_color_hsva_f(long out_h,
long out_s,
long out_v,
long out_a,
long color)
public static void nk_color_hsva_f(java.nio.FloatBuffer out_h,
java.nio.FloatBuffer out_s,
java.nio.FloatBuffer out_v,
java.nio.FloatBuffer out_a,
NkColor color)
public static void nnk_color_hsva_fv(long hsva_out,
long color)
public static void nk_color_hsva_fv(java.nio.FloatBuffer hsva_out,
NkColor color)
public static void nnk_handle_ptr(long ptr,
long __result)
public static void nnk_handle_id(int id,
long __result)
public static void nnk_image_handle(long handle,
long __result)
public static void nnk_image_ptr(long ptr,
long __result)
public static void nnk_image_id(int id,
long __result)
public static int nnk_image_is_subimage(long img)
public static boolean nk_image_is_subimage(NkImage img)
public static void nnk_subimage_ptr(long ptr,
short w,
short h,
long sub_region,
long __result)
public static NkImage nk_subimage_ptr(long ptr, short w, short h, NkRect sub_region, NkImage __result)
public static void nnk_subimage_id(int id,
short w,
short h,
long sub_region,
long __result)
public static NkImage nk_subimage_id(int id, short w, short h, NkRect sub_region, NkImage __result)
public static void nnk_subimage_handle(long handle,
short w,
short h,
long sub_region,
long __result)
public static NkImage nk_subimage_handle(NkHandle handle, short w, short h, NkRect sub_region, NkImage __result)
public static int nnk_murmur_hash(long key,
int len,
int seed)
public static int nk_murmur_hash(java.nio.ByteBuffer key,
int seed)
public static void nnk_triangle_from_direction(long result,
long r,
float pad_x,
float pad_y,
int direction)
triangle_from_directionpublic static void nk_triangle_from_direction(NkVec2 result, NkRect r, float pad_x, float pad_y, int direction)
public static void nnk_vec2(float x,
float y,
long __result)
public static void nnk_vec2i(int x,
int y,
long __result)
public static void nnk_vec2v(long xy,
long __result)
public static void nnk_vec2iv(long xy,
long __result)
public static void nnk_get_null_rect(long __result)
public static void nnk_rect(float x,
float y,
float w,
float h,
long __result)
public static void nnk_recti(int x,
int y,
int w,
int h,
long __result)
public static void nnk_recta(long pos,
long size,
long __result)
public static void nnk_rectv(long xywh,
long __result)
public static void nnk_rectiv(long xywh,
long __result)
public static void nnk_rect_pos(long r,
long __result)
public static void nnk_rect_size(long r,
long __result)
public static int nnk_strlen(long str)
public static int nk_strlen(java.nio.ByteBuffer str)
public static int nk_strlen(java.lang.CharSequence str)
public static int nnk_stricmp(long s1,
long s2)
public static int nk_stricmp(java.nio.ByteBuffer s1,
java.nio.ByteBuffer s2)
public static int nk_stricmp(java.lang.CharSequence s1,
java.lang.CharSequence s2)
public static int nnk_stricmpn(long s1,
long s2,
int n)
public static int nk_stricmpn(java.nio.ByteBuffer s1,
java.nio.ByteBuffer s2,
int n)
public static int nk_stricmpn(java.lang.CharSequence s1,
java.lang.CharSequence s2,
int n)
public static int nnk_strtoi(long str,
long endptr)
public static int nk_strtoi(java.nio.ByteBuffer str,
org.lwjgl.PointerBuffer endptr)
public static int nk_strtoi(java.lang.CharSequence str,
org.lwjgl.PointerBuffer endptr)
public static float nnk_strtof(long str,
long endptr)
public static float nk_strtof(java.nio.ByteBuffer str,
org.lwjgl.PointerBuffer endptr)
public static float nk_strtof(java.lang.CharSequence str,
org.lwjgl.PointerBuffer endptr)
public static double nnk_strtod(long str,
long endptr)
public static double nk_strtod(java.nio.ByteBuffer str,
org.lwjgl.PointerBuffer endptr)
public static double nk_strtod(java.lang.CharSequence str,
org.lwjgl.PointerBuffer endptr)
public static int nnk_strfilter(long str,
long regexp)
strfilterpublic static boolean nk_strfilter(java.nio.ByteBuffer str,
java.nio.ByteBuffer regexp)
public static boolean nk_strfilter(java.lang.CharSequence str,
java.lang.CharSequence regexp)
public static int nnk_strmatch_fuzzy_string(long str,
long pattern,
long out_score)
strmatch_fuzzy_stringpublic static boolean nk_strmatch_fuzzy_string(java.nio.ByteBuffer str,
java.nio.ByteBuffer pattern,
java.nio.IntBuffer out_score)
pattern is found sequentially within str if found then out_score is also set. Score value
has no intrinsic meaning. Range varies with pattern. Can only compare scores with same search pattern.public static boolean nk_strmatch_fuzzy_string(java.lang.CharSequence str,
java.lang.CharSequence pattern,
java.nio.IntBuffer out_score)
pattern is found sequentially within str if found then out_score is also set. Score value
has no intrinsic meaning. Range varies with pattern. Can only compare scores with same search pattern.public static int nnk_strmatch_fuzzy_text(long txt,
int txt_len,
long pattern,
long out_score)
public static int nk_strmatch_fuzzy_text(java.nio.ByteBuffer txt,
java.nio.ByteBuffer pattern,
java.nio.IntBuffer out_score)
public static int nk_strmatch_fuzzy_text(java.lang.CharSequence txt,
java.lang.CharSequence pattern,
java.nio.IntBuffer out_score)
public static int nnk_utf_decode(long c,
long u,
int clen)
public static int nk_utf_decode(java.nio.ByteBuffer c,
java.nio.IntBuffer u)
public static int nnk_utf_encode(int u,
long c,
int clen)
public static int nk_utf_encode(int u,
java.nio.ByteBuffer c)
public static int nnk_utf_len(long str,
int byte_len)
public static int nk_utf_len(java.nio.ByteBuffer str)
public static long nnk_utf_at(long buffer,
int length,
int index,
long unicode,
long len)
@Nullable
public static java.nio.ByteBuffer nk_utf_at(java.nio.ByteBuffer buffer,
int index,
java.nio.IntBuffer unicode)
public static void nnk_buffer_init(long buffer,
long allocator,
long size)
public static void nk_buffer_init(NkBuffer buffer, NkAllocator allocator, long size)
public static void nnk_buffer_init_fixed(long buffer,
long memory,
long size)
public static void nk_buffer_init_fixed(NkBuffer buffer, java.nio.ByteBuffer memory)
public static void nnk_buffer_info(long status,
long buffer)
public static void nk_buffer_info(NkMemoryStatus status, NkBuffer buffer)
public static void nnk_buffer_push(long buffer,
int type,
long memory,
long size,
long align)
buffer_pushpublic static void nk_buffer_push(NkBuffer buffer, int type, java.nio.ByteBuffer memory, long align)
type - one of:BUFFER_FRONT | BUFFER_BACK | BUFFER_MAX |
public static void nnk_buffer_mark(long buffer,
int type)
buffer_markpublic static void nk_buffer_mark(NkBuffer buffer, int type)
type - one of:BUFFER_FRONT | BUFFER_BACK | BUFFER_MAX |
public static void nnk_buffer_reset(long buffer,
int type)
buffer_resetpublic static void nk_buffer_reset(NkBuffer buffer, int type)
type - one of:BUFFER_FRONT | BUFFER_BACK | BUFFER_MAX |
public static void nnk_buffer_clear(long buffer)
public static void nk_buffer_clear(NkBuffer buffer)
public static void nnk_buffer_free(long buffer)
public static void nk_buffer_free(NkBuffer buffer)
public static long nnk_buffer_memory(long buffer)
public static long nk_buffer_memory(NkBuffer buffer)
public static long nnk_buffer_memory_const(long buffer)
public static long nk_buffer_memory_const(NkBuffer buffer)
public static long nnk_buffer_total(long buffer)
public static long nk_buffer_total(NkBuffer buffer)
public static void nnk_str_init(long str,
long allocator,
long size)
public static void nk_str_init(NkStr str, NkAllocator allocator, long size)
public static void nnk_str_init_fixed(long str,
long memory,
long size)
public static void nk_str_init_fixed(NkStr str, java.nio.ByteBuffer memory)
public static void nnk_str_clear(long str)
public static void nk_str_clear(NkStr str)
public static void nnk_str_free(long str)
public static void nk_str_free(NkStr str)
public static int nnk_str_append_text_char(long s,
long str,
int len)
public static int nk_str_append_text_char(NkStr s, java.nio.ByteBuffer str)
public static int nnk_str_append_str_char(long s,
long str)
public static int nk_str_append_str_char(NkStr s, java.nio.ByteBuffer str)
public static int nnk_str_append_text_utf8(long s,
long str,
int len)
public static int nk_str_append_text_utf8(NkStr s, java.nio.ByteBuffer str)
public static int nnk_str_append_str_utf8(long s,
long str)
public static int nk_str_append_str_utf8(NkStr s, java.nio.ByteBuffer str)
public static int nnk_str_append_text_runes(long s,
long runes,
int len)
public static int nk_str_append_text_runes(NkStr s, java.nio.IntBuffer runes)
public static int nnk_str_append_str_runes(long s,
long runes)
public static int nk_str_append_str_runes(NkStr s, java.nio.IntBuffer runes)
public static int nnk_str_insert_at_char(long s,
int pos,
long str,
int len)
public static int nk_str_insert_at_char(NkStr s, int pos, java.nio.ByteBuffer str)
public static int nnk_str_insert_at_rune(long s,
int pos,
long str,
int len)
public static int nk_str_insert_at_rune(NkStr s, int pos, java.nio.ByteBuffer str)
public static int nnk_str_insert_text_char(long s,
int pos,
long str,
int len)
public static int nk_str_insert_text_char(NkStr s, int pos, java.nio.ByteBuffer str)
public static int nnk_str_insert_str_char(long s,
int pos,
long str)
public static int nk_str_insert_str_char(NkStr s, int pos, java.nio.ByteBuffer str)
public static int nnk_str_insert_text_utf8(long s,
int pos,
long str,
int len)
public static int nk_str_insert_text_utf8(NkStr s, int pos, java.nio.ByteBuffer str)
public static int nnk_str_insert_str_utf8(long s,
int pos,
long str)
public static int nk_str_insert_str_utf8(NkStr s, int pos, java.nio.ByteBuffer str)
public static int nnk_str_insert_text_runes(long s,
int pos,
long runes,
int len)
public static int nk_str_insert_text_runes(NkStr s, int pos, java.nio.IntBuffer runes)
public static int nnk_str_insert_str_runes(long s,
int pos,
long runes)
public static int nk_str_insert_str_runes(NkStr s, int pos, java.nio.IntBuffer runes)
public static void nnk_str_remove_chars(long s,
int len)
public static void nk_str_remove_chars(NkStr s, int len)
public static void nnk_str_remove_runes(long str,
int len)
public static void nk_str_remove_runes(NkStr str, int len)
public static void nnk_str_delete_chars(long s,
int pos,
int len)
public static void nk_str_delete_chars(NkStr s, int pos, int len)
public static void nnk_str_delete_runes(long s,
int pos,
int len)
public static void nk_str_delete_runes(NkStr s, int pos, int len)
public static long nnk_str_at_char(long s,
int pos)
@Nullable public static java.lang.String nk_str_at_char(NkStr s, int pos)
public static long nnk_str_at_rune(long s,
int pos,
long unicode,
long len)
@Nullable public static java.nio.ByteBuffer nk_str_at_rune(NkStr s, int pos, java.nio.IntBuffer unicode)
public static int nnk_str_rune_at(long s,
int pos)
public static int nk_str_rune_at(NkStr s, int pos)
public static long nnk_str_at_char_const(long s,
int pos)
@Nullable public static java.lang.String nk_str_at_char_const(NkStr s, int pos)
public static long nnk_str_at_const(long s,
int pos,
long unicode,
long len)
@Nullable public static java.nio.ByteBuffer nk_str_at_const(NkStr s, int pos, java.nio.IntBuffer unicode)
public static long nnk_str_get(long s)
@Nullable public static java.lang.String nk_str_get(NkStr s)
public static long nnk_str_get_const(long s)
@Nullable public static java.lang.String nk_str_get_const(NkStr s)
public static int nnk_str_len(long s)
public static int nk_str_len(NkStr s)
public static int nnk_str_len_char(long s)
public static int nk_str_len_char(NkStr s)
public static int nnk_filter_default(long edit,
int unicode)
public static boolean nk_filter_default(NkTextEdit edit, int unicode)
public static int nnk_filter_ascii(long edit,
int unicode)
public static boolean nk_filter_ascii(NkTextEdit edit, int unicode)
public static int nnk_filter_float(long edit,
int unicode)
public static boolean nk_filter_float(NkTextEdit edit, int unicode)
public static int nnk_filter_decimal(long edit,
int unicode)
public static boolean nk_filter_decimal(NkTextEdit edit, int unicode)
public static int nnk_filter_hex(long edit,
int unicode)
public static boolean nk_filter_hex(NkTextEdit edit, int unicode)
public static int nnk_filter_oct(long edit,
int unicode)
public static boolean nk_filter_oct(NkTextEdit edit, int unicode)
public static int nnk_filter_binary(long edit,
int unicode)
public static boolean nk_filter_binary(NkTextEdit edit, int unicode)
public static void nnk_textedit_init(long box,
long allocator,
long size)
public static void nk_textedit_init(NkTextEdit box, NkAllocator allocator, long size)
public static void nnk_textedit_init_fixed(long box,
long memory,
long size)
public static void nk_textedit_init_fixed(NkTextEdit box, java.nio.ByteBuffer memory)
public static void nnk_textedit_free(long box)
public static void nk_textedit_free(NkTextEdit box)
public static void nnk_textedit_text(long box,
long text,
int total_len)
public static void nk_textedit_text(NkTextEdit box, java.nio.ByteBuffer text)
public static void nk_textedit_text(NkTextEdit box, java.lang.CharSequence text)
public static void nnk_textedit_delete(long box,
int where,
int len)
public static void nk_textedit_delete(NkTextEdit box, int where, int len)
public static void nnk_textedit_delete_selection(long box)
public static void nk_textedit_delete_selection(NkTextEdit box)
public static void nnk_textedit_select_all(long box)
public static void nk_textedit_select_all(NkTextEdit box)
public static int nnk_textedit_cut(long box)
public static boolean nk_textedit_cut(NkTextEdit box)
public static int nnk_textedit_paste(long box,
long ctext,
int len)
public static boolean nk_textedit_paste(NkTextEdit box, java.nio.ByteBuffer ctext)
public static boolean nk_textedit_paste(NkTextEdit box, java.lang.CharSequence ctext)
public static void nnk_textedit_undo(long box)
public static void nk_textedit_undo(NkTextEdit box)
public static void nnk_textedit_redo(long box)
public static void nk_textedit_redo(NkTextEdit box)
public static void nnk_stroke_line(long b,
float x0,
float y0,
float x1,
float y1,
float line_thickness,
long color)
public static void nk_stroke_line(NkCommandBuffer b, float x0, float y0, float x1, float y1, float line_thickness, NkColor color)
public static void nnk_stroke_curve(long b,
float ax,
float ay,
float ctrl0x,
float ctrl0y,
float ctrl1x,
float ctrl1y,
float bx,
float by,
float line_thickness,
long color)
public static void nk_stroke_curve(NkCommandBuffer b, float ax, float ay, float ctrl0x, float ctrl0y, float ctrl1x, float ctrl1y, float bx, float by, float line_thickness, NkColor color)
public static void nnk_stroke_rect(long b,
long rect,
float rounding,
float line_thickness,
long color)
public static void nk_stroke_rect(NkCommandBuffer b, NkRect rect, float rounding, float line_thickness, NkColor color)
public static void nnk_stroke_circle(long b,
long rect,
float line_thickness,
long color)
public static void nk_stroke_circle(NkCommandBuffer b, NkRect rect, float line_thickness, NkColor color)
public static void nnk_stroke_arc(long b,
float cx,
float cy,
float radius,
float a_min,
float a_max,
float line_thickness,
long color)
public static void nk_stroke_arc(NkCommandBuffer b, float cx, float cy, float radius, float a_min, float a_max, float line_thickness, NkColor color)
public static void nnk_stroke_triangle(long b,
float x0,
float y0,
float x1,
float y1,
float x2,
float y2,
float line_thichness,
long color)
public static void nk_stroke_triangle(NkCommandBuffer b, float x0, float y0, float x1, float y1, float x2, float y2, float line_thichness, NkColor color)
public static void nnk_stroke_polyline(long b,
long points,
int point_count,
float line_thickness,
long col)
public static void nk_stroke_polyline(NkCommandBuffer b, java.nio.FloatBuffer points, float line_thickness, NkColor col)
public static void nnk_stroke_polygon(long b,
long points,
int point_count,
float line_thickness,
long color)
public static void nk_stroke_polygon(NkCommandBuffer b, java.nio.FloatBuffer points, float line_thickness, NkColor color)
public static void nnk_fill_rect(long b,
long rect,
float rounding,
long color)
public static void nk_fill_rect(NkCommandBuffer b, NkRect rect, float rounding, NkColor color)
public static void nnk_fill_rect_multi_color(long b,
long rect,
long left,
long top,
long right,
long bottom)
public static void nk_fill_rect_multi_color(NkCommandBuffer b, NkRect rect, NkColor left, NkColor top, NkColor right, NkColor bottom)
public static void nnk_fill_circle(long b,
long rect,
long color)
public static void nk_fill_circle(NkCommandBuffer b, NkRect rect, NkColor color)
public static void nnk_fill_arc(long b,
float cx,
float cy,
float radius,
float a_min,
float a_max,
long color)
public static void nk_fill_arc(NkCommandBuffer b, float cx, float cy, float radius, float a_min, float a_max, NkColor color)
public static void nnk_fill_triangle(long b,
float x0,
float y0,
float x1,
float y1,
float x2,
float y2,
long color)
public static void nk_fill_triangle(NkCommandBuffer b, float x0, float y0, float x1, float y1, float x2, float y2, NkColor color)
public static void nnk_fill_polygon(long b,
long points,
int point_count,
long color)
public static void nk_fill_polygon(NkCommandBuffer b, java.nio.FloatBuffer points, NkColor color)
public static void nnk_draw_image(long b,
long rect,
long img,
long color)
public static void nk_draw_image(NkCommandBuffer b, NkRect rect, NkImage img, NkColor color)
public static void nnk_draw_text(long b,
long rect,
long string,
int length,
long font,
long bg,
long fg)
public static void nk_draw_text(NkCommandBuffer b, NkRect rect, java.nio.ByteBuffer string, NkUserFont font, NkColor bg, NkColor fg)
public static void nk_draw_text(NkCommandBuffer b, NkRect rect, java.lang.CharSequence string, NkUserFont font, NkColor bg, NkColor fg)
public static void nnk_push_scissor(long b,
long rect)
public static void nk_push_scissor(NkCommandBuffer b, NkRect rect)
public static void nnk_push_custom(long b,
long rect,
long callback,
long usr)
public static void nk_push_custom(NkCommandBuffer b, NkRect rect, NkCommandCustomCallbackI callback, NkHandle usr)
public static long nnk__next(long ctx,
long cmd)
_next@Nullable public static NkCommand nk__next(NkContext ctx, NkCommand cmd)
ctx - the nuklear contextpublic static long nnk__begin(long ctx)
_begin@Nullable public static NkCommand nk__begin(NkContext ctx)
ctx - the nuklear contextpublic static int nnk_input_has_mouse_click(long i,
int id)
input_has_mouse_clickpublic static boolean nk_input_has_mouse_click(NkInput i, int id)
id - one of:BUTTON_LEFT | BUTTON_MIDDLE | BUTTON_RIGHT | BUTTON_DOUBLE |
public static int nnk_input_has_mouse_click_in_rect(long i,
int id,
long rect)
input_has_mouse_click_in_rectpublic static boolean nk_input_has_mouse_click_in_rect(NkInput i, int id, NkRect rect)
id - one of:BUTTON_LEFT | BUTTON_MIDDLE | BUTTON_RIGHT | BUTTON_DOUBLE |
public static int nnk_input_has_mouse_click_down_in_rect(long i,
int id,
long rect,
int down)
input_has_mouse_click_down_in_rectpublic static boolean nk_input_has_mouse_click_down_in_rect(NkInput i, int id, NkRect rect, int down)
id - one of:BUTTON_LEFT | BUTTON_MIDDLE | BUTTON_RIGHT | BUTTON_DOUBLE |
public static int nnk_input_is_mouse_click_in_rect(long i,
int id,
long rect)
input_is_mouse_click_in_rectpublic static boolean nk_input_is_mouse_click_in_rect(NkInput i, int id, NkRect rect)
id - one of:BUTTON_LEFT | BUTTON_MIDDLE | BUTTON_RIGHT | BUTTON_DOUBLE |
public static int nnk_input_is_mouse_click_down_in_rect(long i,
int id,
long b,
int down)
input_is_mouse_click_down_in_rectpublic static boolean nk_input_is_mouse_click_down_in_rect(NkInput i, int id, NkRect b, int down)
id - one of:BUTTON_LEFT | BUTTON_MIDDLE | BUTTON_RIGHT | BUTTON_DOUBLE |
public static int nnk_input_any_mouse_click_in_rect(long i,
long rect)
public static boolean nk_input_any_mouse_click_in_rect(NkInput i, NkRect rect)
public static int nnk_input_is_mouse_prev_hovering_rect(long i,
long rect)
public static boolean nk_input_is_mouse_prev_hovering_rect(NkInput i, NkRect rect)
public static int nnk_input_is_mouse_hovering_rect(long i,
long rect)
public static boolean nk_input_is_mouse_hovering_rect(NkInput i, NkRect rect)
public static int nnk_input_mouse_clicked(long i,
int id,
long rect)
input_mouse_clickedpublic static boolean nk_input_mouse_clicked(NkInput i, int id, NkRect rect)
id - one of:BUTTON_LEFT | BUTTON_MIDDLE | BUTTON_RIGHT | BUTTON_DOUBLE |
public static int nnk_input_is_mouse_down(long i,
int id)
input_is_mouse_downpublic static boolean nk_input_is_mouse_down(NkInput i, int id)
id - one of:BUTTON_LEFT | BUTTON_MIDDLE | BUTTON_RIGHT | BUTTON_DOUBLE |
public static int nnk_input_is_mouse_pressed(long i,
int id)
input_is_mouse_pressedpublic static boolean nk_input_is_mouse_pressed(NkInput i, int id)
id - one of:BUTTON_LEFT | BUTTON_MIDDLE | BUTTON_RIGHT | BUTTON_DOUBLE |
public static int nnk_input_is_mouse_released(long i,
int id)
input_is_mouse_releasedpublic static boolean nk_input_is_mouse_released(NkInput i, int id)
id - one of:BUTTON_LEFT | BUTTON_MIDDLE | BUTTON_RIGHT | BUTTON_DOUBLE |
public static int nnk_input_is_key_pressed(long i,
int key)
input_is_key_pressedpublic static boolean nk_input_is_key_pressed(NkInput i, int key)
key - one of:public static int nnk_input_is_key_released(long i,
int key)
input_is_key_releasedpublic static boolean nk_input_is_key_released(NkInput i, int key)
key - one of:public static int nnk_input_is_key_down(long i,
int key)
input_is_key_downpublic static boolean nk_input_is_key_down(NkInput i, int key)
key - one of:public static void nnk_draw_list_init(long list)
public static void nk_draw_list_init(NkDrawList list)
public static void nnk_draw_list_setup(long canvas,
long config,
long cmds,
long vertices,
long elements,
int line_aa,
int shape_aa)
public static void nk_draw_list_setup(NkDrawList canvas, NkConvertConfig config, NkBuffer cmds, NkBuffer vertices, NkBuffer elements, int line_aa, int shape_aa)
public static long nnk__draw_list_begin(long list,
long buffer)
@Nullable public static NkDrawCommand nk__draw_list_begin(NkDrawList list, NkBuffer buffer)
public static long nnk__draw_list_next(long cmd,
long buffer,
long list)
@Nullable public static NkDrawCommand nk__draw_list_next(NkDrawCommand cmd, NkBuffer buffer, NkDrawList list)
public static long nnk__draw_begin(long ctx,
long buffer)
_draw_begin@Nullable public static NkDrawCommand nk__draw_begin(NkContext ctx, NkBuffer buffer)
ctx - the nuklear contextpublic static long nnk__draw_end(long ctx,
long buffer)
_draw_end@Nullable public static NkDrawCommand nk__draw_end(NkContext ctx, NkBuffer buffer)
ctx - the nuklear contextpublic static long nnk__draw_next(long cmd,
long buffer,
long ctx)
_draw_next@Nullable public static NkDrawCommand nk__draw_next(NkDrawCommand cmd, NkBuffer buffer, NkContext ctx)
ctx - the nuklear contextpublic static void nnk_draw_list_path_clear(long list)
public static void nk_draw_list_path_clear(NkDrawList list)
public static void nnk_draw_list_path_line_to(long list,
long pos)
public static void nk_draw_list_path_line_to(NkDrawList list, NkVec2 pos)
public static void nnk_draw_list_path_arc_to_fast(long list,
long center,
float radius,
int a_min,
int a_max)
public static void nk_draw_list_path_arc_to_fast(NkDrawList list, NkVec2 center, float radius, int a_min, int a_max)
public static void nnk_draw_list_path_arc_to(long list,
long center,
float radius,
float a_min,
float a_max,
int segments)
public static void nk_draw_list_path_arc_to(NkDrawList list, NkVec2 center, float radius, float a_min, float a_max, int segments)
public static void nnk_draw_list_path_rect_to(long list,
long a,
long b,
float rounding)
public static void nk_draw_list_path_rect_to(NkDrawList list, NkVec2 a, NkVec2 b, float rounding)
public static void nnk_draw_list_path_curve_to(long list,
long p2,
long p3,
long p4,
int num_segments)
public static void nk_draw_list_path_curve_to(NkDrawList list, NkVec2 p2, NkVec2 p3, NkVec2 p4, int num_segments)
public static void nnk_draw_list_path_fill(long list,
long color)
public static void nk_draw_list_path_fill(NkDrawList list, NkColor color)
public static void nnk_draw_list_path_stroke(long list,
long color,
int closed,
float thickness)
draw_list_path_strokepublic static void nk_draw_list_path_stroke(NkDrawList list, NkColor color, int closed, float thickness)
closed - one of:STROKE_OPEN | STROKE_CLOSED |
public static void nnk_draw_list_stroke_line(long list,
long a,
long b,
long color,
float thickness)
public static void nk_draw_list_stroke_line(NkDrawList list, NkVec2 a, NkVec2 b, NkColor color, float thickness)
public static void nnk_draw_list_stroke_rect(long list,
long rect,
long color,
float rounding,
float thickness)
public static void nk_draw_list_stroke_rect(NkDrawList list, NkRect rect, NkColor color, float rounding, float thickness)
public static void nnk_draw_list_stroke_triangle(long list,
long a,
long b,
long c,
long color,
float thickness)
public static void nk_draw_list_stroke_triangle(NkDrawList list, NkVec2 a, NkVec2 b, NkVec2 c, NkColor color, float thickness)
public static void nnk_draw_list_stroke_circle(long list,
long center,
float radius,
long color,
int segs,
float thickness)
public static void nk_draw_list_stroke_circle(NkDrawList list, NkVec2 center, float radius, NkColor color, int segs, float thickness)
public static void nnk_draw_list_stroke_curve(long list,
long p0,
long cp0,
long cp1,
long p1,
long color,
int segments,
float thickness)
public static void nk_draw_list_stroke_curve(NkDrawList list, NkVec2 p0, NkVec2 cp0, NkVec2 cp1, NkVec2 p1, NkColor color, int segments, float thickness)
public static void nnk_draw_list_stroke_poly_line(long list,
long pnts,
int cnt,
long color,
int closed,
float thickness,
int aliasing)
draw_list_stroke_poly_linepublic static void nk_draw_list_stroke_poly_line(NkDrawList list, NkVec2 pnts, int cnt, NkColor color, int closed, float thickness, int aliasing)
closed - one of:STROKE_OPEN | STROKE_CLOSED |
aliasing - one of:ANTI_ALIASING_OFF | ANTI_ALIASING_ON |
public static void nnk_draw_list_fill_rect(long list,
long rect,
long color,
float rounding)
public static void nk_draw_list_fill_rect(NkDrawList list, NkRect rect, NkColor color, float rounding)
public static void nnk_draw_list_fill_rect_multi_color(long list,
long rect,
long left,
long top,
long right,
long bottom)
public static void nk_draw_list_fill_rect_multi_color(NkDrawList list, NkRect rect, NkColor left, NkColor top, NkColor right, NkColor bottom)
public static void nnk_draw_list_fill_triangle(long list,
long a,
long b,
long c,
long color)
public static void nk_draw_list_fill_triangle(NkDrawList list, NkVec2 a, NkVec2 b, NkVec2 c, NkColor color)
public static void nnk_draw_list_fill_circle(long list,
long center,
float radius,
long col,
int segs)
public static void nk_draw_list_fill_circle(NkDrawList list, NkVec2 center, float radius, NkColor col, int segs)
public static void nnk_draw_list_fill_poly_convex(long list,
long points,
int count,
long color,
int aliasing)
draw_list_fill_poly_convexpublic static void nk_draw_list_fill_poly_convex(NkDrawList list, NkVec2.Buffer points, NkColor color, int aliasing)
aliasing - one of:ANTI_ALIASING_OFF | ANTI_ALIASING_ON |
public static void nnk_draw_list_add_image(long list,
long texture,
long rect,
long color)
public static void nk_draw_list_add_image(NkDrawList list, NkImage texture, NkRect rect, NkColor color)
public static void nnk_draw_list_add_text(long list,
long font,
long rect,
long text,
int len,
float font_height,
long color)
public static void nk_draw_list_add_text(NkDrawList list, NkUserFont font, NkRect rect, java.nio.ByteBuffer text, float font_height, NkColor color)
public static void nk_draw_list_add_text(NkDrawList list, NkUserFont font, NkRect rect, java.lang.CharSequence text, float font_height, NkColor color)
public static void nnk_draw_list_push_userdata(long list,
long userdata)
public static void nk_draw_list_push_userdata(NkDrawList list, NkHandle userdata)
public static void nnk_style_item_image(long img,
long __result)
public static NkStyleItem nk_style_item_image(NkImage img, NkStyleItem __result)
public static void nnk_style_item_color(long color,
long __result)
public static NkStyleItem nk_style_item_color(NkColor color, NkStyleItem __result)
public static void nnk_style_item_hide(long __result)
public static NkStyleItem nk_style_item_hide(NkStyleItem __result)
public static void nnk_window_get_scroll(long ctx,
int[] offset_x,
int[] offset_y)
nnk_window_get_scroll(long, long, long)public static void nk_window_get_scroll(NkContext ctx, @Nullable int[] offset_x, @Nullable int[] offset_y)
window_get_scrollpublic static void nnk_layout_row(long ctx,
int fmt,
float height,
int cols,
float[] ratio)
nnk_layout_row(long, int, float, int, long)public static void nk_layout_row(NkContext ctx, int fmt, float height, float[] ratio)
layout_rowpublic static int nnk_group_scrolled_offset_begin(long ctx,
int[] x_offset,
int[] y_offset,
long title,
int flags)
nnk_group_scrolled_offset_begin(long, long, long, long, int)public static boolean nk_group_scrolled_offset_begin(NkContext ctx, int[] x_offset, int[] y_offset, java.nio.ByteBuffer title, int flags)
group_scrolled_offset_beginpublic static boolean nk_group_scrolled_offset_begin(NkContext ctx, int[] x_offset, int[] y_offset, java.lang.CharSequence title, int flags)
group_scrolled_offset_beginpublic static void nnk_group_get_scroll(long ctx,
long id,
int[] x_offset,
int[] y_offset)
nnk_group_get_scroll(long, long, long, long)public static void nk_group_get_scroll(NkContext ctx, java.nio.ByteBuffer id, @Nullable int[] x_offset, @Nullable int[] y_offset)
group_get_scrollpublic static void nk_group_get_scroll(NkContext ctx, java.lang.CharSequence id, @Nullable int[] x_offset, @Nullable int[] y_offset)
group_get_scrollpublic static int nnk_tree_state_push(long ctx,
int type,
long title,
int[] state)
nnk_tree_state_push(long, int, long, long)public static boolean nk_tree_state_push(NkContext ctx, int type, java.nio.ByteBuffer title, int[] state)
tree_state_pushpublic static boolean nk_tree_state_push(NkContext ctx, int type, java.lang.CharSequence title, int[] state)
tree_state_pushpublic static int nnk_tree_state_image_push(long ctx,
int type,
long image,
long title,
int[] state)
nnk_tree_state_image_push(long, int, long, long, long)public static boolean nk_tree_state_image_push(NkContext ctx, int type, NkImage image, java.nio.ByteBuffer title, int[] state)
tree_state_image_pushpublic static boolean nk_tree_state_image_push(NkContext ctx, int type, NkImage image, java.lang.CharSequence title, int[] state)
tree_state_image_pushpublic static int nnk_tree_element_push_hashed(long ctx,
int type,
long title,
int initial_state,
int[] selected,
long hash,
int len,
int seed)
nnk_tree_element_push_hashed(long, int, long, int, long, long, int, int)public static boolean nk_tree_element_push_hashed(NkContext ctx, int type, java.nio.ByteBuffer title, int initial_state, int[] selected, java.nio.ByteBuffer hash, int seed)
tree_element_push_hashedpublic static boolean nk_tree_element_push_hashed(NkContext ctx, int type, java.lang.CharSequence title, int initial_state, int[] selected, java.nio.ByteBuffer hash, int seed)
tree_element_push_hashedpublic static int nnk_tree_element_image_push_hashed(long ctx,
int type,
long img,
long title,
int initial_state,
int[] selected,
long hash,
int len,
int seed)
public static boolean nk_tree_element_image_push_hashed(NkContext ctx, int type, NkImage img, java.nio.ByteBuffer title, int initial_state, int[] selected, java.nio.ByteBuffer hash, int seed)
tree_element_image_push_hashedpublic static boolean nk_tree_element_image_push_hashed(NkContext ctx, int type, NkImage img, java.lang.CharSequence title, int initial_state, int[] selected, java.nio.ByteBuffer hash, int seed)
tree_element_image_push_hashedpublic static int nnk_checkbox_label(long ctx,
long str,
int[] active)
nnk_checkbox_label(long, long, long)public static boolean nk_checkbox_label(NkContext ctx, java.nio.ByteBuffer str, int[] active)
checkbox_labelpublic static boolean nk_checkbox_label(NkContext ctx, java.lang.CharSequence str, int[] active)
checkbox_labelpublic static int nnk_checkbox_text(long ctx,
long str,
int len,
int[] active)
nnk_checkbox_text(long, long, int, long)public static boolean nk_checkbox_text(NkContext ctx, java.nio.ByteBuffer str, int[] active)
checkbox_textpublic static boolean nk_checkbox_text(NkContext ctx, java.lang.CharSequence str, int[] active)
checkbox_textpublic static int nnk_checkbox_flags_label(long ctx,
long str,
int[] flags,
int value)
nnk_checkbox_flags_label(long, long, long, int)public static boolean nk_checkbox_flags_label(NkContext ctx, java.nio.ByteBuffer str, int[] flags, int value)
checkbox_flags_labelpublic static boolean nk_checkbox_flags_label(NkContext ctx, java.lang.CharSequence str, int[] flags, int value)
checkbox_flags_labelpublic static int nnk_checkbox_flags_text(long ctx,
long str,
int len,
int[] flags,
int value)
nnk_checkbox_flags_text(long, long, int, long, int)public static boolean nk_checkbox_flags_text(NkContext ctx, java.nio.ByteBuffer str, int[] flags, int value)
checkbox_flags_textpublic static boolean nk_checkbox_flags_text(NkContext ctx, java.lang.CharSequence str, int[] flags, int value)
checkbox_flags_textpublic static int nnk_radio_label(long ctx,
long str,
int[] active)
nnk_radio_label(long, long, long)public static boolean nk_radio_label(NkContext ctx, java.nio.ByteBuffer str, int[] active)
radio_labelpublic static boolean nk_radio_label(NkContext ctx, java.lang.CharSequence str, int[] active)
radio_labelpublic static int nnk_radio_text(long ctx,
long str,
int len,
int[] active)
nnk_radio_text(long, long, int, long)public static boolean nk_radio_text(NkContext ctx, java.nio.ByteBuffer str, int[] active)
radio_textpublic static boolean nk_radio_text(NkContext ctx, java.lang.CharSequence str, int[] active)
radio_textpublic static int nnk_selectable_label(long ctx,
long str,
int align,
int[] value)
nnk_selectable_label(long, long, int, long)public static boolean nk_selectable_label(NkContext ctx, java.nio.ByteBuffer str, int align, int[] value)
selectable_labelpublic static boolean nk_selectable_label(NkContext ctx, java.lang.CharSequence str, int align, int[] value)
selectable_labelpublic static int nnk_selectable_text(long ctx,
long str,
int len,
int align,
int[] value)
nnk_selectable_text(long, long, int, int, long)public static boolean nk_selectable_text(NkContext ctx, java.nio.ByteBuffer str, int align, int[] value)
selectable_textpublic static boolean nk_selectable_text(NkContext ctx, java.lang.CharSequence str, int align, int[] value)
selectable_textpublic static int nnk_selectable_image_label(long ctx,
long img,
long str,
int align,
int[] value)
nnk_selectable_image_label(long, long, long, int, long)public static boolean nk_selectable_image_label(NkContext ctx, NkImage img, java.nio.ByteBuffer str, int align, int[] value)
selectable_image_labelpublic static boolean nk_selectable_image_label(NkContext ctx, NkImage img, java.lang.CharSequence str, int align, int[] value)
selectable_image_labelpublic static int nnk_selectable_image_text(long ctx,
long img,
long str,
int len,
int align,
int[] value)
nnk_selectable_image_text(long, long, long, int, int, long)public static boolean nk_selectable_image_text(NkContext ctx, NkImage img, java.nio.ByteBuffer str, int align, int[] value)
selectable_image_textpublic static boolean nk_selectable_image_text(NkContext ctx, NkImage img, java.lang.CharSequence str, int align, int[] value)
selectable_image_textpublic static int nnk_selectable_symbol_label(long ctx,
int symbol,
long str,
int align,
int[] value)
nnk_selectable_symbol_label(long, int, long, int, long)public static boolean nk_selectable_symbol_label(NkContext ctx, int symbol, java.nio.ByteBuffer str, int align, int[] value)
selectable_symbol_labelpublic static boolean nk_selectable_symbol_label(NkContext ctx, int symbol, java.lang.CharSequence str, int align, int[] value)
selectable_symbol_labelpublic static int nnk_selectable_symbol_text(long ctx,
int symbol,
long str,
int len,
int align,
int[] value)
nnk_selectable_symbol_text(long, int, long, int, int, long)public static boolean nk_selectable_symbol_text(NkContext ctx, int symbol, java.nio.ByteBuffer str, int align, int[] value)
selectable_symbol_textpublic static boolean nk_selectable_symbol_text(NkContext ctx, int symbol, java.lang.CharSequence str, int align, int[] value)
selectable_symbol_textpublic static int nnk_slider_float(long ctx,
float min,
float[] val,
float max,
float step)
nnk_slider_float(long, float, long, float, float)public static int nk_slider_float(NkContext ctx, float min, float[] val, float max, float step)
slider_floatpublic static int nnk_slider_int(long ctx,
int min,
int[] val,
int max,
int step)
nnk_slider_int(long, int, long, int, int)public static int nk_slider_int(NkContext ctx, int min, int[] val, int max, int step)
slider_intpublic static void nnk_property_int(long ctx,
long name,
int min,
int[] val,
int max,
int step,
float inc_per_pixel)
nnk_property_int(long, long, int, long, int, int, float)public static void nk_property_int(NkContext ctx, java.nio.ByteBuffer name, int min, int[] val, int max, int step, float inc_per_pixel)
property_intpublic static void nk_property_int(NkContext ctx, java.lang.CharSequence name, int min, int[] val, int max, int step, float inc_per_pixel)
property_intpublic static void nnk_property_float(long ctx,
long name,
float min,
float[] val,
float max,
float step,
float inc_per_pixel)
nnk_property_float(long, long, float, long, float, float, float)public static void nk_property_float(NkContext ctx, java.nio.ByteBuffer name, float min, float[] val, float max, float step, float inc_per_pixel)
property_floatpublic static void nk_property_float(NkContext ctx, java.lang.CharSequence name, float min, float[] val, float max, float step, float inc_per_pixel)
property_floatpublic static void nnk_property_double(long ctx,
long name,
double min,
double[] val,
double max,
double step,
float inc_per_pixel)
nnk_property_double(long, long, double, long, double, double, float)public static void nk_property_double(NkContext ctx, java.nio.ByteBuffer name, double min, double[] val, double max, double step, float inc_per_pixel)
property_doublepublic static void nk_property_double(NkContext ctx, java.lang.CharSequence name, double min, double[] val, double max, double step, float inc_per_pixel)
property_doublepublic static int nnk_edit_string(long ctx,
int flags,
long memory,
int[] len,
int max,
long filter)
nnk_edit_string(long, int, long, long, int, long)public static int nk_edit_string(NkContext ctx, int flags, java.nio.ByteBuffer memory, int[] len, int max, @Nullable NkPluginFilterI filter)
edit_stringpublic static int nk_edit_string(NkContext ctx, int flags, java.lang.CharSequence memory, int[] len, int max, @Nullable NkPluginFilterI filter)
edit_stringpublic static void nnk_plot(long ctx,
int type,
float[] values,
int count,
int offset)
nnk_plot(long, int, long, int, int)public static void nk_plot(NkContext ctx, int type, float[] values, int count, int offset)
plotpublic static void nnk_popup_get_scroll(long ctx,
int[] offset_x,
int[] offset_y)
nnk_popup_get_scroll(long, long, long)public static void nk_popup_get_scroll(NkContext ctx, @Nullable int[] offset_x, @Nullable int[] offset_y)
popup_get_scrollpublic static void nnk_combobox(long ctx,
long items,
int count,
int[] selected,
int item_height,
long size)
nnk_combobox(long, long, int, long, int, long)public static void nk_combobox(NkContext ctx, org.lwjgl.PointerBuffer items, int[] selected, int item_height, NkVec2 size)
comboboxpublic static void nnk_combobox_string(long ctx,
long items_separated_by_zeros,
int[] selected,
int count,
int item_height,
long size)
nnk_combobox_string(long, long, long, int, int, long)public static void nk_combobox_string(NkContext ctx, java.nio.ByteBuffer items_separated_by_zeros, int[] selected, int count, int item_height, NkVec2 size)
combobox_stringpublic static void nk_combobox_string(NkContext ctx, java.lang.CharSequence items_separated_by_zeros, int[] selected, int count, int item_height, NkVec2 size)
combobox_stringpublic static void nnk_combobox_separator(long ctx,
long items_separated_by_separator,
int separator,
int[] selected,
int count,
int item_height,
long size)
nnk_combobox_separator(long, long, int, long, int, int, long)public static void nk_combobox_separator(NkContext ctx, java.nio.ByteBuffer items_separated_by_separator, int separator, int[] selected, int count, int item_height, NkVec2 size)
combobox_separatorpublic static void nk_combobox_separator(NkContext ctx, java.lang.CharSequence items_separated_by_separator, int separator, int[] selected, int count, int item_height, NkVec2 size)
combobox_separatorpublic static void nnk_combobox_callback(long ctx,
long item_getter,
long userdata,
int[] selected,
int count,
int item_height,
long size)
nnk_combobox_callback(long, long, long, long, int, int, long)public static void nk_combobox_callback(NkContext ctx, NkItemGetterI item_getter, long userdata, int[] selected, int count, int item_height, NkVec2 size)
combobox_callbackpublic static int nnk_style_push_float(long ctx,
float[] address,
float value)
nnk_style_push_float(long, long, float)public static int nk_style_push_float(NkContext ctx, float[] address, float value)
style_push_floatpublic static int nnk_style_push_flags(long ctx,
int[] address,
int value)
nnk_style_push_flags(long, long, int)public static int nk_style_push_flags(NkContext ctx, int[] address, int value)
style_push_flagspublic static void nnk_rgb_iv(int[] rgb,
long __result)
nnk_rgb_iv(long, long)public static void nnk_rgb_fv(float[] rgb,
long __result)
nnk_rgb_fv(long, long)public static void nnk_rgba_iv(int[] rgba,
long __result)
nnk_rgba_iv(long, long)public static void nnk_rgba_fv(float[] rgba,
long __result)
nnk_rgba_fv(long, long)public static NkColor nk_rgba_fv(float[] rgba, NkColor __result)
rgba_fvpublic static void nnk_hsva_colorfv(float[] c,
long __result)
nnk_hsva_colorfv(long, long)public static NkColorf nk_hsva_colorfv(float[] c, NkColorf __result)
hsva_colorfvpublic static void nnk_colorf_hsva_f(float[] out_h,
float[] out_s,
float[] out_v,
float[] out_a,
long in)
nnk_colorf_hsva_f(long, long, long, long, long)public static void nk_colorf_hsva_f(float[] out_h,
float[] out_s,
float[] out_v,
float[] out_a,
NkColorf in)
colorf_hsva_fpublic static void nnk_colorf_hsva_fv(float[] hsva,
long in)
nnk_colorf_hsva_fv(long, long)public static void nk_colorf_hsva_fv(float[] hsva,
NkColorf in)
colorf_hsva_fvpublic static void nnk_hsv_iv(int[] hsv,
long __result)
nnk_hsv_iv(long, long)public static void nnk_hsv_fv(float[] hsv,
long __result)
nnk_hsv_fv(long, long)public static void nnk_hsva_iv(int[] hsva,
long __result)
nnk_hsva_iv(long, long)public static void nnk_hsva_fv(float[] hsva,
long __result)
nnk_hsva_fv(long, long)public static NkColor nk_hsva_fv(float[] hsva, NkColor __result)
hsva_fvpublic static void nnk_color_f(float[] r,
float[] g,
float[] b,
float[] a,
long color)
nnk_color_f(long, long, long, long, long)public static void nk_color_f(float[] r,
float[] g,
float[] b,
float[] a,
NkColor color)
color_fpublic static void nnk_color_fv(float[] rgba_out,
long color)
nnk_color_fv(long, long)public static void nk_color_fv(float[] rgba_out,
NkColor color)
color_fvpublic static void nnk_color_d(double[] r,
double[] g,
double[] b,
double[] a,
long color)
nnk_color_d(long, long, long, long, long)public static void nk_color_d(double[] r,
double[] g,
double[] b,
double[] a,
NkColor color)
color_dpublic static void nnk_color_dv(double[] rgba_out,
long color)
nnk_color_dv(long, long)public static void nk_color_dv(double[] rgba_out,
NkColor color)
color_dvpublic static void nnk_color_hsv_i(int[] out_h,
int[] out_s,
int[] out_v,
long color)
nnk_color_hsv_i(long, long, long, long)public static void nk_color_hsv_i(int[] out_h,
int[] out_s,
int[] out_v,
NkColor color)
color_hsv_ipublic static void nnk_color_hsv_iv(int[] hsv_out,
long color)
nnk_color_hsv_iv(long, long)public static void nk_color_hsv_iv(int[] hsv_out,
NkColor color)
color_hsv_ivpublic static void nnk_color_hsv_f(float[] out_h,
float[] out_s,
float[] out_v,
long color)
nnk_color_hsv_f(long, long, long, long)public static void nk_color_hsv_f(float[] out_h,
float[] out_s,
float[] out_v,
NkColor color)
color_hsv_fpublic static void nnk_color_hsv_fv(float[] hsv_out,
long color)
nnk_color_hsv_fv(long, long)public static void nk_color_hsv_fv(float[] hsv_out,
NkColor color)
color_hsv_fvpublic static void nnk_color_hsva_i(int[] h,
int[] s,
int[] v,
int[] a,
long color)
nnk_color_hsva_i(long, long, long, long, long)public static void nk_color_hsva_i(int[] h,
int[] s,
int[] v,
int[] a,
NkColor color)
color_hsva_ipublic static void nnk_color_hsva_iv(int[] hsva_out,
long color)
nnk_color_hsva_iv(long, long)public static void nk_color_hsva_iv(int[] hsva_out,
NkColor color)
color_hsva_ivpublic static void nnk_color_hsva_f(float[] out_h,
float[] out_s,
float[] out_v,
float[] out_a,
long color)
nnk_color_hsva_f(long, long, long, long, long)public static void nk_color_hsva_f(float[] out_h,
float[] out_s,
float[] out_v,
float[] out_a,
NkColor color)
color_hsva_fpublic static void nnk_color_hsva_fv(float[] hsva_out,
long color)
nnk_color_hsva_fv(long, long)public static void nk_color_hsva_fv(float[] hsva_out,
NkColor color)
color_hsva_fvpublic static void nnk_vec2v(float[] xy,
long __result)
nnk_vec2v(long, long)public static void nnk_vec2iv(int[] xy,
long __result)
nnk_vec2iv(long, long)public static void nnk_rectv(float[] xywh,
long __result)
nnk_rectv(long, long)public static void nnk_rectiv(int[] xywh,
long __result)
nnk_rectiv(long, long)public static int nnk_strmatch_fuzzy_string(long str,
long pattern,
int[] out_score)
nnk_strmatch_fuzzy_string(long, long, long)public static boolean nk_strmatch_fuzzy_string(java.nio.ByteBuffer str,
java.nio.ByteBuffer pattern,
int[] out_score)
strmatch_fuzzy_stringpublic static boolean nk_strmatch_fuzzy_string(java.lang.CharSequence str,
java.lang.CharSequence pattern,
int[] out_score)
strmatch_fuzzy_stringpublic static int nnk_strmatch_fuzzy_text(long txt,
int txt_len,
long pattern,
int[] out_score)
nnk_strmatch_fuzzy_text(long, int, long, long)public static int nk_strmatch_fuzzy_text(java.nio.ByteBuffer txt,
java.nio.ByteBuffer pattern,
int[] out_score)
strmatch_fuzzy_textpublic static int nk_strmatch_fuzzy_text(java.lang.CharSequence txt,
java.lang.CharSequence pattern,
int[] out_score)
strmatch_fuzzy_textpublic static int nnk_utf_decode(long c,
int[] u,
int clen)
nnk_utf_decode(long, long, int)public static int nk_utf_decode(java.nio.ByteBuffer c,
int[] u)
utf_decodepublic static long nnk_utf_at(long buffer,
int length,
int index,
int[] unicode,
long len)
nnk_utf_at(long, int, int, long, long)@Nullable
public static java.nio.ByteBuffer nk_utf_at(java.nio.ByteBuffer buffer,
int index,
int[] unicode)
utf_atpublic static int nnk_str_append_text_runes(long s,
int[] runes,
int len)
nnk_str_append_text_runes(long, long, int)public static int nk_str_append_text_runes(NkStr s, int[] runes)
str_append_text_runespublic static int nnk_str_append_str_runes(long s,
int[] runes)
nnk_str_append_str_runes(long, long)public static int nk_str_append_str_runes(NkStr s, int[] runes)
str_append_str_runespublic static int nnk_str_insert_text_runes(long s,
int pos,
int[] runes,
int len)
nnk_str_insert_text_runes(long, int, long, int)public static int nk_str_insert_text_runes(NkStr s, int pos, int[] runes)
str_insert_text_runespublic static int nnk_str_insert_str_runes(long s,
int pos,
int[] runes)
nnk_str_insert_str_runes(long, int, long)public static int nk_str_insert_str_runes(NkStr s, int pos, int[] runes)
str_insert_str_runespublic static long nnk_str_at_rune(long s,
int pos,
int[] unicode,
long len)
nnk_str_at_rune(long, int, long, long)@Nullable public static java.nio.ByteBuffer nk_str_at_rune(NkStr s, int pos, int[] unicode)
str_at_runepublic static long nnk_str_at_const(long s,
int pos,
int[] unicode,
long len)
nnk_str_at_const(long, int, long, long)@Nullable public static java.nio.ByteBuffer nk_str_at_const(NkStr s, int pos, int[] unicode)
str_at_constpublic static void nnk_stroke_polyline(long b,
float[] points,
int point_count,
float line_thickness,
long col)
nnk_stroke_polyline(long, long, int, float, long)public static void nk_stroke_polyline(NkCommandBuffer b, float[] points, float line_thickness, NkColor col)
stroke_polylinepublic static void nnk_stroke_polygon(long b,
float[] points,
int point_count,
float line_thickness,
long color)
nnk_stroke_polygon(long, long, int, float, long)public static void nk_stroke_polygon(NkCommandBuffer b, float[] points, float line_thickness, NkColor color)
stroke_polygonpublic static void nnk_fill_polygon(long b,
float[] points,
int point_count,
long color)
nnk_fill_polygon(long, long, int, long)public static void nk_fill_polygon(NkCommandBuffer b, float[] points, NkColor color)
fill_polygonCopyright LWJGL. All Rights Reserved. License terms.