Class Nuklear
- java.lang.Object
-
- org.lwjgl.nuklear.Nuklear
-
public class Nuklear extends java.lang.ObjectThis is a minimal state immediate mode graphical user interface single header toolkit written in ANSI C and licensed under public domain. It was designed as a simple embeddable user interface for application and does not have any dependencies, a default renderbackend or OS window and input handling but instead provides a very modular library approach by using simple input state for input and draw commands describing primitive shapes as output. So instead of providing a layered library that tries to abstract over a number of platform and render backends it only focuses on the actual UI.VALUES
- Immediate mode graphical user interface toolkit
- Single header library
- Written in C89 (ANSI C)
- Small codebase (~15kLOC)
- Focus on portability, efficiency and simplicity
- No dependencies (not even the standard library if not wanted)
- Fully skinnable and customizable
- Low memory footprint with total memory control if needed or wanted
- UTF-8 support
- No global or hidden state
- Customizable library modules (you can compile and use only what you need)
- Optional font baker and vertex buffer output
FEATURES
- Absolutely no platform dependent code
- Memory management control ranging from/to
- Ease of use by allocating everything from the standard library
- Control every byte of memory inside the library
- Font handling control ranging from/to
- Use your own font implementation for everything
- Use this libraries internal font baking and handling API
- Drawing output control ranging from/to
- Simple shapes for more high level APIs which already having drawing capabilities
- Hardware accessible anti-aliased vertex buffer output
- Customizable colors and properties ranging from/to
- Simple changes to color by filling a simple color table
- Complete control with ability to use skinning to decorate widgets
- Bendable UI library with widget ranging from/to
- Basic widgets like buttons, checkboxes, slider, ...
- Advanced widget like abstract comboboxes, contextual menus,...
- Compile time configuration to only compile what you need
- Subset which can be used if you do not want to link or use the standard library
- Can be easily modified to only update on user input instead of frame updates
FONT
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.
- Using your own implementation without vertex buffer output
So first of the easiest way to do font handling is by just providing aNkUserFontstruct 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: theNkUserFontpointer 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); - Using your own implementation with vertex buffer output
While the first approach works fine if you don't want to use the optional vertex buffer output it is not enough if you do. To get font handling working for these cases you have to provide two additional parameters inside the `nk_user_font`. First a texture atlas handle used to draw text as subimages of a bigger font atlas texture and a callback to query a character's glyph information (offset, size, ...). So it is still possible to provide your own font and use the vertex buffer output.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);
MEMORY BUFFER
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.
TEXT EDITOR
Editing text in this library is handled by either
edit_stringoredit_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
NkTextEditstruct, 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.
DRAWING
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_canvasafter previously having calledbegin: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
widgetcall. 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 beWIDGET_ROMotherwise 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.STACK
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.
-
-
Field Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NkCommandnk__begin(NkContext ctx)Returns draw command pointer pointing to the next command inside the draw command list.static NkDrawCommandnk__draw_begin(NkContext ctx, NkBuffer buffer)Returns a draw vertex command buffer iterator to iterate over the vertex draw command buffer.static NkDrawCommandnk__draw_end(NkContext ctx, NkBuffer buffer)Returns the end of the vertex draw list.static NkDrawCommandnk__draw_list_begin(NkDrawList list, NkBuffer buffer)static NkDrawCommandnk__draw_list_next(NkDrawCommand cmd, NkBuffer buffer, NkDrawList list)static NkDrawCommandnk__draw_next(NkDrawCommand cmd, NkBuffer buffer, NkContext ctx)Increments the vertex command iterator to the next command inside the context vertex command list.static NkCommandnk__next(NkContext ctx, NkCommand cmd)Increments the draw command iterator to the next command inside the context draw command list.static booleannk_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 booleannk_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 booleannk_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 booleannk_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 voidnk_buffer_clear(NkBuffer buffer)static voidnk_buffer_free(NkBuffer buffer)static voidnk_buffer_info(NkMemoryStatus status, NkBuffer buffer)static voidnk_buffer_init(NkBuffer buffer, NkAllocator allocator, long size)static voidnk_buffer_init_fixed(NkBuffer buffer, java.nio.ByteBuffer memory)static voidnk_buffer_mark(NkBuffer buffer, int type)static longnk_buffer_memory(NkBuffer buffer)static longnk_buffer_memory_const(NkBuffer buffer)static voidnk_buffer_push(NkBuffer buffer, int type, java.nio.ByteBuffer memory, long align)static voidnk_buffer_reset(NkBuffer buffer, int type)static longnk_buffer_total(NkBuffer buffer)static booleannk_button_color(NkContext ctx, NkColor color)static booleannk_button_image(NkContext ctx, NkImage img)static booleannk_button_image_label(NkContext ctx, NkImage img, java.lang.CharSequence text, int text_alignment)static booleannk_button_image_label(NkContext ctx, NkImage img, java.nio.ByteBuffer text, int text_alignment)static booleannk_button_image_label_styled(NkContext ctx, NkStyleButton style, NkImage img, java.lang.CharSequence title, int text_alignment)static booleannk_button_image_label_styled(NkContext ctx, NkStyleButton style, NkImage img, java.nio.ByteBuffer title, int text_alignment)static booleannk_button_image_styled(NkContext ctx, NkStyleButton style, NkImage img)static booleannk_button_image_text(NkContext ctx, NkImage img, java.lang.CharSequence text, int alignment)static booleannk_button_image_text(NkContext ctx, NkImage img, java.nio.ByteBuffer text, int alignment)static booleannk_button_image_text_styled(NkContext ctx, NkStyleButton style, NkImage img, java.lang.CharSequence title, int len, int alignment)static booleannk_button_image_text_styled(NkContext ctx, NkStyleButton style, NkImage img, java.nio.ByteBuffer title, int len, int alignment)static booleannk_button_label(NkContext ctx, java.lang.CharSequence title)static booleannk_button_label(NkContext ctx, java.nio.ByteBuffer title)static booleannk_button_label_styled(NkContext ctx, NkStyleButton style, java.lang.CharSequence title)static booleannk_button_label_styled(NkContext ctx, NkStyleButton style, java.nio.ByteBuffer title)static booleannk_button_pop_behavior(NkContext ctx)static booleannk_button_push_behavior(NkContext ctx, int behavior)static voidnk_button_set_behavior(NkContext ctx, int behavior)static booleannk_button_symbol(NkContext ctx, int symbol)static booleannk_button_symbol_label(NkContext ctx, int symbol, java.lang.CharSequence text, int text_alignment)static booleannk_button_symbol_label(NkContext ctx, int symbol, java.nio.ByteBuffer text, int text_alignment)static booleannk_button_symbol_label_styled(NkContext ctx, NkStyleButton style, int symbol, java.lang.CharSequence title, int text_alignment)static booleannk_button_symbol_label_styled(NkContext ctx, NkStyleButton style, int symbol, java.nio.ByteBuffer title, int text_alignment)static booleannk_button_symbol_styled(NkContext ctx, NkStyleButton style, int symbol)static booleannk_button_symbol_text(NkContext ctx, int symbol, java.lang.CharSequence text, int alignment)static booleannk_button_symbol_text(NkContext ctx, int symbol, java.nio.ByteBuffer text, int alignment)static booleannk_button_symbol_text_styled(NkContext ctx, NkStyleButton style, int symbol, java.lang.CharSequence title, int len, int alignment)static booleannk_button_symbol_text_styled(NkContext ctx, NkStyleButton style, int symbol, java.nio.ByteBuffer title, int len, int alignment)static booleannk_button_text(NkContext ctx, java.lang.CharSequence title)static booleannk_button_text(NkContext ctx, java.nio.ByteBuffer title)static booleannk_button_text_styled(NkContext ctx, NkStyleButton style, java.lang.CharSequence title, int len)static booleannk_button_text_styled(NkContext ctx, NkStyleButton style, java.nio.ByteBuffer title, int len)static voidnk_chart_add_slot(NkContext ctx, int type, int count, float min_value, float max_value)static voidnk_chart_add_slot_colored(NkContext ctx, int type, NkColor color, NkColor active, int count, float min_value, float max_value)static booleannk_chart_begin(NkContext ctx, int type, int num, float min, float max)static booleannk_chart_begin_colored(NkContext ctx, int type, NkColor color, NkColor active, int num, float min, float max)static voidnk_chart_end(NkContext ctx)static intnk_chart_push(NkContext ctx, float value)static intnk_chart_push_slot(NkContext ctx, float value, int slot)static intnk_check_flags_label(NkContext ctx, java.lang.CharSequence str, int flags, int value)static intnk_check_flags_label(NkContext ctx, java.nio.ByteBuffer str, int flags, int value)static intnk_check_flags_text(NkContext ctx, java.lang.CharSequence str, int flags, int value)static intnk_check_flags_text(NkContext ctx, java.nio.ByteBuffer str, int flags, int value)static booleannk_check_label(NkContext ctx, java.lang.CharSequence str, boolean active)static booleannk_check_label(NkContext ctx, java.nio.ByteBuffer str, boolean active)static booleannk_check_text(NkContext ctx, java.lang.CharSequence str, boolean active)static booleannk_check_text(NkContext ctx, java.nio.ByteBuffer str, boolean active)static booleannk_checkbox_flags_label(NkContext ctx, java.lang.CharSequence str, int[] flags, int value)Array version of:checkbox_flags_labelstatic booleannk_checkbox_flags_label(NkContext ctx, java.lang.CharSequence str, java.nio.IntBuffer flags, int value)static booleannk_checkbox_flags_label(NkContext ctx, java.nio.ByteBuffer str, int[] flags, int value)Array version of:checkbox_flags_labelstatic booleannk_checkbox_flags_label(NkContext ctx, java.nio.ByteBuffer str, java.nio.IntBuffer flags, int value)static booleannk_checkbox_flags_text(NkContext ctx, java.lang.CharSequence str, int[] flags, int value)Array version of:checkbox_flags_textstatic booleannk_checkbox_flags_text(NkContext ctx, java.lang.CharSequence str, java.nio.IntBuffer flags, int value)static booleannk_checkbox_flags_text(NkContext ctx, java.nio.ByteBuffer str, int[] flags, int value)Array version of:checkbox_flags_textstatic booleannk_checkbox_flags_text(NkContext ctx, java.nio.ByteBuffer str, java.nio.IntBuffer flags, int value)static booleannk_checkbox_label(NkContext ctx, java.lang.CharSequence str, int[] active)Array version of:checkbox_labelstatic booleannk_checkbox_label(NkContext ctx, java.lang.CharSequence str, java.nio.IntBuffer active)static booleannk_checkbox_label(NkContext ctx, java.nio.ByteBuffer str, int[] active)Array version of:checkbox_labelstatic booleannk_checkbox_label(NkContext ctx, java.nio.ByteBuffer str, java.nio.IntBuffer active)static booleannk_checkbox_text(NkContext ctx, java.lang.CharSequence str, int[] active)Array version of:checkbox_textstatic booleannk_checkbox_text(NkContext ctx, java.lang.CharSequence str, java.nio.IntBuffer active)static booleannk_checkbox_text(NkContext ctx, java.nio.ByteBuffer str, int[] active)Array version of:checkbox_textstatic booleannk_checkbox_text(NkContext ctx, java.nio.ByteBuffer str, java.nio.IntBuffer active)static voidnk_clear(NkContext ctx)Called at the end of the frame to reset and prepare the context for the next frame.static NkColorfnk_color_cf(NkColor color, NkColorf __result)static voidnk_color_d(double[] r, double[] g, double[] b, double[] a, NkColor color)Array version of:color_dstatic voidnk_color_d(java.nio.DoubleBuffer r, java.nio.DoubleBuffer g, java.nio.DoubleBuffer b, java.nio.DoubleBuffer a, NkColor color)static voidnk_color_dv(double[] rgba_out, NkColor color)Array version of:color_dvstatic voidnk_color_dv(java.nio.DoubleBuffer rgba_out, NkColor color)static voidnk_color_f(float[] r, float[] g, float[] b, float[] a, NkColor color)Array version of:color_fstatic voidnk_color_f(java.nio.FloatBuffer r, java.nio.FloatBuffer g, java.nio.FloatBuffer b, java.nio.FloatBuffer a, NkColor color)static voidnk_color_fv(float[] rgba_out, NkColor color)Array version of:color_fvstatic voidnk_color_fv(java.nio.FloatBuffer rgba_out, NkColor color)static voidnk_color_hex_rgb(java.nio.ByteBuffer output, NkColor color)static voidnk_color_hex_rgba(java.nio.ByteBuffer output, NkColor color)static voidnk_color_hsv_b(java.nio.ByteBuffer out_h, java.nio.ByteBuffer out_s, java.nio.ByteBuffer out_v, NkColor color)static voidnk_color_hsv_bv(java.nio.ByteBuffer hsv_out, NkColor color)static voidnk_color_hsv_f(float[] out_h, float[] out_s, float[] out_v, NkColor color)Array version of:color_hsv_fstatic voidnk_color_hsv_f(java.nio.FloatBuffer out_h, java.nio.FloatBuffer out_s, java.nio.FloatBuffer out_v, NkColor color)static voidnk_color_hsv_fv(float[] hsv_out, NkColor color)Array version of:color_hsv_fvstatic voidnk_color_hsv_fv(java.nio.FloatBuffer hsv_out, NkColor color)static voidnk_color_hsv_i(int[] out_h, int[] out_s, int[] out_v, NkColor color)Array version of:color_hsv_istatic voidnk_color_hsv_i(java.nio.IntBuffer out_h, java.nio.IntBuffer out_s, java.nio.IntBuffer out_v, NkColor color)static voidnk_color_hsv_iv(int[] hsv_out, NkColor color)Array version of:color_hsv_ivstatic voidnk_color_hsv_iv(java.nio.IntBuffer hsv_out, NkColor color)static voidnk_color_hsva_b(java.nio.ByteBuffer h, java.nio.ByteBuffer s, java.nio.ByteBuffer v, java.nio.ByteBuffer a, NkColor color)static voidnk_color_hsva_bv(java.nio.ByteBuffer hsva_out, NkColor color)static voidnk_color_hsva_f(float[] out_h, float[] out_s, float[] out_v, float[] out_a, NkColor color)Array version of:color_hsva_fstatic voidnk_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 voidnk_color_hsva_fv(float[] hsva_out, NkColor color)Array version of:color_hsva_fvstatic voidnk_color_hsva_fv(java.nio.FloatBuffer hsva_out, NkColor color)static voidnk_color_hsva_i(int[] h, int[] s, int[] v, int[] a, NkColor color)Array version of:color_hsva_istatic voidnk_color_hsva_i(java.nio.IntBuffer h, java.nio.IntBuffer s, java.nio.IntBuffer v, java.nio.IntBuffer a, NkColor color)static voidnk_color_hsva_iv(int[] hsva_out, NkColor color)Array version of:color_hsva_ivstatic voidnk_color_hsva_iv(java.nio.IntBuffer hsva_out, NkColor color)static booleannk_color_pick(NkContext ctx, NkColorf color, int fmt)static NkColorfnk_color_picker(NkContext ctx, NkColorf color, int fmt)static intnk_color_u32(NkColor color)static voidnk_colorf_hsva_f(float[] out_h, float[] out_s, float[] out_v, float[] out_a, NkColorf in)Array version of:colorf_hsva_fstatic voidnk_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 voidnk_colorf_hsva_fv(float[] hsva, NkColorf in)Array version of:colorf_hsva_fvstatic voidnk_colorf_hsva_fv(java.nio.FloatBuffer hsva, NkColorf in)static booleannk_combo(NkContext ctx, org.lwjgl.PointerBuffer items, boolean selected, int item_height, NkVec2 size)static booleannk_combo_begin_color(NkContext ctx, NkColor color, NkVec2 size)static booleannk_combo_begin_image(NkContext ctx, NkImage img, NkVec2 size)static booleannk_combo_begin_image_label(NkContext ctx, java.lang.CharSequence selected, NkImage img, NkVec2 size)static booleannk_combo_begin_image_label(NkContext ctx, java.nio.ByteBuffer selected, NkImage img, NkVec2 size)static booleannk_combo_begin_image_text(NkContext ctx, java.lang.CharSequence selected, NkImage img, NkVec2 size)static booleannk_combo_begin_image_text(NkContext ctx, java.nio.ByteBuffer selected, NkImage img, NkVec2 size)static booleannk_combo_begin_label(NkContext ctx, java.lang.CharSequence selected, NkVec2 size)static booleannk_combo_begin_label(NkContext ctx, java.nio.ByteBuffer selected, NkVec2 size)static booleannk_combo_begin_symbol(NkContext ctx, int symbol, NkVec2 size)static booleannk_combo_begin_symbol_label(NkContext ctx, java.lang.CharSequence selected, int symbol, NkVec2 size)static booleannk_combo_begin_symbol_label(NkContext ctx, java.nio.ByteBuffer selected, int symbol, NkVec2 size)static booleannk_combo_begin_symbol_text(NkContext ctx, java.lang.CharSequence selected, int symbol, NkVec2 size)static booleannk_combo_begin_symbol_text(NkContext ctx, java.nio.ByteBuffer selected, int symbol, NkVec2 size)static booleannk_combo_begin_text(NkContext ctx, java.lang.CharSequence selected, NkVec2 size)static booleannk_combo_begin_text(NkContext ctx, java.nio.ByteBuffer selected, NkVec2 size)static booleannk_combo_callback(NkContext ctx, NkItemGetterI item_getter, long userdata, boolean selected, int count, int item_height, NkVec2 size)static voidnk_combo_close(NkContext ctx)static voidnk_combo_end(NkContext ctx)static booleannk_combo_item_image_label(NkContext ctx, NkImage img, java.lang.CharSequence text, int alignment)static booleannk_combo_item_image_label(NkContext ctx, NkImage img, java.nio.ByteBuffer text, int alignment)static booleannk_combo_item_image_text(NkContext ctx, NkImage img, java.lang.CharSequence text, int alignment)static booleannk_combo_item_image_text(NkContext ctx, NkImage img, java.nio.ByteBuffer text, int alignment)static booleannk_combo_item_label(NkContext ctx, java.lang.CharSequence text, int alignment)static booleannk_combo_item_label(NkContext ctx, java.nio.ByteBuffer text, int alignment)static booleannk_combo_item_symbol_label(NkContext ctx, int symbol, java.lang.CharSequence text, int alignment)static booleannk_combo_item_symbol_label(NkContext ctx, int symbol, java.nio.ByteBuffer text, int alignment)static booleannk_combo_item_symbol_text(NkContext ctx, int symbol, java.lang.CharSequence text, int alignment)static booleannk_combo_item_symbol_text(NkContext ctx, int symbol, java.nio.ByteBuffer text, int alignment)static booleannk_combo_item_text(NkContext ctx, java.lang.CharSequence text, int alignment)static booleannk_combo_item_text(NkContext ctx, java.nio.ByteBuffer text, int alignment)static booleannk_combo_separator(NkContext ctx, java.lang.CharSequence items_separated_by_separator, int separator, boolean selected, int count, int item_height, NkVec2 size)static booleannk_combo_separator(NkContext ctx, java.nio.ByteBuffer items_separated_by_separator, int separator, boolean selected, int count, int item_height, NkVec2 size)static booleannk_combo_string(NkContext ctx, java.lang.CharSequence items_separated_by_zeros, boolean selected, int count, int item_height, NkVec2 size)static booleannk_combo_string(NkContext ctx, java.nio.ByteBuffer items_separated_by_zeros, boolean selected, int count, int item_height, NkVec2 size)static voidnk_combobox(NkContext ctx, org.lwjgl.PointerBuffer items, int[] selected, int item_height, NkVec2 size)Array version of:comboboxstatic voidnk_combobox(NkContext ctx, org.lwjgl.PointerBuffer items, java.nio.IntBuffer selected, int item_height, NkVec2 size)static voidnk_combobox_callback(NkContext ctx, NkItemGetterI item_getter, long userdata, int[] selected, int count, int item_height, NkVec2 size)Array version of:combobox_callbackstatic voidnk_combobox_callback(NkContext ctx, NkItemGetterI item_getter, long userdata, java.nio.IntBuffer selected, int count, int item_height, NkVec2 size)static voidnk_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_separatorstatic voidnk_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 voidnk_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_separatorstatic voidnk_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 voidnk_combobox_string(NkContext ctx, java.lang.CharSequence items_separated_by_zeros, int[] selected, int count, int item_height, NkVec2 size)Array version of:combobox_stringstatic voidnk_combobox_string(NkContext ctx, java.lang.CharSequence items_separated_by_zeros, java.nio.IntBuffer selected, int count, int item_height, NkVec2 size)static voidnk_combobox_string(NkContext ctx, java.nio.ByteBuffer items_separated_by_zeros, int[] selected, int count, int item_height, NkVec2 size)Array version of:combobox_stringstatic voidnk_combobox_string(NkContext ctx, java.nio.ByteBuffer items_separated_by_zeros, java.nio.IntBuffer selected, int count, int item_height, NkVec2 size)static booleannk_contextual_begin(NkContext ctx, int flags, NkVec2 size, NkRect trigger_bounds)static voidnk_contextual_close(NkContext ctx)static voidnk_contextual_end(NkContext ctx)static booleannk_contextual_item_image_label(NkContext ctx, NkImage img, java.lang.CharSequence text, int alignment)static booleannk_contextual_item_image_label(NkContext ctx, NkImage img, java.nio.ByteBuffer text, int alignment)static booleannk_contextual_item_image_text(NkContext ctx, NkImage img, java.lang.CharSequence text, int alignment)static booleannk_contextual_item_image_text(NkContext ctx, NkImage img, java.nio.ByteBuffer text, int alignment)static booleannk_contextual_item_label(NkContext ctx, java.lang.CharSequence text, int align)static booleannk_contextual_item_label(NkContext ctx, java.nio.ByteBuffer text, int align)static booleannk_contextual_item_symbol_label(NkContext ctx, int symbol, java.lang.CharSequence text, int alignment)static booleannk_contextual_item_symbol_label(NkContext ctx, int symbol, java.nio.ByteBuffer text, int alignment)static booleannk_contextual_item_symbol_text(NkContext ctx, int symbol, java.lang.CharSequence text, int alignment)static booleannk_contextual_item_symbol_text(NkContext ctx, int symbol, java.nio.ByteBuffer text, int alignment)static booleannk_contextual_item_text(NkContext ctx, java.lang.CharSequence text, int align)static booleannk_contextual_item_text(NkContext ctx, java.nio.ByteBuffer text, int align)static intnk_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 voidnk_draw_image(NkCommandBuffer b, NkRect rect, NkImage img, NkColor color)static voidnk_draw_list_add_image(NkDrawList list, NkImage texture, NkRect rect, NkColor color)static voidnk_draw_list_add_text(NkDrawList list, NkUserFont font, NkRect rect, java.lang.CharSequence text, float font_height, NkColor color)static voidnk_draw_list_add_text(NkDrawList list, NkUserFont font, NkRect rect, java.nio.ByteBuffer text, float font_height, NkColor color)static voidnk_draw_list_fill_circle(NkDrawList list, NkVec2 center, float radius, NkColor col, int segs)static voidnk_draw_list_fill_poly_convex(NkDrawList list, NkVec2.Buffer points, NkColor color, int aliasing)static voidnk_draw_list_fill_rect(NkDrawList list, NkRect rect, NkColor color, float rounding)static voidnk_draw_list_fill_rect_multi_color(NkDrawList list, NkRect rect, NkColor left, NkColor top, NkColor right, NkColor bottom)static voidnk_draw_list_fill_triangle(NkDrawList list, NkVec2 a, NkVec2 b, NkVec2 c, NkColor color)static voidnk_draw_list_init(NkDrawList list)static voidnk_draw_list_path_arc_to(NkDrawList list, NkVec2 center, float radius, float a_min, float a_max, int segments)static voidnk_draw_list_path_arc_to_fast(NkDrawList list, NkVec2 center, float radius, int a_min, int a_max)static voidnk_draw_list_path_clear(NkDrawList list)static voidnk_draw_list_path_curve_to(NkDrawList list, NkVec2 p2, NkVec2 p3, NkVec2 p4, int num_segments)static voidnk_draw_list_path_fill(NkDrawList list, NkColor color)static voidnk_draw_list_path_line_to(NkDrawList list, NkVec2 pos)static voidnk_draw_list_path_rect_to(NkDrawList list, NkVec2 a, NkVec2 b, float rounding)static voidnk_draw_list_path_stroke(NkDrawList list, NkColor color, int closed, float thickness)static voidnk_draw_list_push_userdata(NkDrawList list, NkHandle userdata)static voidnk_draw_list_setup(NkDrawList canvas, NkConvertConfig config, NkBuffer cmds, NkBuffer vertices, NkBuffer elements, int line_aa, int shape_aa)static voidnk_draw_list_stroke_circle(NkDrawList list, NkVec2 center, float radius, NkColor color, int segs, float thickness)static voidnk_draw_list_stroke_curve(NkDrawList list, NkVec2 p0, NkVec2 cp0, NkVec2 cp1, NkVec2 p1, NkColor color, int segments, float thickness)static voidnk_draw_list_stroke_line(NkDrawList list, NkVec2 a, NkVec2 b, NkColor color, float thickness)static voidnk_draw_list_stroke_poly_line(NkDrawList list, NkVec2 pnts, int cnt, NkColor color, int closed, float thickness, int aliasing)static voidnk_draw_list_stroke_rect(NkDrawList list, NkRect rect, NkColor color, float rounding, float thickness)static voidnk_draw_list_stroke_triangle(NkDrawList list, NkVec2 a, NkVec2 b, NkVec2 c, NkColor color, float thickness)static voidnk_draw_text(NkCommandBuffer b, NkRect rect, java.lang.CharSequence string, NkUserFont font, NkColor bg, NkColor fg)static voidnk_draw_text(NkCommandBuffer b, NkRect rect, java.nio.ByteBuffer string, NkUserFont font, NkColor bg, NkColor fg)static intnk_edit_buffer(NkContext ctx, int flags, org.lwjgl.nuklear.NkTextEdit edit, NkPluginFilterI filter)static voidnk_edit_focus(NkContext ctx, int flags)static intnk_edit_string(NkContext ctx, int flags, java.lang.CharSequence memory, int[] len, int max, NkPluginFilterI filter)Array version of:edit_stringstatic intnk_edit_string(NkContext ctx, int flags, java.lang.CharSequence memory, java.nio.IntBuffer len, int max, NkPluginFilterI filter)static intnk_edit_string(NkContext ctx, int flags, java.nio.ByteBuffer memory, int[] len, int max, NkPluginFilterI filter)Array version of:edit_stringstatic intnk_edit_string(NkContext ctx, int flags, java.nio.ByteBuffer memory, java.nio.IntBuffer len, int max, NkPluginFilterI filter)static intnk_edit_string_zero_terminated(NkContext ctx, int flags, java.lang.CharSequence buffer, int max, NkPluginFilterI filter)static intnk_edit_string_zero_terminated(NkContext ctx, int flags, java.nio.ByteBuffer buffer, int max, NkPluginFilterI filter)static voidnk_edit_unfocus(NkContext ctx)static voidnk_end(NkContext ctx)Needs to be called at the end of the window building process to process scaling, scrollbars and general cleanup.static voidnk_fill_arc(NkCommandBuffer b, float cx, float cy, float radius, float a_min, float a_max, NkColor color)static voidnk_fill_circle(NkCommandBuffer b, NkRect rect, NkColor color)static voidnk_fill_polygon(NkCommandBuffer b, float[] points, NkColor color)Array version of:fill_polygonstatic voidnk_fill_polygon(NkCommandBuffer b, java.nio.FloatBuffer points, NkColor color)static voidnk_fill_rect(NkCommandBuffer b, NkRect rect, float rounding, NkColor color)static voidnk_fill_rect_multi_color(NkCommandBuffer b, NkRect rect, NkColor left, NkColor top, NkColor right, NkColor bottom)static voidnk_fill_triangle(NkCommandBuffer b, float x0, float y0, float x1, float y1, float x2, float y2, NkColor color)static booleannk_filter_ascii(org.lwjgl.nuklear.NkTextEdit edit, int unicode)static booleannk_filter_binary(org.lwjgl.nuklear.NkTextEdit edit, int unicode)static booleannk_filter_decimal(org.lwjgl.nuklear.NkTextEdit edit, int unicode)static booleannk_filter_default(org.lwjgl.nuklear.NkTextEdit edit, int unicode)static booleannk_filter_float(org.lwjgl.nuklear.NkTextEdit edit, int unicode)static booleannk_filter_hex(org.lwjgl.nuklear.NkTextEdit edit, int unicode)static booleannk_filter_oct(org.lwjgl.nuklear.NkTextEdit edit, int unicode)static voidnk_free(NkContext ctx)Shutdown and free all memory allocated inside the context.static NkRectnk_get_null_rect(NkRect __result)static booleannk_group_begin(NkContext ctx, java.lang.CharSequence title, int flags)static booleannk_group_begin(NkContext ctx, java.nio.ByteBuffer title, int flags)static booleannk_group_begin_titled(NkContext ctx, java.lang.CharSequence name, java.lang.CharSequence title, int flags)static booleannk_group_begin_titled(NkContext ctx, java.nio.ByteBuffer name, java.nio.ByteBuffer title, int flags)static voidnk_group_end(NkContext ctx)static booleannk_group_scrolled_begin(NkContext ctx, NkScroll scroll, java.lang.CharSequence title, int flags)static booleannk_group_scrolled_begin(NkContext ctx, NkScroll scroll, java.nio.ByteBuffer title, int flags)static voidnk_group_scrolled_end(NkContext ctx)static booleannk_group_scrolled_offset_begin(NkContext ctx, int[] x_offset, int[] y_offset, java.lang.CharSequence title, int flags)Array version of:group_scrolled_offset_beginstatic booleannk_group_scrolled_offset_begin(NkContext ctx, int[] x_offset, int[] y_offset, java.nio.ByteBuffer title, int flags)Array version of:group_scrolled_offset_beginstatic booleannk_group_scrolled_offset_begin(NkContext ctx, java.nio.IntBuffer x_offset, java.nio.IntBuffer y_offset, java.lang.CharSequence title, int flags)static booleannk_group_scrolled_offset_begin(NkContext ctx, java.nio.IntBuffer x_offset, java.nio.IntBuffer y_offset, java.nio.ByteBuffer title, int flags)static NkHandlenk_handle_id(int id, NkHandle __result)static NkHandlenk_handle_ptr(long ptr, NkHandle __result)static NkColornk_hsv(int h, int s, int v, NkColor __result)static NkColornk_hsv_bv(java.nio.ByteBuffer hsv, NkColor __result)static NkColornk_hsv_f(float h, float s, float v, NkColor __result)static NkColornk_hsv_fv(float[] hsv, NkColor __result)Array version of:hsv_fvstatic NkColornk_hsv_fv(java.nio.FloatBuffer hsv, NkColor __result)static NkColornk_hsv_iv(int[] hsv, NkColor __result)Array version of:hsv_ivstatic NkColornk_hsv_iv(java.nio.IntBuffer hsv, NkColor __result)static NkColornk_hsva(int h, int s, int v, int a, NkColor __result)static NkColornk_hsva_bv(java.nio.ByteBuffer hsva, NkColor __result)static NkColorfnk_hsva_colorf(float h, float s, float v, float a, NkColorf __result)static NkColorfnk_hsva_colorfv(float[] c, NkColorf __result)Array version of:hsva_colorfvstatic NkColorfnk_hsva_colorfv(java.nio.FloatBuffer c, NkColorf __result)static NkColornk_hsva_f(float h, float s, float v, float a, NkColor __result)static NkColornk_hsva_fv(float[] hsva, NkColor __result)Array version of:hsva_fvstatic NkColornk_hsva_fv(java.nio.FloatBuffer hsva, NkColor __result)static NkColornk_hsva_iv(int[] hsva, NkColor __result)Array version of:hsva_ivstatic NkColornk_hsva_iv(java.nio.IntBuffer hsva, NkColor __result)static voidnk_image(NkContext ctx, NkImage img)static voidnk_image_color(NkContext ctx, NkImage img, NkColor color)static NkImagenk_image_handle(NkHandle handle, NkImage __result)static NkImagenk_image_id(int id, NkImage __result)static booleannk_image_is_subimage(NkImage img)static NkImagenk_image_ptr(long ptr, NkImage __result)static booleannk_init(NkContext ctx, NkAllocator allocator, NkUserFont font)Initializes context with memory allocator callbacks for alloc and free.static booleannk_init_custom(NkContext ctx, NkBuffer cmds, NkBuffer pool, NkUserFont font)Initializes context from two buffers.static booleannk_init_fixed(NkContext ctx, java.nio.ByteBuffer memory, NkUserFont font)Initializes context from single fixed size memory block.static booleannk_input_any_mouse_click_in_rect(NkInput i, NkRect rect)static voidnk_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 voidnk_input_button(NkContext ctx, int id, int x, int y, boolean down)Mirrors the state of a specific mouse button to nuklear.static voidnk_input_char(NkContext ctx, byte c)Adds a single ASCII text character into an internal text buffer.static voidnk_input_end(NkContext ctx)Ends the input mirroring process by calculating state changes.static voidnk_input_glyph(NkContext ctx, java.nio.ByteBuffer glyph)Adds a single multi-byte UTF-8 character into an internal text buffer.static booleannk_input_has_mouse_click(NkInput i, int id)static booleannk_input_has_mouse_click_down_in_rect(NkInput i, int id, NkRect rect, int down)static booleannk_input_has_mouse_click_in_rect(NkInput i, int id, NkRect rect)static booleannk_input_is_key_down(NkInput i, int key)static booleannk_input_is_key_pressed(NkInput i, int key)static booleannk_input_is_key_released(NkInput i, int key)static booleannk_input_is_mouse_click_down_in_rect(NkInput i, int id, NkRect b, int down)static booleannk_input_is_mouse_click_in_rect(NkInput i, int id, NkRect rect)static booleannk_input_is_mouse_down(NkInput i, int id)static booleannk_input_is_mouse_hovering_rect(NkInput i, NkRect rect)static booleannk_input_is_mouse_pressed(NkInput i, int id)static booleannk_input_is_mouse_prev_hovering_rect(NkInput i, NkRect rect)static booleannk_input_is_mouse_released(NkInput i, int id)static voidnk_input_key(NkContext ctx, int key, boolean down)Mirrors the state of a specific key to nuklear.static voidnk_input_motion(NkContext ctx, int x, int y)Mirrors current mouse position to nuklear.static booleannk_input_mouse_clicked(NkInput i, int id, NkRect rect)static voidnk_input_scroll(NkContext ctx, NkVec2 val)Copies the last mouse scroll value to nuklear.static voidnk_input_unicode(NkContext ctx, int unicode)Adds a single unicode rune into an internal text buffer.static booleannk_item_is_any_active(NkContext ctx)Returns if any window or widgets is currently hovered or active.static voidnk_label(NkContext ctx, java.lang.CharSequence str, int align)static voidnk_label(NkContext ctx, java.nio.ByteBuffer str, int align)static voidnk_label_colored(NkContext ctx, java.lang.CharSequence str, int align, NkColor color)static voidnk_label_colored(NkContext ctx, java.nio.ByteBuffer str, int align, NkColor color)static voidnk_label_colored_wrap(NkContext ctx, java.lang.CharSequence str, NkColor color)static voidnk_label_colored_wrap(NkContext ctx, java.nio.ByteBuffer str, NkColor color)static voidnk_label_wrap(NkContext ctx, java.lang.CharSequence str)static voidnk_label_wrap(NkContext ctx, java.nio.ByteBuffer str)static floatnk_layout_ratio_from_pixel(NkContext ctx, float pixel_width)Utility function to calculate window ratio from pixel size.static voidnk_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 voidnk_layout_row(NkContext ctx, int fmt, float height, float[] ratio)Array version of:layout_rowstatic voidnk_layout_row(NkContext ctx, int fmt, float height, java.nio.FloatBuffer ratio)Specifies row columns in array as either window ratio or size.static voidnk_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 voidnk_layout_row_dynamic(NkContext ctx, float height, int cols)Sets current row layout to share horizontal space betweencolsnumber of widgets evenly.static voidnk_layout_row_end(NkContext ctx)Finishes previously started rowstatic voidnk_layout_row_push(NkContext ctx, float value)Specifies either window ratio or width of a single column.static voidnk_layout_row_static(NkContext ctx, float height, int item_width, int cols)Sets current row layout to fillcolsnumber of widgets in row with sameitem_widthhorizontal size.static voidnk_layout_row_template_begin(NkContext ctx, float height)Begins the row template declaration.static voidnk_layout_row_template_end(NkContext ctx)Marks the end of the row template.static voidnk_layout_row_template_push_dynamic(NkContext ctx)Adds a dynamic column that dynamically grows and can go to zero if not enough space.static voidnk_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 voidnk_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 voidnk_layout_set_min_row_height(NkContext ctx, float height)Sets the currently used minimum row height.static voidnk_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 NkRectnk_layout_space_bounds(NkContext ctx, NkRect __result)Returns total space allocated fornk_layout_space.static voidnk_layout_space_end(NkContext ctx)Marks the end of the layout space.static voidnk_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 NkRectnk_layout_space_rect_to_local(NkContext ctx, NkRect ret)Converts rectangle from layout space into screen space.static NkRectnk_layout_space_rect_to_screen(NkContext ctx, NkRect ret)Converts rectangle from screen space into layout space.static NkVec2nk_layout_space_to_local(NkContext ctx, NkVec2 ret)Converts vector from layout space into screen space.static NkVec2nk_layout_space_to_screen(NkContext ctx, NkVec2 ret)Converts vector fromnk_layout_spacecoordinate space into screen space.static NkRectnk_layout_widget_bounds(NkContext ctx, NkRect __result)Returns the width of the next row allocate by one of the layouting functions.static booleannk_list_view_begin(NkContext ctx, NkListView view, java.lang.CharSequence title, int flags, int row_height, int row_count)static booleannk_list_view_begin(NkContext ctx, NkListView view, java.nio.ByteBuffer title, int flags, int row_height, int row_count)static voidnk_list_view_end(NkListView view)static booleannk_menu_begin_image(NkContext ctx, java.lang.CharSequence text, NkImage img, NkVec2 size)static booleannk_menu_begin_image(NkContext ctx, java.nio.ByteBuffer text, NkImage img, NkVec2 size)static booleannk_menu_begin_image_label(NkContext ctx, java.lang.CharSequence text, int align, NkImage img, NkVec2 size)static booleannk_menu_begin_image_label(NkContext ctx, java.nio.ByteBuffer text, int align, NkImage img, NkVec2 size)static booleannk_menu_begin_image_text(NkContext ctx, java.lang.CharSequence text, int align, NkImage img, NkVec2 size)static booleannk_menu_begin_image_text(NkContext ctx, java.nio.ByteBuffer text, int align, NkImage img, NkVec2 size)static booleannk_menu_begin_label(NkContext ctx, java.lang.CharSequence text, int align, NkVec2 size)static booleannk_menu_begin_label(NkContext ctx, java.nio.ByteBuffer text, int align, NkVec2 size)static booleannk_menu_begin_symbol(NkContext ctx, java.lang.CharSequence text, int symbol, NkVec2 size)static booleannk_menu_begin_symbol(NkContext ctx, java.nio.ByteBuffer text, int symbol, NkVec2 size)static booleannk_menu_begin_symbol_label(NkContext ctx, java.lang.CharSequence text, int align, int symbol, NkVec2 size)static booleannk_menu_begin_symbol_label(NkContext ctx, java.nio.ByteBuffer text, int align, int symbol, NkVec2 size)static booleannk_menu_begin_symbol_text(NkContext ctx, java.lang.CharSequence text, int align, int symbol, NkVec2 size)static booleannk_menu_begin_symbol_text(NkContext ctx, java.nio.ByteBuffer text, int align, int symbol, NkVec2 size)static booleannk_menu_begin_text(NkContext ctx, java.lang.CharSequence text, int align, NkVec2 size)static booleannk_menu_begin_text(NkContext ctx, java.nio.ByteBuffer text, int align, NkVec2 size)static voidnk_menu_close(NkContext ctx)static voidnk_menu_end(NkContext ctx)static booleannk_menu_item_image_label(NkContext ctx, NkImage img, java.lang.CharSequence text, int alignment)static booleannk_menu_item_image_label(NkContext ctx, NkImage img, java.nio.ByteBuffer text, int alignment)static booleannk_menu_item_image_text(NkContext ctx, NkImage img, java.lang.CharSequence text, int alignment)static booleannk_menu_item_image_text(NkContext ctx, NkImage img, java.nio.ByteBuffer text, int alignment)static booleannk_menu_item_label(NkContext ctx, java.lang.CharSequence text, int alignment)static booleannk_menu_item_label(NkContext ctx, java.nio.ByteBuffer text, int alignment)static booleannk_menu_item_symbol_label(NkContext ctx, int symbol, java.lang.CharSequence text, int alignment)static booleannk_menu_item_symbol_label(NkContext ctx, int symbol, java.nio.ByteBuffer text, int alignment)static booleannk_menu_item_symbol_text(NkContext ctx, int symbol, java.lang.CharSequence text, int alignment)static booleannk_menu_item_symbol_text(NkContext ctx, int symbol, java.nio.ByteBuffer text, int alignment)static booleannk_menu_item_text(NkContext ctx, java.lang.CharSequence text, int align)static booleannk_menu_item_text(NkContext ctx, java.nio.ByteBuffer text, int align)static voidnk_menubar_begin(NkContext ctx)static voidnk_menubar_end(NkContext ctx)static intnk_murmur_hash(java.nio.ByteBuffer key, int seed)static booleannk_option_label(NkContext ctx, java.lang.CharSequence str, boolean active)static booleannk_option_label(NkContext ctx, java.nio.ByteBuffer str, boolean active)static booleannk_option_text(NkContext ctx, java.lang.CharSequence str, boolean active)static booleannk_option_text(NkContext ctx, java.nio.ByteBuffer str, boolean active)static voidnk_plot(NkContext ctx, int type, float[] values, int count, int offset)Array version of:plotstatic voidnk_plot(NkContext ctx, int type, java.nio.FloatBuffer values, int count, int offset)static voidnk_plot_function(NkContext ctx, int type, long userdata, NkValueGetterI value_getter, int count, int offset)static booleannk_popup_begin(NkContext ctx, int type, java.lang.CharSequence title, int flags, NkRect rect)static booleannk_popup_begin(NkContext ctx, int type, java.nio.ByteBuffer title, int flags, NkRect rect)static voidnk_popup_close(NkContext ctx)static voidnk_popup_end(NkContext ctx)static longnk_prog(NkContext ctx, long cur, long max, boolean modifyable)static booleannk_progress(NkContext ctx, org.lwjgl.PointerBuffer cur, long max, boolean modifyable)static voidnk_property_double(NkContext ctx, java.lang.CharSequence name, double min, double[] val, double max, double step, float inc_per_pixel)Array version of:property_doublestatic voidnk_property_double(NkContext ctx, java.lang.CharSequence name, double min, java.nio.DoubleBuffer val, double max, double step, float inc_per_pixel)static voidnk_property_double(NkContext ctx, java.nio.ByteBuffer name, double min, double[] val, double max, double step, float inc_per_pixel)Array version of:property_doublestatic voidnk_property_double(NkContext ctx, java.nio.ByteBuffer name, double min, java.nio.DoubleBuffer val, double max, double step, float inc_per_pixel)static voidnk_property_float(NkContext ctx, java.lang.CharSequence name, float min, float[] val, float max, float step, float inc_per_pixel)Array version of:property_floatstatic voidnk_property_float(NkContext ctx, java.lang.CharSequence name, float min, java.nio.FloatBuffer val, float max, float step, float inc_per_pixel)static voidnk_property_float(NkContext ctx, java.nio.ByteBuffer name, float min, float[] val, float max, float step, float inc_per_pixel)Array version of:property_floatstatic voidnk_property_float(NkContext ctx, java.nio.ByteBuffer name, float min, java.nio.FloatBuffer val, float max, float step, float inc_per_pixel)static voidnk_property_int(NkContext ctx, java.lang.CharSequence name, int min, int[] val, int max, int step, float inc_per_pixel)Array version of:property_intstatic voidnk_property_int(NkContext ctx, java.lang.CharSequence name, int min, java.nio.IntBuffer val, int max, int step, float inc_per_pixel)static voidnk_property_int(NkContext ctx, java.nio.ByteBuffer name, int min, int[] val, int max, int step, float inc_per_pixel)Array version of:property_intstatic voidnk_property_int(NkContext ctx, java.nio.ByteBuffer name, int min, java.nio.IntBuffer val, int max, int step, float inc_per_pixel)static doublenk_propertyd(NkContext ctx, java.lang.CharSequence name, double min, double val, double max, double step, float inc_per_pixel)static doublenk_propertyd(NkContext ctx, java.nio.ByteBuffer name, double min, double val, double max, double step, float inc_per_pixel)static floatnk_propertyf(NkContext ctx, java.lang.CharSequence name, float min, float val, float max, float step, float inc_per_pixel)static floatnk_propertyf(NkContext ctx, java.nio.ByteBuffer name, float min, float val, float max, float step, float inc_per_pixel)static intnk_propertyi(NkContext ctx, java.lang.CharSequence name, int min, int val, int max, int step, float inc_per_pixel)static intnk_propertyi(NkContext ctx, java.nio.ByteBuffer name, int min, int val, int max, int step, float inc_per_pixel)static voidnk_push_custom(NkCommandBuffer b, NkRect rect, NkCommandCustomCallbackI callback, NkHandle usr)static voidnk_push_scissor(NkCommandBuffer b, NkRect rect)static booleannk_radio_label(NkContext ctx, java.lang.CharSequence str, int[] active)Array version of:radio_labelstatic booleannk_radio_label(NkContext ctx, java.lang.CharSequence str, java.nio.IntBuffer active)static booleannk_radio_label(NkContext ctx, java.nio.ByteBuffer str, int[] active)Array version of:radio_labelstatic booleannk_radio_label(NkContext ctx, java.nio.ByteBuffer str, java.nio.IntBuffer active)static booleannk_radio_text(NkContext ctx, java.lang.CharSequence str, int[] active)Array version of:radio_textstatic booleannk_radio_text(NkContext ctx, java.lang.CharSequence str, java.nio.IntBuffer active)static booleannk_radio_text(NkContext ctx, java.nio.ByteBuffer str, int[] active)Array version of:radio_textstatic booleannk_radio_text(NkContext ctx, java.nio.ByteBuffer str, java.nio.IntBuffer active)static NkRectnk_rect(float x, float y, float w, float h, NkRect __result)static NkVec2nk_rect_pos(NkRect r, NkVec2 __result)static NkVec2nk_rect_size(NkRect r, NkVec2 __result)static NkRectnk_recta(NkVec2 pos, NkVec2 size, NkRect __result)static NkRectnk_recti(int x, int y, int w, int h, NkRect __result)static NkRectnk_rectiv(int[] xywh, NkRect __result)Array version of:rectivstatic NkRectnk_rectiv(java.nio.IntBuffer xywh, NkRect __result)static NkRectnk_rectv(float[] xywh, NkRect __result)Array version of:rectvstatic NkRectnk_rectv(java.nio.FloatBuffer xywh, NkRect __result)static NkColornk_rgb(int r, int g, int b, NkColor __result)static NkColornk_rgb_bv(java.nio.ByteBuffer rgb, NkColor __result)static NkColornk_rgb_cf(NkColorf c, NkColor __result)static NkColornk_rgb_f(float r, float g, float b, NkColor __result)static NkColornk_rgb_fv(float[] rgb, NkColor __result)Array version of:rgb_fvstatic NkColornk_rgb_fv(java.nio.FloatBuffer rgb, NkColor __result)static NkColornk_rgb_hex(java.lang.CharSequence rgb, NkColor __result)static NkColornk_rgb_hex(java.nio.ByteBuffer rgb, NkColor __result)static NkColornk_rgb_iv(int[] rgb, NkColor __result)Array version of:rgb_ivstatic NkColornk_rgb_iv(java.nio.IntBuffer rgb, NkColor __result)static NkColornk_rgba(int r, int g, int b, int a, NkColor __result)static NkColornk_rgba_bv(java.nio.ByteBuffer rgba, NkColor __result)static NkColornk_rgba_cf(NkColorf c, NkColor __result)static NkColornk_rgba_f(float r, float g, float b, float a, NkColor __result)static NkColornk_rgba_fv(float[] rgba, NkColor __result)Array version of:rgba_fvstatic NkColornk_rgba_fv(java.nio.FloatBuffer rgba, NkColor __result)static NkColornk_rgba_hex(java.lang.CharSequence rgba, NkColor __result)static NkColornk_rgba_hex(java.nio.ByteBuffer rgba, NkColor __result)static NkColornk_rgba_iv(int[] rgba, NkColor __result)Array version of:rgba_ivstatic NkColornk_rgba_iv(java.nio.IntBuffer rgba, NkColor __result)static NkColornk_rgba_u32(int in, NkColor __result)static booleannk_select_image_label(NkContext ctx, NkImage img, java.lang.CharSequence str, int align, boolean value)static booleannk_select_image_label(NkContext ctx, NkImage img, java.nio.ByteBuffer str, int align, boolean value)static booleannk_select_image_text(NkContext ctx, NkImage img, java.lang.CharSequence str, int align, boolean value)static booleannk_select_image_text(NkContext ctx, NkImage img, java.nio.ByteBuffer str, int align, boolean value)static booleannk_select_label(NkContext ctx, java.lang.CharSequence str, int align, boolean value)static booleannk_select_label(NkContext ctx, java.nio.ByteBuffer str, int align, boolean value)static booleannk_select_symbol_label(NkContext ctx, int symbol, java.lang.CharSequence str, int align, boolean value)static booleannk_select_symbol_label(NkContext ctx, int symbol, java.nio.ByteBuffer str, int align, boolean value)static booleannk_select_symbol_text(NkContext ctx, int symbol, java.lang.CharSequence str, int align, boolean value)static booleannk_select_symbol_text(NkContext ctx, int symbol, java.nio.ByteBuffer str, int align, boolean value)static booleannk_select_text(NkContext ctx, java.lang.CharSequence str, int align, boolean value)static booleannk_select_text(NkContext ctx, java.nio.ByteBuffer str, int align, boolean value)static booleannk_selectable_image_label(NkContext ctx, NkImage img, java.lang.CharSequence str, int align, int[] value)Array version of:selectable_image_labelstatic booleannk_selectable_image_label(NkContext ctx, NkImage img, java.lang.CharSequence str, int align, java.nio.IntBuffer value)static booleannk_selectable_image_label(NkContext ctx, NkImage img, java.nio.ByteBuffer str, int align, int[] value)Array version of:selectable_image_labelstatic booleannk_selectable_image_label(NkContext ctx, NkImage img, java.nio.ByteBuffer str, int align, java.nio.IntBuffer value)static booleannk_selectable_image_text(NkContext ctx, NkImage img, java.lang.CharSequence str, int align, int[] value)Array version of:selectable_image_textstatic booleannk_selectable_image_text(NkContext ctx, NkImage img, java.lang.CharSequence str, int align, java.nio.IntBuffer value)static booleannk_selectable_image_text(NkContext ctx, NkImage img, java.nio.ByteBuffer str, int align, int[] value)Array version of:selectable_image_textstatic booleannk_selectable_image_text(NkContext ctx, NkImage img, java.nio.ByteBuffer str, int align, java.nio.IntBuffer value)static booleannk_selectable_label(NkContext ctx, java.lang.CharSequence str, int align, int[] value)Array version of:selectable_labelstatic booleannk_selectable_label(NkContext ctx, java.lang.CharSequence str, int align, java.nio.IntBuffer value)static booleannk_selectable_label(NkContext ctx, java.nio.ByteBuffer str, int align, int[] value)Array version of:selectable_labelstatic booleannk_selectable_label(NkContext ctx, java.nio.ByteBuffer str, int align, java.nio.IntBuffer value)static booleannk_selectable_symbol_label(NkContext ctx, int symbol, java.lang.CharSequence str, int align, int[] value)Array version of:selectable_symbol_labelstatic booleannk_selectable_symbol_label(NkContext ctx, int symbol, java.lang.CharSequence str, int align, java.nio.IntBuffer value)static booleannk_selectable_symbol_label(NkContext ctx, int symbol, java.nio.ByteBuffer str, int align, int[] value)Array version of:selectable_symbol_labelstatic booleannk_selectable_symbol_label(NkContext ctx, int symbol, java.nio.ByteBuffer str, int align, java.nio.IntBuffer value)static booleannk_selectable_symbol_text(NkContext ctx, int symbol, java.lang.CharSequence str, int align, int[] value)Array version of:selectable_symbol_textstatic booleannk_selectable_symbol_text(NkContext ctx, int symbol, java.lang.CharSequence str, int align, java.nio.IntBuffer value)static booleannk_selectable_symbol_text(NkContext ctx, int symbol, java.nio.ByteBuffer str, int align, int[] value)Array version of:selectable_symbol_textstatic booleannk_selectable_symbol_text(NkContext ctx, int symbol, java.nio.ByteBuffer str, int align, java.nio.IntBuffer value)static booleannk_selectable_text(NkContext ctx, java.lang.CharSequence str, int align, int[] value)Array version of:selectable_textstatic booleannk_selectable_text(NkContext ctx, java.lang.CharSequence str, int align, java.nio.IntBuffer value)static booleannk_selectable_text(NkContext ctx, java.nio.ByteBuffer str, int align, int[] value)Array version of:selectable_textstatic booleannk_selectable_text(NkContext ctx, java.nio.ByteBuffer str, int align, java.nio.IntBuffer value)static voidnk_set_user_data(NkContext ctx, NkHandle handle)Utility function to pass user data to draw command.static floatnk_slide_float(NkContext ctx, float min, float val, float max, float step)static intnk_slide_int(NkContext ctx, int min, int val, int max, int step)static intnk_slider_float(NkContext ctx, float min, float[] val, float max, float step)Array version of:slider_floatstatic intnk_slider_float(NkContext ctx, float min, java.nio.FloatBuffer val, float max, float step)static intnk_slider_int(NkContext ctx, int min, int[] val, int max, int step)Array version of:slider_intstatic intnk_slider_int(NkContext ctx, int min, java.nio.IntBuffer val, int max, int step)static voidnk_spacing(NkContext ctx, int cols)static intnk_str_append_str_char(NkStr s, java.nio.ByteBuffer str)static intnk_str_append_str_runes(NkStr s, int[] runes)Array version of:str_append_str_runesstatic intnk_str_append_str_runes(NkStr s, java.nio.IntBuffer runes)static intnk_str_append_str_utf8(NkStr s, java.nio.ByteBuffer str)static intnk_str_append_text_char(NkStr s, java.nio.ByteBuffer str)static intnk_str_append_text_runes(NkStr s, int[] runes)Array version of:str_append_text_runesstatic intnk_str_append_text_runes(NkStr s, java.nio.IntBuffer runes)static intnk_str_append_text_utf8(NkStr s, java.nio.ByteBuffer str)static java.lang.Stringnk_str_at_char(NkStr s, int pos)static java.lang.Stringnk_str_at_char_const(NkStr s, int pos)static java.nio.ByteBuffernk_str_at_const(NkStr s, int pos, int[] unicode)Array version of:str_at_conststatic java.nio.ByteBuffernk_str_at_const(NkStr s, int pos, java.nio.IntBuffer unicode)static java.nio.ByteBuffernk_str_at_rune(NkStr s, int pos, int[] unicode)Array version of:str_at_runestatic java.nio.ByteBuffernk_str_at_rune(NkStr s, int pos, java.nio.IntBuffer unicode)static voidnk_str_clear(NkStr str)static voidnk_str_delete_chars(NkStr s, int pos, int len)static voidnk_str_delete_runes(NkStr s, int pos, int len)static voidnk_str_free(NkStr str)static java.lang.Stringnk_str_get(NkStr s)static java.lang.Stringnk_str_get_const(NkStr s)static voidnk_str_init(NkStr str, NkAllocator allocator, long size)static voidnk_str_init_fixed(NkStr str, java.nio.ByteBuffer memory)static intnk_str_insert_at_char(NkStr s, int pos, java.nio.ByteBuffer str)static intnk_str_insert_at_rune(NkStr s, int pos, java.nio.ByteBuffer str)static intnk_str_insert_str_char(NkStr s, int pos, java.nio.ByteBuffer str)static intnk_str_insert_str_runes(NkStr s, int pos, int[] runes)Array version of:str_insert_str_runesstatic intnk_str_insert_str_runes(NkStr s, int pos, java.nio.IntBuffer runes)static intnk_str_insert_str_utf8(NkStr s, int pos, java.nio.ByteBuffer str)static intnk_str_insert_text_char(NkStr s, int pos, java.nio.ByteBuffer str)static intnk_str_insert_text_runes(NkStr s, int pos, int[] runes)Array version of:str_insert_text_runesstatic intnk_str_insert_text_runes(NkStr s, int pos, java.nio.IntBuffer runes)static intnk_str_insert_text_utf8(NkStr s, int pos, java.nio.ByteBuffer str)static intnk_str_len(NkStr s)static intnk_str_len_char(NkStr s)static voidnk_str_remove_chars(NkStr s, int len)static voidnk_str_remove_runes(NkStr str, int len)static intnk_str_rune_at(NkStr s, int pos)static booleannk_strfilter(java.lang.CharSequence str, java.lang.CharSequence regexp)c - matches any literal character c .static booleannk_strfilter(java.nio.ByteBuffer str, java.nio.ByteBuffer regexp)c - matches any literal character c .static intnk_stricmp(java.lang.CharSequence s1, java.lang.CharSequence s2)static intnk_stricmp(java.nio.ByteBuffer s1, java.nio.ByteBuffer s2)static intnk_stricmpn(java.lang.CharSequence s1, java.lang.CharSequence s2, int n)static intnk_stricmpn(java.nio.ByteBuffer s1, java.nio.ByteBuffer s2, int n)static intnk_strlen(java.lang.CharSequence str)static intnk_strlen(java.nio.ByteBuffer str)static booleannk_strmatch_fuzzy_string(java.lang.CharSequence str, java.lang.CharSequence pattern, int[] out_score)Array version of:strmatch_fuzzy_stringstatic booleannk_strmatch_fuzzy_string(java.lang.CharSequence str, java.lang.CharSequence pattern, java.nio.IntBuffer out_score)Returns true if each character inpatternis found sequentially withinstrif found thenout_scoreis also set.static booleannk_strmatch_fuzzy_string(java.nio.ByteBuffer str, java.nio.ByteBuffer pattern, int[] out_score)Array version of:strmatch_fuzzy_stringstatic booleannk_strmatch_fuzzy_string(java.nio.ByteBuffer str, java.nio.ByteBuffer pattern, java.nio.IntBuffer out_score)Returns true if each character inpatternis found sequentially withinstrif found thenout_scoreis also set.static intnk_strmatch_fuzzy_text(java.lang.CharSequence txt, java.lang.CharSequence pattern, int[] out_score)Array version of:strmatch_fuzzy_textstatic intnk_strmatch_fuzzy_text(java.lang.CharSequence txt, java.lang.CharSequence pattern, java.nio.IntBuffer out_score)static intnk_strmatch_fuzzy_text(java.nio.ByteBuffer txt, java.nio.ByteBuffer pattern, int[] out_score)Array version of:strmatch_fuzzy_textstatic intnk_strmatch_fuzzy_text(java.nio.ByteBuffer txt, java.nio.ByteBuffer pattern, java.nio.IntBuffer out_score)static voidnk_stroke_arc(NkCommandBuffer b, float cx, float cy, float radius, float a_min, float a_max, float line_thickness, NkColor color)static voidnk_stroke_circle(NkCommandBuffer b, NkRect rect, float line_thickness, NkColor color)static voidnk_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 voidnk_stroke_line(NkCommandBuffer b, float x0, float y0, float x1, float y1, float line_thickness, NkColor color)static voidnk_stroke_polygon(NkCommandBuffer b, float[] points, float line_thickness, NkColor color)Array version of:stroke_polygonstatic voidnk_stroke_polygon(NkCommandBuffer b, java.nio.FloatBuffer points, float line_thickness, NkColor color)static voidnk_stroke_polyline(NkCommandBuffer b, float[] points, float line_thickness, NkColor col)Array version of:stroke_polylinestatic voidnk_stroke_polyline(NkCommandBuffer b, java.nio.FloatBuffer points, float line_thickness, NkColor col)static voidnk_stroke_rect(NkCommandBuffer b, NkRect rect, float rounding, float line_thickness, NkColor color)static voidnk_stroke_triangle(NkCommandBuffer b, float x0, float y0, float x1, float y1, float x2, float y2, float line_thichness, NkColor color)static doublenk_strtod(java.lang.CharSequence str, org.lwjgl.PointerBuffer endptr)static doublenk_strtod(java.nio.ByteBuffer str, org.lwjgl.PointerBuffer endptr)static floatnk_strtof(java.lang.CharSequence str, org.lwjgl.PointerBuffer endptr)static floatnk_strtof(java.nio.ByteBuffer str, org.lwjgl.PointerBuffer endptr)static intnk_strtoi(java.lang.CharSequence str, org.lwjgl.PointerBuffer endptr)static intnk_strtoi(java.nio.ByteBuffer str, org.lwjgl.PointerBuffer endptr)static voidnk_style_default(NkContext ctx)static voidnk_style_from_table(NkContext ctx, NkColor.Buffer table)static java.lang.Stringnk_style_get_color_by_name(int c)static voidnk_style_hide_cursor(NkContext ctx)static NkStyleItemnk_style_item_color(NkColor color, NkStyleItem __result)static NkStyleItemnk_style_item_hide(NkStyleItem __result)static NkStyleItemnk_style_item_image(NkImage img, NkStyleItem __result)static voidnk_style_load_all_cursors(NkContext ctx, NkCursor.Buffer cursors)static voidnk_style_load_cursor(NkContext ctx, int style, NkCursor cursor)static intnk_style_pop_color(NkContext ctx)static intnk_style_pop_flags(NkContext ctx)static intnk_style_pop_float(NkContext ctx)static intnk_style_pop_font(NkContext ctx)static intnk_style_pop_style_item(NkContext ctx)static intnk_style_pop_vec2(NkContext ctx)static intnk_style_push_color(NkContext ctx, NkColor address, NkColor value)static intnk_style_push_flags(NkContext ctx, int[] address, int value)Array version of:style_push_flagsstatic intnk_style_push_flags(NkContext ctx, java.nio.IntBuffer address, int value)static intnk_style_push_float(NkContext ctx, float[] address, float value)Array version of:style_push_floatstatic intnk_style_push_float(NkContext ctx, java.nio.FloatBuffer address, float value)static intnk_style_push_font(NkContext ctx, NkUserFont font)static intnk_style_push_style_item(NkContext ctx, NkStyleItem address, NkStyleItem value)static intnk_style_push_vec2(NkContext ctx, NkVec2 address, NkVec2 value)static intnk_style_set_cursor(NkContext ctx, int style)static voidnk_style_set_font(NkContext ctx, NkUserFont font)static voidnk_style_show_cursor(NkContext ctx)static NkImagenk_subimage_handle(NkHandle handle, short w, short h, NkRect sub_region, NkImage __result)static NkImagenk_subimage_id(int id, short w, short h, NkRect sub_region, NkImage __result)static NkImagenk_subimage_ptr(long ptr, short w, short h, NkRect sub_region, NkImage __result)static voidnk_text(NkContext ctx, java.lang.CharSequence str, int alignment)static voidnk_text(NkContext ctx, java.nio.ByteBuffer str, int alignment)static voidnk_text_colored(NkContext ctx, java.lang.CharSequence str, int alignment, NkColor color)static voidnk_text_colored(NkContext ctx, java.nio.ByteBuffer str, int alignment, NkColor color)static voidnk_text_wrap(NkContext ctx, java.lang.CharSequence str)static voidnk_text_wrap(NkContext ctx, java.nio.ByteBuffer str)static voidnk_text_wrap_colored(NkContext ctx, java.lang.CharSequence str, NkColor color)static voidnk_text_wrap_colored(NkContext ctx, java.nio.ByteBuffer str, NkColor color)static booleannk_textedit_cut(org.lwjgl.nuklear.NkTextEdit box)static voidnk_textedit_delete(org.lwjgl.nuklear.NkTextEdit box, int where, int len)static voidnk_textedit_delete_selection(org.lwjgl.nuklear.NkTextEdit box)static voidnk_textedit_free(org.lwjgl.nuklear.NkTextEdit box)static voidnk_textedit_init(org.lwjgl.nuklear.NkTextEdit box, NkAllocator allocator, long size)static voidnk_textedit_init_fixed(org.lwjgl.nuklear.NkTextEdit box, java.nio.ByteBuffer memory)static booleannk_textedit_paste(org.lwjgl.nuklear.NkTextEdit box, java.lang.CharSequence ctext)static booleannk_textedit_paste(org.lwjgl.nuklear.NkTextEdit box, java.nio.ByteBuffer ctext)static voidnk_textedit_redo(org.lwjgl.nuklear.NkTextEdit box)static voidnk_textedit_select_all(org.lwjgl.nuklear.NkTextEdit box)static voidnk_textedit_text(org.lwjgl.nuklear.NkTextEdit box, java.lang.CharSequence text)static voidnk_textedit_text(org.lwjgl.nuklear.NkTextEdit box, java.nio.ByteBuffer text)static voidnk_textedit_undo(org.lwjgl.nuklear.NkTextEdit box)static voidnk_tooltip(NkContext ctx, java.lang.CharSequence text)static voidnk_tooltip(NkContext ctx, java.nio.ByteBuffer text)static booleannk_tooltip_begin(NkContext ctx, float width)static voidnk_tooltip_end(NkContext ctx)static booleannk_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_hashedstatic booleannk_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 booleannk_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_hashedstatic booleannk_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 voidnk_tree_element_pop(NkContext ctx)static booleannk_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_hashedstatic booleannk_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 booleannk_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_hashedstatic booleannk_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 booleannk_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 booleannk_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 voidnk_tree_pop(NkContext ctx)Ends a collapsable UI sectionstatic booleannk_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 booleannk_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 booleannk_tree_state_image_push(NkContext ctx, int type, NkImage image, java.lang.CharSequence title, int[] state)Array version of:tree_state_image_pushstatic booleannk_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 booleannk_tree_state_image_push(NkContext ctx, int type, NkImage image, java.nio.ByteBuffer title, int[] state)Array version of:tree_state_image_pushstatic booleannk_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 voidnk_tree_state_pop(NkContext ctx)Ends a collapsable UI section.static booleannk_tree_state_push(NkContext ctx, int type, java.lang.CharSequence title, int[] state)Array version of:tree_state_pushstatic booleannk_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 booleannk_tree_state_push(NkContext ctx, int type, java.nio.ByteBuffer title, int[] state)Array version of:tree_state_pushstatic booleannk_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 voidnk_triangle_from_direction(NkVec2 result, NkRect r, float pad_x, float pad_y, int direction)static java.nio.ByteBuffernk_utf_at(java.nio.ByteBuffer buffer, int index, int[] unicode)Array version of:utf_atstatic java.nio.ByteBuffernk_utf_at(java.nio.ByteBuffer buffer, int index, java.nio.IntBuffer unicode)static intnk_utf_decode(java.nio.ByteBuffer c, int[] u)Array version of:utf_decodestatic intnk_utf_decode(java.nio.ByteBuffer c, java.nio.IntBuffer u)static intnk_utf_encode(int u, java.nio.ByteBuffer c)static intnk_utf_len(java.nio.ByteBuffer str)static NkVec2nk_vec2(float x, float y, NkVec2 __result)static NkVec2nk_vec2i(int x, int y, NkVec2 __result)static NkVec2nk_vec2iv(int[] xy, NkVec2 __result)Array version of:vec2ivstatic NkVec2nk_vec2iv(java.nio.IntBuffer xy, NkVec2 __result)static NkVec2nk_vec2v(float[] xy, NkVec2 __result)Array version of:vec2vstatic NkVec2nk_vec2v(java.nio.FloatBuffer xy, NkVec2 __result)static intnk_widget(NkRect bounds, NkContext ctx)static NkRectnk_widget_bounds(NkContext ctx, NkRect __result)static intnk_widget_fitting(NkRect bounds, NkContext ctx, NkVec2 item_padding)static booleannk_widget_has_mouse_click_down(NkContext ctx, int btn, boolean down)static floatnk_widget_height(NkContext ctx)static booleannk_widget_is_hovered(NkContext ctx)static booleannk_widget_is_mouse_clicked(NkContext ctx, int btn)static NkVec2nk_widget_position(NkContext ctx, NkVec2 __result)static NkVec2nk_widget_size(NkContext ctx, NkVec2 __result)static floatnk_widget_width(NkContext ctx)static voidnk_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 voidnk_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 voidnk_window_collapse(NkContext ctx, java.lang.CharSequence name, int c)Collapses the window with given window name.static voidnk_window_collapse(NkContext ctx, java.nio.ByteBuffer name, int c)Collapses the window with given window name.static voidnk_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 voidnk_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 NkWindownk_window_find(NkContext ctx, java.lang.CharSequence name)Finds and returns a window from passed name.static NkWindownk_window_find(NkContext ctx, java.nio.ByteBuffer name)Finds and returns a window from passed name.static NkRectnk_window_get_bounds(NkContext ctx, NkRect __result)Returns a rectangle with screen position and size of the currently processed window.static NkCommandBuffernk_window_get_canvas(NkContext ctx)Returns the draw command buffer.static NkRectnk_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 NkVec2nk_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 NkVec2nk_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 NkVec2nk_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 floatnk_window_get_height(NkContext ctx)Returns the height of the currently processed window.static NkPanelnk_window_get_panel(NkContext ctx)Returns the underlying panel which contains all processing state of the current window.static NkVec2nk_window_get_position(NkContext ctx, NkVec2 __result)Returns the position of the currently processed window.static NkVec2nk_window_get_size(NkContext ctx, NkVec2 __result)Returns the size with width and height of the currently processed window.static floatnk_window_get_width(NkContext ctx)Returns the width of the currently processed window.static booleannk_window_has_focus(NkContext ctx)Returns if the currently processed window is currently active.static booleannk_window_is_active(NkContext ctx, java.lang.CharSequence name)Same aswindow_has_focusfor some reason.static booleannk_window_is_active(NkContext ctx, java.nio.ByteBuffer name)Same aswindow_has_focusfor some reason.static booleannk_window_is_any_hovered(NkContext ctx)Return if any window currently hovered.static booleannk_window_is_closed(NkContext ctx, java.lang.CharSequence name)Returns if the currently processed window was closed.static booleannk_window_is_closed(NkContext ctx, java.nio.ByteBuffer name)Returns if the currently processed window was closed.static booleannk_window_is_collapsed(NkContext ctx, java.lang.CharSequence name)Returns if the window with given name is currently minimized/collapsed.static booleannk_window_is_collapsed(NkContext ctx, java.nio.ByteBuffer name)Returns if the window with given name is currently minimized/collapsed.static booleannk_window_is_hidden(NkContext ctx, java.lang.CharSequence name)Returns if the currently processed window was hidden.static booleannk_window_is_hidden(NkContext ctx, java.nio.ByteBuffer name)Returns if the currently processed window was hidden.static booleannk_window_is_hovered(NkContext ctx)Returns if the currently processed window is currently being hovered by mouse.static voidnk_window_set_bounds(NkContext ctx, java.lang.CharSequence name, NkRect bounds)Updates position and size of the specified window.static voidnk_window_set_bounds(NkContext ctx, java.nio.ByteBuffer name, NkRect bounds)Updates position and size of the specified window.static voidnk_window_set_focus(NkContext ctx, java.lang.CharSequence name)Sets the specified window as active window.static voidnk_window_set_focus(NkContext ctx, java.nio.ByteBuffer name)Sets the specified window as active window.static voidnk_window_set_position(NkContext ctx, java.lang.CharSequence name, NkVec2 position)Updates position of the currently process window.static voidnk_window_set_position(NkContext ctx, java.nio.ByteBuffer name, NkVec2 position)Updates position of the currently process window.static voidnk_window_set_size(NkContext ctx, java.lang.CharSequence name, NkVec2 size)Updates the size of the specified window.static voidnk_window_set_size(NkContext ctx, java.nio.ByteBuffer name, NkVec2 size)Updates the size of the specified window.static voidnk_window_show(NkContext ctx, java.lang.CharSequence name, int s)Hides a visible or reshows a hidden window.static voidnk_window_show(NkContext ctx, java.nio.ByteBuffer name, int s)Hides a visible or reshows a hidden window.static voidnk_window_show_if(NkContext ctx, java.lang.CharSequence name, int s, boolean cond)Hides/shows a window depending on condition.static voidnk_window_show_if(NkContext ctx, java.nio.ByteBuffer name, int s, boolean cond)Hides/shows a window depending on condition.static longnnk__begin(long ctx)Unsafe version of:_beginstatic longnnk__draw_begin(long ctx, long buffer)Unsafe version of:_draw_beginstatic longnnk__draw_end(long ctx, long buffer)Unsafe version of:_draw_endstatic longnnk__draw_list_begin(long list, long buffer)static longnnk__draw_list_next(long cmd, long buffer, long list)static longnnk__draw_next(long cmd, long buffer, long ctx)Unsafe version of:_draw_nextstatic longnnk__next(long ctx, long cmd)Unsafe version of:_nextstatic intnnk_begin(long ctx, long title, long bounds, int flags)Unsafe version of:beginstatic intnnk_begin_titled(long ctx, long name, long title, long bounds, int flags)Unsafe version of:begin_titledstatic voidnnk_buffer_clear(long buffer)static voidnnk_buffer_free(long buffer)static voidnnk_buffer_info(long status, long buffer)static voidnnk_buffer_init(long buffer, long allocator, long size)static voidnnk_buffer_init_fixed(long buffer, long memory, long size)static voidnnk_buffer_mark(long buffer, int type)Unsafe version of:buffer_markstatic longnnk_buffer_memory(long buffer)static longnnk_buffer_memory_const(long buffer)static voidnnk_buffer_push(long buffer, int type, long memory, long size, long align)Unsafe version of:buffer_pushstatic voidnnk_buffer_reset(long buffer, int type)Unsafe version of:buffer_resetstatic longnnk_buffer_total(long buffer)static intnnk_button_color(long ctx, long color)Unsafe version of:button_colorstatic intnnk_button_image(long ctx, long img)Unsafe version of:button_imagestatic intnnk_button_image_label(long ctx, long img, long text, int text_alignment)Unsafe version of:button_image_labelstatic intnnk_button_image_label_styled(long ctx, long style, long img, long title, int text_alignment)Unsafe version of:button_image_label_styledstatic intnnk_button_image_styled(long ctx, long style, long img)Unsafe version of:button_image_styledstatic intnnk_button_image_text(long ctx, long img, long text, int len, int alignment)Unsafe version of:button_image_textstatic intnnk_button_image_text_styled(long ctx, long style, long img, long title, int len, int alignment)Unsafe version of:button_image_text_styledstatic intnnk_button_label(long ctx, long title)Unsafe version of:button_labelstatic intnnk_button_label_styled(long ctx, long style, long title)Unsafe version of:button_label_styledstatic intnnk_button_pop_behavior(long ctx)Unsafe version of:button_pop_behaviorstatic intnnk_button_push_behavior(long ctx, int behavior)Unsafe version of:button_push_behaviorstatic voidnnk_button_set_behavior(long ctx, int behavior)Unsafe version of:button_set_behaviorstatic intnnk_button_symbol(long ctx, int symbol)Unsafe version of:button_symbolstatic intnnk_button_symbol_label(long ctx, int symbol, long text, int text_alignment)Unsafe version of:button_symbol_labelstatic intnnk_button_symbol_label_styled(long ctx, long style, int symbol, long title, int text_alignment)Unsafe version of:button_symbol_label_styledstatic intnnk_button_symbol_styled(long ctx, long style, int symbol)Unsafe version of:button_symbol_styledstatic intnnk_button_symbol_text(long ctx, int symbol, long text, int len, int alignment)Unsafe version of:button_symbol_textstatic intnnk_button_symbol_text_styled(long ctx, long style, int symbol, long title, int len, int alignment)Unsafe version of:button_symbol_text_styledstatic intnnk_button_text(long ctx, long title, int len)Unsafe version of:button_textstatic intnnk_button_text_styled(long ctx, long style, long title, int len)Unsafe version of:button_text_styledstatic voidnnk_chart_add_slot(long ctx, int type, int count, float min_value, float max_value)Unsafe version of:chart_add_slotstatic voidnnk_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_coloredstatic intnnk_chart_begin(long ctx, int type, int num, float min, float max)Unsafe version of:chart_beginstatic intnnk_chart_begin_colored(long ctx, int type, long color, long active, int num, float min, float max)Unsafe version of:chart_begin_coloredstatic voidnnk_chart_end(long ctx)Unsafe version of:chart_endstatic intnnk_chart_push(long ctx, float value)Unsafe version of:chart_pushstatic intnnk_chart_push_slot(long ctx, float value, int slot)Unsafe version of:chart_push_slotstatic intnnk_check_flags_label(long ctx, long str, int flags, int value)Unsafe version of:check_flags_labelstatic intnnk_check_flags_text(long ctx, long str, int len, int flags, int value)Unsafe version of:check_flags_textstatic intnnk_check_label(long ctx, long str, int active)Unsafe version of:check_labelstatic intnnk_check_text(long ctx, long str, int len, int active)Unsafe version of:check_textstatic intnnk_checkbox_flags_label(long ctx, long str, int[] flags, int value)Array version of:nnk_checkbox_flags_label(long, long, long, int)static intnnk_checkbox_flags_label(long ctx, long str, long flags, int value)Unsafe version of:checkbox_flags_labelstatic intnnk_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 intnnk_checkbox_flags_text(long ctx, long str, int len, long flags, int value)Unsafe version of:checkbox_flags_textstatic intnnk_checkbox_label(long ctx, long str, int[] active)Array version of:nnk_checkbox_label(long, long, long)static intnnk_checkbox_label(long ctx, long str, long active)Unsafe version of:checkbox_labelstatic intnnk_checkbox_text(long ctx, long str, int len, int[] active)Array version of:nnk_checkbox_text(long, long, int, long)static intnnk_checkbox_text(long ctx, long str, int len, long active)Unsafe version of:checkbox_textstatic voidnnk_clear(long ctx)Unsafe version of:clearstatic voidnnk_color_cf(long color, long __result)static voidnnk_color_d(double[] r, double[] g, double[] b, double[] a, long color)Array version of:nnk_color_d(long, long, long, long, long)static voidnnk_color_d(long r, long g, long b, long a, long color)static voidnnk_color_dv(double[] rgba_out, long color)Array version of:nnk_color_dv(long, long)static voidnnk_color_dv(long rgba_out, long color)static voidnnk_color_f(float[] r, float[] g, float[] b, float[] a, long color)Array version of:nnk_color_f(long, long, long, long, long)static voidnnk_color_f(long r, long g, long b, long a, long color)static voidnnk_color_fv(float[] rgba_out, long color)Array version of:nnk_color_fv(long, long)static voidnnk_color_fv(long rgba_out, long color)static voidnnk_color_hex_rgb(long output, long color)static voidnnk_color_hex_rgba(long output, long color)static voidnnk_color_hsv_b(long out_h, long out_s, long out_v, long color)static voidnnk_color_hsv_bv(long hsv_out, long color)static voidnnk_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 voidnnk_color_hsv_f(long out_h, long out_s, long out_v, long color)static voidnnk_color_hsv_fv(float[] hsv_out, long color)Array version of:nnk_color_hsv_fv(long, long)static voidnnk_color_hsv_fv(long hsv_out, long color)static voidnnk_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 voidnnk_color_hsv_i(long out_h, long out_s, long out_v, long color)static voidnnk_color_hsv_iv(int[] hsv_out, long color)Array version of:nnk_color_hsv_iv(long, long)static voidnnk_color_hsv_iv(long hsv_out, long color)static voidnnk_color_hsva_b(long h, long s, long v, long a, long color)static voidnnk_color_hsva_bv(long hsva_out, long color)static voidnnk_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 voidnnk_color_hsva_f(long out_h, long out_s, long out_v, long out_a, long color)static voidnnk_color_hsva_fv(float[] hsva_out, long color)Array version of:nnk_color_hsva_fv(long, long)static voidnnk_color_hsva_fv(long hsva_out, long color)static voidnnk_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 voidnnk_color_hsva_i(long h, long s, long v, long a, long color)static voidnnk_color_hsva_iv(int[] hsva_out, long color)Array version of:nnk_color_hsva_iv(long, long)static voidnnk_color_hsva_iv(long hsva_out, long color)static intnnk_color_pick(long ctx, long color, int fmt)Unsafe version of:color_pickstatic voidnnk_color_picker(long ctx, long color, int fmt)Unsafe version of:color_pickerstatic intnnk_color_u32(long color)static voidnnk_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 voidnnk_colorf_hsva_f(long out_h, long out_s, long out_v, long out_a, long in)static voidnnk_colorf_hsva_fv(float[] hsva, long in)Array version of:nnk_colorf_hsva_fv(long, long)static voidnnk_colorf_hsva_fv(long hsva, long in)static intnnk_combo(long ctx, long items, int count, int selected, int item_height, long size)Unsafe version of:combostatic intnnk_combo_begin_color(long ctx, long color, long size)Unsafe version of:combo_begin_colorstatic intnnk_combo_begin_image(long ctx, long img, long size)Unsafe version of:combo_begin_imagestatic intnnk_combo_begin_image_label(long ctx, long selected, long img, long size)Unsafe version of:combo_begin_image_labelstatic intnnk_combo_begin_image_text(long ctx, long selected, int len, long img, long size)Unsafe version of:combo_begin_image_textstatic intnnk_combo_begin_label(long ctx, long selected, long size)Unsafe version of:combo_begin_labelstatic intnnk_combo_begin_symbol(long ctx, int symbol, long size)Unsafe version of:combo_begin_symbolstatic intnnk_combo_begin_symbol_label(long ctx, long selected, int symbol, long size)Unsafe version of:combo_begin_symbol_labelstatic intnnk_combo_begin_symbol_text(long ctx, long selected, int len, int symbol, long size)Unsafe version of:combo_begin_symbol_textstatic intnnk_combo_begin_text(long ctx, long selected, int len, long size)Unsafe version of:combo_begin_textstatic intnnk_combo_callback(long ctx, long item_getter, long userdata, int selected, int count, int item_height, long size)Unsafe version of:combo_callbackstatic voidnnk_combo_close(long ctx)Unsafe version of:combo_closestatic voidnnk_combo_end(long ctx)Unsafe version of:combo_endstatic intnnk_combo_item_image_label(long ctx, long img, long text, int alignment)Unsafe version of:combo_item_image_labelstatic intnnk_combo_item_image_text(long ctx, long img, long text, int len, int alignment)Unsafe version of:combo_item_image_textstatic intnnk_combo_item_label(long ctx, long text, int alignment)Unsafe version of:combo_item_labelstatic intnnk_combo_item_symbol_label(long ctx, int symbol, long text, int alignment)Unsafe version of:combo_item_symbol_labelstatic intnnk_combo_item_symbol_text(long ctx, int symbol, long text, int len, int alignment)Unsafe version of:combo_item_symbol_textstatic intnnk_combo_item_text(long ctx, long text, int len, int alignment)Unsafe version of:combo_item_textstatic intnnk_combo_separator(long ctx, long items_separated_by_separator, int separator, int selected, int count, int item_height, long size)Unsafe version of:combo_separatorstatic intnnk_combo_string(long ctx, long items_separated_by_zeros, int selected, int count, int item_height, long size)Unsafe version of:combo_stringstatic voidnnk_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 voidnnk_combobox(long ctx, long items, int count, long selected, int item_height, long size)Unsafe version of:comboboxstatic voidnnk_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 voidnnk_combobox_callback(long ctx, long item_getter, long userdata, long selected, int count, int item_height, long size)Unsafe version of:combobox_callbackstatic voidnnk_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 voidnnk_combobox_separator(long ctx, long items_separated_by_separator, int separator, long selected, int count, int item_height, long size)Unsafe version of:combobox_separatorstatic voidnnk_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 voidnnk_combobox_string(long ctx, long items_separated_by_zeros, long selected, int count, int item_height, long size)Unsafe version of:combobox_stringstatic intnnk_contextual_begin(long ctx, int flags, long size, long trigger_bounds)Unsafe version of:contextual_beginstatic voidnnk_contextual_close(long ctx)Unsafe version of:contextual_closestatic voidnnk_contextual_end(long ctx)Unsafe version of:contextual_endstatic intnnk_contextual_item_image_label(long ctx, long img, long text, int alignment)Unsafe version of:contextual_item_image_labelstatic intnnk_contextual_item_image_text(long ctx, long img, long text, int len, int alignment)Unsafe version of:contextual_item_image_textstatic intnnk_contextual_item_label(long ctx, long text, int align)Unsafe version of:contextual_item_labelstatic intnnk_contextual_item_symbol_label(long ctx, int symbol, long text, int alignment)Unsafe version of:contextual_item_symbol_labelstatic intnnk_contextual_item_symbol_text(long ctx, int symbol, long text, int len, int alignment)Unsafe version of:contextual_item_symbol_textstatic intnnk_contextual_item_text(long ctx, long text, int len, int align)Unsafe version of:contextual_item_textstatic intnnk_convert(long ctx, long cmds, long vertices, long elements, long config)Unsafe version of:convertstatic voidnnk_draw_image(long b, long rect, long img, long color)static voidnnk_draw_list_add_image(long list, long texture, long rect, long color)static voidnnk_draw_list_add_text(long list, long font, long rect, long text, int len, float font_height, long color)static voidnnk_draw_list_fill_circle(long list, long center, float radius, long col, int segs)static voidnnk_draw_list_fill_poly_convex(long list, long points, int count, long color, int aliasing)Unsafe version of:draw_list_fill_poly_convexstatic voidnnk_draw_list_fill_rect(long list, long rect, long color, float rounding)static voidnnk_draw_list_fill_rect_multi_color(long list, long rect, long left, long top, long right, long bottom)static voidnnk_draw_list_fill_triangle(long list, long a, long b, long c, long color)static voidnnk_draw_list_init(long list)static voidnnk_draw_list_path_arc_to(long list, long center, float radius, float a_min, float a_max, int segments)static voidnnk_draw_list_path_arc_to_fast(long list, long center, float radius, int a_min, int a_max)static voidnnk_draw_list_path_clear(long list)static voidnnk_draw_list_path_curve_to(long list, long p2, long p3, long p4, int num_segments)static voidnnk_draw_list_path_fill(long list, long color)static voidnnk_draw_list_path_line_to(long list, long pos)static voidnnk_draw_list_path_rect_to(long list, long a, long b, float rounding)static voidnnk_draw_list_path_stroke(long list, long color, int closed, float thickness)Unsafe version of:draw_list_path_strokestatic voidnnk_draw_list_push_userdata(long list, long userdata)static voidnnk_draw_list_setup(long canvas, long config, long cmds, long vertices, long elements, int line_aa, int shape_aa)static voidnnk_draw_list_stroke_circle(long list, long center, float radius, long color, int segs, float thickness)static voidnnk_draw_list_stroke_curve(long list, long p0, long cp0, long cp1, long p1, long color, int segments, float thickness)static voidnnk_draw_list_stroke_line(long list, long a, long b, long color, float thickness)static voidnnk_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_linestatic voidnnk_draw_list_stroke_rect(long list, long rect, long color, float rounding, float thickness)static voidnnk_draw_list_stroke_triangle(long list, long a, long b, long c, long color, float thickness)static voidnnk_draw_text(long b, long rect, long string, int length, long font, long bg, long fg)static intnnk_edit_buffer(long ctx, int flags, long edit, long filter)Unsafe version of:edit_bufferstatic voidnnk_edit_focus(long ctx, int flags)Unsafe version of:edit_focusstatic intnnk_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 intnnk_edit_string(long ctx, int flags, long memory, long len, int max, long filter)Unsafe version of:edit_stringstatic intnnk_edit_string_zero_terminated(long ctx, int flags, long buffer, int max, long filter)Unsafe version of:edit_string_zero_terminatedstatic voidnnk_edit_unfocus(long ctx)Unsafe version of:edit_unfocusstatic voidnnk_end(long ctx)Unsafe version of:endstatic voidnnk_fill_arc(long b, float cx, float cy, float radius, float a_min, float a_max, long color)static voidnnk_fill_circle(long b, long rect, long color)static voidnnk_fill_polygon(long b, float[] points, int point_count, long color)Array version of:nnk_fill_polygon(long, long, int, long)static voidnnk_fill_polygon(long b, long points, int point_count, long color)static voidnnk_fill_rect(long b, long rect, float rounding, long color)static voidnnk_fill_rect_multi_color(long b, long rect, long left, long top, long right, long bottom)static voidnnk_fill_triangle(long b, float x0, float y0, float x1, float y1, float x2, float y2, long color)static intnnk_filter_ascii(long edit, int unicode)static intnnk_filter_binary(long edit, int unicode)static intnnk_filter_decimal(long edit, int unicode)static intnnk_filter_default(long edit, int unicode)static intnnk_filter_float(long edit, int unicode)static intnnk_filter_hex(long edit, int unicode)static intnnk_filter_oct(long edit, int unicode)static voidnnk_free(long ctx)Unsafe version of:freestatic voidnnk_get_null_rect(long __result)static intnnk_group_begin(long ctx, long title, int flags)Unsafe version of:group_beginstatic intnnk_group_begin_titled(long ctx, long name, long title, int flags)Unsafe version of:group_begin_titledstatic voidnnk_group_end(long ctx)Unsafe version of:group_endstatic intnnk_group_scrolled_begin(long ctx, long scroll, long title, int flags)Unsafe version of:group_scrolled_beginstatic voidnnk_group_scrolled_end(long ctx)Unsafe version of:group_scrolled_endstatic intnnk_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 intnnk_group_scrolled_offset_begin(long ctx, long x_offset, long y_offset, long title, int flags)Unsafe version of:group_scrolled_offset_beginstatic voidnnk_handle_id(int id, long __result)static voidnnk_handle_ptr(long ptr, long __result)static voidnnk_hsv(int h, int s, int v, long __result)static voidnnk_hsv_bv(long hsv, long __result)static voidnnk_hsv_f(float h, float s, float v, long __result)static voidnnk_hsv_fv(float[] hsv, long __result)Array version of:nnk_hsv_fv(long, long)static voidnnk_hsv_fv(long hsv, long __result)static voidnnk_hsv_iv(int[] hsv, long __result)Array version of:nnk_hsv_iv(long, long)static voidnnk_hsv_iv(long hsv, long __result)static voidnnk_hsva(int h, int s, int v, int a, long __result)static voidnnk_hsva_bv(long hsva, long __result)static voidnnk_hsva_colorf(float h, float s, float v, float a, long __result)static voidnnk_hsva_colorfv(float[] c, long __result)Array version of:nnk_hsva_colorfv(long, long)static voidnnk_hsva_colorfv(long c, long __result)static voidnnk_hsva_f(float h, float s, float v, float a, long __result)static voidnnk_hsva_fv(float[] hsva, long __result)Array version of:nnk_hsva_fv(long, long)static voidnnk_hsva_fv(long hsva, long __result)static voidnnk_hsva_iv(int[] hsva, long __result)Array version of:nnk_hsva_iv(long, long)static voidnnk_hsva_iv(long hsva, long __result)static voidnnk_image(long ctx, long img)Unsafe version of:imagestatic voidnnk_image_color(long ctx, long img, long color)Unsafe version of:image_colorstatic voidnnk_image_handle(long handle, long __result)static voidnnk_image_id(int id, long __result)static intnnk_image_is_subimage(long img)static voidnnk_image_ptr(long ptr, long __result)static intnnk_init(long ctx, long allocator, long font)Unsafe version of:initstatic intnnk_init_custom(long ctx, long cmds, long pool, long font)Unsafe version of:init_customstatic intnnk_init_fixed(long ctx, long memory, long size, long font)Unsafe version of:init_fixedstatic intnnk_input_any_mouse_click_in_rect(long i, long rect)static voidnnk_input_begin(long ctx)Unsafe version of:input_beginstatic voidnnk_input_button(long ctx, int id, int x, int y, int down)Unsafe version of:input_buttonstatic voidnnk_input_char(long ctx, byte c)Unsafe version of:input_charstatic voidnnk_input_end(long ctx)Unsafe version of:input_endstatic voidnnk_input_glyph(long ctx, long glyph)Unsafe version of:input_glyphstatic intnnk_input_has_mouse_click(long i, int id)Unsafe version of:input_has_mouse_clickstatic intnnk_input_has_mouse_click_down_in_rect(long i, int id, long rect, int down)Unsafe version of:input_has_mouse_click_down_in_rectstatic intnnk_input_has_mouse_click_in_rect(long i, int id, long rect)Unsafe version of:input_has_mouse_click_in_rectstatic intnnk_input_is_key_down(long i, int key)Unsafe version of:input_is_key_downstatic intnnk_input_is_key_pressed(long i, int key)Unsafe version of:input_is_key_pressedstatic intnnk_input_is_key_released(long i, int key)Unsafe version of:input_is_key_releasedstatic intnnk_input_is_mouse_click_down_in_rect(long i, int id, long b, int down)Unsafe version of:input_is_mouse_click_down_in_rectstatic intnnk_input_is_mouse_click_in_rect(long i, int id, long rect)Unsafe version of:input_is_mouse_click_in_rectstatic intnnk_input_is_mouse_down(long i, int id)Unsafe version of:input_is_mouse_downstatic intnnk_input_is_mouse_hovering_rect(long i, long rect)static intnnk_input_is_mouse_pressed(long i, int id)Unsafe version of:input_is_mouse_pressedstatic intnnk_input_is_mouse_prev_hovering_rect(long i, long rect)static intnnk_input_is_mouse_released(long i, int id)Unsafe version of:input_is_mouse_releasedstatic voidnnk_input_key(long ctx, int key, int down)Unsafe version of:input_keystatic voidnnk_input_motion(long ctx, int x, int y)Unsafe version of:input_motionstatic intnnk_input_mouse_clicked(long i, int id, long rect)Unsafe version of:input_mouse_clickedstatic voidnnk_input_scroll(long ctx, long val)Unsafe version of:input_scrollstatic voidnnk_input_unicode(long ctx, int unicode)Unsafe version of:input_unicodestatic intnnk_item_is_any_active(long ctx)Unsafe version of:item_is_any_activestatic voidnnk_label(long ctx, long str, int align)Unsafe version of:labelstatic voidnnk_label_colored(long ctx, long str, int align, long color)Unsafe version of:label_coloredstatic voidnnk_label_colored_wrap(long ctx, long str, long color)Unsafe version of:label_colored_wrapstatic voidnnk_label_wrap(long ctx, long str)Unsafe version of:label_wrapstatic floatnnk_layout_ratio_from_pixel(long ctx, float pixel_width)Unsafe version of:layout_ratio_from_pixelstatic voidnnk_layout_reset_min_row_height(long ctx)Unsafe version of:layout_reset_min_row_heightstatic voidnnk_layout_row(long ctx, int fmt, float height, int cols, float[] ratio)Array version of:nnk_layout_row(long, int, float, int, long)static voidnnk_layout_row(long ctx, int fmt, float height, int cols, long ratio)Unsafe version of:layout_rowstatic voidnnk_layout_row_begin(long ctx, int fmt, float row_height, int cols)Unsafe version of:layout_row_beginstatic voidnnk_layout_row_dynamic(long ctx, float height, int cols)Unsafe version of:layout_row_dynamicstatic voidnnk_layout_row_end(long ctx)Unsafe version of:layout_row_endstatic voidnnk_layout_row_push(long ctx, float value)Unsafe version of:layout_row_pushstatic voidnnk_layout_row_static(long ctx, float height, int item_width, int cols)Unsafe version of:layout_row_staticstatic voidnnk_layout_row_template_begin(long ctx, float height)Unsafe version of:layout_row_template_beginstatic voidnnk_layout_row_template_end(long ctx)Unsafe version of:layout_row_template_endstatic voidnnk_layout_row_template_push_dynamic(long ctx)Unsafe version of:layout_row_template_push_dynamicstatic voidnnk_layout_row_template_push_static(long ctx, float width)Unsafe version of:layout_row_template_push_staticstatic voidnnk_layout_row_template_push_variable(long ctx, float min_width)Unsafe version of:layout_row_template_push_variablestatic voidnnk_layout_set_min_row_height(long ctx, float height)Unsafe version of:layout_set_min_row_heightstatic voidnnk_layout_space_begin(long ctx, int fmt, float height, int widget_count)Unsafe version of:layout_space_beginstatic voidnnk_layout_space_bounds(long ctx, long __result)Unsafe version of:layout_space_boundsstatic voidnnk_layout_space_end(long ctx)Unsafe version of:layout_space_endstatic voidnnk_layout_space_push(long ctx, long rect)Unsafe version of:layout_space_pushstatic voidnnk_layout_space_rect_to_local(long ctx, long ret)Unsafe version of:layout_space_rect_to_localstatic voidnnk_layout_space_rect_to_screen(long ctx, long ret)Unsafe version of:layout_space_rect_to_screenstatic voidnnk_layout_space_to_local(long ctx, long ret)Unsafe version of:layout_space_to_localstatic voidnnk_layout_space_to_screen(long ctx, long ret)Unsafe version of:layout_space_to_screenstatic voidnnk_layout_widget_bounds(long ctx, long __result)Unsafe version of:layout_widget_boundsstatic intnnk_list_view_begin(long ctx, long view, long title, int flags, int row_height, int row_count)Unsafe version of:list_view_beginstatic voidnnk_list_view_end(long view)static intnnk_menu_begin_image(long ctx, long text, long img, long size)Unsafe version of:menu_begin_imagestatic intnnk_menu_begin_image_label(long ctx, long text, int align, long img, long size)Unsafe version of:menu_begin_image_labelstatic intnnk_menu_begin_image_text(long ctx, long text, int len, int align, long img, long size)Unsafe version of:menu_begin_image_textstatic intnnk_menu_begin_label(long ctx, long text, int align, long size)Unsafe version of:menu_begin_labelstatic intnnk_menu_begin_symbol(long ctx, long text, int symbol, long size)Unsafe version of:menu_begin_symbolstatic intnnk_menu_begin_symbol_label(long ctx, long text, int align, int symbol, long size)Unsafe version of:menu_begin_symbol_labelstatic intnnk_menu_begin_symbol_text(long ctx, long text, int len, int align, int symbol, long size)Unsafe version of:menu_begin_symbol_textstatic intnnk_menu_begin_text(long ctx, long text, int len, int align, long size)Unsafe version of:menu_begin_textstatic voidnnk_menu_close(long ctx)Unsafe version of:menu_closestatic voidnnk_menu_end(long ctx)Unsafe version of:menu_endstatic intnnk_menu_item_image_label(long ctx, long img, long text, int alignment)Unsafe version of:menu_item_image_labelstatic intnnk_menu_item_image_text(long ctx, long img, long text, int len, int alignment)Unsafe version of:menu_item_image_textstatic intnnk_menu_item_label(long ctx, long text, int alignment)Unsafe version of:menu_item_labelstatic intnnk_menu_item_symbol_label(long ctx, int symbol, long text, int alignment)Unsafe version of:menu_item_symbol_labelstatic intnnk_menu_item_symbol_text(long ctx, int symbol, long text, int len, int alignment)Unsafe version of:menu_item_symbol_textstatic intnnk_menu_item_text(long ctx, long text, int len, int align)Unsafe version of:menu_item_textstatic voidnnk_menubar_begin(long ctx)Unsafe version of:menubar_beginstatic voidnnk_menubar_end(long ctx)Unsafe version of:menubar_endstatic intnnk_murmur_hash(long key, int len, int seed)static intnnk_option_label(long ctx, long str, int active)Unsafe version of:option_labelstatic intnnk_option_text(long ctx, long str, int len, int active)Unsafe version of:option_textstatic voidnnk_plot(long ctx, int type, float[] values, int count, int offset)Array version of:nnk_plot(long, int, long, int, int)static voidnnk_plot(long ctx, int type, long values, int count, int offset)Unsafe version of:plotstatic voidnnk_plot_function(long ctx, int type, long userdata, long value_getter, int count, int offset)Unsafe version of:plot_functionstatic intnnk_popup_begin(long ctx, int type, long title, int flags, long rect)Unsafe version of:popup_beginstatic voidnnk_popup_close(long ctx)Unsafe version of:popup_closestatic voidnnk_popup_end(long ctx)Unsafe version of:popup_endstatic longnnk_prog(long ctx, long cur, long max, int modifyable)Unsafe version of:progstatic intnnk_progress(long ctx, long cur, long max, int modifyable)Unsafe version of:progressstatic voidnnk_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 voidnnk_property_double(long ctx, long name, double min, long val, double max, double step, float inc_per_pixel)Unsafe version of:property_doublestatic voidnnk_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 voidnnk_property_float(long ctx, long name, float min, long val, float max, float step, float inc_per_pixel)Unsafe version of:property_floatstatic voidnnk_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 voidnnk_property_int(long ctx, long name, int min, long val, int max, int step, float inc_per_pixel)Unsafe version of:property_intstatic doublennk_propertyd(long ctx, long name, double min, double val, double max, double step, float inc_per_pixel)Unsafe version of:propertydstatic floatnnk_propertyf(long ctx, long name, float min, float val, float max, float step, float inc_per_pixel)Unsafe version of:propertyfstatic intnnk_propertyi(long ctx, long name, int min, int val, int max, int step, float inc_per_pixel)Unsafe version of:propertyistatic voidnnk_push_custom(long b, long rect, long callback, long usr)static voidnnk_push_scissor(long b, long rect)static intnnk_radio_label(long ctx, long str, int[] active)Array version of:nnk_radio_label(long, long, long)static intnnk_radio_label(long ctx, long str, long active)Unsafe version of:radio_labelstatic intnnk_radio_text(long ctx, long str, int len, int[] active)Array version of:nnk_radio_text(long, long, int, long)static intnnk_radio_text(long ctx, long str, int len, long active)Unsafe version of:radio_textstatic voidnnk_rect(float x, float y, float w, float h, long __result)static voidnnk_rect_pos(long r, long __result)static voidnnk_rect_size(long r, long __result)static voidnnk_recta(long pos, long size, long __result)static voidnnk_recti(int x, int y, int w, int h, long __result)static voidnnk_rectiv(int[] xywh, long __result)Array version of:nnk_rectiv(long, long)static voidnnk_rectiv(long xywh, long __result)static voidnnk_rectv(float[] xywh, long __result)Array version of:nnk_rectv(long, long)static voidnnk_rectv(long xywh, long __result)static voidnnk_rgb(int r, int g, int b, long __result)static voidnnk_rgb_bv(long rgb, long __result)static voidnnk_rgb_cf(long c, long __result)static voidnnk_rgb_f(float r, float g, float b, long __result)static voidnnk_rgb_fv(float[] rgb, long __result)Array version of:nnk_rgb_fv(long, long)static voidnnk_rgb_fv(long rgb, long __result)static voidnnk_rgb_hex(long rgb, long __result)static voidnnk_rgb_iv(int[] rgb, long __result)Array version of:nnk_rgb_iv(long, long)static voidnnk_rgb_iv(long rgb, long __result)static voidnnk_rgba(int r, int g, int b, int a, long __result)static voidnnk_rgba_bv(long rgba, long __result)static voidnnk_rgba_cf(long c, long __result)static voidnnk_rgba_f(float r, float g, float b, float a, long __result)static voidnnk_rgba_fv(float[] rgba, long __result)Array version of:nnk_rgba_fv(long, long)static voidnnk_rgba_fv(long rgba, long __result)static voidnnk_rgba_hex(long rgba, long __result)static voidnnk_rgba_iv(int[] rgba, long __result)Array version of:nnk_rgba_iv(long, long)static voidnnk_rgba_iv(long rgba, long __result)static voidnnk_rgba_u32(int in, long __result)static intnnk_select_image_label(long ctx, long img, long str, int align, int value)Unsafe version of:select_image_labelstatic intnnk_select_image_text(long ctx, long img, long str, int len, int align, int value)Unsafe version of:select_image_textstatic intnnk_select_label(long ctx, long str, int align, int value)Unsafe version of:select_labelstatic intnnk_select_symbol_label(long ctx, int symbol, long str, int align, int value)Unsafe version of:select_symbol_labelstatic intnnk_select_symbol_text(long ctx, int symbol, long str, int len, int align, int value)Unsafe version of:select_symbol_textstatic intnnk_select_text(long ctx, long str, int len, int align, int value)Unsafe version of:select_textstatic intnnk_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 intnnk_selectable_image_label(long ctx, long img, long str, int align, long value)Unsafe version of:selectable_image_labelstatic intnnk_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 intnnk_selectable_image_text(long ctx, long img, long str, int len, int align, long value)Unsafe version of:selectable_image_textstatic intnnk_selectable_label(long ctx, long str, int align, int[] value)Array version of:nnk_selectable_label(long, long, int, long)static intnnk_selectable_label(long ctx, long str, int align, long value)Unsafe version of:selectable_labelstatic intnnk_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 intnnk_selectable_symbol_label(long ctx, int symbol, long str, int align, long value)Unsafe version of:selectable_symbol_labelstatic intnnk_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 intnnk_selectable_symbol_text(long ctx, int symbol, long str, int len, int align, long value)Unsafe version of:selectable_symbol_textstatic intnnk_selectable_text(long ctx, long str, int len, int align, int[] value)Array version of:nnk_selectable_text(long, long, int, int, long)static intnnk_selectable_text(long ctx, long str, int len, int align, long value)Unsafe version of:selectable_textstatic voidnnk_set_user_data(long ctx, long handle)Unsafe version of:set_user_datastatic floatnnk_slide_float(long ctx, float min, float val, float max, float step)Unsafe version of:slide_floatstatic intnnk_slide_int(long ctx, int min, int val, int max, int step)Unsafe version of:slide_intstatic intnnk_slider_float(long ctx, float min, float[] val, float max, float step)Array version of:nnk_slider_float(long, float, long, float, float)static intnnk_slider_float(long ctx, float min, long val, float max, float step)Unsafe version of:slider_floatstatic intnnk_slider_int(long ctx, int min, int[] val, int max, int step)Array version of:nnk_slider_int(long, int, long, int, int)static intnnk_slider_int(long ctx, int min, long val, int max, int step)Unsafe version of:slider_intstatic voidnnk_spacing(long ctx, int cols)Unsafe version of:spacingstatic intnnk_str_append_str_char(long s, long str)static intnnk_str_append_str_runes(long s, int[] runes)Array version of:nnk_str_append_str_runes(long, long)static intnnk_str_append_str_runes(long s, long runes)static intnnk_str_append_str_utf8(long s, long str)static intnnk_str_append_text_char(long s, long str, int len)static intnnk_str_append_text_runes(long s, int[] runes, int len)Array version of:nnk_str_append_text_runes(long, long, int)static intnnk_str_append_text_runes(long s, long runes, int len)static intnnk_str_append_text_utf8(long s, long str, int len)static longnnk_str_at_char(long s, int pos)static longnnk_str_at_char_const(long s, int pos)static longnnk_str_at_const(long s, int pos, int[] unicode, long len)Array version of:nnk_str_at_const(long, int, long, long)static longnnk_str_at_const(long s, int pos, long unicode, long len)static longnnk_str_at_rune(long s, int pos, int[] unicode, long len)Array version of:nnk_str_at_rune(long, int, long, long)static longnnk_str_at_rune(long s, int pos, long unicode, long len)static voidnnk_str_clear(long str)static voidnnk_str_delete_chars(long s, int pos, int len)static voidnnk_str_delete_runes(long s, int pos, int len)static voidnnk_str_free(long str)static longnnk_str_get(long s)static longnnk_str_get_const(long s)static voidnnk_str_init(long str, long allocator, long size)static voidnnk_str_init_fixed(long str, long memory, long size)static intnnk_str_insert_at_char(long s, int pos, long str, int len)static intnnk_str_insert_at_rune(long s, int pos, long str, int len)static intnnk_str_insert_str_char(long s, int pos, long str)static intnnk_str_insert_str_runes(long s, int pos, int[] runes)Array version of:nnk_str_insert_str_runes(long, int, long)static intnnk_str_insert_str_runes(long s, int pos, long runes)static intnnk_str_insert_str_utf8(long s, int pos, long str)static intnnk_str_insert_text_char(long s, int pos, long str, int len)static intnnk_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 intnnk_str_insert_text_runes(long s, int pos, long runes, int len)static intnnk_str_insert_text_utf8(long s, int pos, long str, int len)static intnnk_str_len(long s)static intnnk_str_len_char(long s)static voidnnk_str_remove_chars(long s, int len)static voidnnk_str_remove_runes(long str, int len)static intnnk_str_rune_at(long s, int pos)static intnnk_strfilter(long str, long regexp)Unsafe version of:strfilterstatic intnnk_stricmp(long s1, long s2)static intnnk_stricmpn(long s1, long s2, int n)static intnnk_strlen(long str)static intnnk_strmatch_fuzzy_string(long str, long pattern, int[] out_score)Array version of:nnk_strmatch_fuzzy_string(long, long, long)static intnnk_strmatch_fuzzy_string(long str, long pattern, long out_score)Unsafe version of:strmatch_fuzzy_stringstatic intnnk_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 intnnk_strmatch_fuzzy_text(long txt, int txt_len, long pattern, long out_score)static voidnnk_stroke_arc(long b, float cx, float cy, float radius, float a_min, float a_max, float line_thickness, long color)static voidnnk_stroke_circle(long b, long rect, float line_thickness, long color)static voidnnk_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 voidnnk_stroke_line(long b, float x0, float y0, float x1, float y1, float line_thickness, long color)static voidnnk_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 voidnnk_stroke_polygon(long b, long points, int point_count, float line_thickness, long color)static voidnnk_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 voidnnk_stroke_polyline(long b, long points, int point_count, float line_thickness, long col)static voidnnk_stroke_rect(long b, long rect, float rounding, float line_thickness, long color)static voidnnk_stroke_triangle(long b, float x0, float y0, float x1, float y1, float x2, float y2, float line_thichness, long color)static doublennk_strtod(long str, long endptr)static floatnnk_strtof(long str, long endptr)static intnnk_strtoi(long str, long endptr)static voidnnk_style_default(long ctx)Unsafe version of:style_defaultstatic voidnnk_style_from_table(long ctx, long table)Unsafe version of:style_from_tablestatic longnnk_style_get_color_by_name(int c)Unsafe version of:style_get_color_by_namestatic voidnnk_style_hide_cursor(long ctx)Unsafe version of:style_hide_cursorstatic voidnnk_style_item_color(long color, long __result)static voidnnk_style_item_hide(long __result)static voidnnk_style_item_image(long img, long __result)static voidnnk_style_load_all_cursors(long ctx, long cursors)Unsafe version of:style_load_all_cursorsstatic voidnnk_style_load_cursor(long ctx, int style, long cursor)Unsafe version of:style_load_cursorstatic intnnk_style_pop_color(long ctx)Unsafe version of:style_pop_colorstatic intnnk_style_pop_flags(long ctx)Unsafe version of:style_pop_flagsstatic intnnk_style_pop_float(long ctx)Unsafe version of:style_pop_floatstatic intnnk_style_pop_font(long ctx)Unsafe version of:style_pop_fontstatic intnnk_style_pop_style_item(long ctx)Unsafe version of:style_pop_style_itemstatic intnnk_style_pop_vec2(long ctx)Unsafe version of:style_pop_vec2static intnnk_style_push_color(long ctx, long address, long value)Unsafe version of:style_push_colorstatic intnnk_style_push_flags(long ctx, int[] address, int value)Array version of:nnk_style_push_flags(long, long, int)static intnnk_style_push_flags(long ctx, long address, int value)Unsafe version of:style_push_flagsstatic intnnk_style_push_float(long ctx, float[] address, float value)Array version of:nnk_style_push_float(long, long, float)static intnnk_style_push_float(long ctx, long address, float value)Unsafe version of:style_push_floatstatic intnnk_style_push_font(long ctx, long font)Unsafe version of:style_push_fontstatic intnnk_style_push_style_item(long ctx, long address, long value)Unsafe version of:style_push_style_itemstatic intnnk_style_push_vec2(long ctx, long address, long value)Unsafe version of:style_push_vec2static intnnk_style_set_cursor(long ctx, int style)Unsafe version of:style_set_cursorstatic voidnnk_style_set_font(long ctx, long font)Unsafe version of:style_set_fontstatic voidnnk_style_show_cursor(long ctx)Unsafe version of:style_show_cursorstatic voidnnk_subimage_handle(long handle, short w, short h, long sub_region, long __result)static voidnnk_subimage_id(int id, short w, short h, long sub_region, long __result)static voidnnk_subimage_ptr(long ptr, short w, short h, long sub_region, long __result)static voidnnk_text(long ctx, long str, int len, int alignment)Unsafe version of:textstatic voidnnk_text_colored(long ctx, long str, int len, int alignment, long color)Unsafe version of:text_coloredstatic voidnnk_text_wrap(long ctx, long str, int len)Unsafe version of:text_wrapstatic voidnnk_text_wrap_colored(long ctx, long str, int len, long color)Unsafe version of:text_wrap_coloredstatic intnnk_textedit_cut(long box)static voidnnk_textedit_delete(long box, int where, int len)static voidnnk_textedit_delete_selection(long box)static voidnnk_textedit_free(long box)static voidnnk_textedit_init(long box, long allocator, long size)static voidnnk_textedit_init_fixed(long box, long memory, long size)static intnnk_textedit_paste(long box, long ctext, int len)static voidnnk_textedit_redo(long box)static voidnnk_textedit_select_all(long box)static voidnnk_textedit_text(long box, long text, int total_len)static voidnnk_textedit_undo(long box)static voidnnk_tooltip(long ctx, long text)Unsafe version of:tooltipstatic intnnk_tooltip_begin(long ctx, float width)Unsafe version of:tooltip_beginstatic voidnnk_tooltip_end(long ctx)Unsafe version of:tooltip_endstatic intnnk_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 intnnk_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_hashedstatic voidnnk_tree_element_pop(long ctx)Unsafe version of:tree_element_popstatic intnnk_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 intnnk_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_hashedstatic intnnk_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_hashedstatic voidnnk_tree_pop(long ctx)Unsafe version of:tree_popstatic intnnk_tree_push_hashed(long ctx, int type, long title, int initial_state, long hash, int len, int seed)Unsafe version of:tree_push_hashedstatic intnnk_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 intnnk_tree_state_image_push(long ctx, int type, long image, long title, long state)Unsafe version of:tree_state_image_pushstatic voidnnk_tree_state_pop(long ctx)Unsafe version of:tree_state_popstatic intnnk_tree_state_push(long ctx, int type, long title, int[] state)Array version of:nnk_tree_state_push(long, int, long, long)static intnnk_tree_state_push(long ctx, int type, long title, long state)Unsafe version of:tree_state_pushstatic voidnnk_triangle_from_direction(long result, long r, float pad_x, float pad_y, int direction)Unsafe version of:triangle_from_directionstatic longnnk_utf_at(long buffer, int length, int index, int[] unicode, long len)Array version of:nnk_utf_at(long, int, int, long, long)static longnnk_utf_at(long buffer, int length, int index, long unicode, long len)static intnnk_utf_decode(long c, int[] u, int clen)Array version of:nnk_utf_decode(long, long, int)static intnnk_utf_decode(long c, long u, int clen)static intnnk_utf_encode(int u, long c, int clen)static intnnk_utf_len(long str, int byte_len)static voidnnk_vec2(float x, float y, long __result)static voidnnk_vec2i(int x, int y, long __result)static voidnnk_vec2iv(int[] xy, long __result)Array version of:nnk_vec2iv(long, long)static voidnnk_vec2iv(long xy, long __result)static voidnnk_vec2v(float[] xy, long __result)Array version of:nnk_vec2v(long, long)static voidnnk_vec2v(long xy, long __result)static intnnk_widget(long bounds, long ctx)Unsafe version of:widgetstatic voidnnk_widget_bounds(long ctx, long __result)Unsafe version of:widget_boundsstatic intnnk_widget_fitting(long bounds, long ctx, long item_padding)Unsafe version of:widget_fittingstatic intnnk_widget_has_mouse_click_down(long ctx, int btn, int down)Unsafe version of:widget_has_mouse_click_downstatic floatnnk_widget_height(long ctx)Unsafe version of:widget_heightstatic intnnk_widget_is_hovered(long ctx)Unsafe version of:widget_is_hoveredstatic intnnk_widget_is_mouse_clicked(long ctx, int btn)Unsafe version of:widget_is_mouse_clickedstatic voidnnk_widget_position(long ctx, long __result)Unsafe version of:widget_positionstatic voidnnk_widget_size(long ctx, long __result)Unsafe version of:widget_sizestatic floatnnk_widget_width(long ctx)Unsafe version of:widget_widthstatic voidnnk_window_close(long ctx, long name)Unsafe version of:window_closestatic voidnnk_window_collapse(long ctx, long name, int c)Unsafe version of:window_collapsestatic voidnnk_window_collapse_if(long ctx, long name, int c, int cond)Unsafe version of:window_collapse_ifstatic longnnk_window_find(long ctx, long name)Unsafe version of:window_findstatic voidnnk_window_get_bounds(long ctx, long __result)Unsafe version of:window_get_boundsstatic longnnk_window_get_canvas(long ctx)Unsafe version of:window_get_canvasstatic voidnnk_window_get_content_region(long ctx, long __result)Unsafe version of:window_get_content_regionstatic voidnnk_window_get_content_region_max(long ctx, long __result)Unsafe version of:window_get_content_region_maxstatic voidnnk_window_get_content_region_min(long ctx, long __result)Unsafe version of:window_get_content_region_minstatic voidnnk_window_get_content_region_size(long ctx, long __result)Unsafe version of:window_get_content_region_sizestatic floatnnk_window_get_height(long ctx)Unsafe version of:window_get_heightstatic longnnk_window_get_panel(long ctx)Unsafe version of:window_get_panelstatic voidnnk_window_get_position(long ctx, long __result)Unsafe version of:window_get_positionstatic voidnnk_window_get_size(long ctx, long __result)Unsafe version of:window_get_sizestatic floatnnk_window_get_width(long ctx)Unsafe version of:window_get_widthstatic intnnk_window_has_focus(long ctx)Unsafe version of:window_has_focusstatic intnnk_window_is_active(long ctx, long name)Unsafe version of:window_is_activestatic intnnk_window_is_any_hovered(long ctx)Unsafe version of:window_is_any_hoveredstatic intnnk_window_is_closed(long ctx, long name)Unsafe version of:window_is_closedstatic intnnk_window_is_collapsed(long ctx, long name)Unsafe version of:window_is_collapsedstatic intnnk_window_is_hidden(long ctx, long name)Unsafe version of:window_is_hiddenstatic intnnk_window_is_hovered(long ctx)Unsafe version of:window_is_hoveredstatic voidnnk_window_set_bounds(long ctx, long name, long bounds)Unsafe version of:window_set_boundsstatic voidnnk_window_set_focus(long ctx, long name)Unsafe version of:window_set_focusstatic voidnnk_window_set_position(long ctx, long name, long position)Unsafe version of:window_set_positionstatic voidnnk_window_set_size(long ctx, long name, long size)Unsafe version of:window_set_sizestatic voidnnk_window_show(long ctx, long name, int s)Unsafe version of:window_showstatic voidnnk_window_show_if(long ctx, long name, int s, int cond)Unsafe version of:window_show_if
-
-
-
Field Detail
-
NK_UTF_INVALID, NK_UTF_SIZE, NK_INPUT_MAX, NK_MAX_NUMBER_BUFFER, NK_UNDEFINED, NK_SCROLLBAR_HIDING_TIMEOUT
Constants.
-
NK_BUTTON_DEFAULT, NK_BUTTON_REPEATER
nk_button_behaviorEnum values:
-
NK_FIXED, NK_MODIFIABLE
nk_modifyEnum values:
-
NK_VERTICAL, NK_HORIZONTAL
nk_orientationEnum values:
-
NK_CHART_LINES, NK_CHART_COLUMN, NK_CHART_MAX
nk_chart_typeEnum values:
-
NK_CHART_HOVERING, NK_CHART_CLICKED
nk_chart_eventEnum values:
-
NK_POPUP_STATIC, NK_POPUP_DYNAMIC
nk_popup_typeEnum values:
-
NK_ANTI_ALIASING_OFF, NK_ANTI_ALIASING_ON
nk_anti_aliasingEnum values:
-
NK_CONVERT_SUCCESS, NK_CONVERT_INVALID_PARAM, NK_CONVERT_COMMAND_BUFFER_FULL, NK_CONVERT_VERTEX_BUFFER_FULL, NK_CONVERT_ELEMENT_BUFFER_FULL
nk_convert_resultEnum values:
-
NK_SYMBOL_NONE, NK_SYMBOL_X, NK_SYMBOL_UNDERSCORE, NK_SYMBOL_CIRCLE_SOLID, NK_SYMBOL_CIRCLE_OUTLINE, NK_SYMBOL_RECT_SOLID, NK_SYMBOL_RECT_OUTLINE, NK_SYMBOL_TRIANGLE_UP, NK_SYMBOL_TRIANGLE_DOWN, NK_SYMBOL_TRIANGLE_LEFT, NK_SYMBOL_TRIANGLE_RIGHT, NK_SYMBOL_PLUS, NK_SYMBOL_MINUS, NK_SYMBOL_MAX
-
NK_KEY_NONE, NK_KEY_SHIFT, NK_KEY_CTRL, NK_KEY_DEL, NK_KEY_ENTER, NK_KEY_TAB, NK_KEY_BACKSPACE, NK_KEY_COPY, NK_KEY_CUT, NK_KEY_PASTE, NK_KEY_UP, NK_KEY_DOWN, NK_KEY_LEFT, NK_KEY_RIGHT, NK_KEY_TEXT_INSERT_MODE, NK_KEY_TEXT_REPLACE_MODE, NK_KEY_TEXT_RESET_MODE, NK_KEY_TEXT_LINE_START, NK_KEY_TEXT_LINE_END, NK_KEY_TEXT_START, NK_KEY_TEXT_END, NK_KEY_TEXT_UNDO, NK_KEY_TEXT_REDO, NK_KEY_TEXT_SELECT_ALL, NK_KEY_TEXT_WORD_LEFT, NK_KEY_TEXT_WORD_RIGHT, NK_KEY_SCROLL_START, NK_KEY_SCROLL_END, NK_KEY_SCROLL_DOWN, NK_KEY_SCROLL_UP, NK_KEY_MAX
nk_keysEnum values:
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_MAX
-
NK_BUTTON_LEFT, NK_BUTTON_MIDDLE, NK_BUTTON_RIGHT, NK_BUTTON_DOUBLE, NK_BUTTON_MAX
nk_buttonsEnum values:
-
NK_COLOR_TEXT, NK_COLOR_WINDOW, NK_COLOR_HEADER, NK_COLOR_BORDER, NK_COLOR_BUTTON, NK_COLOR_BUTTON_HOVER, NK_COLOR_BUTTON_ACTIVE, NK_COLOR_TOGGLE, NK_COLOR_TOGGLE_HOVER, NK_COLOR_TOGGLE_CURSOR, NK_COLOR_SELECT, NK_COLOR_SELECT_ACTIVE, NK_COLOR_SLIDER, NK_COLOR_SLIDER_CURSOR, NK_COLOR_SLIDER_CURSOR_HOVER, NK_COLOR_SLIDER_CURSOR_ACTIVE, NK_COLOR_PROPERTY, NK_COLOR_EDIT, NK_COLOR_EDIT_CURSOR, NK_COLOR_COMBO, NK_COLOR_CHART, NK_COLOR_CHART_COLOR, NK_COLOR_CHART_COLOR_HIGHLIGHT, NK_COLOR_SCROLLBAR, NK_COLOR_SCROLLBAR_CURSOR, NK_COLOR_SCROLLBAR_CURSOR_HOVER, NK_COLOR_SCROLLBAR_CURSOR_ACTIVE, NK_COLOR_TAB_HEADER, NK_COLOR_COUNT
nk_style_colorsEnum values:
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_COUNT
-
NK_CURSOR_ARROW, NK_CURSOR_TEXT, NK_CURSOR_MOVE, NK_CURSOR_RESIZE_VERTICAL, NK_CURSOR_RESIZE_HORIZONTAL, NK_CURSOR_RESIZE_TOP_LEFT_DOWN_RIGHT, NK_CURSOR_RESIZE_TOP_RIGHT_DOWN_LEFT, NK_CURSOR_COUNT
-
NK_WIDGET_INVALID, NK_WIDGET_VALID, NK_WIDGET_ROM
nk_widget_layout_statesEnum values:
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 updated
-
NK_WIDGET_STATE_MODIFIED, NK_WIDGET_STATE_INACTIVE, NK_WIDGET_STATE_ENTERED, NK_WIDGET_STATE_HOVER, NK_WIDGET_STATE_ACTIVED, NK_WIDGET_STATE_LEFT, NK_WIDGET_STATE_HOVERED, NK_WIDGET_STATE_ACTIVE
nk_widget_statesEnum values:
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 activated
-
NK_TEXT_ALIGN_LEFT, NK_TEXT_ALIGN_CENTERED, NK_TEXT_ALIGN_RIGHT, NK_TEXT_ALIGN_TOP, NK_TEXT_ALIGN_MIDDLE, NK_TEXT_ALIGN_BOTTOM
nk_text_alignEnum values:
-
NK_TEXT_LEFT, NK_TEXT_CENTERED, NK_TEXT_RIGHT
nk_text_alignmentEnum values:
-
NK_EDIT_DEFAULT, NK_EDIT_READ_ONLY, NK_EDIT_AUTO_SELECT, NK_EDIT_SIG_ENTER, NK_EDIT_ALLOW_TAB, NK_EDIT_NO_CURSOR, NK_EDIT_SELECTABLE, NK_EDIT_CLIPBOARD, NK_EDIT_CTRL_ENTER_NEWLINE, NK_EDIT_NO_HORIZONTAL_SCROLL, NK_EDIT_ALWAYS_INSERT_MODE, NK_EDIT_MULTILINE, NK_EDIT_GOTO_END_ON_ACTIVATE
-
NK_EDIT_SIMPLE, NK_EDIT_FIELD, NK_EDIT_BOX, NK_EDIT_EDITOR
nk_edit_typesEnum values:
-
NK_EDIT_ACTIVE, NK_EDIT_INACTIVE, NK_EDIT_ACTIVATED, NK_EDIT_DEACTIVATED, NK_EDIT_COMMITED
nk_edit_eventsEnum values:
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 focus
-
NK_WINDOW_BORDER, NK_WINDOW_MOVABLE, NK_WINDOW_SCALABLE, NK_WINDOW_CLOSABLE, NK_WINDOW_MINIMIZABLE, NK_WINDOW_NO_SCROLLBAR, NK_WINDOW_TITLE, NK_WINDOW_SCROLL_AUTO_HIDE, NK_WINDOW_BACKGROUND, NK_WINDOW_SCALE_LEFT, NK_WINDOW_NO_INPUT
nk_panel_flagsEnum values:
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 innk_contextto 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 focus
-
NK_BUFFER_FIXED, NK_BUFFER_DYNAMIC
nk_allocation_typeEnum values:
-
NK_BUFFER_FRONT, NK_BUFFER_BACK, NK_BUFFER_MAX
nk_buffer_allocation_typeEnum values:
-
NK_TEXT_EDIT_SINGLE_LINE, NK_TEXT_EDIT_MULTI_LINE
nk_text_edit_typeEnum values:
-
NK_TEXT_EDIT_MODE_VIEW, NK_TEXT_EDIT_MODE_INSERT, NK_TEXT_EDIT_MODE_REPLACE
nk_text_edit_modeEnum values:
-
NK_FONT_ATLAS_ALPHA8, NK_FONT_ATLAS_RGBA32
nk_font_atlas_formatEnum values:
-
NK_COMMAND_NOP, NK_COMMAND_SCISSOR, NK_COMMAND_LINE, NK_COMMAND_CURVE, NK_COMMAND_RECT, NK_COMMAND_RECT_FILLED, NK_COMMAND_RECT_MULTI_COLOR, NK_COMMAND_CIRCLE, NK_COMMAND_CIRCLE_FILLED, NK_COMMAND_ARC, NK_COMMAND_ARC_FILLED, NK_COMMAND_TRIANGLE, NK_COMMAND_TRIANGLE_FILLED, NK_COMMAND_POLYGON, NK_COMMAND_POLYGON_FILLED, NK_COMMAND_POLYLINE, NK_COMMAND_TEXT, NK_COMMAND_IMAGE, NK_COMMAND_CUSTOM
nk_command_typeEnum values:
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_CUSTOM
-
NK_CLIPPING_OFF, NK_CLIPPING_ON
nk_command_clippingEnum values:
-
NK_STROKE_OPEN, NK_STROKE_CLOSED
nk_draw_list_strokeEnum values:
STROKE_OPEN- build up path has no connection back to the beginningSTROKE_CLOSED- build up path has a connection back to the beginning
-
NK_VERTEX_POSITION, NK_VERTEX_COLOR, NK_VERTEX_TEXCOORD, NK_VERTEX_ATTRIBUTE_COUNT
nk_draw_vertex_layout_attributeEnum values:
-
NK_FORMAT_SCHAR, NK_FORMAT_SSHORT, NK_FORMAT_SINT, NK_FORMAT_UCHAR, NK_FORMAT_USHORT, NK_FORMAT_UINT, NK_FORMAT_FLOAT, NK_FORMAT_DOUBLE, NK_FORMAT_R8G8B8, NK_FORMAT_R16G15B16, NK_FORMAT_R32G32B32, NK_FORMAT_R8G8B8A8, NK_FORMAT_B8G8R8A8, NK_FORMAT_R16G15B16A16, NK_FORMAT_R32G32B32A32, NK_FORMAT_R32G32B32A32_FLOAT, NK_FORMAT_R32G32B32A32_DOUBLE, NK_FORMAT_RGB32, NK_FORMAT_RGBA32, NK_FORMAT_COUNT
nk_draw_vertex_layout_formatEnum values:
FORMAT_SCHARFORMAT_SSHORTFORMAT_SINTFORMAT_UCHARFORMAT_USHORTFORMAT_UINTFORMAT_FLOATFORMAT_DOUBLEFORMAT_R8G8B8FORMAT_R16G15B16FORMAT_R32G32B32FORMAT_R8G8B8A8FORMAT_B8G8R8A8FORMAT_R16G15B16A16FORMAT_R32G32B32A32FORMAT_R32G32B32A32_FLOATFORMAT_R32G32B32A32_DOUBLEFORMAT_RGB32FORMAT_RGBA32FORMAT_COUNT
-
NK_STYLE_ITEM_COLOR, NK_STYLE_ITEM_IMAGE
nk_style_item_typeEnum values:
-
NK_HEADER_LEFT, NK_HEADER_RIGHT
nk_style_header_alignEnum values:
-
NK_PANEL_NONE, NK_PANEL_WINDOW, NK_PANEL_GROUP, NK_PANEL_POPUP, NK_PANEL_CONTEXTUAL, NK_PANEL_COMBO, NK_PANEL_MENU, NK_PANEL_TOOLTIP
nk_panel_typeEnum values:
-
NK_PANEL_SET_NONBLOCK, NK_PANEL_SET_POPUP, NK_PANEL_SET_SUB
nk_panel_setEnum values:
-
NK_LAYOUT_DYNAMIC_FIXED, NK_LAYOUT_DYNAMIC_ROW, NK_LAYOUT_DYNAMIC_FREE, NK_LAYOUT_DYNAMIC, NK_LAYOUT_STATIC_FIXED, NK_LAYOUT_STATIC_ROW, NK_LAYOUT_STATIC_FREE, NK_LAYOUT_STATIC, NK_LAYOUT_TEMPLATE, NK_LAYOUT_COUNT
nk_panel_row_layout_typeEnum values:
-
NK_WINDOW_PRIVATE, NK_WINDOW_DYNAMIC, NK_WINDOW_ROM, NK_WINDOW_HIDDEN, NK_WINDOW_CLOSED, NK_WINDOW_MINIMIZED, NK_WINDOW_REMOVE_ROM
nk_window_flagsEnum values:
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 window
-
-
Method Detail
-
nnk_init_fixed
public static int nnk_init_fixed(long ctx, long memory, long size, long font)Unsafe version of:init_fixed- Parameters:
size- must contain the total size ofmemory
-
nk_init_fixed
public static boolean nk_init_fixed(NkContext ctx, java.nio.ByteBuffer memory, @Nullable NkUserFont font)
Initializes context from single fixed size memory block.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.- Parameters:
ctx- the nuklear contextmemory- must point to a previously allocated memory blockfont- must point to a previously initialized font handle
-
nnk_init
public static int nnk_init(long ctx, long allocator, long font)Unsafe version of:init
-
nk_init
public static boolean nk_init(NkContext ctx, NkAllocator allocator, @Nullable NkUserFont font)
Initializes context with memory allocator callbacks for alloc and free.Used internally for
nk_init_defaultand provides a kitchen sink allocation interface to nuklear. Can be useful for cases like monitoring memory consumption.- Parameters:
ctx- the nuklear contextallocator- must point to a previously allocated memory allocatorfont- must point to a previously initialized font handle
-
nnk_init_custom
public static int nnk_init_custom(long ctx, long cmds, long pool, long font)Unsafe version of:init_custom
-
nk_init_custom
public static boolean nk_init_custom(NkContext ctx, NkBuffer cmds, NkBuffer pool, @Nullable NkUserFont font)
Initializes context from two buffers. One for draw commands the other for window/panel/table allocations.- Parameters:
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 handle
-
nnk_clear
public static void nnk_clear(long ctx)
Unsafe version of:clear
-
nk_clear
public static void nk_clear(NkContext ctx)
Called at the end of the frame to reset and prepare the context for the next frame.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.
- Parameters:
ctx- the nuklear context
-
nnk_free
public static void nnk_free(long ctx)
Unsafe version of:free
-
nk_free
public static void nk_free(NkContext ctx)
Shutdown and free all memory allocated inside the context.Frees all memory allocated by nuklear. Not needed if context was initialized with
init_fixed.- Parameters:
ctx- the nuklear context
-
nnk_set_user_data
public static void nnk_set_user_data(long ctx, long handle)Unsafe version of:set_user_data
-
nk_set_user_data
public static void nk_set_user_data(NkContext ctx, NkHandle handle)
Utility function to pass user data to draw command.- Parameters:
ctx- the nuklear contexthandle- handle with either pointer or index to be passed into every draw commands
-
nnk_begin
public static int nnk_begin(long ctx, long title, long bounds, int flags)Unsafe version of:begin
-
nk_begin
public static boolean nk_begin(NkContext ctx, java.nio.ByteBuffer title, NkRect bounds, int flags) public 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.- Parameters:
ctx- the nuklear contextflags- one or more of:WINDOW_PRIVATEWINDOW_DYNAMICWINDOW_ROMWINDOW_HIDDENWINDOW_CLOSEDWINDOW_MINIMIZEDWINDOW_REMOVE_ROM
-
nnk_begin_titled
public static int nnk_begin_titled(long ctx, long name, long title, long bounds, int flags)Unsafe version of:begin_titled
-
nk_begin_titled
public static boolean nk_begin_titled(NkContext ctx, java.nio.ByteBuffer name, java.nio.ByteBuffer title, NkRect bounds, int flags) public 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.- Parameters:
ctx- the nuklear contextflags- one or more of:WINDOW_PRIVATEWINDOW_DYNAMICWINDOW_ROMWINDOW_HIDDENWINDOW_CLOSEDWINDOW_MINIMIZEDWINDOW_REMOVE_ROM
-
nnk_end
public static void nnk_end(long ctx)
Unsafe version of:end
-
nk_end
public 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.- Parameters:
ctx- the nuklear context
-
nnk_window_find
public static long nnk_window_find(long ctx, long name)Unsafe version of:window_find
-
nk_window_find
@Nullable public static NkWindow nk_window_find(NkContext ctx, java.nio.ByteBuffer name) @Nullable public static NkWindow nk_window_find(NkContext ctx, java.lang.CharSequence name)
Finds and returns a window from passed name.- Parameters:
ctx- the nuklear context
-
nnk_window_get_bounds
public static void nnk_window_get_bounds(long ctx, long __result)Unsafe version of:window_get_bounds
-
nk_window_get_bounds
public static NkRect nk_window_get_bounds(NkContext ctx, NkRect __result)
Returns a rectangle with screen position and size of the currently processed window.- Parameters:
ctx- the nuklear context
-
nnk_window_get_position
public static void nnk_window_get_position(long ctx, long __result)Unsafe version of:window_get_position
-
nk_window_get_position
public static NkVec2 nk_window_get_position(NkContext ctx, NkVec2 __result)
Returns the position of the currently processed window.- Parameters:
ctx- the nuklear context
-
nnk_window_get_size
public static void nnk_window_get_size(long ctx, long __result)Unsafe version of:window_get_size
-
nk_window_get_size
public static NkVec2 nk_window_get_size(NkContext ctx, NkVec2 __result)
Returns the size with width and height of the currently processed window.- Parameters:
ctx- the nuklear context
-
nnk_window_get_width
public static float nnk_window_get_width(long ctx)
Unsafe version of:window_get_width
-
nk_window_get_width
public static float nk_window_get_width(NkContext ctx)
Returns the width of the currently processed window.- Parameters:
ctx- the nuklear context
-
nnk_window_get_height
public static float nnk_window_get_height(long ctx)
Unsafe version of:window_get_height
-
nk_window_get_height
public static float nk_window_get_height(NkContext ctx)
Returns the height of the currently processed window.- Parameters:
ctx- the nuklear context
-
nnk_window_get_panel
public static long nnk_window_get_panel(long ctx)
Unsafe version of:window_get_panel
-
nk_window_get_panel
@Nullable public static NkPanel nk_window_get_panel(NkContext ctx)
Returns the underlying panel which contains all processing state of the current window.- Parameters:
ctx- the nuklear context
-
nnk_window_get_content_region
public static void nnk_window_get_content_region(long ctx, long __result)Unsafe version of:window_get_content_region
-
nk_window_get_content_region
public 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.- Parameters:
ctx- the nuklear context
-
nnk_window_get_content_region_min
public static void nnk_window_get_content_region_min(long ctx, long __result)Unsafe version of:window_get_content_region_min
-
nk_window_get_content_region_min
public 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.- Parameters:
ctx- the nuklear context
-
nnk_window_get_content_region_max
public static void nnk_window_get_content_region_max(long ctx, long __result)Unsafe version of:window_get_content_region_max
-
nk_window_get_content_region_max
public 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.- Parameters:
ctx- the nuklear context
-
nnk_window_get_content_region_size
public static void nnk_window_get_content_region_size(long ctx, long __result)Unsafe version of:window_get_content_region_size
-
nk_window_get_content_region_size
public 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.- Parameters:
ctx- the nuklear context
-
nnk_window_get_canvas
public static long nnk_window_get_canvas(long ctx)
Unsafe version of:window_get_canvas
-
nk_window_get_canvas
@Nullable public static NkCommandBuffer nk_window_get_canvas(NkContext ctx)
Returns the draw command buffer. Can be used to draw custom widgets.- Parameters:
ctx- the nuklear context
-
nnk_window_has_focus
public static int nnk_window_has_focus(long ctx)
Unsafe version of:window_has_focus
-
nk_window_has_focus
public static boolean nk_window_has_focus(NkContext ctx)
Returns if the currently processed window is currently active.- Parameters:
ctx- the nuklear context
-
nnk_window_is_collapsed
public static int nnk_window_is_collapsed(long ctx, long name)Unsafe version of:window_is_collapsed
-
nk_window_is_collapsed
public static boolean nk_window_is_collapsed(NkContext ctx, java.nio.ByteBuffer name) public static boolean nk_window_is_collapsed(NkContext ctx, java.lang.CharSequence name)
Returns if the window with given name is currently minimized/collapsed.- Parameters:
ctx- the nuklear context
-
nnk_window_is_closed
public static int nnk_window_is_closed(long ctx, long name)Unsafe version of:window_is_closed
-
nk_window_is_closed
public static boolean nk_window_is_closed(NkContext ctx, java.nio.ByteBuffer name) public static boolean nk_window_is_closed(NkContext ctx, java.lang.CharSequence name)
Returns if the currently processed window was closed.- Parameters:
ctx- the nuklear context
-
nnk_window_is_hidden
public static int nnk_window_is_hidden(long ctx, long name)Unsafe version of:window_is_hidden
-
nk_window_is_hidden
public static boolean nk_window_is_hidden(NkContext ctx, java.nio.ByteBuffer name) public static boolean nk_window_is_hidden(NkContext ctx, java.lang.CharSequence name)
Returns if the currently processed window was hidden.- Parameters:
ctx- the nuklear context
-
nnk_window_is_active
public static int nnk_window_is_active(long ctx, long name)Unsafe version of:window_is_active
-
nk_window_is_active
public static boolean nk_window_is_active(NkContext ctx, java.nio.ByteBuffer name) public static boolean nk_window_is_active(NkContext ctx, java.lang.CharSequence name)
Same aswindow_has_focusfor some reason.- Parameters:
ctx- the nuklear context
-
nnk_window_is_hovered
public static int nnk_window_is_hovered(long ctx)
Unsafe version of:window_is_hovered
-
nk_window_is_hovered
public static boolean nk_window_is_hovered(NkContext ctx)
Returns if the currently processed window is currently being hovered by mouse.- Parameters:
ctx- the nuklear context
-
nnk_window_is_any_hovered
public static int nnk_window_is_any_hovered(long ctx)
Unsafe version of:window_is_any_hovered
-
nk_window_is_any_hovered
public static boolean nk_window_is_any_hovered(NkContext ctx)
Return if any window currently hovered.- Parameters:
ctx- the nuklear context
-
nnk_item_is_any_active
public static int nnk_item_is_any_active(long ctx)
Unsafe version of:item_is_any_active
-
nk_item_is_any_active
public static boolean nk_item_is_any_active(NkContext ctx)
Returns if any window or widgets is currently hovered or active.- Parameters:
ctx- the nuklear context
-
nnk_window_set_bounds
public static void nnk_window_set_bounds(long ctx, long name, long bounds)Unsafe version of:window_set_bounds
-
nk_window_set_bounds
public static void nk_window_set_bounds(NkContext ctx, java.nio.ByteBuffer name, NkRect bounds) public static void nk_window_set_bounds(NkContext ctx, java.lang.CharSequence name, NkRect bounds)
Updates position and size of the specified window.- Parameters:
ctx- the nuklear contextname- name of the window to modify both position and sizebounds- points to ank_rectstruct with the new position and size of the specified window
-
nnk_window_set_position
public static void nnk_window_set_position(long ctx, long name, long position)Unsafe version of:window_set_position
-
nk_window_set_position
public static void nk_window_set_position(NkContext ctx, java.nio.ByteBuffer name, NkVec2 position) public static void nk_window_set_position(NkContext ctx, java.lang.CharSequence name, NkVec2 position)
Updates position of the currently process window.- Parameters:
ctx- the nuklear contextname- name of the window to modify position ofposition- points to ank_vec2struct with the new position of currently active window
-
nnk_window_set_size
public static void nnk_window_set_size(long ctx, long name, long size)Unsafe version of:window_set_size
-
nk_window_set_size
public static void nk_window_set_size(NkContext ctx, java.nio.ByteBuffer name, NkVec2 size) public static void nk_window_set_size(NkContext ctx, java.lang.CharSequence name, NkVec2 size)
Updates the size of the specified window.- Parameters:
ctx- the nuklear contextname- name of the window to modify size ofsize- points to ank_vec2struct with the new size of currently active window
-
nnk_window_set_focus
public static void nnk_window_set_focus(long ctx, long name)Unsafe version of:window_set_focus
-
nk_window_set_focus
public static void nk_window_set_focus(NkContext ctx, java.nio.ByteBuffer name) public static void nk_window_set_focus(NkContext ctx, java.lang.CharSequence name)
Sets the specified window as active window.- Parameters:
ctx- the nuklear contextname- name of the window to be set active
-
nnk_window_close
public static void nnk_window_close(long ctx, long name)Unsafe version of:window_close
-
nk_window_close
public static void nk_window_close(NkContext ctx, java.nio.ByteBuffer name) public 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.- Parameters:
ctx- the nuklear context
-
nnk_window_collapse
public static void nnk_window_collapse(long ctx, long name, int c)Unsafe version of:window_collapse
-
nk_window_collapse
public 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)
Collapses the window with given window name.
-
nnk_window_collapse_if
public static void nnk_window_collapse_if(long ctx, long name, int c, int cond)Unsafe version of:window_collapse_if
-
nk_window_collapse_if
public 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)
Collapses the window with given window name if the given condition was met.
-
nnk_window_show
public static void nnk_window_show(long ctx, long name, int s)Unsafe version of:window_show
-
nk_window_show
public 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)
Hides a visible or reshows a hidden window.
-
nnk_window_show_if
public static void nnk_window_show_if(long ctx, long name, int s, int cond)Unsafe version of:window_show_if
-
nk_window_show_if
public 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)
Hides/shows a window depending on condition.
-
nnk_layout_set_min_row_height
public static void nnk_layout_set_min_row_height(long ctx, float height)Unsafe version of:layout_set_min_row_height
-
nk_layout_set_min_row_height
public static void nk_layout_set_min_row_height(NkContext ctx, float height)
Sets the currently used minimum row height.IMPORTANT: The passed height needs to include both your preferred row height as well as padding. No internal padding is added.
- Parameters:
ctx- the nuklear contextheight- new minimum row height to be used for auto generating the row height
-
nnk_layout_reset_min_row_height
public static void nnk_layout_reset_min_row_height(long ctx)
Unsafe version of:layout_reset_min_row_height
-
nk_layout_reset_min_row_height
public 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).- Parameters:
ctx- the nuklear context
-
nnk_layout_widget_bounds
public static void nnk_layout_widget_bounds(long ctx, long __result)Unsafe version of:layout_widget_bounds
-
nk_layout_widget_bounds
public static NkRect nk_layout_widget_bounds(NkContext ctx, NkRect __result)
Returns the width of the next row allocate by one of the layouting functions.- Parameters:
ctx- the nuklear context
-
nnk_layout_ratio_from_pixel
public static float nnk_layout_ratio_from_pixel(long ctx, float pixel_width)Unsafe version of:layout_ratio_from_pixel
-
nk_layout_ratio_from_pixel
public static float nk_layout_ratio_from_pixel(NkContext ctx, float pixel_width)
Utility function to calculate window ratio from pixel size.- Parameters:
ctx- the nuklear contextpixel_width- pixel width to convert to window ratio
-
nnk_layout_row_dynamic
public static void nnk_layout_row_dynamic(long ctx, float height, int cols)Unsafe version of:layout_row_dynamic
-
nk_layout_row_dynamic
public static void nk_layout_row_dynamic(NkContext ctx, float height, int cols)
Sets current row layout to share horizontal space betweencolsnumber of widgets evenly. Once called all subsequent widget calls greater thancolswill allocate a new row with same layout.- Parameters:
ctx- the nuklear contextheight- holds height of each widget in row or zero for auto layoutingcols- number of widgets inside row
-
nnk_layout_row_static
public static void nnk_layout_row_static(long ctx, float height, int item_width, int cols)Unsafe version of:layout_row_static
-
nk_layout_row_static
public static void nk_layout_row_static(NkContext ctx, float height, int item_width, int cols)
Sets current row layout to fillcolsnumber of widgets in row with sameitem_widthhorizontal size. Once called all subsequent widget calls greater thancolswill allocate a new row with same layout.- Parameters:
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 row
-
nnk_layout_row_begin
public static void nnk_layout_row_begin(long ctx, int fmt, float row_height, int cols)Unsafe version of:layout_row_begin
-
nk_layout_row_begin
public 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.
-
nnk_layout_row_push
public static void nnk_layout_row_push(long ctx, float value)Unsafe version of:layout_row_push
-
nk_layout_row_push
public static void nk_layout_row_push(NkContext ctx, float value)
Specifies either window ratio or width of a single column.- Parameters:
ctx- the nuklear contextvalue- either a window ratio or fixed width depending onfmtin previouslayout_row_begincall
-
nnk_layout_row_end
public static void nnk_layout_row_end(long ctx)
Unsafe version of:layout_row_end
-
nk_layout_row_end
public static void nk_layout_row_end(NkContext ctx)
Finishes previously started row- Parameters:
ctx- the nuklear context
-
nnk_layout_row
public static void nnk_layout_row(long ctx, int fmt, float height, int cols, long ratio)Unsafe version of:layout_row- Parameters:
cols- number of widgets inside row
-
nk_layout_row
public 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.
-
nnk_layout_row_template_begin
public static void nnk_layout_row_template_begin(long ctx, float height)Unsafe version of:layout_row_template_begin
-
nk_layout_row_template_begin
public static void nk_layout_row_template_begin(NkContext ctx, float height)
Begins the row template declaration.- Parameters:
ctx- the nuklear contextheight- holds height of each widget in row or zero for auto layouting
-
nnk_layout_row_template_push_dynamic
public static void nnk_layout_row_template_push_dynamic(long ctx)
Unsafe version of:layout_row_template_push_dynamic
-
nk_layout_row_template_push_dynamic
public 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.- Parameters:
ctx- the nuklear context
-
nnk_layout_row_template_push_variable
public static void nnk_layout_row_template_push_variable(long ctx, float min_width)Unsafe version of:layout_row_template_push_variable
-
nk_layout_row_template_push_variable
public 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.- Parameters:
ctx- the nuklear contextmin_width- holds the minimum pixel width the next column must be
-
nnk_layout_row_template_push_static
public static void nnk_layout_row_template_push_static(long ctx, float width)Unsafe version of:layout_row_template_push_static
-
nk_layout_row_template_push_static
public 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.- Parameters:
ctx- the nuklear contextwidth- holds the absolute pixel width value the next column must be
-
nnk_layout_row_template_end
public static void nnk_layout_row_template_end(long ctx)
Unsafe version of:layout_row_template_end
-
nk_layout_row_template_end
public static void nk_layout_row_template_end(NkContext ctx)
Marks the end of the row template.- Parameters:
ctx- the nuklear context
-
nnk_layout_space_begin
public static void nnk_layout_space_begin(long ctx, int fmt, float height, int widget_count)Unsafe version of:layout_space_begin
-
nk_layout_space_begin
public 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.
-
nnk_layout_space_push
public static void nnk_layout_space_push(long ctx, long rect)Unsafe version of:layout_space_push
-
nk_layout_space_push
public 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.- Parameters:
ctx- the nuklear contextrect- position and size in layout space local coordinates
-
nnk_layout_space_end
public static void nnk_layout_space_end(long ctx)
Unsafe version of:layout_space_end
-
nk_layout_space_end
public static void nk_layout_space_end(NkContext ctx)
Marks the end of the layout space.- Parameters:
ctx- the nuklear context
-
nnk_layout_space_bounds
public static void nnk_layout_space_bounds(long ctx, long __result)Unsafe version of:layout_space_bounds
-
nk_layout_space_bounds
public static NkRect nk_layout_space_bounds(NkContext ctx, NkRect __result)
Returns total space allocated fornk_layout_space.- Parameters:
ctx- the nuklear context
-
nnk_layout_space_to_screen
public static void nnk_layout_space_to_screen(long ctx, long ret)Unsafe version of:layout_space_to_screen
-
nk_layout_space_to_screen
public static NkVec2 nk_layout_space_to_screen(NkContext ctx, NkVec2 ret)
Converts vector fromnk_layout_spacecoordinate space into screen space.- Parameters:
ctx- the nuklear contextret- position to convert from layout space into screen coordinate space
-
nnk_layout_space_to_local
public static void nnk_layout_space_to_local(long ctx, long ret)Unsafe version of:layout_space_to_local
-
nk_layout_space_to_local
public static NkVec2 nk_layout_space_to_local(NkContext ctx, NkVec2 ret)
Converts vector from layout space into screen space.- Parameters:
ctx- the nuklear contextret- position to convert from screen space into layout coordinate space
-
nnk_layout_space_rect_to_screen
public static void nnk_layout_space_rect_to_screen(long ctx, long ret)Unsafe version of:layout_space_rect_to_screen
-
nk_layout_space_rect_to_screen
public static NkRect nk_layout_space_rect_to_screen(NkContext ctx, NkRect ret)
Converts rectangle from screen space into layout space.- Parameters:
ctx- the nuklear contextret- rectangle to convert from layout space into screen space
-
nnk_layout_space_rect_to_local
public static void nnk_layout_space_rect_to_local(long ctx, long ret)Unsafe version of:layout_space_rect_to_local
-
nk_layout_space_rect_to_local
public static NkRect nk_layout_space_rect_to_local(NkContext ctx, NkRect ret)
Converts rectangle from layout space into screen space.- Parameters:
ctx- the nuklear contextret- rectangle to convert from screen space into layout space
-
nnk_group_begin
public static int nnk_group_begin(long ctx, long title, int flags)Unsafe version of:group_begin
-
nk_group_begin
public static boolean nk_group_begin(NkContext ctx, java.nio.ByteBuffer title, int flags) public static boolean nk_group_begin(NkContext ctx, java.lang.CharSequence title, int flags)
- Parameters:
ctx- the nuklear context
-
nnk_group_begin_titled
public static int nnk_group_begin_titled(long ctx, long name, long title, int flags)Unsafe version of:group_begin_titled
-
nk_group_begin_titled
public static boolean nk_group_begin_titled(NkContext ctx, java.nio.ByteBuffer name, java.nio.ByteBuffer title, int flags) public static boolean nk_group_begin_titled(NkContext ctx, java.lang.CharSequence name, java.lang.CharSequence title, int flags)
- Parameters:
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_PRIVATEWINDOW_DYNAMICWINDOW_ROMWINDOW_HIDDENWINDOW_CLOSEDWINDOW_MINIMIZEDWINDOW_REMOVE_ROM- Returns:
trueif visible and fillable with widgets orfalseotherwise
-
nnk_group_scrolled_offset_begin
public 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
-
nk_group_scrolled_offset_begin
public 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) public 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)
- Parameters:
ctx- the nuklear context
-
nnk_group_scrolled_begin
public static int nnk_group_scrolled_begin(long ctx, long scroll, long title, int flags)Unsafe version of:group_scrolled_begin
-
nk_group_scrolled_begin
public static boolean nk_group_scrolled_begin(NkContext ctx, NkScroll scroll, java.nio.ByteBuffer title, int flags) public static boolean nk_group_scrolled_begin(NkContext ctx, NkScroll scroll, java.lang.CharSequence title, int flags)
- Parameters:
ctx- the nuklear context
-
nnk_group_scrolled_end
public static void nnk_group_scrolled_end(long ctx)
Unsafe version of:group_scrolled_end
-
nk_group_scrolled_end
public static void nk_group_scrolled_end(NkContext ctx)
- Parameters:
ctx- the nuklear context
-
nnk_group_end
public static void nnk_group_end(long ctx)
Unsafe version of:group_end
-
nk_group_end
public static void nk_group_end(NkContext ctx)
- Parameters:
ctx- the nuklear context
-
nnk_list_view_begin
public 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
-
nk_list_view_begin
public static boolean nk_list_view_begin(NkContext ctx, NkListView view, java.nio.ByteBuffer title, int flags, int row_height, int row_count) public static boolean nk_list_view_begin(NkContext ctx, NkListView view, java.lang.CharSequence title, int flags, int row_height, int row_count)
- Parameters:
ctx- the nuklear context
-
nnk_list_view_end
public static void nnk_list_view_end(long view)
-
nk_list_view_end
public static void nk_list_view_end(NkListView view)
-
nnk_tree_push_hashed
public 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- Parameters:
len- size of passed memory block or string inhash
-
nk_tree_push_hashed
public static boolean nk_tree_push_hashed(NkContext ctx, int type, java.nio.ByteBuffer title, int initial_state, java.nio.ByteBuffer hash, int seed) public 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.- Parameters:
ctx- the nuklear contexttype- value from thenk_tree_typesection to visually mark a tree node header as either a collapseable UI section or tree node. One of:TREE_NODETREE_TABtitle- label printed in the tree headerinitial_state- initial tree state value out ofnk_collapse_states. One of:MINIMIZEDMAXIMIZEDhash- memory block or string to generate the ID fromseed- seeding value if this function is called in a loop or default to 0
-
nnk_tree_image_push_hashed
public 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- Parameters:
len- size of passed memory block or string inhash
-
nk_tree_image_push_hashed
public 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) public 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.- Parameters:
ctx- the nuklear contexttype- value from thenk_tree_typesection to visually mark a tree node header as either a collapseable UI section or tree node. One of:TREE_NODETREE_TABimg- image to display inside the header on the left of the labeltitle- label printed in the tree headerinitial_state- initial tree state value out ofnk_collapse_states. One of:MINIMIZEDMAXIMIZEDhash- memory block or string to generate the ID fromseed- seeding value if this function is called in a loop or default to 0
-
nnk_tree_pop
public static void nnk_tree_pop(long ctx)
Unsafe version of:tree_pop
-
nk_tree_pop
public static void nk_tree_pop(NkContext ctx)
Ends a collapsable UI section- Parameters:
ctx- the nuklear context
-
nnk_tree_state_push
public static int nnk_tree_state_push(long ctx, int type, long title, long state)Unsafe version of:tree_state_push
-
nk_tree_state_push
public 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)
Start a collapsable UI section with external state management.
-
nnk_tree_state_image_push
public static int nnk_tree_state_image_push(long ctx, int type, long image, long title, long state)Unsafe version of:tree_state_image_push
-
nk_tree_state_image_push
public static boolean nk_tree_state_image_push(NkContext ctx, int type, NkImage image, java.nio.ByteBuffer title, java.nio.IntBuffer state) public 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.- Parameters:
ctx- the nuklear contexttype- value from thenk_tree_typesection to visually mark a tree node header as either a collapseable UI section or tree node. One of:TREE_NODETREE_TABimage- image to display inside the header on the left of the labeltitle- label printed in the tree header
-
nnk_tree_state_pop
public static void nnk_tree_state_pop(long ctx)
Unsafe version of:tree_state_pop
-
nk_tree_state_pop
public static void nk_tree_state_pop(NkContext ctx)
Ends a collapsable UI section.- Parameters:
ctx- the nuklear context
-
nnk_tree_element_push_hashed
public 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
-
nk_tree_element_push_hashed
public 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)
-
nnk_tree_element_image_push_hashed
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)Unsafe version of:tree_element_image_push_hashed
-
nk_tree_element_image_push_hashed
public 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)
-
nnk_tree_element_pop
public static void nnk_tree_element_pop(long ctx)
Unsafe version of:tree_element_pop
-
nk_tree_element_pop
public static void nk_tree_element_pop(NkContext ctx)
- Parameters:
ctx- the nuklear context
-
nnk_text
public static void nnk_text(long ctx, long str, int len, int alignment)Unsafe version of:text
-
nk_text
public static void nk_text(NkContext ctx, java.nio.ByteBuffer str, int alignment) public static void nk_text(NkContext ctx, java.lang.CharSequence str, int alignment)
- Parameters:
ctx- the nuklear contextalignment- one of:TEXT_LEFTTEXT_CENTEREDTEXT_RIGHT
-
nnk_text_colored
public static void nnk_text_colored(long ctx, long str, int len, int alignment, long color)Unsafe version of:text_colored
-
nk_text_colored
public static void nk_text_colored(NkContext ctx, java.nio.ByteBuffer str, int alignment, NkColor color) public static void nk_text_colored(NkContext ctx, java.lang.CharSequence str, int alignment, NkColor color)
- Parameters:
ctx- the nuklear contextalignment- one of:TEXT_LEFTTEXT_CENTEREDTEXT_RIGHT
-
nnk_text_wrap
public static void nnk_text_wrap(long ctx, long str, int len)Unsafe version of:text_wrap
-
nk_text_wrap
public static void nk_text_wrap(NkContext ctx, java.nio.ByteBuffer str) public static void nk_text_wrap(NkContext ctx, java.lang.CharSequence str)
- Parameters:
ctx- the nuklear context
-
nnk_text_wrap_colored
public static void nnk_text_wrap_colored(long ctx, long str, int len, long color)Unsafe version of:text_wrap_colored
-
nk_text_wrap_colored
public static void nk_text_wrap_colored(NkContext ctx, java.nio.ByteBuffer str, NkColor color) public static void nk_text_wrap_colored(NkContext ctx, java.lang.CharSequence str, NkColor color)
- Parameters:
ctx- the nuklear context
-
nnk_label
public static void nnk_label(long ctx, long str, int align)Unsafe version of:label
-
nk_label
public static void nk_label(NkContext ctx, java.nio.ByteBuffer str, int align) public static void nk_label(NkContext ctx, java.lang.CharSequence str, int align)
- Parameters:
ctx- the nuklear contextalign- one of:TEXT_LEFTTEXT_CENTEREDTEXT_RIGHT
-
nnk_label_colored
public static void nnk_label_colored(long ctx, long str, int align, long color)Unsafe version of:label_colored
-
nk_label_colored
public static void nk_label_colored(NkContext ctx, java.nio.ByteBuffer str, int align, NkColor color) public static void nk_label_colored(NkContext ctx, java.lang.CharSequence str, int align, NkColor color)
- Parameters:
ctx- the nuklear contextalign- one of:TEXT_LEFTTEXT_CENTEREDTEXT_RIGHT
-
nnk_label_wrap
public static void nnk_label_wrap(long ctx, long str)Unsafe version of:label_wrap
-
nk_label_wrap
public static void nk_label_wrap(NkContext ctx, java.nio.ByteBuffer str) public static void nk_label_wrap(NkContext ctx, java.lang.CharSequence str)
- Parameters:
ctx- the nuklear context
-
nnk_label_colored_wrap
public static void nnk_label_colored_wrap(long ctx, long str, long color)Unsafe version of:label_colored_wrap
-
nk_label_colored_wrap
public static void nk_label_colored_wrap(NkContext ctx, java.nio.ByteBuffer str, NkColor color) public static void nk_label_colored_wrap(NkContext ctx, java.lang.CharSequence str, NkColor color)
- Parameters:
ctx- the nuklear context
-
nnk_image
public static void nnk_image(long ctx, long img)Unsafe version of:image
-
nk_image
public static void nk_image(NkContext ctx, NkImage img)
- Parameters:
ctx- the nuklear context
-
nnk_image_color
public static void nnk_image_color(long ctx, long img, long color)Unsafe version of:image_color
-
nk_image_color
public static void nk_image_color(NkContext ctx, NkImage img, NkColor color)
- Parameters:
ctx- the nuklear context
-
nnk_button_set_behavior
public static void nnk_button_set_behavior(long ctx, int behavior)Unsafe version of:button_set_behavior
-
nk_button_set_behavior
public static void nk_button_set_behavior(NkContext ctx, int behavior)
- Parameters:
ctx- the nuklear contextbehavior- one of:BUTTON_DEFAULTBUTTON_REPEATER
-
nnk_button_push_behavior
public static int nnk_button_push_behavior(long ctx, int behavior)Unsafe version of:button_push_behavior
-
nk_button_push_behavior
public static boolean nk_button_push_behavior(NkContext ctx, int behavior)
- Parameters:
ctx- the nuklear contextbehavior- one of:BUTTON_DEFAULTBUTTON_REPEATER
-
nnk_button_pop_behavior
public static int nnk_button_pop_behavior(long ctx)
Unsafe version of:button_pop_behavior
-
nk_button_pop_behavior
public static boolean nk_button_pop_behavior(NkContext ctx)
- Parameters:
ctx- the nuklear context
-
nnk_button_text
public static int nnk_button_text(long ctx, long title, int len)Unsafe version of:button_text
-
nk_button_text
public static boolean nk_button_text(NkContext ctx, java.nio.ByteBuffer title) public static boolean nk_button_text(NkContext ctx, java.lang.CharSequence title)
- Parameters:
ctx- the nuklear context
-
nnk_button_label
public static int nnk_button_label(long ctx, long title)Unsafe version of:button_label
-
nk_button_label
public static boolean nk_button_label(NkContext ctx, java.nio.ByteBuffer title) public static boolean nk_button_label(NkContext ctx, java.lang.CharSequence title)
- Parameters:
ctx- the nuklear context
-
nnk_button_color
public static int nnk_button_color(long ctx, long color)Unsafe version of:button_color
-
nk_button_color
public static boolean nk_button_color(NkContext ctx, NkColor color)
- Parameters:
ctx- the nuklear context
-
nnk_button_symbol
public static int nnk_button_symbol(long ctx, int symbol)Unsafe version of:button_symbol
-
nk_button_symbol
public static boolean nk_button_symbol(NkContext ctx, int symbol)
-
nnk_button_image
public static int nnk_button_image(long ctx, long img)Unsafe version of:button_image
-
nk_button_image
public static boolean nk_button_image(NkContext ctx, NkImage img)
- Parameters:
ctx- the nuklear context
-
nnk_button_symbol_label
public static int nnk_button_symbol_label(long ctx, int symbol, long text, int text_alignment)Unsafe version of:button_symbol_label
-
nk_button_symbol_label
public static boolean nk_button_symbol_label(NkContext ctx, int symbol, java.nio.ByteBuffer text, int text_alignment) public static boolean nk_button_symbol_label(NkContext ctx, int symbol, java.lang.CharSequence text, int text_alignment)
- Parameters:
ctx- the nuklear contextsymbol- one of:text_alignment- one of:TEXT_LEFTTEXT_CENTEREDTEXT_RIGHT
-
nnk_button_symbol_text
public static int nnk_button_symbol_text(long ctx, int symbol, long text, int len, int alignment)Unsafe version of:button_symbol_text
-
nk_button_symbol_text
public static boolean nk_button_symbol_text(NkContext ctx, int symbol, java.nio.ByteBuffer text, int alignment) public static boolean nk_button_symbol_text(NkContext ctx, int symbol, java.lang.CharSequence text, int alignment)
- Parameters:
ctx- the nuklear contextsymbol- one of:alignment- one of:TEXT_LEFTTEXT_CENTEREDTEXT_RIGHT
-
nnk_button_image_label
public static int nnk_button_image_label(long ctx, long img, long text, int text_alignment)Unsafe version of:button_image_label
-
nk_button_image_label
public static boolean nk_button_image_label(NkContext ctx, NkImage img, java.nio.ByteBuffer text, int text_alignment) public static boolean nk_button_image_label(NkContext ctx, NkImage img, java.lang.CharSequence text, int text_alignment)
- Parameters:
ctx- the nuklear contexttext_alignment- one of:TEXT_LEFTTEXT_CENTEREDTEXT_RIGHT
-
nnk_button_image_text
public static int nnk_button_image_text(long ctx, long img, long text, int len, int alignment)Unsafe version of:button_image_text
-
nk_button_image_text
public static boolean nk_button_image_text(NkContext ctx, NkImage img, java.nio.ByteBuffer text, int alignment) public static boolean nk_button_image_text(NkContext ctx, NkImage img, java.lang.CharSequence text, int alignment)
- Parameters:
ctx- the nuklear contextalignment- one of:TEXT_LEFTTEXT_CENTEREDTEXT_RIGHT
-
nnk_button_text_styled
public static int nnk_button_text_styled(long ctx, long style, long title, int len)Unsafe version of:button_text_styled
-
nk_button_text_styled
public static boolean nk_button_text_styled(NkContext ctx, NkStyleButton style, java.nio.ByteBuffer title, int len) public static boolean nk_button_text_styled(NkContext ctx, NkStyleButton style, java.lang.CharSequence title, int len)
- Parameters:
ctx- the nuklear context
-
nnk_button_label_styled
public static int nnk_button_label_styled(long ctx, long style, long title)Unsafe version of:button_label_styled
-
nk_button_label_styled
public static boolean nk_button_label_styled(NkContext ctx, NkStyleButton style, java.nio.ByteBuffer title) public static boolean nk_button_label_styled(NkContext ctx, NkStyleButton style, java.lang.CharSequence title)
- Parameters:
ctx- the nuklear context
-
nnk_button_symbol_styled
public static int nnk_button_symbol_styled(long ctx, long style, int symbol)Unsafe version of:button_symbol_styled
-
nk_button_symbol_styled
public static boolean nk_button_symbol_styled(NkContext ctx, NkStyleButton style, int symbol)
- Parameters:
ctx- the nuklear context
-
nnk_button_image_styled
public static int nnk_button_image_styled(long ctx, long style, long img)Unsafe version of:button_image_styled
-
nk_button_image_styled
public static boolean nk_button_image_styled(NkContext ctx, NkStyleButton style, NkImage img)
- Parameters:
ctx- the nuklear context
-
nnk_button_symbol_text_styled
public 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
-
nk_button_symbol_text_styled
public static boolean nk_button_symbol_text_styled(NkContext ctx, NkStyleButton style, int symbol, java.nio.ByteBuffer title, int len, int alignment) public static boolean nk_button_symbol_text_styled(NkContext ctx, NkStyleButton style, int symbol, java.lang.CharSequence title, int len, int alignment)
- Parameters:
ctx- the nuklear context
-
nnk_button_symbol_label_styled
public 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
-
nk_button_symbol_label_styled
public static boolean nk_button_symbol_label_styled(NkContext ctx, NkStyleButton style, int symbol, java.nio.ByteBuffer title, int text_alignment) public static boolean nk_button_symbol_label_styled(NkContext ctx, NkStyleButton style, int symbol, java.lang.CharSequence title, int text_alignment)
- Parameters:
ctx- the nuklear context
-
nnk_button_image_label_styled
public 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
-
nk_button_image_label_styled
public static boolean nk_button_image_label_styled(NkContext ctx, NkStyleButton style, NkImage img, java.nio.ByteBuffer title, int text_alignment) public static boolean nk_button_image_label_styled(NkContext ctx, NkStyleButton style, NkImage img, java.lang.CharSequence title, int text_alignment)
- Parameters:
ctx- the nuklear context
-
nnk_button_image_text_styled
public 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
-
nk_button_image_text_styled
public static boolean nk_button_image_text_styled(NkContext ctx, NkStyleButton style, NkImage img, java.nio.ByteBuffer title, int len, int alignment) public static boolean nk_button_image_text_styled(NkContext ctx, NkStyleButton style, NkImage img, java.lang.CharSequence title, int len, int alignment)
- Parameters:
ctx- the nuklear context
-
nnk_check_label
public static int nnk_check_label(long ctx, long str, int active)Unsafe version of:check_label
-
nk_check_label
public static boolean nk_check_label(NkContext ctx, java.nio.ByteBuffer str, boolean active) public static boolean nk_check_label(NkContext ctx, java.lang.CharSequence str, boolean active)
- Parameters:
ctx- the nuklear context
-
nnk_check_text
public static int nnk_check_text(long ctx, long str, int len, int active)Unsafe version of:check_text
-
nk_check_text
public static boolean nk_check_text(NkContext ctx, java.nio.ByteBuffer str, boolean active) public static boolean nk_check_text(NkContext ctx, java.lang.CharSequence str, boolean active)
- Parameters:
ctx- the nuklear context
-
nnk_check_flags_label
public static int nnk_check_flags_label(long ctx, long str, int flags, int value)Unsafe version of:check_flags_label
-
nk_check_flags_label
public static int nk_check_flags_label(NkContext ctx, java.nio.ByteBuffer str, int flags, int value) public static int nk_check_flags_label(NkContext ctx, java.lang.CharSequence str, int flags, int value)
- Parameters:
ctx- the nuklear context
-
nnk_check_flags_text
public static int nnk_check_flags_text(long ctx, long str, int len, int flags, int value)Unsafe version of:check_flags_text
-
nk_check_flags_text
public static int nk_check_flags_text(NkContext ctx, java.nio.ByteBuffer str, int flags, int value) public static int nk_check_flags_text(NkContext ctx, java.lang.CharSequence str, int flags, int value)
- Parameters:
ctx- the nuklear context
-
nnk_checkbox_label
public static int nnk_checkbox_label(long ctx, long str, long active)Unsafe version of:checkbox_label
-
nk_checkbox_label
public static boolean nk_checkbox_label(NkContext ctx, java.nio.ByteBuffer str, java.nio.IntBuffer active) public static boolean nk_checkbox_label(NkContext ctx, java.lang.CharSequence str, java.nio.IntBuffer active)
- Parameters:
ctx- the nuklear context
-
nnk_checkbox_text
public static int nnk_checkbox_text(long ctx, long str, int len, long active)Unsafe version of:checkbox_text
-
nk_checkbox_text
public static boolean nk_checkbox_text(NkContext ctx, java.nio.ByteBuffer str, java.nio.IntBuffer active) public static boolean nk_checkbox_text(NkContext ctx, java.lang.CharSequence str, java.nio.IntBuffer active)
- Parameters:
ctx- the nuklear context
-
nnk_checkbox_flags_label
public static int nnk_checkbox_flags_label(long ctx, long str, long flags, int value)Unsafe version of:checkbox_flags_label
-
nk_checkbox_flags_label
public static boolean nk_checkbox_flags_label(NkContext ctx, java.nio.ByteBuffer str, java.nio.IntBuffer flags, int value) public static boolean nk_checkbox_flags_label(NkContext ctx, java.lang.CharSequence str, java.nio.IntBuffer flags, int value)
- Parameters:
ctx- the nuklear context
-
nnk_checkbox_flags_text
public static int nnk_checkbox_flags_text(long ctx, long str, int len, long flags, int value)Unsafe version of:checkbox_flags_text
-
nk_checkbox_flags_text
public static boolean nk_checkbox_flags_text(NkContext ctx, java.nio.ByteBuffer str, java.nio.IntBuffer flags, int value) public static boolean nk_checkbox_flags_text(NkContext ctx, java.lang.CharSequence str, java.nio.IntBuffer flags, int value)
- Parameters:
ctx- the nuklear context
-
nnk_radio_label
public static int nnk_radio_label(long ctx, long str, long active)Unsafe version of:radio_label
-
nk_radio_label
public static boolean nk_radio_label(NkContext ctx, java.nio.ByteBuffer str, java.nio.IntBuffer active) public static boolean nk_radio_label(NkContext ctx, java.lang.CharSequence str, java.nio.IntBuffer active)
- Parameters:
ctx- the nuklear context
-
nnk_radio_text
public static int nnk_radio_text(long ctx, long str, int len, long active)Unsafe version of:radio_text
-
nk_radio_text
public static boolean nk_radio_text(NkContext ctx, java.nio.ByteBuffer str, java.nio.IntBuffer active) public static boolean nk_radio_text(NkContext ctx, java.lang.CharSequence str, java.nio.IntBuffer active)
- Parameters:
ctx- the nuklear context
-
nnk_option_label
public static int nnk_option_label(long ctx, long str, int active)Unsafe version of:option_label
-
nk_option_label
public static boolean nk_option_label(NkContext ctx, java.nio.ByteBuffer str, boolean active) public static boolean nk_option_label(NkContext ctx, java.lang.CharSequence str, boolean active)
- Parameters:
ctx- the nuklear context
-
nnk_option_text
public static int nnk_option_text(long ctx, long str, int len, int active)Unsafe version of:option_text
-
nk_option_text
public static boolean nk_option_text(NkContext ctx, java.nio.ByteBuffer str, boolean active) public static boolean nk_option_text(NkContext ctx, java.lang.CharSequence str, boolean active)
- Parameters:
ctx- the nuklear context
-
nnk_selectable_label
public static int nnk_selectable_label(long ctx, long str, int align, long value)Unsafe version of:selectable_label
-
nk_selectable_label
public static boolean nk_selectable_label(NkContext ctx, java.nio.ByteBuffer str, int align, java.nio.IntBuffer value) public static boolean nk_selectable_label(NkContext ctx, java.lang.CharSequence str, int align, java.nio.IntBuffer value)
- Parameters:
ctx- the nuklear contextalign- one of:TEXT_LEFTTEXT_CENTEREDTEXT_RIGHT
-
nnk_selectable_text
public static int nnk_selectable_text(long ctx, long str, int len, int align, long value)Unsafe version of:selectable_text
-
nk_selectable_text
public static boolean nk_selectable_text(NkContext ctx, java.nio.ByteBuffer str, int align, java.nio.IntBuffer value) public static boolean nk_selectable_text(NkContext ctx, java.lang.CharSequence str, int align, java.nio.IntBuffer value)
- Parameters:
ctx- the nuklear contextalign- one of:TEXT_LEFTTEXT_CENTEREDTEXT_RIGHT
-
nnk_selectable_image_label
public static int nnk_selectable_image_label(long ctx, long img, long str, int align, long value)Unsafe version of:selectable_image_label
-
nk_selectable_image_label
public static boolean nk_selectable_image_label(NkContext ctx, NkImage img, java.nio.ByteBuffer str, int align, java.nio.IntBuffer value) public static boolean nk_selectable_image_label(NkContext ctx, NkImage img, java.lang.CharSequence str, int align, java.nio.IntBuffer value)
- Parameters:
ctx- the nuklear contextalign- one of:TEXT_LEFTTEXT_CENTEREDTEXT_RIGHT
-
nnk_selectable_image_text
public static int nnk_selectable_image_text(long ctx, long img, long str, int len, int align, long value)Unsafe version of:selectable_image_text
-
nk_selectable_image_text
public static boolean nk_selectable_image_text(NkContext ctx, NkImage img, java.nio.ByteBuffer str, int align, java.nio.IntBuffer value) public static boolean nk_selectable_image_text(NkContext ctx, NkImage img, java.lang.CharSequence str, int align, java.nio.IntBuffer value)
- Parameters:
ctx- the nuklear contextalign- one of:TEXT_LEFTTEXT_CENTEREDTEXT_RIGHT
-
nnk_selectable_symbol_label
public static int nnk_selectable_symbol_label(long ctx, int symbol, long str, int align, long value)Unsafe version of:selectable_symbol_label
-
nk_selectable_symbol_label
public static boolean nk_selectable_symbol_label(NkContext ctx, int symbol, java.nio.ByteBuffer str, int align, java.nio.IntBuffer value) public static boolean nk_selectable_symbol_label(NkContext ctx, int symbol, java.lang.CharSequence str, int align, java.nio.IntBuffer value)
- Parameters:
ctx- the nuklear contextsymbol- one of:align- one of:TEXT_LEFTTEXT_CENTEREDTEXT_RIGHT
-
nnk_selectable_symbol_text
public static int nnk_selectable_symbol_text(long ctx, int symbol, long str, int len, int align, long value)Unsafe version of:selectable_symbol_text
-
nk_selectable_symbol_text
public static boolean nk_selectable_symbol_text(NkContext ctx, int symbol, java.nio.ByteBuffer str, int align, java.nio.IntBuffer value) public static boolean nk_selectable_symbol_text(NkContext ctx, int symbol, java.lang.CharSequence str, int align, java.nio.IntBuffer value)
- Parameters:
ctx- the nuklear contextsymbol- one of:align- one of:TEXT_LEFTTEXT_CENTEREDTEXT_RIGHT
-
nnk_select_label
public static int nnk_select_label(long ctx, long str, int align, int value)Unsafe version of:select_label
-
nk_select_label
public static boolean nk_select_label(NkContext ctx, java.nio.ByteBuffer str, int align, boolean value) public static boolean nk_select_label(NkContext ctx, java.lang.CharSequence str, int align, boolean value)
- Parameters:
ctx- the nuklear contextalign- one of:TEXT_LEFTTEXT_CENTEREDTEXT_RIGHT
-
nnk_select_text
public static int nnk_select_text(long ctx, long str, int len, int align, int value)Unsafe version of:select_text
-
nk_select_text
public static boolean nk_select_text(NkContext ctx, java.nio.ByteBuffer str, int align, boolean value) public static boolean nk_select_text(NkContext ctx, java.lang.CharSequence str, int align, boolean value)
- Parameters:
ctx- the nuklear contextalign- one of:TEXT_LEFTTEXT_CENTEREDTEXT_RIGHT
-
nnk_select_image_label
public static int nnk_select_image_label(long ctx, long img, long str, int align, int value)Unsafe version of:select_image_label
-
nk_select_image_label
public static boolean nk_select_image_label(NkContext ctx, NkImage img, java.nio.ByteBuffer str, int align, boolean value) public static boolean nk_select_image_label(NkContext ctx, NkImage img, java.lang.CharSequence str, int align, boolean value)
- Parameters:
ctx- the nuklear contextalign- one of:TEXT_LEFTTEXT_CENTEREDTEXT_RIGHT
-
nnk_select_image_text
public static int nnk_select_image_text(long ctx, long img, long str, int len, int align, int value)Unsafe version of:select_image_text
-
nk_select_image_text
public static boolean nk_select_image_text(NkContext ctx, NkImage img, java.nio.ByteBuffer str, int align, boolean value) public static boolean nk_select_image_text(NkContext ctx, NkImage img, java.lang.CharSequence str, int align, boolean value)
- Parameters:
ctx- the nuklear contextalign- one of:TEXT_LEFTTEXT_CENTEREDTEXT_RIGHT
-
nnk_select_symbol_label
public static int nnk_select_symbol_label(long ctx, int symbol, long str, int align, int value)Unsafe version of:select_symbol_label
-
nk_select_symbol_label
public static boolean nk_select_symbol_label(NkContext ctx, int symbol, java.nio.ByteBuffer str, int align, boolean value) public static boolean nk_select_symbol_label(NkContext ctx, int symbol, java.lang.CharSequence str, int align, boolean value)
- Parameters:
ctx- the nuklear contextsymbol- one of:align- one of:TEXT_LEFTTEXT_CENTEREDTEXT_RIGHT
-
nnk_select_symbol_text
public static int nnk_select_symbol_text(long ctx, int symbol, long str, int len, int align, int value)Unsafe version of:select_symbol_text
-
nk_select_symbol_text
public static boolean nk_select_symbol_text(NkContext ctx, int symbol, java.nio.ByteBuffer str, int align, boolean value) public static boolean nk_select_symbol_text(NkContext ctx, int symbol, java.lang.CharSequence str, int align, boolean value)
- Parameters:
ctx- the nuklear contextsymbol- one of:align- one of:TEXT_LEFTTEXT_CENTEREDTEXT_RIGHT
-
nnk_slide_float
public static float nnk_slide_float(long ctx, float min, float val, float max, float step)Unsafe version of:slide_float
-
nk_slide_float
public static float nk_slide_float(NkContext ctx, float min, float val, float max, float step)
- Parameters:
ctx- the nuklear context
-
nnk_slide_int
public static int nnk_slide_int(long ctx, int min, int val, int max, int step)Unsafe version of:slide_int
-
nk_slide_int
public static int nk_slide_int(NkContext ctx, int min, int val, int max, int step)
- Parameters:
ctx- the nuklear context
-
nnk_slider_float
public static int nnk_slider_float(long ctx, float min, long val, float max, float step)Unsafe version of:slider_float
-
nk_slider_float
public static int nk_slider_float(NkContext ctx, float min, java.nio.FloatBuffer val, float max, float step)
- Parameters:
ctx- the nuklear context
-
nnk_slider_int
public static int nnk_slider_int(long ctx, int min, long val, int max, int step)Unsafe version of:slider_int
-
nk_slider_int
public static int nk_slider_int(NkContext ctx, int min, java.nio.IntBuffer val, int max, int step)
- Parameters:
ctx- the nuklear context
-
nnk_progress
public static int nnk_progress(long ctx, long cur, long max, int modifyable)Unsafe version of:progress
-
nk_progress
public static boolean nk_progress(NkContext ctx, org.lwjgl.PointerBuffer cur, long max, boolean modifyable)
- Parameters:
ctx- the nuklear context
-
nnk_prog
public static long nnk_prog(long ctx, long cur, long max, int modifyable)Unsafe version of:prog
-
nk_prog
public static long nk_prog(NkContext ctx, long cur, long max, boolean modifyable)
- Parameters:
ctx- the nuklear context
-
nnk_color_picker
public static void nnk_color_picker(long ctx, long color, int fmt)Unsafe version of:color_picker
-
nnk_color_pick
public static int nnk_color_pick(long ctx, long color, int fmt)Unsafe version of:color_pick
-
nnk_property_int
public 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
-
nk_property_int
public 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) public 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)
- Parameters:
ctx- the nuklear context
-
nnk_property_float
public 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
-
nk_property_float
public 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) public 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)
- Parameters:
ctx- the nuklear context
-
nnk_property_double
public 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
-
nk_property_double
public 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) public 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)
- Parameters:
ctx- the nuklear context
-
nnk_propertyi
public static int nnk_propertyi(long ctx, long name, int min, int val, int max, int step, float inc_per_pixel)Unsafe version of:propertyi
-
nk_propertyi
public static int nk_propertyi(NkContext ctx, java.nio.ByteBuffer name, int min, int val, int max, int step, float inc_per_pixel) public static int nk_propertyi(NkContext ctx, java.lang.CharSequence name, int min, int val, int max, int step, float inc_per_pixel)
- Parameters:
ctx- the nuklear context
-
nnk_propertyf
public static float nnk_propertyf(long ctx, long name, float min, float val, float max, float step, float inc_per_pixel)Unsafe version of:propertyf
-
nk_propertyf
public static float nk_propertyf(NkContext ctx, java.nio.ByteBuffer name, float min, float val, float max, float step, float inc_per_pixel) public static float nk_propertyf(NkContext ctx, java.lang.CharSequence name, float min, float val, float max, float step, float inc_per_pixel)
- Parameters:
ctx- the nuklear context
-
nnk_propertyd
public static double nnk_propertyd(long ctx, long name, double min, double val, double max, double step, float inc_per_pixel)Unsafe version of:propertyd
-
nk_propertyd
public static double nk_propertyd(NkContext ctx, java.nio.ByteBuffer name, double min, double val, double max, double step, float inc_per_pixel) public static double nk_propertyd(NkContext ctx, java.lang.CharSequence name, double min, double val, double max, double step, float inc_per_pixel)
- Parameters:
ctx- the nuklear context
-
nnk_edit_focus
public static void nnk_edit_focus(long ctx, int flags)Unsafe version of:edit_focus
-
nk_edit_focus
public static void nk_edit_focus(NkContext ctx, int flags)
-
nnk_edit_unfocus
public static void nnk_edit_unfocus(long ctx)
Unsafe version of:edit_unfocus
-
nk_edit_unfocus
public static void nk_edit_unfocus(NkContext ctx)
- Parameters:
ctx- the nuklear context
-
nnk_edit_string
public static int nnk_edit_string(long ctx, int flags, long memory, long len, int max, long filter)Unsafe version of:edit_string
-
nk_edit_string
public 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)
-
nnk_edit_buffer
public static int nnk_edit_buffer(long ctx, int flags, long edit, long filter)Unsafe version of:edit_buffer
-
nk_edit_buffer
public static int nk_edit_buffer(NkContext ctx, int flags, org.lwjgl.nuklear.NkTextEdit edit, @Nullable NkPluginFilterI filter)
-
nnk_edit_string_zero_terminated
public static int nnk_edit_string_zero_terminated(long ctx, int flags, long buffer, int max, long filter)Unsafe version of:edit_string_zero_terminated
-
nk_edit_string_zero_terminated
public 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)
-
nnk_chart_begin
public static int nnk_chart_begin(long ctx, int type, int num, float min, float max)Unsafe version of:chart_begin
-
nk_chart_begin
public static boolean nk_chart_begin(NkContext ctx, int type, int num, float min, float max)
- Parameters:
ctx- the nuklear contexttype- one of:CHART_LINESCHART_COLUMNCHART_MAX
-
nnk_chart_begin_colored
public 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
-
nk_chart_begin_colored
public static boolean nk_chart_begin_colored(NkContext ctx, int type, NkColor color, NkColor active, int num, float min, float max)
- Parameters:
ctx- the nuklear contexttype- one of:CHART_LINESCHART_COLUMNCHART_MAX
-
nnk_chart_add_slot
public static void nnk_chart_add_slot(long ctx, int type, int count, float min_value, float max_value)Unsafe version of:chart_add_slot
-
nk_chart_add_slot
public static void nk_chart_add_slot(NkContext ctx, int type, int count, float min_value, float max_value)
- Parameters:
ctx- the nuklear contexttype- one of:CHART_LINESCHART_COLUMNCHART_MAX
-
nnk_chart_add_slot_colored
public 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
-
nk_chart_add_slot_colored
public static void nk_chart_add_slot_colored(NkContext ctx, int type, NkColor color, NkColor active, int count, float min_value, float max_value)
- Parameters:
ctx- the nuklear contexttype- one of:CHART_LINESCHART_COLUMNCHART_MAX
-
nnk_chart_push
public static int nnk_chart_push(long ctx, float value)Unsafe version of:chart_push
-
nk_chart_push
public static int nk_chart_push(NkContext ctx, float value)
- Parameters:
ctx- the nuklear context
-
nnk_chart_push_slot
public static int nnk_chart_push_slot(long ctx, float value, int slot)Unsafe version of:chart_push_slot
-
nk_chart_push_slot
public static int nk_chart_push_slot(NkContext ctx, float value, int slot)
- Parameters:
ctx- the nuklear context
-
nnk_chart_end
public static void nnk_chart_end(long ctx)
Unsafe version of:chart_end
-
nk_chart_end
public static void nk_chart_end(NkContext ctx)
- Parameters:
ctx- the nuklear context
-
nnk_plot
public static void nnk_plot(long ctx, int type, long values, int count, int offset)Unsafe version of:plot
-
nk_plot
public static void nk_plot(NkContext ctx, int type, java.nio.FloatBuffer values, int count, int offset)
- Parameters:
ctx- the nuklear contexttype- one of:CHART_LINESCHART_COLUMNCHART_MAX
-
nnk_plot_function
public static void nnk_plot_function(long ctx, int type, long userdata, long value_getter, int count, int offset)Unsafe version of:plot_function
-
nk_plot_function
public static void nk_plot_function(NkContext ctx, int type, long userdata, NkValueGetterI value_getter, int count, int offset)
- Parameters:
ctx- the nuklear contexttype- one of:CHART_LINESCHART_COLUMNCHART_MAX
-
nnk_popup_begin
public static int nnk_popup_begin(long ctx, int type, long title, int flags, long rect)Unsafe version of:popup_begin
-
nk_popup_begin
public static boolean nk_popup_begin(NkContext ctx, int type, java.nio.ByteBuffer title, int flags, NkRect rect) public static boolean nk_popup_begin(NkContext ctx, int type, java.lang.CharSequence title, int flags, NkRect rect)
- Parameters:
ctx- the nuklear contexttype- one of:POPUP_STATICPOPUP_DYNAMICflags- one of:WINDOW_BORDERWINDOW_MOVABLEWINDOW_SCALABLEWINDOW_CLOSABLEWINDOW_MINIMIZABLEWINDOW_NO_SCROLLBARWINDOW_TITLEWINDOW_SCROLL_AUTO_HIDEWINDOW_BACKGROUNDWINDOW_SCALE_LEFTWINDOW_NO_INPUT
-
nnk_popup_close
public static void nnk_popup_close(long ctx)
Unsafe version of:popup_close
-
nk_popup_close
public static void nk_popup_close(NkContext ctx)
- Parameters:
ctx- the nuklear context
-
nnk_popup_end
public static void nnk_popup_end(long ctx)
Unsafe version of:popup_end
-
nk_popup_end
public static void nk_popup_end(NkContext ctx)
- Parameters:
ctx- the nuklear context
-
nnk_combo
public static int nnk_combo(long ctx, long items, int count, int selected, int item_height, long size)Unsafe version of:combo
-
nk_combo
public static boolean nk_combo(NkContext ctx, org.lwjgl.PointerBuffer items, boolean selected, int item_height, NkVec2 size)
- Parameters:
ctx- the nuklear context
-
nnk_combo_separator
public 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
-
nk_combo_separator
public 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) public 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)
- Parameters:
ctx- the nuklear context
-
nnk_combo_string
public 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
-
nk_combo_string
public static boolean nk_combo_string(NkContext ctx, java.nio.ByteBuffer items_separated_by_zeros, boolean selected, int count, int item_height, NkVec2 size) public static boolean nk_combo_string(NkContext ctx, java.lang.CharSequence items_separated_by_zeros, boolean selected, int count, int item_height, NkVec2 size)
- Parameters:
ctx- the nuklear context
-
nnk_combo_callback
public 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
-
nk_combo_callback
public static boolean nk_combo_callback(NkContext ctx, NkItemGetterI item_getter, long userdata, boolean selected, int count, int item_height, NkVec2 size)
- Parameters:
ctx- the nuklear context
-
nnk_combobox
public static void nnk_combobox(long ctx, long items, int count, long selected, int item_height, long size)Unsafe version of:combobox
-
nk_combobox
public static void nk_combobox(NkContext ctx, org.lwjgl.PointerBuffer items, java.nio.IntBuffer selected, int item_height, NkVec2 size)
- Parameters:
ctx- the nuklear context
-
nnk_combobox_string
public 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
-
nk_combobox_string
public 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) public 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)
- Parameters:
ctx- the nuklear context
-
nnk_combobox_separator
public 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
-
nk_combobox_separator
public 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) public 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)
- Parameters:
ctx- the nuklear context
-
nnk_combobox_callback
public 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
-
nk_combobox_callback
public static void nk_combobox_callback(NkContext ctx, NkItemGetterI item_getter, long userdata, java.nio.IntBuffer selected, int count, int item_height, NkVec2 size)
- Parameters:
ctx- the nuklear context
-
nnk_combo_begin_text
public static int nnk_combo_begin_text(long ctx, long selected, int len, long size)Unsafe version of:combo_begin_text
-
nk_combo_begin_text
public static boolean nk_combo_begin_text(NkContext ctx, java.nio.ByteBuffer selected, NkVec2 size) public static boolean nk_combo_begin_text(NkContext ctx, java.lang.CharSequence selected, NkVec2 size)
- Parameters:
ctx- the nuklear context
-
nnk_combo_begin_label
public static int nnk_combo_begin_label(long ctx, long selected, long size)Unsafe version of:combo_begin_label
-
nk_combo_begin_label
public static boolean nk_combo_begin_label(NkContext ctx, java.nio.ByteBuffer selected, NkVec2 size) public static boolean nk_combo_begin_label(NkContext ctx, java.lang.CharSequence selected, NkVec2 size)
- Parameters:
ctx- the nuklear context
-
nnk_combo_begin_color
public static int nnk_combo_begin_color(long ctx, long color, long size)Unsafe version of:combo_begin_color
-
nk_combo_begin_color
public static boolean nk_combo_begin_color(NkContext ctx, NkColor color, NkVec2 size)
- Parameters:
ctx- the nuklear context
-
nnk_combo_begin_symbol
public static int nnk_combo_begin_symbol(long ctx, int symbol, long size)Unsafe version of:combo_begin_symbol
-
nk_combo_begin_symbol
public static boolean nk_combo_begin_symbol(NkContext ctx, int symbol, NkVec2 size)
-
nnk_combo_begin_symbol_label
public static int nnk_combo_begin_symbol_label(long ctx, long selected, int symbol, long size)Unsafe version of:combo_begin_symbol_label
-
nk_combo_begin_symbol_label
public 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)
-
nnk_combo_begin_symbol_text
public static int nnk_combo_begin_symbol_text(long ctx, long selected, int len, int symbol, long size)Unsafe version of:combo_begin_symbol_text
-
nk_combo_begin_symbol_text
public 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)
-
nnk_combo_begin_image
public static int nnk_combo_begin_image(long ctx, long img, long size)Unsafe version of:combo_begin_image
-
nk_combo_begin_image
public static boolean nk_combo_begin_image(NkContext ctx, NkImage img, NkVec2 size)
- Parameters:
ctx- the nuklear context
-
nnk_combo_begin_image_label
public static int nnk_combo_begin_image_label(long ctx, long selected, long img, long size)Unsafe version of:combo_begin_image_label
-
nk_combo_begin_image_label
public static boolean nk_combo_begin_image_label(NkContext ctx, java.nio.ByteBuffer selected, NkImage img, NkVec2 size) public static boolean nk_combo_begin_image_label(NkContext ctx, java.lang.CharSequence selected, NkImage img, NkVec2 size)
- Parameters:
ctx- the nuklear context
-
nnk_combo_begin_image_text
public static int nnk_combo_begin_image_text(long ctx, long selected, int len, long img, long size)Unsafe version of:combo_begin_image_text
-
nk_combo_begin_image_text
public static boolean nk_combo_begin_image_text(NkContext ctx, java.nio.ByteBuffer selected, NkImage img, NkVec2 size) public static boolean nk_combo_begin_image_text(NkContext ctx, java.lang.CharSequence selected, NkImage img, NkVec2 size)
- Parameters:
ctx- the nuklear context
-
nnk_combo_item_label
public static int nnk_combo_item_label(long ctx, long text, int alignment)Unsafe version of:combo_item_label
-
nk_combo_item_label
public static boolean nk_combo_item_label(NkContext ctx, java.nio.ByteBuffer text, int alignment) public static boolean nk_combo_item_label(NkContext ctx, java.lang.CharSequence text, int alignment)
- Parameters:
ctx- the nuklear contextalignment- one of:TEXT_LEFTTEXT_CENTEREDTEXT_RIGHT
-
nnk_combo_item_text
public static int nnk_combo_item_text(long ctx, long text, int len, int alignment)Unsafe version of:combo_item_text
-
nk_combo_item_text
public static boolean nk_combo_item_text(NkContext ctx, java.nio.ByteBuffer text, int alignment) public static boolean nk_combo_item_text(NkContext ctx, java.lang.CharSequence text, int alignment)
- Parameters:
ctx- the nuklear contextalignment- one of:TEXT_LEFTTEXT_CENTEREDTEXT_RIGHT
-
nnk_combo_item_image_label
public static int nnk_combo_item_image_label(long ctx, long img, long text, int alignment)Unsafe version of:combo_item_image_label
-
nk_combo_item_image_label
public static boolean nk_combo_item_image_label(NkContext ctx, NkImage img, java.nio.ByteBuffer text, int alignment) public static boolean nk_combo_item_image_label(NkContext ctx, NkImage img, java.lang.CharSequence text, int alignment)
- Parameters:
ctx- the nuklear contextalignment- one of:TEXT_LEFTTEXT_CENTEREDTEXT_RIGHT
-
nnk_combo_item_image_text
public static int nnk_combo_item_image_text(long ctx, long img, long text, int len, int alignment)Unsafe version of:combo_item_image_text
-
nk_combo_item_image_text
public static boolean nk_combo_item_image_text(NkContext ctx, NkImage img, java.nio.ByteBuffer text, int alignment) public static boolean nk_combo_item_image_text(NkContext ctx, NkImage img, java.lang.CharSequence text, int alignment)
- Parameters:
ctx- the nuklear contextalignment- one of:TEXT_LEFTTEXT_CENTEREDTEXT_RIGHT
-
nnk_combo_item_symbol_label
public static int nnk_combo_item_symbol_label(long ctx, int symbol, long text, int alignment)Unsafe version of:combo_item_symbol_label
-
nk_combo_item_symbol_label
public static boolean nk_combo_item_symbol_label(NkContext ctx, int symbol, java.nio.ByteBuffer text, int alignment) public static boolean nk_combo_item_symbol_label(NkContext ctx, int symbol, java.lang.CharSequence text, int alignment)
- Parameters:
ctx- the nuklear contextsymbol- one of:alignment- one of:TEXT_LEFTTEXT_CENTEREDTEXT_RIGHT
-
nnk_combo_item_symbol_text
public static int nnk_combo_item_symbol_text(long ctx, int symbol, long text, int len, int alignment)Unsafe version of:combo_item_symbol_text
-
nk_combo_item_symbol_text
public static boolean nk_combo_item_symbol_text(NkContext ctx, int symbol, java.nio.ByteBuffer text, int alignment) public static boolean nk_combo_item_symbol_text(NkContext ctx, int symbol, java.lang.CharSequence text, int alignment)
- Parameters:
ctx- the nuklear contextsymbol- one of:alignment- one of:TEXT_LEFTTEXT_CENTEREDTEXT_RIGHT
-
nnk_combo_close
public static void nnk_combo_close(long ctx)
Unsafe version of:combo_close
-
nk_combo_close
public static void nk_combo_close(NkContext ctx)
- Parameters:
ctx- the nuklear context
-
nnk_combo_end
public static void nnk_combo_end(long ctx)
Unsafe version of:combo_end
-
nk_combo_end
public static void nk_combo_end(NkContext ctx)
- Parameters:
ctx- the nuklear context
-
nnk_contextual_begin
public static int nnk_contextual_begin(long ctx, int flags, long size, long trigger_bounds)Unsafe version of:contextual_begin
-
nk_contextual_begin
public static boolean nk_contextual_begin(NkContext ctx, int flags, NkVec2 size, NkRect trigger_bounds)
- Parameters:
ctx- the nuklear contextflags- one of:WINDOW_PRIVATEWINDOW_DYNAMICWINDOW_ROMWINDOW_HIDDENWINDOW_CLOSEDWINDOW_MINIMIZEDWINDOW_REMOVE_ROM
-
nnk_contextual_item_text
public static int nnk_contextual_item_text(long ctx, long text, int len, int align)Unsafe version of:contextual_item_text
-
nk_contextual_item_text
public static boolean nk_contextual_item_text(NkContext ctx, java.nio.ByteBuffer text, int align) public static boolean nk_contextual_item_text(NkContext ctx, java.lang.CharSequence text, int align)
- Parameters:
ctx- the nuklear contextalign- one of:TEXT_LEFTTEXT_CENTEREDTEXT_RIGHT
-
nnk_contextual_item_label
public static int nnk_contextual_item_label(long ctx, long text, int align)Unsafe version of:contextual_item_label
-
nk_contextual_item_label
public static boolean nk_contextual_item_label(NkContext ctx, java.nio.ByteBuffer text, int align) public static boolean nk_contextual_item_label(NkContext ctx, java.lang.CharSequence text, int align)
- Parameters:
ctx- the nuklear contextalign- one of:TEXT_LEFTTEXT_CENTEREDTEXT_RIGHT
-
nnk_contextual_item_image_label
public static int nnk_contextual_item_image_label(long ctx, long img, long text, int alignment)Unsafe version of:contextual_item_image_label
-
nk_contextual_item_image_label
public static boolean nk_contextual_item_image_label(NkContext ctx, NkImage img, java.nio.ByteBuffer text, int alignment) public static boolean nk_contextual_item_image_label(NkContext ctx, NkImage img, java.lang.CharSequence text, int alignment)
- Parameters:
ctx- the nuklear contextalignment- one of:TEXT_LEFTTEXT_CENTEREDTEXT_RIGHT
-
nnk_contextual_item_image_text
public static int nnk_contextual_item_image_text(long ctx, long img, long text, int len, int alignment)Unsafe version of:contextual_item_image_text
-
nk_contextual_item_image_text
public static boolean nk_contextual_item_image_text(NkContext ctx, NkImage img, java.nio.ByteBuffer text, int alignment) public static boolean nk_contextual_item_image_text(NkContext ctx, NkImage img, java.lang.CharSequence text, int alignment)
- Parameters:
ctx- the nuklear contextalignment- one of:TEXT_LEFTTEXT_CENTEREDTEXT_RIGHT
-
nnk_contextual_item_symbol_label
public static int nnk_contextual_item_symbol_label(long ctx, int symbol, long text, int alignment)Unsafe version of:contextual_item_symbol_label
-
nk_contextual_item_symbol_label
public static boolean nk_contextual_item_symbol_label(NkContext ctx, int symbol, java.nio.ByteBuffer text, int alignment) public static boolean nk_contextual_item_symbol_label(NkContext ctx, int symbol, java.lang.CharSequence text, int alignment)
- Parameters:
ctx- the nuklear contextsymbol- one of:alignment- one of:TEXT_LEFTTEXT_CENTEREDTEXT_RIGHT
-
nnk_contextual_item_symbol_text
public static int nnk_contextual_item_symbol_text(long ctx, int symbol, long text, int len, int alignment)Unsafe version of:contextual_item_symbol_text
-
nk_contextual_item_symbol_text
public static boolean nk_contextual_item_symbol_text(NkContext ctx, int symbol, java.nio.ByteBuffer text, int alignment) public static boolean nk_contextual_item_symbol_text(NkContext ctx, int symbol, java.lang.CharSequence text, int alignment)
- Parameters:
ctx- the nuklear contextsymbol- one of:alignment- one of:TEXT_LEFTTEXT_CENTEREDTEXT_RIGHT
-
nnk_contextual_close
public static void nnk_contextual_close(long ctx)
Unsafe version of:contextual_close
-
nk_contextual_close
public static void nk_contextual_close(NkContext ctx)
- Parameters:
ctx- the nuklear context
-
nnk_contextual_end
public static void nnk_contextual_end(long ctx)
Unsafe version of:contextual_end
-
nk_contextual_end
public static void nk_contextual_end(NkContext ctx)
- Parameters:
ctx- the nuklear context
-
nnk_tooltip
public static void nnk_tooltip(long ctx, long text)Unsafe version of:tooltip
-
nk_tooltip
public static void nk_tooltip(NkContext ctx, java.nio.ByteBuffer text) public static void nk_tooltip(NkContext ctx, java.lang.CharSequence text)
- Parameters:
ctx- the nuklear context
-
nnk_tooltip_begin
public static int nnk_tooltip_begin(long ctx, float width)Unsafe version of:tooltip_begin
-
nk_tooltip_begin
public static boolean nk_tooltip_begin(NkContext ctx, float width)
- Parameters:
ctx- the nuklear context
-
nnk_tooltip_end
public static void nnk_tooltip_end(long ctx)
Unsafe version of:tooltip_end
-
nk_tooltip_end
public static void nk_tooltip_end(NkContext ctx)
- Parameters:
ctx- the nuklear context
-
nnk_menubar_begin
public static void nnk_menubar_begin(long ctx)
Unsafe version of:menubar_begin
-
nk_menubar_begin
public static void nk_menubar_begin(NkContext ctx)
- Parameters:
ctx- the nuklear context
-
nnk_menubar_end
public static void nnk_menubar_end(long ctx)
Unsafe version of:menubar_end
-
nk_menubar_end
public static void nk_menubar_end(NkContext ctx)
- Parameters:
ctx- the nuklear context
-
nnk_menu_begin_text
public static int nnk_menu_begin_text(long ctx, long text, int len, int align, long size)Unsafe version of:menu_begin_text
-
nk_menu_begin_text
public static boolean nk_menu_begin_text(NkContext ctx, java.nio.ByteBuffer text, int align, NkVec2 size) public static boolean nk_menu_begin_text(NkContext ctx, java.lang.CharSequence text, int align, NkVec2 size)
- Parameters:
ctx- the nuklear contextalign- one of:TEXT_LEFTTEXT_CENTEREDTEXT_RIGHT
-
nnk_menu_begin_label
public static int nnk_menu_begin_label(long ctx, long text, int align, long size)Unsafe version of:menu_begin_label
-
nk_menu_begin_label
public static boolean nk_menu_begin_label(NkContext ctx, java.nio.ByteBuffer text, int align, NkVec2 size) public static boolean nk_menu_begin_label(NkContext ctx, java.lang.CharSequence text, int align, NkVec2 size)
- Parameters:
ctx- the nuklear contextalign- one of:TEXT_LEFTTEXT_CENTEREDTEXT_RIGHT
-
nnk_menu_begin_image
public static int nnk_menu_begin_image(long ctx, long text, long img, long size)Unsafe version of:menu_begin_image
-
nk_menu_begin_image
public static boolean nk_menu_begin_image(NkContext ctx, java.nio.ByteBuffer text, NkImage img, NkVec2 size) public static boolean nk_menu_begin_image(NkContext ctx, java.lang.CharSequence text, NkImage img, NkVec2 size)
- Parameters:
ctx- the nuklear context
-
nnk_menu_begin_image_text
public 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
-
nk_menu_begin_image_text
public static boolean nk_menu_begin_image_text(NkContext ctx, java.nio.ByteBuffer text, int align, NkImage img, NkVec2 size) public static boolean nk_menu_begin_image_text(NkContext ctx, java.lang.CharSequence text, int align, NkImage img, NkVec2 size)
- Parameters:
ctx- the nuklear contextalign- one of:TEXT_LEFTTEXT_CENTEREDTEXT_RIGHT
-
nnk_menu_begin_image_label
public static int nnk_menu_begin_image_label(long ctx, long text, int align, long img, long size)Unsafe version of:menu_begin_image_label
-
nk_menu_begin_image_label
public static boolean nk_menu_begin_image_label(NkContext ctx, java.nio.ByteBuffer text, int align, NkImage img, NkVec2 size) public static boolean nk_menu_begin_image_label(NkContext ctx, java.lang.CharSequence text, int align, NkImage img, NkVec2 size)
- Parameters:
ctx- the nuklear contextalign- one of:TEXT_LEFTTEXT_CENTEREDTEXT_RIGHT
-
nnk_menu_begin_symbol
public static int nnk_menu_begin_symbol(long ctx, long text, int symbol, long size)Unsafe version of:menu_begin_symbol
-
nk_menu_begin_symbol
public 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)
-
nnk_menu_begin_symbol_text
public 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
-
nk_menu_begin_symbol_text
public static boolean nk_menu_begin_symbol_text(NkContext ctx, java.nio.ByteBuffer text, int align, int symbol, NkVec2 size) public static boolean nk_menu_begin_symbol_text(NkContext ctx, java.lang.CharSequence text, int align, int symbol, NkVec2 size)
- Parameters:
ctx- the nuklear contextalign- one of:TEXT_LEFTTEXT_CENTEREDTEXT_RIGHTsymbol- one of:
-
nnk_menu_begin_symbol_label
public static int nnk_menu_begin_symbol_label(long ctx, long text, int align, int symbol, long size)Unsafe version of:menu_begin_symbol_label
-
nk_menu_begin_symbol_label
public static boolean nk_menu_begin_symbol_label(NkContext ctx, java.nio.ByteBuffer text, int align, int symbol, NkVec2 size) public static boolean nk_menu_begin_symbol_label(NkContext ctx, java.lang.CharSequence text, int align, int symbol, NkVec2 size)
- Parameters:
ctx- the nuklear contextalign- one of:TEXT_LEFTTEXT_CENTEREDTEXT_RIGHTsymbol- one of:
-
nnk_menu_item_text
public static int nnk_menu_item_text(long ctx, long text, int len, int align)Unsafe version of:menu_item_text
-
nk_menu_item_text
public static boolean nk_menu_item_text(NkContext ctx, java.nio.ByteBuffer text, int align) public static boolean nk_menu_item_text(NkContext ctx, java.lang.CharSequence text, int align)
- Parameters:
ctx- the nuklear contextalign- one of:TEXT_LEFTTEXT_CENTEREDTEXT_RIGHT
-
nnk_menu_item_label
public static int nnk_menu_item_label(long ctx, long text, int alignment)Unsafe version of:menu_item_label
-
nk_menu_item_label
public static boolean nk_menu_item_label(NkContext ctx, java.nio.ByteBuffer text, int alignment) public static boolean nk_menu_item_label(NkContext ctx, java.lang.CharSequence text, int alignment)
- Parameters:
ctx- the nuklear contextalignment- one of:TEXT_LEFTTEXT_CENTEREDTEXT_RIGHT
-
nnk_menu_item_image_label
public static int nnk_menu_item_image_label(long ctx, long img, long text, int alignment)Unsafe version of:menu_item_image_label
-
nk_menu_item_image_label
public static boolean nk_menu_item_image_label(NkContext ctx, NkImage img, java.nio.ByteBuffer text, int alignment) public static boolean nk_menu_item_image_label(NkContext ctx, NkImage img, java.lang.CharSequence text, int alignment)
- Parameters:
ctx- the nuklear contextalignment- one of:TEXT_LEFTTEXT_CENTEREDTEXT_RIGHT
-
nnk_menu_item_image_text
public static int nnk_menu_item_image_text(long ctx, long img, long text, int len, int alignment)Unsafe version of:menu_item_image_text
-
nk_menu_item_image_text
public static boolean nk_menu_item_image_text(NkContext ctx, NkImage img, java.nio.ByteBuffer text, int alignment) public static boolean nk_menu_item_image_text(NkContext ctx, NkImage img, java.lang.CharSequence text, int alignment)
- Parameters:
ctx- the nuklear contextalignment- one of:TEXT_LEFTTEXT_CENTEREDTEXT_RIGHT
-
nnk_menu_item_symbol_text
public static int nnk_menu_item_symbol_text(long ctx, int symbol, long text, int len, int alignment)Unsafe version of:menu_item_symbol_text
-
nk_menu_item_symbol_text
public static boolean nk_menu_item_symbol_text(NkContext ctx, int symbol, java.nio.ByteBuffer text, int alignment) public static boolean nk_menu_item_symbol_text(NkContext ctx, int symbol, java.lang.CharSequence text, int alignment)
- Parameters:
ctx- the nuklear contextsymbol- one of:alignment- one of:TEXT_LEFTTEXT_CENTEREDTEXT_RIGHT
-
nnk_menu_item_symbol_label
public static int nnk_menu_item_symbol_label(long ctx, int symbol, long text, int alignment)Unsafe version of:menu_item_symbol_label
-
nk_menu_item_symbol_label
public static boolean nk_menu_item_symbol_label(NkContext ctx, int symbol, java.nio.ByteBuffer text, int alignment) public static boolean nk_menu_item_symbol_label(NkContext ctx, int symbol, java.lang.CharSequence text, int alignment)
- Parameters:
ctx- the nuklear contextsymbol- one of:alignment- one of:TEXT_LEFTTEXT_CENTEREDTEXT_RIGHT
-
nnk_menu_close
public static void nnk_menu_close(long ctx)
Unsafe version of:menu_close
-
nk_menu_close
public static void nk_menu_close(NkContext ctx)
- Parameters:
ctx- the nuklear context
-
nnk_menu_end
public static void nnk_menu_end(long ctx)
Unsafe version of:menu_end
-
nk_menu_end
public static void nk_menu_end(NkContext ctx)
- Parameters:
ctx- the nuklear context
-
nnk_convert
public static int nnk_convert(long ctx, long cmds, long vertices, long elements, long config)Unsafe version of:convert
-
nk_convert
public 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.- Parameters:
ctx- the nuklear context
-
nnk_input_begin
public static void nnk_input_begin(long ctx)
Unsafe version of:input_begin
-
nk_input_begin
public 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.- Parameters:
ctx- the nuklear context
-
nnk_input_motion
public static void nnk_input_motion(long ctx, int x, int y)Unsafe version of:input_motion
-
nk_input_motion
public static void nk_input_motion(NkContext ctx, int x, int y)
Mirrors current mouse position to nuklear.- Parameters:
ctx- the nuklear context
-
nnk_input_key
public static void nnk_input_key(long ctx, int key, int down)Unsafe version of:input_key
-
nk_input_key
public static void nk_input_key(NkContext ctx, int key, boolean down)
Mirrors the state of a specific key to nuklear.- Parameters:
ctx- the nuklear contextkey- one of:
-
nnk_input_button
public static void nnk_input_button(long ctx, int id, int x, int y, int down)Unsafe version of:input_button
-
nk_input_button
public 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.- Parameters:
ctx- the nuklear contextid- one of:BUTTON_LEFTBUTTON_MIDDLEBUTTON_RIGHTBUTTON_DOUBLE
-
nnk_input_scroll
public static void nnk_input_scroll(long ctx, long val)Unsafe version of:input_scroll
-
nk_input_scroll
public static void nk_input_scroll(NkContext ctx, NkVec2 val)
Copies the last mouse scroll value to nuklear. Is generally a scroll value. So does not have to come from mouse and could also originate from touch for example.- Parameters:
ctx- the nuklear contextval- vector with both X- as well as Y-scroll value
-
nnk_input_char
public static void nnk_input_char(long ctx, byte c)Unsafe version of:input_char
-
nk_input_char
public static void nk_input_char(NkContext ctx, byte c)
Adds a single ASCII text character into an internal text buffer.- Parameters:
ctx- the nuklear context
-
nnk_input_glyph
public static void nnk_input_glyph(long ctx, long glyph)Unsafe version of:input_glyph
-
nk_input_glyph
public static void nk_input_glyph(NkContext ctx, java.nio.ByteBuffer glyph)
Adds a single multi-byte UTF-8 character into an internal text buffer.- Parameters:
ctx- the nuklear context
-
nnk_input_unicode
public static void nnk_input_unicode(long ctx, int unicode)Unsafe version of:input_unicode
-
nk_input_unicode
public static void nk_input_unicode(NkContext ctx, int unicode)
Adds a single unicode rune into an internal text buffer.- Parameters:
ctx- the nuklear context
-
nnk_input_end
public static void nnk_input_end(long ctx)
Unsafe version of:input_end
-
nk_input_end
public static void nk_input_end(NkContext ctx)
Ends the input mirroring process by calculating state changes. Don't call anynk_input_xxxfunction referenced above after this call.- Parameters:
ctx- the nuklear context
-
nnk_style_default
public static void nnk_style_default(long ctx)
Unsafe version of:style_default
-
nk_style_default
public static void nk_style_default(NkContext ctx)
- Parameters:
ctx- the nuklear context
-
nnk_style_from_table
public static void nnk_style_from_table(long ctx, long table)Unsafe version of:style_from_table
-
nk_style_from_table
public static void nk_style_from_table(NkContext ctx, NkColor.Buffer table)
- Parameters:
ctx- the nuklear context
-
nnk_style_load_cursor
public static void nnk_style_load_cursor(long ctx, int style, long cursor)Unsafe version of:style_load_cursor
-
nk_style_load_cursor
public static void nk_style_load_cursor(NkContext ctx, int style, NkCursor cursor)
- Parameters:
ctx- the nuklear contextstyle- one of:CURSOR_ARROWCURSOR_TEXTCURSOR_MOVECURSOR_RESIZE_VERTICALCURSOR_RESIZE_HORIZONTALCURSOR_RESIZE_TOP_LEFT_DOWN_RIGHTCURSOR_RESIZE_TOP_RIGHT_DOWN_LEFT
-
nnk_style_load_all_cursors
public static void nnk_style_load_all_cursors(long ctx, long cursors)Unsafe version of:style_load_all_cursors
-
nk_style_load_all_cursors
public static void nk_style_load_all_cursors(NkContext ctx, NkCursor.Buffer cursors)
- Parameters:
ctx- the nuklear context
-
nnk_style_get_color_by_name
public static long nnk_style_get_color_by_name(int c)
Unsafe version of:style_get_color_by_name
-
nk_style_get_color_by_name
@Nullable public static java.lang.String nk_style_get_color_by_name(int c)
- Parameters:
c- one of:
-
nnk_style_set_font
public static void nnk_style_set_font(long ctx, long font)Unsafe version of:style_set_font
-
nk_style_set_font
public static void nk_style_set_font(NkContext ctx, NkUserFont font)
- Parameters:
ctx- the nuklear context
-
nnk_style_set_cursor
public static int nnk_style_set_cursor(long ctx, int style)Unsafe version of:style_set_cursor
-
nk_style_set_cursor
public static int nk_style_set_cursor(NkContext ctx, int style)
- Parameters:
ctx- the nuklear contextstyle- one of:CURSOR_ARROWCURSOR_TEXTCURSOR_MOVECURSOR_RESIZE_VERTICALCURSOR_RESIZE_HORIZONTALCURSOR_RESIZE_TOP_LEFT_DOWN_RIGHTCURSOR_RESIZE_TOP_RIGHT_DOWN_LEFT
-
nnk_style_show_cursor
public static void nnk_style_show_cursor(long ctx)
Unsafe version of:style_show_cursor
-
nk_style_show_cursor
public static void nk_style_show_cursor(NkContext ctx)
- Parameters:
ctx- the nuklear context
-
nnk_style_hide_cursor
public static void nnk_style_hide_cursor(long ctx)
Unsafe version of:style_hide_cursor
-
nk_style_hide_cursor
public static void nk_style_hide_cursor(NkContext ctx)
- Parameters:
ctx- the nuklear context
-
nnk_style_push_font
public static int nnk_style_push_font(long ctx, long font)Unsafe version of:style_push_font
-
nk_style_push_font
public static int nk_style_push_font(NkContext ctx, NkUserFont font)
- Parameters:
ctx- the nuklear context
-
nnk_style_push_float
public static int nnk_style_push_float(long ctx, long address, float value)Unsafe version of:style_push_float
-
nk_style_push_float
public static int nk_style_push_float(NkContext ctx, java.nio.FloatBuffer address, float value)
- Parameters:
ctx- the nuklear context
-
nnk_style_push_vec2
public static int nnk_style_push_vec2(long ctx, long address, long value)Unsafe version of:style_push_vec2
-
nk_style_push_vec2
public static int nk_style_push_vec2(NkContext ctx, NkVec2 address, NkVec2 value)
- Parameters:
ctx- the nuklear context
-
nnk_style_push_style_item
public static int nnk_style_push_style_item(long ctx, long address, long value)Unsafe version of:style_push_style_item
-
nk_style_push_style_item
public static int nk_style_push_style_item(NkContext ctx, NkStyleItem address, NkStyleItem value)
- Parameters:
ctx- the nuklear context
-
nnk_style_push_flags
public static int nnk_style_push_flags(long ctx, long address, int value)Unsafe version of:style_push_flags
-
nk_style_push_flags
public static int nk_style_push_flags(NkContext ctx, java.nio.IntBuffer address, int value)
- Parameters:
ctx- the nuklear context
-
nnk_style_push_color
public static int nnk_style_push_color(long ctx, long address, long value)Unsafe version of:style_push_color
-
nk_style_push_color
public static int nk_style_push_color(NkContext ctx, NkColor address, NkColor value)
- Parameters:
ctx- the nuklear context
-
nnk_style_pop_font
public static int nnk_style_pop_font(long ctx)
Unsafe version of:style_pop_font
-
nk_style_pop_font
public static int nk_style_pop_font(NkContext ctx)
- Parameters:
ctx- the nuklear context
-
nnk_style_pop_float
public static int nnk_style_pop_float(long ctx)
Unsafe version of:style_pop_float
-
nk_style_pop_float
public static int nk_style_pop_float(NkContext ctx)
- Parameters:
ctx- the nuklear context
-
nnk_style_pop_vec2
public static int nnk_style_pop_vec2(long ctx)
Unsafe version of:style_pop_vec2
-
nk_style_pop_vec2
public static int nk_style_pop_vec2(NkContext ctx)
- Parameters:
ctx- the nuklear context
-
nnk_style_pop_style_item
public static int nnk_style_pop_style_item(long ctx)
Unsafe version of:style_pop_style_item
-
nk_style_pop_style_item
public static int nk_style_pop_style_item(NkContext ctx)
- Parameters:
ctx- the nuklear context
-
nnk_style_pop_flags
public static int nnk_style_pop_flags(long ctx)
Unsafe version of:style_pop_flags
-
nk_style_pop_flags
public static int nk_style_pop_flags(NkContext ctx)
- Parameters:
ctx- the nuklear context
-
nnk_style_pop_color
public static int nnk_style_pop_color(long ctx)
Unsafe version of:style_pop_color
-
nk_style_pop_color
public static int nk_style_pop_color(NkContext ctx)
- Parameters:
ctx- the nuklear context
-
nnk_widget_bounds
public static void nnk_widget_bounds(long ctx, long __result)Unsafe version of:widget_bounds
-
nk_widget_bounds
public static NkRect nk_widget_bounds(NkContext ctx, NkRect __result)
- Parameters:
ctx- the nuklear context
-
nnk_widget_position
public static void nnk_widget_position(long ctx, long __result)Unsafe version of:widget_position
-
nk_widget_position
public static NkVec2 nk_widget_position(NkContext ctx, NkVec2 __result)
- Parameters:
ctx- the nuklear context
-
nnk_widget_size
public static void nnk_widget_size(long ctx, long __result)Unsafe version of:widget_size
-
nk_widget_size
public static NkVec2 nk_widget_size(NkContext ctx, NkVec2 __result)
- Parameters:
ctx- the nuklear context
-
nnk_widget_width
public static float nnk_widget_width(long ctx)
Unsafe version of:widget_width
-
nk_widget_width
public static float nk_widget_width(NkContext ctx)
- Parameters:
ctx- the nuklear context
-
nnk_widget_height
public static float nnk_widget_height(long ctx)
Unsafe version of:widget_height
-
nk_widget_height
public static float nk_widget_height(NkContext ctx)
- Parameters:
ctx- the nuklear context
-
nnk_widget_is_hovered
public static int nnk_widget_is_hovered(long ctx)
Unsafe version of:widget_is_hovered
-
nk_widget_is_hovered
public static boolean nk_widget_is_hovered(NkContext ctx)
- Parameters:
ctx- the nuklear context
-
nnk_widget_is_mouse_clicked
public static int nnk_widget_is_mouse_clicked(long ctx, int btn)Unsafe version of:widget_is_mouse_clicked
-
nk_widget_is_mouse_clicked
public static boolean nk_widget_is_mouse_clicked(NkContext ctx, int btn)
- Parameters:
ctx- the nuklear context
-
nnk_widget_has_mouse_click_down
public static int nnk_widget_has_mouse_click_down(long ctx, int btn, int down)Unsafe version of:widget_has_mouse_click_down
-
nk_widget_has_mouse_click_down
public static boolean nk_widget_has_mouse_click_down(NkContext ctx, int btn, boolean down)
- Parameters:
ctx- the nuklear contextbtn- one of:BUTTON_LEFTBUTTON_MIDDLEBUTTON_RIGHTBUTTON_DOUBLE
-
nnk_spacing
public static void nnk_spacing(long ctx, int cols)Unsafe version of:spacing
-
nk_spacing
public static void nk_spacing(NkContext ctx, int cols)
- Parameters:
ctx- the nuklear context
-
nnk_widget
public static int nnk_widget(long bounds, long ctx)Unsafe version of:widget
-
nk_widget
public static int nk_widget(NkRect bounds, NkContext ctx)
- Parameters:
ctx- the nuklear context
-
nnk_widget_fitting
public static int nnk_widget_fitting(long bounds, long ctx, long item_padding)Unsafe version of:widget_fitting
-
nk_widget_fitting
public static int nk_widget_fitting(NkRect bounds, NkContext ctx, NkVec2 item_padding)
- Parameters:
ctx- the nuklear context
-
nnk_rgb
public static void nnk_rgb(int r, int g, int b, long __result)
-
nnk_rgb_iv
public static void nnk_rgb_iv(long rgb, long __result)
-
nnk_rgb_bv
public static void nnk_rgb_bv(long rgb, long __result)
-
nnk_rgb_f
public static void nnk_rgb_f(float r, float g, float b, long __result)
-
nnk_rgb_fv
public static void nnk_rgb_fv(long rgb, long __result)
-
nnk_rgb_cf
public static void nnk_rgb_cf(long c, long __result)
-
nnk_rgb_hex
public static void nnk_rgb_hex(long rgb, long __result)
-
nnk_rgba
public static void nnk_rgba(int r, int g, int b, int a, long __result)
-
nnk_rgba_u32
public static void nnk_rgba_u32(int in, long __result)
-
nnk_rgba_iv
public static void nnk_rgba_iv(long rgba, long __result)
-
nnk_rgba_bv
public static void nnk_rgba_bv(long rgba, long __result)
-
nnk_rgba_f
public static void nnk_rgba_f(float r, float g, float b, float a, long __result)
-
nnk_rgba_fv
public static void nnk_rgba_fv(long rgba, long __result)
-
nnk_rgba_cf
public static void nnk_rgba_cf(long c, long __result)
-
nnk_rgba_hex
public static void nnk_rgba_hex(long rgba, long __result)
-
nnk_hsva_colorf
public static void nnk_hsva_colorf(float h, float s, float v, float a, long __result)
-
nk_hsva_colorf
public static NkColorf nk_hsva_colorf(float h, float s, float v, float a, NkColorf __result)
-
nnk_hsva_colorfv
public static void nnk_hsva_colorfv(long c, long __result)
-
nnk_colorf_hsva_f
public static void nnk_colorf_hsva_f(long out_h, long out_s, long out_v, long out_a, long in)
-
nk_colorf_hsva_f
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)
-
nnk_colorf_hsva_fv
public static void nnk_colorf_hsva_fv(long hsva, long in)
-
nk_colorf_hsva_fv
public static void nk_colorf_hsva_fv(java.nio.FloatBuffer hsva, NkColorf in)
-
nnk_hsv
public static void nnk_hsv(int h, int s, int v, long __result)
-
nnk_hsv_iv
public static void nnk_hsv_iv(long hsv, long __result)
-
nnk_hsv_bv
public static void nnk_hsv_bv(long hsv, long __result)
-
nnk_hsv_f
public static void nnk_hsv_f(float h, float s, float v, long __result)
-
nnk_hsv_fv
public static void nnk_hsv_fv(long hsv, long __result)
-
nnk_hsva
public static void nnk_hsva(int h, int s, int v, int a, long __result)
-
nnk_hsva_iv
public static void nnk_hsva_iv(long hsva, long __result)
-
nnk_hsva_bv
public static void nnk_hsva_bv(long hsva, long __result)
-
nnk_hsva_f
public static void nnk_hsva_f(float h, float s, float v, float a, long __result)
-
nnk_hsva_fv
public static void nnk_hsva_fv(long hsva, long __result)
-
nnk_color_f
public static void nnk_color_f(long r, long g, long b, long a, long color)
-
nk_color_f
public static void nk_color_f(java.nio.FloatBuffer r, java.nio.FloatBuffer g, java.nio.FloatBuffer b, java.nio.FloatBuffer a, NkColor color)
-
nnk_color_fv
public static void nnk_color_fv(long rgba_out, long color)
-
nk_color_fv
public static void nk_color_fv(java.nio.FloatBuffer rgba_out, NkColor color)
-
nnk_color_cf
public static void nnk_color_cf(long color, long __result)
-
nnk_color_d
public static void nnk_color_d(long r, long g, long b, long a, long color)
-
nk_color_d
public static void nk_color_d(java.nio.DoubleBuffer r, java.nio.DoubleBuffer g, java.nio.DoubleBuffer b, java.nio.DoubleBuffer a, NkColor color)
-
nnk_color_dv
public static void nnk_color_dv(long rgba_out, long color)
-
nk_color_dv
public static void nk_color_dv(java.nio.DoubleBuffer rgba_out, NkColor color)
-
nnk_color_u32
public static int nnk_color_u32(long color)
-
nk_color_u32
public static int nk_color_u32(NkColor color)
-
nnk_color_hex_rgba
public static void nnk_color_hex_rgba(long output, long color)
-
nk_color_hex_rgba
public static void nk_color_hex_rgba(java.nio.ByteBuffer output, NkColor color)
-
nnk_color_hex_rgb
public static void nnk_color_hex_rgb(long output, long color)
-
nk_color_hex_rgb
public static void nk_color_hex_rgb(java.nio.ByteBuffer output, NkColor color)
-
nnk_color_hsv_i
public static void nnk_color_hsv_i(long out_h, long out_s, long out_v, long color)
-
nk_color_hsv_i
public static void nk_color_hsv_i(java.nio.IntBuffer out_h, java.nio.IntBuffer out_s, java.nio.IntBuffer out_v, NkColor color)
-
nnk_color_hsv_b
public static void nnk_color_hsv_b(long out_h, long out_s, long out_v, long color)
-
nk_color_hsv_b
public static void nk_color_hsv_b(java.nio.ByteBuffer out_h, java.nio.ByteBuffer out_s, java.nio.ByteBuffer out_v, NkColor color)
-
nnk_color_hsv_iv
public static void nnk_color_hsv_iv(long hsv_out, long color)
-
nk_color_hsv_iv
public static void nk_color_hsv_iv(java.nio.IntBuffer hsv_out, NkColor color)
-
nnk_color_hsv_bv
public static void nnk_color_hsv_bv(long hsv_out, long color)
-
nk_color_hsv_bv
public static void nk_color_hsv_bv(java.nio.ByteBuffer hsv_out, NkColor color)
-
nnk_color_hsv_f
public static void nnk_color_hsv_f(long out_h, long out_s, long out_v, long color)
-
nk_color_hsv_f
public static void nk_color_hsv_f(java.nio.FloatBuffer out_h, java.nio.FloatBuffer out_s, java.nio.FloatBuffer out_v, NkColor color)
-
nnk_color_hsv_fv
public static void nnk_color_hsv_fv(long hsv_out, long color)
-
nk_color_hsv_fv
public static void nk_color_hsv_fv(java.nio.FloatBuffer hsv_out, NkColor color)
-
nnk_color_hsva_i
public static void nnk_color_hsva_i(long h, long s, long v, long a, long color)
-
nk_color_hsva_i
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)
-
nnk_color_hsva_b
public static void nnk_color_hsva_b(long h, long s, long v, long a, long color)
-
nk_color_hsva_b
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)
-
nnk_color_hsva_iv
public static void nnk_color_hsva_iv(long hsva_out, long color)
-
nk_color_hsva_iv
public static void nk_color_hsva_iv(java.nio.IntBuffer hsva_out, NkColor color)
-
nnk_color_hsva_bv
public static void nnk_color_hsva_bv(long hsva_out, long color)
-
nk_color_hsva_bv
public static void nk_color_hsva_bv(java.nio.ByteBuffer hsva_out, NkColor color)
-
nnk_color_hsva_f
public static void nnk_color_hsva_f(long out_h, long out_s, long out_v, long out_a, long color)
-
nk_color_hsva_f
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)
-
nnk_color_hsva_fv
public static void nnk_color_hsva_fv(long hsva_out, long color)
-
nk_color_hsva_fv
public static void nk_color_hsva_fv(java.nio.FloatBuffer hsva_out, NkColor color)
-
nnk_handle_ptr
public static void nnk_handle_ptr(long ptr, long __result)
-
nnk_handle_id
public static void nnk_handle_id(int id, long __result)
-
nnk_image_handle
public static void nnk_image_handle(long handle, long __result)
-
nnk_image_ptr
public static void nnk_image_ptr(long ptr, long __result)
-
nnk_image_id
public static void nnk_image_id(int id, long __result)
-
nnk_image_is_subimage
public static int nnk_image_is_subimage(long img)
-
nk_image_is_subimage
public static boolean nk_image_is_subimage(NkImage img)
-
nnk_subimage_ptr
public static void nnk_subimage_ptr(long ptr, short w, short h, long sub_region, long __result)
-
nk_subimage_ptr
public static NkImage nk_subimage_ptr(long ptr, short w, short h, NkRect sub_region, NkImage __result)
-
nnk_subimage_id
public static void nnk_subimage_id(int id, short w, short h, long sub_region, long __result)
-
nk_subimage_id
public static NkImage nk_subimage_id(int id, short w, short h, NkRect sub_region, NkImage __result)
-
nnk_subimage_handle
public static void nnk_subimage_handle(long handle, short w, short h, long sub_region, long __result)
-
nk_subimage_handle
public static NkImage nk_subimage_handle(NkHandle handle, short w, short h, NkRect sub_region, NkImage __result)
-
nnk_murmur_hash
public static int nnk_murmur_hash(long key, int len, int seed)
-
nk_murmur_hash
public static int nk_murmur_hash(java.nio.ByteBuffer key, int seed)
-
nnk_triangle_from_direction
public static void nnk_triangle_from_direction(long result, long r, float pad_x, float pad_y, int direction)Unsafe version of:triangle_from_direction
-
nk_triangle_from_direction
public static void nk_triangle_from_direction(NkVec2 result, NkRect r, float pad_x, float pad_y, int direction)
-
nnk_vec2
public static void nnk_vec2(float x, float y, long __result)
-
nnk_vec2i
public static void nnk_vec2i(int x, int y, long __result)
-
nnk_vec2v
public static void nnk_vec2v(long xy, long __result)
-
nnk_vec2iv
public static void nnk_vec2iv(long xy, long __result)
-
nnk_get_null_rect
public static void nnk_get_null_rect(long __result)
-
nnk_rect
public static void nnk_rect(float x, float y, float w, float h, long __result)
-
nnk_recti
public static void nnk_recti(int x, int y, int w, int h, long __result)
-
nnk_recta
public static void nnk_recta(long pos, long size, long __result)
-
nnk_rectv
public static void nnk_rectv(long xywh, long __result)
-
nnk_rectiv
public static void nnk_rectiv(long xywh, long __result)
-
nnk_rect_pos
public static void nnk_rect_pos(long r, long __result)
-
nnk_rect_size
public static void nnk_rect_size(long r, long __result)
-
nnk_strlen
public static int nnk_strlen(long str)
-
nk_strlen
public static int nk_strlen(java.nio.ByteBuffer str)
-
nk_strlen
public static int nk_strlen(java.lang.CharSequence str)
-
nnk_stricmp
public static int nnk_stricmp(long s1, long s2)
-
nk_stricmp
public static int nk_stricmp(java.nio.ByteBuffer s1, java.nio.ByteBuffer s2)
-
nk_stricmp
public static int nk_stricmp(java.lang.CharSequence s1, java.lang.CharSequence s2)
-
nnk_stricmpn
public static int nnk_stricmpn(long s1, long s2, int n)
-
nk_stricmpn
public static int nk_stricmpn(java.nio.ByteBuffer s1, java.nio.ByteBuffer s2, int n)
-
nk_stricmpn
public static int nk_stricmpn(java.lang.CharSequence s1, java.lang.CharSequence s2, int n)
-
nnk_strtoi
public static int nnk_strtoi(long str, long endptr)
-
nk_strtoi
public static int nk_strtoi(java.nio.ByteBuffer str, org.lwjgl.PointerBuffer endptr)
-
nk_strtoi
public static int nk_strtoi(java.lang.CharSequence str, org.lwjgl.PointerBuffer endptr)
-
nnk_strtof
public static float nnk_strtof(long str, long endptr)
-
nk_strtof
public static float nk_strtof(java.nio.ByteBuffer str, org.lwjgl.PointerBuffer endptr)
-
nk_strtof
public static float nk_strtof(java.lang.CharSequence str, org.lwjgl.PointerBuffer endptr)
-
nnk_strtod
public static double nnk_strtod(long str, long endptr)
-
nk_strtod
public static double nk_strtod(java.nio.ByteBuffer str, org.lwjgl.PointerBuffer endptr)
-
nk_strtod
public static double nk_strtod(java.lang.CharSequence str, org.lwjgl.PointerBuffer endptr)
-
nnk_strfilter
public static int nnk_strfilter(long str, long regexp)Unsafe version of:strfilter
-
nk_strfilter
public 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)- c - matches any literal character c
- . - matches any single character
- ^ - matches the beginning of the input string
- $ - matches the end of the input string
- * - matches zero or more occurrences of the previous character
-
nnk_strmatch_fuzzy_string
public static int nnk_strmatch_fuzzy_string(long str, long pattern, long out_score)Unsafe version of:strmatch_fuzzy_string
-
nk_strmatch_fuzzy_string
public static boolean nk_strmatch_fuzzy_string(java.nio.ByteBuffer str, java.nio.ByteBuffer pattern, java.nio.IntBuffer out_score) public static boolean nk_strmatch_fuzzy_string(java.lang.CharSequence str, java.lang.CharSequence pattern, java.nio.IntBuffer out_score)Returns true if each character inpatternis found sequentially withinstrif found thenout_scoreis also set. Score value has no intrinsic meaning. Range varies withpattern. Can only compare scores with same search pattern.
-
nnk_strmatch_fuzzy_text
public static int nnk_strmatch_fuzzy_text(long txt, int txt_len, long pattern, long out_score)
-
nk_strmatch_fuzzy_text
public static int nk_strmatch_fuzzy_text(java.nio.ByteBuffer txt, java.nio.ByteBuffer pattern, java.nio.IntBuffer out_score)
-
nk_strmatch_fuzzy_text
public static int nk_strmatch_fuzzy_text(java.lang.CharSequence txt, java.lang.CharSequence pattern, java.nio.IntBuffer out_score)
-
nnk_utf_decode
public static int nnk_utf_decode(long c, long u, int clen)
-
nk_utf_decode
public static int nk_utf_decode(java.nio.ByteBuffer c, java.nio.IntBuffer u)
-
nnk_utf_encode
public static int nnk_utf_encode(int u, long c, int clen)
-
nk_utf_encode
public static int nk_utf_encode(int u, java.nio.ByteBuffer c)
-
nnk_utf_len
public static int nnk_utf_len(long str, int byte_len)
-
nk_utf_len
public static int nk_utf_len(java.nio.ByteBuffer str)
-
nnk_utf_at
public static long nnk_utf_at(long buffer, int length, int index, long unicode, long len)
-
nk_utf_at
@Nullable public static java.nio.ByteBuffer nk_utf_at(java.nio.ByteBuffer buffer, int index, java.nio.IntBuffer unicode)
-
nnk_buffer_init
public static void nnk_buffer_init(long buffer, long allocator, long size)
-
nk_buffer_init
public static void nk_buffer_init(NkBuffer buffer, NkAllocator allocator, long size)
-
nnk_buffer_init_fixed
public static void nnk_buffer_init_fixed(long buffer, long memory, long size)
-
nk_buffer_init_fixed
public static void nk_buffer_init_fixed(NkBuffer buffer, java.nio.ByteBuffer memory)
-
nnk_buffer_info
public static void nnk_buffer_info(long status, long buffer)
-
nk_buffer_info
public static void nk_buffer_info(NkMemoryStatus status, NkBuffer buffer)
-
nnk_buffer_push
public static void nnk_buffer_push(long buffer, int type, long memory, long size, long align)Unsafe version of:buffer_push
-
nk_buffer_push
public static void nk_buffer_push(NkBuffer buffer, int type, java.nio.ByteBuffer memory, long align)
- Parameters:
type- one of:BUFFER_FRONTBUFFER_BACKBUFFER_MAX
-
nnk_buffer_mark
public static void nnk_buffer_mark(long buffer, int type)Unsafe version of:buffer_mark
-
nk_buffer_mark
public static void nk_buffer_mark(NkBuffer buffer, int type)
- Parameters:
type- one of:BUFFER_FRONTBUFFER_BACKBUFFER_MAX
-
nnk_buffer_reset
public static void nnk_buffer_reset(long buffer, int type)Unsafe version of:buffer_reset
-
nk_buffer_reset
public static void nk_buffer_reset(NkBuffer buffer, int type)
- Parameters:
type- one of:BUFFER_FRONTBUFFER_BACKBUFFER_MAX
-
nnk_buffer_clear
public static void nnk_buffer_clear(long buffer)
-
nk_buffer_clear
public static void nk_buffer_clear(NkBuffer buffer)
-
nnk_buffer_free
public static void nnk_buffer_free(long buffer)
-
nk_buffer_free
public static void nk_buffer_free(NkBuffer buffer)
-
nnk_buffer_memory
public static long nnk_buffer_memory(long buffer)
-
nk_buffer_memory
public static long nk_buffer_memory(NkBuffer buffer)
-
nnk_buffer_memory_const
public static long nnk_buffer_memory_const(long buffer)
-
nk_buffer_memory_const
public static long nk_buffer_memory_const(NkBuffer buffer)
-
nnk_buffer_total
public static long nnk_buffer_total(long buffer)
-
nk_buffer_total
public static long nk_buffer_total(NkBuffer buffer)
-
nnk_str_init
public static void nnk_str_init(long str, long allocator, long size)
-
nk_str_init
public static void nk_str_init(NkStr str, NkAllocator allocator, long size)
-
nnk_str_init_fixed
public static void nnk_str_init_fixed(long str, long memory, long size)
-
nk_str_init_fixed
public static void nk_str_init_fixed(NkStr str, java.nio.ByteBuffer memory)
-
nnk_str_clear
public static void nnk_str_clear(long str)
-
nk_str_clear
public static void nk_str_clear(NkStr str)
-
nnk_str_free
public static void nnk_str_free(long str)
-
nk_str_free
public static void nk_str_free(NkStr str)
-
nnk_str_append_text_char
public static int nnk_str_append_text_char(long s, long str, int len)
-
nk_str_append_text_char
public static int nk_str_append_text_char(NkStr s, java.nio.ByteBuffer str)
-
nnk_str_append_str_char
public static int nnk_str_append_str_char(long s, long str)
-
nk_str_append_str_char
public static int nk_str_append_str_char(NkStr s, java.nio.ByteBuffer str)
-
nnk_str_append_text_utf8
public static int nnk_str_append_text_utf8(long s, long str, int len)
-
nk_str_append_text_utf8
public static int nk_str_append_text_utf8(NkStr s, java.nio.ByteBuffer str)
-
nnk_str_append_str_utf8
public static int nnk_str_append_str_utf8(long s, long str)
-
nk_str_append_str_utf8
public static int nk_str_append_str_utf8(NkStr s, java.nio.ByteBuffer str)
-
nnk_str_append_text_runes
public static int nnk_str_append_text_runes(long s, long runes, int len)
-
nk_str_append_text_runes
public static int nk_str_append_text_runes(NkStr s, java.nio.IntBuffer runes)
-
nnk_str_append_str_runes
public static int nnk_str_append_str_runes(long s, long runes)
-
nk_str_append_str_runes
public static int nk_str_append_str_runes(NkStr s, java.nio.IntBuffer runes)
-
nnk_str_insert_at_char
public static int nnk_str_insert_at_char(long s, int pos, long str, int len)
-
nk_str_insert_at_char
public static int nk_str_insert_at_char(NkStr s, int pos, java.nio.ByteBuffer str)
-
nnk_str_insert_at_rune
public static int nnk_str_insert_at_rune(long s, int pos, long str, int len)
-
nk_str_insert_at_rune
public static int nk_str_insert_at_rune(NkStr s, int pos, java.nio.ByteBuffer str)
-
nnk_str_insert_text_char
public static int nnk_str_insert_text_char(long s, int pos, long str, int len)
-
nk_str_insert_text_char
public static int nk_str_insert_text_char(NkStr s, int pos, java.nio.ByteBuffer str)
-
nnk_str_insert_str_char
public static int nnk_str_insert_str_char(long s, int pos, long str)
-
nk_str_insert_str_char
public static int nk_str_insert_str_char(NkStr s, int pos, java.nio.ByteBuffer str)
-
nnk_str_insert_text_utf8
public static int nnk_str_insert_text_utf8(long s, int pos, long str, int len)
-
nk_str_insert_text_utf8
public static int nk_str_insert_text_utf8(NkStr s, int pos, java.nio.ByteBuffer str)
-
nnk_str_insert_str_utf8
public static int nnk_str_insert_str_utf8(long s, int pos, long str)
-
nk_str_insert_str_utf8
public static int nk_str_insert_str_utf8(NkStr s, int pos, java.nio.ByteBuffer str)
-
nnk_str_insert_text_runes
public static int nnk_str_insert_text_runes(long s, int pos, long runes, int len)
-
nk_str_insert_text_runes
public static int nk_str_insert_text_runes(NkStr s, int pos, java.nio.IntBuffer runes)
-
nnk_str_insert_str_runes
public static int nnk_str_insert_str_runes(long s, int pos, long runes)
-
nk_str_insert_str_runes
public static int nk_str_insert_str_runes(NkStr s, int pos, java.nio.IntBuffer runes)
-
nnk_str_remove_chars
public static void nnk_str_remove_chars(long s, int len)
-
nk_str_remove_chars
public static void nk_str_remove_chars(NkStr s, int len)
-
nnk_str_remove_runes
public static void nnk_str_remove_runes(long str, int len)
-
nk_str_remove_runes
public static void nk_str_remove_runes(NkStr str, int len)
-
nnk_str_delete_chars
public static void nnk_str_delete_chars(long s, int pos, int len)
-
nk_str_delete_chars
public static void nk_str_delete_chars(NkStr s, int pos, int len)
-
nnk_str_delete_runes
public static void nnk_str_delete_runes(long s, int pos, int len)
-
nk_str_delete_runes
public static void nk_str_delete_runes(NkStr s, int pos, int len)
-
nnk_str_at_char
public static long nnk_str_at_char(long s, int pos)
-
nk_str_at_char
@Nullable public static java.lang.String nk_str_at_char(NkStr s, int pos)
-
nnk_str_at_rune
public static long nnk_str_at_rune(long s, int pos, long unicode, long len)
-
nk_str_at_rune
@Nullable public static java.nio.ByteBuffer nk_str_at_rune(NkStr s, int pos, java.nio.IntBuffer unicode)
-
nnk_str_rune_at
public static int nnk_str_rune_at(long s, int pos)
-
nk_str_rune_at
public static int nk_str_rune_at(NkStr s, int pos)
-
nnk_str_at_char_const
public static long nnk_str_at_char_const(long s, int pos)
-
nk_str_at_char_const
@Nullable public static java.lang.String nk_str_at_char_const(NkStr s, int pos)
-
nnk_str_at_const
public static long nnk_str_at_const(long s, int pos, long unicode, long len)
-
nk_str_at_const
@Nullable public static java.nio.ByteBuffer nk_str_at_const(NkStr s, int pos, java.nio.IntBuffer unicode)
-
nnk_str_get
public static long nnk_str_get(long s)
-
nk_str_get
@Nullable public static java.lang.String nk_str_get(NkStr s)
-
nnk_str_get_const
public static long nnk_str_get_const(long s)
-
nk_str_get_const
@Nullable public static java.lang.String nk_str_get_const(NkStr s)
-
nnk_str_len
public static int nnk_str_len(long s)
-
nk_str_len
public static int nk_str_len(NkStr s)
-
nnk_str_len_char
public static int nnk_str_len_char(long s)
-
nk_str_len_char
public static int nk_str_len_char(NkStr s)
-
nnk_filter_default
public static int nnk_filter_default(long edit, int unicode)
-
nk_filter_default
public static boolean nk_filter_default(org.lwjgl.nuklear.NkTextEdit edit, int unicode)
-
nnk_filter_ascii
public static int nnk_filter_ascii(long edit, int unicode)
-
nk_filter_ascii
public static boolean nk_filter_ascii(org.lwjgl.nuklear.NkTextEdit edit, int unicode)
-
nnk_filter_float
public static int nnk_filter_float(long edit, int unicode)
-
nk_filter_float
public static boolean nk_filter_float(org.lwjgl.nuklear.NkTextEdit edit, int unicode)
-
nnk_filter_decimal
public static int nnk_filter_decimal(long edit, int unicode)
-
nk_filter_decimal
public static boolean nk_filter_decimal(org.lwjgl.nuklear.NkTextEdit edit, int unicode)
-
nnk_filter_hex
public static int nnk_filter_hex(long edit, int unicode)
-
nk_filter_hex
public static boolean nk_filter_hex(org.lwjgl.nuklear.NkTextEdit edit, int unicode)
-
nnk_filter_oct
public static int nnk_filter_oct(long edit, int unicode)
-
nk_filter_oct
public static boolean nk_filter_oct(org.lwjgl.nuklear.NkTextEdit edit, int unicode)
-
nnk_filter_binary
public static int nnk_filter_binary(long edit, int unicode)
-
nk_filter_binary
public static boolean nk_filter_binary(org.lwjgl.nuklear.NkTextEdit edit, int unicode)
-
nnk_textedit_init
public static void nnk_textedit_init(long box, long allocator, long size)
-
nk_textedit_init
public static void nk_textedit_init(org.lwjgl.nuklear.NkTextEdit box, NkAllocator allocator, long size)
-
nnk_textedit_init_fixed
public static void nnk_textedit_init_fixed(long box, long memory, long size)
-
nk_textedit_init_fixed
public static void nk_textedit_init_fixed(org.lwjgl.nuklear.NkTextEdit box, java.nio.ByteBuffer memory)
-
nnk_textedit_free
public static void nnk_textedit_free(long box)
-
nk_textedit_free
public static void nk_textedit_free(org.lwjgl.nuklear.NkTextEdit box)
-
nnk_textedit_text
public static void nnk_textedit_text(long box, long text, int total_len)
-
nk_textedit_text
public static void nk_textedit_text(org.lwjgl.nuklear.NkTextEdit box, java.nio.ByteBuffer text)
-
nk_textedit_text
public static void nk_textedit_text(org.lwjgl.nuklear.NkTextEdit box, java.lang.CharSequence text)
-
nnk_textedit_delete
public static void nnk_textedit_delete(long box, int where, int len)
-
nk_textedit_delete
public static void nk_textedit_delete(org.lwjgl.nuklear.NkTextEdit box, int where, int len)
-
nnk_textedit_delete_selection
public static void nnk_textedit_delete_selection(long box)
-
nk_textedit_delete_selection
public static void nk_textedit_delete_selection(org.lwjgl.nuklear.NkTextEdit box)
-
nnk_textedit_select_all
public static void nnk_textedit_select_all(long box)
-
nk_textedit_select_all
public static void nk_textedit_select_all(org.lwjgl.nuklear.NkTextEdit box)
-
nnk_textedit_cut
public static int nnk_textedit_cut(long box)
-
nk_textedit_cut
public static boolean nk_textedit_cut(org.lwjgl.nuklear.NkTextEdit box)
-
nnk_textedit_paste
public static int nnk_textedit_paste(long box, long ctext, int len)
-
nk_textedit_paste
public static boolean nk_textedit_paste(org.lwjgl.nuklear.NkTextEdit box, java.nio.ByteBuffer ctext)
-
nk_textedit_paste
public static boolean nk_textedit_paste(org.lwjgl.nuklear.NkTextEdit box, java.lang.CharSequence ctext)
-
nnk_textedit_undo
public static void nnk_textedit_undo(long box)
-
nk_textedit_undo
public static void nk_textedit_undo(org.lwjgl.nuklear.NkTextEdit box)
-
nnk_textedit_redo
public static void nnk_textedit_redo(long box)
-
nk_textedit_redo
public static void nk_textedit_redo(org.lwjgl.nuklear.NkTextEdit box)
-
nnk_stroke_line
public static void nnk_stroke_line(long b, float x0, float y0, float x1, float y1, float line_thickness, long color)
-
nk_stroke_line
public static void nk_stroke_line(NkCommandBuffer b, float x0, float y0, float x1, float y1, float line_thickness, NkColor color)
-
nnk_stroke_curve
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)
-
nk_stroke_curve
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)
-
nnk_stroke_rect
public static void nnk_stroke_rect(long b, long rect, float rounding, float line_thickness, long color)
-
nk_stroke_rect
public static void nk_stroke_rect(NkCommandBuffer b, NkRect rect, float rounding, float line_thickness, NkColor color)
-
nnk_stroke_circle
public static void nnk_stroke_circle(long b, long rect, float line_thickness, long color)
-
nk_stroke_circle
public static void nk_stroke_circle(NkCommandBuffer b, NkRect rect, float line_thickness, NkColor color)
-
nnk_stroke_arc
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)
-
nk_stroke_arc
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)
-
nnk_stroke_triangle
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)
-
nk_stroke_triangle
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)
-
nnk_stroke_polyline
public static void nnk_stroke_polyline(long b, long points, int point_count, float line_thickness, long col)
-
nk_stroke_polyline
public static void nk_stroke_polyline(NkCommandBuffer b, java.nio.FloatBuffer points, float line_thickness, NkColor col)
-
nnk_stroke_polygon
public static void nnk_stroke_polygon(long b, long points, int point_count, float line_thickness, long color)
-
nk_stroke_polygon
public static void nk_stroke_polygon(NkCommandBuffer b, java.nio.FloatBuffer points, float line_thickness, NkColor color)
-
nnk_fill_rect
public static void nnk_fill_rect(long b, long rect, float rounding, long color)
-
nk_fill_rect
public static void nk_fill_rect(NkCommandBuffer b, NkRect rect, float rounding, NkColor color)
-
nnk_fill_rect_multi_color
public static void nnk_fill_rect_multi_color(long b, long rect, long left, long top, long right, long bottom)
-
nk_fill_rect_multi_color
public static void nk_fill_rect_multi_color(NkCommandBuffer b, NkRect rect, NkColor left, NkColor top, NkColor right, NkColor bottom)
-
nnk_fill_circle
public static void nnk_fill_circle(long b, long rect, long color)
-
nk_fill_circle
public static void nk_fill_circle(NkCommandBuffer b, NkRect rect, NkColor color)
-
nnk_fill_arc
public static void nnk_fill_arc(long b, float cx, float cy, float radius, float a_min, float a_max, long color)
-
nk_fill_arc
public static void nk_fill_arc(NkCommandBuffer b, float cx, float cy, float radius, float a_min, float a_max, NkColor color)
-
nnk_fill_triangle
public static void nnk_fill_triangle(long b, float x0, float y0, float x1, float y1, float x2, float y2, long color)
-
nk_fill_triangle
public static void nk_fill_triangle(NkCommandBuffer b, float x0, float y0, float x1, float y1, float x2, float y2, NkColor color)
-
nnk_fill_polygon
public static void nnk_fill_polygon(long b, long points, int point_count, long color)
-
nk_fill_polygon
public static void nk_fill_polygon(NkCommandBuffer b, java.nio.FloatBuffer points, NkColor color)
-
nnk_draw_image
public static void nnk_draw_image(long b, long rect, long img, long color)
-
nk_draw_image
public static void nk_draw_image(NkCommandBuffer b, NkRect rect, NkImage img, NkColor color)
-
nnk_draw_text
public static void nnk_draw_text(long b, long rect, long string, int length, long font, long bg, long fg)
-
nk_draw_text
public static void nk_draw_text(NkCommandBuffer b, NkRect rect, java.nio.ByteBuffer string, NkUserFont font, NkColor bg, NkColor fg)
-
nk_draw_text
public static void nk_draw_text(NkCommandBuffer b, NkRect rect, java.lang.CharSequence string, NkUserFont font, NkColor bg, NkColor fg)
-
nnk_push_scissor
public static void nnk_push_scissor(long b, long rect)
-
nk_push_scissor
public static void nk_push_scissor(NkCommandBuffer b, NkRect rect)
-
nnk_push_custom
public static void nnk_push_custom(long b, long rect, long callback, long usr)
-
nk_push_custom
public static void nk_push_custom(NkCommandBuffer b, NkRect rect, NkCommandCustomCallbackI callback, NkHandle usr)
-
nnk__next
public static long nnk__next(long ctx, long cmd)Unsafe version of:_next
-
nk__next
@Nullable public static NkCommand nk__next(NkContext ctx, NkCommand cmd)
Increments the draw command iterator to the next command inside the context draw command list.- Parameters:
ctx- the nuklear context
-
nnk__begin
public static long nnk__begin(long ctx)
Unsafe version of:_begin
-
nk__begin
@Nullable public static NkCommand nk__begin(NkContext ctx)
Returns draw command pointer pointing to the next command inside the draw command list.- Parameters:
ctx- the nuklear context
-
nnk_input_has_mouse_click
public static int nnk_input_has_mouse_click(long i, int id)Unsafe version of:input_has_mouse_click
-
nk_input_has_mouse_click
public static boolean nk_input_has_mouse_click(NkInput i, int id)
- Parameters:
id- one of:BUTTON_LEFTBUTTON_MIDDLEBUTTON_RIGHTBUTTON_DOUBLE
-
nnk_input_has_mouse_click_in_rect
public static int nnk_input_has_mouse_click_in_rect(long i, int id, long rect)Unsafe version of:input_has_mouse_click_in_rect
-
nk_input_has_mouse_click_in_rect
public static boolean nk_input_has_mouse_click_in_rect(NkInput i, int id, NkRect rect)
- Parameters:
id- one of:BUTTON_LEFTBUTTON_MIDDLEBUTTON_RIGHTBUTTON_DOUBLE
-
nnk_input_has_mouse_click_down_in_rect
public 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
-
nk_input_has_mouse_click_down_in_rect
public static boolean nk_input_has_mouse_click_down_in_rect(NkInput i, int id, NkRect rect, int down)
- Parameters:
id- one of:BUTTON_LEFTBUTTON_MIDDLEBUTTON_RIGHTBUTTON_DOUBLE
-
nnk_input_is_mouse_click_in_rect
public static int nnk_input_is_mouse_click_in_rect(long i, int id, long rect)Unsafe version of:input_is_mouse_click_in_rect
-
nk_input_is_mouse_click_in_rect
public static boolean nk_input_is_mouse_click_in_rect(NkInput i, int id, NkRect rect)
- Parameters:
id- one of:BUTTON_LEFTBUTTON_MIDDLEBUTTON_RIGHTBUTTON_DOUBLE
-
nnk_input_is_mouse_click_down_in_rect
public 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
-
nk_input_is_mouse_click_down_in_rect
public static boolean nk_input_is_mouse_click_down_in_rect(NkInput i, int id, NkRect b, int down)
- Parameters:
id- one of:BUTTON_LEFTBUTTON_MIDDLEBUTTON_RIGHTBUTTON_DOUBLE
-
nnk_input_any_mouse_click_in_rect
public static int nnk_input_any_mouse_click_in_rect(long i, long rect)
-
nk_input_any_mouse_click_in_rect
public static boolean nk_input_any_mouse_click_in_rect(NkInput i, NkRect rect)
-
nnk_input_is_mouse_prev_hovering_rect
public static int nnk_input_is_mouse_prev_hovering_rect(long i, long rect)
-
nk_input_is_mouse_prev_hovering_rect
public static boolean nk_input_is_mouse_prev_hovering_rect(NkInput i, NkRect rect)
-
nnk_input_is_mouse_hovering_rect
public static int nnk_input_is_mouse_hovering_rect(long i, long rect)
-
nk_input_is_mouse_hovering_rect
public static boolean nk_input_is_mouse_hovering_rect(NkInput i, NkRect rect)
-
nnk_input_mouse_clicked
public static int nnk_input_mouse_clicked(long i, int id, long rect)Unsafe version of:input_mouse_clicked
-
nk_input_mouse_clicked
public static boolean nk_input_mouse_clicked(NkInput i, int id, NkRect rect)
- Parameters:
id- one of:BUTTON_LEFTBUTTON_MIDDLEBUTTON_RIGHTBUTTON_DOUBLE
-
nnk_input_is_mouse_down
public static int nnk_input_is_mouse_down(long i, int id)Unsafe version of:input_is_mouse_down
-
nk_input_is_mouse_down
public static boolean nk_input_is_mouse_down(NkInput i, int id)
- Parameters:
id- one of:BUTTON_LEFTBUTTON_MIDDLEBUTTON_RIGHTBUTTON_DOUBLE
-
nnk_input_is_mouse_pressed
public static int nnk_input_is_mouse_pressed(long i, int id)Unsafe version of:input_is_mouse_pressed
-
nk_input_is_mouse_pressed
public static boolean nk_input_is_mouse_pressed(NkInput i, int id)
- Parameters:
id- one of:BUTTON_LEFTBUTTON_MIDDLEBUTTON_RIGHTBUTTON_DOUBLE
-
nnk_input_is_mouse_released
public static int nnk_input_is_mouse_released(long i, int id)Unsafe version of:input_is_mouse_released
-
nk_input_is_mouse_released
public static boolean nk_input_is_mouse_released(NkInput i, int id)
- Parameters:
id- one of:BUTTON_LEFTBUTTON_MIDDLEBUTTON_RIGHTBUTTON_DOUBLE
-
nnk_input_is_key_pressed
public static int nnk_input_is_key_pressed(long i, int key)Unsafe version of:input_is_key_pressed
-
nk_input_is_key_pressed
public static boolean nk_input_is_key_pressed(NkInput i, int key)
- Parameters:
key- one of:
-
nnk_input_is_key_released
public static int nnk_input_is_key_released(long i, int key)Unsafe version of:input_is_key_released
-
nk_input_is_key_released
public static boolean nk_input_is_key_released(NkInput i, int key)
- Parameters:
key- one of:
-
nnk_input_is_key_down
public static int nnk_input_is_key_down(long i, int key)Unsafe version of:input_is_key_down
-
nk_input_is_key_down
public static boolean nk_input_is_key_down(NkInput i, int key)
- Parameters:
key- one of:
-
nnk_draw_list_init
public static void nnk_draw_list_init(long list)
-
nk_draw_list_init
public static void nk_draw_list_init(NkDrawList list)
-
nnk_draw_list_setup
public static void nnk_draw_list_setup(long canvas, long config, long cmds, long vertices, long elements, int line_aa, int shape_aa)
-
nk_draw_list_setup
public static void nk_draw_list_setup(NkDrawList canvas, NkConvertConfig config, NkBuffer cmds, NkBuffer vertices, NkBuffer elements, int line_aa, int shape_aa)
-
nnk__draw_list_begin
public static long nnk__draw_list_begin(long list, long buffer)
-
nk__draw_list_begin
@Nullable public static NkDrawCommand nk__draw_list_begin(NkDrawList list, NkBuffer buffer)
-
nnk__draw_list_next
public static long nnk__draw_list_next(long cmd, long buffer, long list)
-
nk__draw_list_next
@Nullable public static NkDrawCommand nk__draw_list_next(NkDrawCommand cmd, NkBuffer buffer, NkDrawList list)
-
nnk__draw_begin
public static long nnk__draw_begin(long ctx, long buffer)Unsafe version of:_draw_begin
-
nk__draw_begin
@Nullable public static NkDrawCommand nk__draw_begin(NkContext ctx, NkBuffer buffer)
Returns a draw vertex command buffer iterator to iterate over the vertex draw command buffer.- Parameters:
ctx- the nuklear context
-
nnk__draw_end
public static long nnk__draw_end(long ctx, long buffer)Unsafe version of:_draw_end
-
nk__draw_end
@Nullable public static NkDrawCommand nk__draw_end(NkContext ctx, NkBuffer buffer)
Returns the end of the vertex draw list.- Parameters:
ctx- the nuklear context
-
nnk__draw_next
public static long nnk__draw_next(long cmd, long buffer, long ctx)Unsafe version of:_draw_next
-
nk__draw_next
@Nullable public 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.- Parameters:
ctx- the nuklear context
-
nnk_draw_list_path_clear
public static void nnk_draw_list_path_clear(long list)
-
nk_draw_list_path_clear
public static void nk_draw_list_path_clear(NkDrawList list)
-
nnk_draw_list_path_line_to
public static void nnk_draw_list_path_line_to(long list, long pos)
-
nk_draw_list_path_line_to
public static void nk_draw_list_path_line_to(NkDrawList list, NkVec2 pos)
-
nnk_draw_list_path_arc_to_fast
public static void nnk_draw_list_path_arc_to_fast(long list, long center, float radius, int a_min, int a_max)
-
nk_draw_list_path_arc_to_fast
public static void nk_draw_list_path_arc_to_fast(NkDrawList list, NkVec2 center, float radius, int a_min, int a_max)
-
nnk_draw_list_path_arc_to
public static void nnk_draw_list_path_arc_to(long list, long center, float radius, float a_min, float a_max, int segments)
-
nk_draw_list_path_arc_to
public static void nk_draw_list_path_arc_to(NkDrawList list, NkVec2 center, float radius, float a_min, float a_max, int segments)
-
nnk_draw_list_path_rect_to
public static void nnk_draw_list_path_rect_to(long list, long a, long b, float rounding)
-
nk_draw_list_path_rect_to
public static void nk_draw_list_path_rect_to(NkDrawList list, NkVec2 a, NkVec2 b, float rounding)
-
nnk_draw_list_path_curve_to
public static void nnk_draw_list_path_curve_to(long list, long p2, long p3, long p4, int num_segments)
-
nk_draw_list_path_curve_to
public static void nk_draw_list_path_curve_to(NkDrawList list, NkVec2 p2, NkVec2 p3, NkVec2 p4, int num_segments)
-
nnk_draw_list_path_fill
public static void nnk_draw_list_path_fill(long list, long color)
-
nk_draw_list_path_fill
public static void nk_draw_list_path_fill(NkDrawList list, NkColor color)
-
nnk_draw_list_path_stroke
public static void nnk_draw_list_path_stroke(long list, long color, int closed, float thickness)Unsafe version of:draw_list_path_stroke
-
nk_draw_list_path_stroke
public static void nk_draw_list_path_stroke(NkDrawList list, NkColor color, int closed, float thickness)
- Parameters:
closed- one of:STROKE_OPENSTROKE_CLOSED
-
nnk_draw_list_stroke_line
public static void nnk_draw_list_stroke_line(long list, long a, long b, long color, float thickness)
-
nk_draw_list_stroke_line
public static void nk_draw_list_stroke_line(NkDrawList list, NkVec2 a, NkVec2 b, NkColor color, float thickness)
-
nnk_draw_list_stroke_rect
public static void nnk_draw_list_stroke_rect(long list, long rect, long color, float rounding, float thickness)
-
nk_draw_list_stroke_rect
public static void nk_draw_list_stroke_rect(NkDrawList list, NkRect rect, NkColor color, float rounding, float thickness)
-
nnk_draw_list_stroke_triangle
public static void nnk_draw_list_stroke_triangle(long list, long a, long b, long c, long color, float thickness)
-
nk_draw_list_stroke_triangle
public static void nk_draw_list_stroke_triangle(NkDrawList list, NkVec2 a, NkVec2 b, NkVec2 c, NkColor color, float thickness)
-
nnk_draw_list_stroke_circle
public static void nnk_draw_list_stroke_circle(long list, long center, float radius, long color, int segs, float thickness)
-
nk_draw_list_stroke_circle
public static void nk_draw_list_stroke_circle(NkDrawList list, NkVec2 center, float radius, NkColor color, int segs, float thickness)
-
nnk_draw_list_stroke_curve
public static void nnk_draw_list_stroke_curve(long list, long p0, long cp0, long cp1, long p1, long color, int segments, float thickness)
-
nk_draw_list_stroke_curve
public static void nk_draw_list_stroke_curve(NkDrawList list, NkVec2 p0, NkVec2 cp0, NkVec2 cp1, NkVec2 p1, NkColor color, int segments, float thickness)
-
nnk_draw_list_stroke_poly_line
public 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
-
nk_draw_list_stroke_poly_line
public static void nk_draw_list_stroke_poly_line(NkDrawList list, NkVec2 pnts, int cnt, NkColor color, int closed, float thickness, int aliasing)
- Parameters:
closed- one of:STROKE_OPENSTROKE_CLOSEDaliasing- one of:ANTI_ALIASING_OFFANTI_ALIASING_ON
-
nnk_draw_list_fill_rect
public static void nnk_draw_list_fill_rect(long list, long rect, long color, float rounding)
-
nk_draw_list_fill_rect
public static void nk_draw_list_fill_rect(NkDrawList list, NkRect rect, NkColor color, float rounding)
-
nnk_draw_list_fill_rect_multi_color
public static void nnk_draw_list_fill_rect_multi_color(long list, long rect, long left, long top, long right, long bottom)
-
nk_draw_list_fill_rect_multi_color
public static void nk_draw_list_fill_rect_multi_color(NkDrawList list, NkRect rect, NkColor left, NkColor top, NkColor right, NkColor bottom)
-
nnk_draw_list_fill_triangle
public static void nnk_draw_list_fill_triangle(long list, long a, long b, long c, long color)
-
nk_draw_list_fill_triangle
public static void nk_draw_list_fill_triangle(NkDrawList list, NkVec2 a, NkVec2 b, NkVec2 c, NkColor color)
-
nnk_draw_list_fill_circle
public static void nnk_draw_list_fill_circle(long list, long center, float radius, long col, int segs)
-
nk_draw_list_fill_circle
public static void nk_draw_list_fill_circle(NkDrawList list, NkVec2 center, float radius, NkColor col, int segs)
-
nnk_draw_list_fill_poly_convex
public 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
-
nk_draw_list_fill_poly_convex
public static void nk_draw_list_fill_poly_convex(NkDrawList list, NkVec2.Buffer points, NkColor color, int aliasing)
- Parameters:
aliasing- one of:ANTI_ALIASING_OFFANTI_ALIASING_ON
-
nnk_draw_list_add_image
public static void nnk_draw_list_add_image(long list, long texture, long rect, long color)
-
nk_draw_list_add_image
public static void nk_draw_list_add_image(NkDrawList list, NkImage texture, NkRect rect, NkColor color)
-
nnk_draw_list_add_text
public static void nnk_draw_list_add_text(long list, long font, long rect, long text, int len, float font_height, long color)
-
nk_draw_list_add_text
public static void nk_draw_list_add_text(NkDrawList list, NkUserFont font, NkRect rect, java.nio.ByteBuffer text, float font_height, NkColor color)
-
nk_draw_list_add_text
public static void nk_draw_list_add_text(NkDrawList list, NkUserFont font, NkRect rect, java.lang.CharSequence text, float font_height, NkColor color)
-
nnk_draw_list_push_userdata
public static void nnk_draw_list_push_userdata(long list, long userdata)
-
nk_draw_list_push_userdata
public static void nk_draw_list_push_userdata(NkDrawList list, NkHandle userdata)
-
nnk_style_item_image
public static void nnk_style_item_image(long img, long __result)
-
nk_style_item_image
public static NkStyleItem nk_style_item_image(NkImage img, NkStyleItem __result)
-
nnk_style_item_color
public static void nnk_style_item_color(long color, long __result)
-
nk_style_item_color
public static NkStyleItem nk_style_item_color(NkColor color, NkStyleItem __result)
-
nnk_style_item_hide
public static void nnk_style_item_hide(long __result)
-
nk_style_item_hide
public static NkStyleItem nk_style_item_hide(NkStyleItem __result)
-
nnk_layout_row
public 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)
-
nk_layout_row
public static void nk_layout_row(NkContext ctx, int fmt, float height, float[] ratio)
Array version of:layout_row
-
nnk_group_scrolled_offset_begin
public 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)
-
nk_group_scrolled_offset_begin
public static boolean nk_group_scrolled_offset_begin(NkContext ctx, int[] x_offset, int[] y_offset, java.nio.ByteBuffer title, int flags) public 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
-
nnk_tree_state_push
public 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)
-
nk_tree_state_push
public static boolean nk_tree_state_push(NkContext ctx, int type, java.nio.ByteBuffer title, int[] state) public static boolean nk_tree_state_push(NkContext ctx, int type, java.lang.CharSequence title, int[] state)
Array version of:tree_state_push
-
nnk_tree_state_image_push
public 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)
-
nk_tree_state_image_push
public static boolean nk_tree_state_image_push(NkContext ctx, int type, NkImage image, java.nio.ByteBuffer title, int[] state) public 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
-
nnk_tree_element_push_hashed
public 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)
-
nk_tree_element_push_hashed
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) public 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
-
nnk_tree_element_image_push_hashed
public 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)
-
nk_tree_element_image_push_hashed
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) public 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
-
nnk_checkbox_label
public static int nnk_checkbox_label(long ctx, long str, int[] active)Array version of:nnk_checkbox_label(long, long, long)
-
nk_checkbox_label
public static boolean nk_checkbox_label(NkContext ctx, java.nio.ByteBuffer str, int[] active) public static boolean nk_checkbox_label(NkContext ctx, java.lang.CharSequence str, int[] active)
Array version of:checkbox_label
-
nnk_checkbox_text
public static int nnk_checkbox_text(long ctx, long str, int len, int[] active)Array version of:nnk_checkbox_text(long, long, int, long)
-
nk_checkbox_text
public static boolean nk_checkbox_text(NkContext ctx, java.nio.ByteBuffer str, int[] active) public static boolean nk_checkbox_text(NkContext ctx, java.lang.CharSequence str, int[] active)
Array version of:checkbox_text
-
nnk_checkbox_flags_label
public 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)
-
nk_checkbox_flags_label
public static boolean nk_checkbox_flags_label(NkContext ctx, java.nio.ByteBuffer str, int[] flags, int value) public static boolean nk_checkbox_flags_label(NkContext ctx, java.lang.CharSequence str, int[] flags, int value)
Array version of:checkbox_flags_label
-
nnk_checkbox_flags_text
public 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)
-
nk_checkbox_flags_text
public static boolean nk_checkbox_flags_text(NkContext ctx, java.nio.ByteBuffer str, int[] flags, int value) public static boolean nk_checkbox_flags_text(NkContext ctx, java.lang.CharSequence str, int[] flags, int value)
Array version of:checkbox_flags_text
-
nnk_radio_label
public static int nnk_radio_label(long ctx, long str, int[] active)Array version of:nnk_radio_label(long, long, long)
-
nk_radio_label
public static boolean nk_radio_label(NkContext ctx, java.nio.ByteBuffer str, int[] active) public static boolean nk_radio_label(NkContext ctx, java.lang.CharSequence str, int[] active)
Array version of:radio_label
-
nnk_radio_text
public static int nnk_radio_text(long ctx, long str, int len, int[] active)Array version of:nnk_radio_text(long, long, int, long)
-
nk_radio_text
public static boolean nk_radio_text(NkContext ctx, java.nio.ByteBuffer str, int[] active) public static boolean nk_radio_text(NkContext ctx, java.lang.CharSequence str, int[] active)
Array version of:radio_text
-
nnk_selectable_label
public static int nnk_selectable_label(long ctx, long str, int align, int[] value)Array version of:nnk_selectable_label(long, long, int, long)
-
nk_selectable_label
public static boolean nk_selectable_label(NkContext ctx, java.nio.ByteBuffer str, int align, int[] value) public static boolean nk_selectable_label(NkContext ctx, java.lang.CharSequence str, int align, int[] value)
Array version of:selectable_label
-
nnk_selectable_text
public 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)
-
nk_selectable_text
public static boolean nk_selectable_text(NkContext ctx, java.nio.ByteBuffer str, int align, int[] value) public static boolean nk_selectable_text(NkContext ctx, java.lang.CharSequence str, int align, int[] value)
Array version of:selectable_text
-
nnk_selectable_image_label
public 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)
-
nk_selectable_image_label
public static boolean nk_selectable_image_label(NkContext ctx, NkImage img, java.nio.ByteBuffer str, int align, int[] value) public static boolean nk_selectable_image_label(NkContext ctx, NkImage img, java.lang.CharSequence str, int align, int[] value)
Array version of:selectable_image_label
-
nnk_selectable_image_text
public 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)
-
nk_selectable_image_text
public static boolean nk_selectable_image_text(NkContext ctx, NkImage img, java.nio.ByteBuffer str, int align, int[] value) public static boolean nk_selectable_image_text(NkContext ctx, NkImage img, java.lang.CharSequence str, int align, int[] value)
Array version of:selectable_image_text
-
nnk_selectable_symbol_label
public 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)
-
nk_selectable_symbol_label
public static boolean nk_selectable_symbol_label(NkContext ctx, int symbol, java.nio.ByteBuffer str, int align, int[] value) public static boolean nk_selectable_symbol_label(NkContext ctx, int symbol, java.lang.CharSequence str, int align, int[] value)
Array version of:selectable_symbol_label
-
nnk_selectable_symbol_text
public 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)
-
nk_selectable_symbol_text
public static boolean nk_selectable_symbol_text(NkContext ctx, int symbol, java.nio.ByteBuffer str, int align, int[] value) public static boolean nk_selectable_symbol_text(NkContext ctx, int symbol, java.lang.CharSequence str, int align, int[] value)
Array version of:selectable_symbol_text
-
nnk_slider_float
public 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)
-
nk_slider_float
public static int nk_slider_float(NkContext ctx, float min, float[] val, float max, float step)
Array version of:slider_float
-
nnk_slider_int
public 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)
-
nk_slider_int
public static int nk_slider_int(NkContext ctx, int min, int[] val, int max, int step)
Array version of:slider_int
-
nnk_property_int
public 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)
-
nk_property_int
public static void nk_property_int(NkContext ctx, java.nio.ByteBuffer name, int min, int[] val, int max, int step, float inc_per_pixel) public 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
-
nnk_property_float
public 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)
-
nk_property_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) public 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
-
nnk_property_double
public 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)
-
nk_property_double
public static void nk_property_double(NkContext ctx, java.nio.ByteBuffer name, double min, double[] val, double max, double step, float inc_per_pixel) public 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
-
nnk_edit_string
public 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)
-
nk_edit_string
public static int nk_edit_string(NkContext ctx, int flags, java.nio.ByteBuffer memory, int[] len, int max, @Nullable NkPluginFilterI filter) public static int nk_edit_string(NkContext ctx, int flags, java.lang.CharSequence memory, int[] len, int max, @Nullable NkPluginFilterI filter)
Array version of:edit_string
-
nnk_plot
public static void nnk_plot(long ctx, int type, float[] values, int count, int offset)Array version of:nnk_plot(long, int, long, int, int)
-
nk_plot
public static void nk_plot(NkContext ctx, int type, float[] values, int count, int offset)
Array version of:plot
-
nnk_combobox
public 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)
-
nk_combobox
public static void nk_combobox(NkContext ctx, org.lwjgl.PointerBuffer items, int[] selected, int item_height, NkVec2 size)
Array version of:combobox
-
nnk_combobox_string
public 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)
-
nk_combobox_string
public static void nk_combobox_string(NkContext ctx, java.nio.ByteBuffer items_separated_by_zeros, int[] selected, int count, int item_height, NkVec2 size) public 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
-
nnk_combobox_separator
public 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)
-
nk_combobox_separator
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) public 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
-
nnk_combobox_callback
public 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)
-
nk_combobox_callback
public 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
-
nnk_style_push_float
public static int nnk_style_push_float(long ctx, float[] address, float value)Array version of:nnk_style_push_float(long, long, float)
-
nk_style_push_float
public static int nk_style_push_float(NkContext ctx, float[] address, float value)
Array version of:style_push_float
-
nnk_style_push_flags
public static int nnk_style_push_flags(long ctx, int[] address, int value)Array version of:nnk_style_push_flags(long, long, int)
-
nk_style_push_flags
public static int nk_style_push_flags(NkContext ctx, int[] address, int value)
Array version of:style_push_flags
-
nnk_rgb_iv
public static void nnk_rgb_iv(int[] rgb, long __result)Array version of:nnk_rgb_iv(long, long)
-
nnk_rgb_fv
public static void nnk_rgb_fv(float[] rgb, long __result)Array version of:nnk_rgb_fv(long, long)
-
nnk_rgba_iv
public static void nnk_rgba_iv(int[] rgba, long __result)Array version of:nnk_rgba_iv(long, long)
-
nk_rgba_iv
public static NkColor nk_rgba_iv(int[] rgba, NkColor __result)
Array version of:rgba_iv
-
nnk_rgba_fv
public static void nnk_rgba_fv(float[] rgba, long __result)Array version of:nnk_rgba_fv(long, long)
-
nk_rgba_fv
public static NkColor nk_rgba_fv(float[] rgba, NkColor __result)
Array version of:rgba_fv
-
nnk_hsva_colorfv
public static void nnk_hsva_colorfv(float[] c, long __result)Array version of:nnk_hsva_colorfv(long, long)
-
nk_hsva_colorfv
public static NkColorf nk_hsva_colorfv(float[] c, NkColorf __result)
Array version of:hsva_colorfv
-
nnk_colorf_hsva_f
public 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)
-
nk_colorf_hsva_f
public 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
-
nnk_colorf_hsva_fv
public static void nnk_colorf_hsva_fv(float[] hsva, long in)Array version of:nnk_colorf_hsva_fv(long, long)
-
nk_colorf_hsva_fv
public static void nk_colorf_hsva_fv(float[] hsva, NkColorf in)Array version of:colorf_hsva_fv
-
nnk_hsv_iv
public static void nnk_hsv_iv(int[] hsv, long __result)Array version of:nnk_hsv_iv(long, long)
-
nnk_hsv_fv
public static void nnk_hsv_fv(float[] hsv, long __result)Array version of:nnk_hsv_fv(long, long)
-
nnk_hsva_iv
public static void nnk_hsva_iv(int[] hsva, long __result)Array version of:nnk_hsva_iv(long, long)
-
nk_hsva_iv
public static NkColor nk_hsva_iv(int[] hsva, NkColor __result)
Array version of:hsva_iv
-
nnk_hsva_fv
public static void nnk_hsva_fv(float[] hsva, long __result)Array version of:nnk_hsva_fv(long, long)
-
nk_hsva_fv
public static NkColor nk_hsva_fv(float[] hsva, NkColor __result)
Array version of:hsva_fv
-
nnk_color_f
public 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)
-
nk_color_f
public static void nk_color_f(float[] r, float[] g, float[] b, float[] a, NkColor color)Array version of:color_f
-
nnk_color_fv
public static void nnk_color_fv(float[] rgba_out, long color)Array version of:nnk_color_fv(long, long)
-
nk_color_fv
public static void nk_color_fv(float[] rgba_out, NkColor color)Array version of:color_fv
-
nnk_color_d
public 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)
-
nk_color_d
public static void nk_color_d(double[] r, double[] g, double[] b, double[] a, NkColor color)Array version of:color_d
-
nnk_color_dv
public static void nnk_color_dv(double[] rgba_out, long color)Array version of:nnk_color_dv(long, long)
-
nk_color_dv
public static void nk_color_dv(double[] rgba_out, NkColor color)Array version of:color_dv
-
nnk_color_hsv_i
public 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)
-
nk_color_hsv_i
public static void nk_color_hsv_i(int[] out_h, int[] out_s, int[] out_v, NkColor color)Array version of:color_hsv_i
-
nnk_color_hsv_iv
public static void nnk_color_hsv_iv(int[] hsv_out, long color)Array version of:nnk_color_hsv_iv(long, long)
-
nk_color_hsv_iv
public static void nk_color_hsv_iv(int[] hsv_out, NkColor color)Array version of:color_hsv_iv
-
nnk_color_hsv_f
public 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)
-
nk_color_hsv_f
public static void nk_color_hsv_f(float[] out_h, float[] out_s, float[] out_v, NkColor color)Array version of:color_hsv_f
-
nnk_color_hsv_fv
public static void nnk_color_hsv_fv(float[] hsv_out, long color)Array version of:nnk_color_hsv_fv(long, long)
-
nk_color_hsv_fv
public static void nk_color_hsv_fv(float[] hsv_out, NkColor color)Array version of:color_hsv_fv
-
nnk_color_hsva_i
public 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)
-
nk_color_hsva_i
public static void nk_color_hsva_i(int[] h, int[] s, int[] v, int[] a, NkColor color)Array version of:color_hsva_i
-
nnk_color_hsva_iv
public static void nnk_color_hsva_iv(int[] hsva_out, long color)Array version of:nnk_color_hsva_iv(long, long)
-
nk_color_hsva_iv
public static void nk_color_hsva_iv(int[] hsva_out, NkColor color)Array version of:color_hsva_iv
-
nnk_color_hsva_f
public 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)
-
nk_color_hsva_f
public 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
-
nnk_color_hsva_fv
public static void nnk_color_hsva_fv(float[] hsva_out, long color)Array version of:nnk_color_hsva_fv(long, long)
-
nk_color_hsva_fv
public static void nk_color_hsva_fv(float[] hsva_out, NkColor color)Array version of:color_hsva_fv
-
nnk_vec2v
public static void nnk_vec2v(float[] xy, long __result)Array version of:nnk_vec2v(long, long)
-
nnk_vec2iv
public static void nnk_vec2iv(int[] xy, long __result)Array version of:nnk_vec2iv(long, long)
-
nnk_rectv
public static void nnk_rectv(float[] xywh, long __result)Array version of:nnk_rectv(long, long)
-
nnk_rectiv
public static void nnk_rectiv(int[] xywh, long __result)Array version of:nnk_rectiv(long, long)
-
nnk_strmatch_fuzzy_string
public static int nnk_strmatch_fuzzy_string(long str, long pattern, int[] out_score)Array version of:nnk_strmatch_fuzzy_string(long, long, long)
-
nk_strmatch_fuzzy_string
public static boolean nk_strmatch_fuzzy_string(java.nio.ByteBuffer str, java.nio.ByteBuffer pattern, int[] out_score) public static boolean nk_strmatch_fuzzy_string(java.lang.CharSequence str, java.lang.CharSequence pattern, int[] out_score)Array version of:strmatch_fuzzy_string
-
nnk_strmatch_fuzzy_text
public 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)
-
nk_strmatch_fuzzy_text
public static int nk_strmatch_fuzzy_text(java.nio.ByteBuffer txt, java.nio.ByteBuffer pattern, int[] out_score) public static int nk_strmatch_fuzzy_text(java.lang.CharSequence txt, java.lang.CharSequence pattern, int[] out_score)Array version of:strmatch_fuzzy_text
-
nnk_utf_decode
public static int nnk_utf_decode(long c, int[] u, int clen)Array version of:nnk_utf_decode(long, long, int)
-
nk_utf_decode
public static int nk_utf_decode(java.nio.ByteBuffer c, int[] u)Array version of:utf_decode
-
nnk_utf_at
public 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)
-
nk_utf_at
@Nullable public static java.nio.ByteBuffer nk_utf_at(java.nio.ByteBuffer buffer, int index, int[] unicode)Array version of:utf_at
-
nnk_str_append_text_runes
public static int nnk_str_append_text_runes(long s, int[] runes, int len)Array version of:nnk_str_append_text_runes(long, long, int)
-
nk_str_append_text_runes
public static int nk_str_append_text_runes(NkStr s, int[] runes)
Array version of:str_append_text_runes
-
nnk_str_append_str_runes
public static int nnk_str_append_str_runes(long s, int[] runes)Array version of:nnk_str_append_str_runes(long, long)
-
nk_str_append_str_runes
public static int nk_str_append_str_runes(NkStr s, int[] runes)
Array version of:str_append_str_runes
-
nnk_str_insert_text_runes
public 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)
-
nk_str_insert_text_runes
public static int nk_str_insert_text_runes(NkStr s, int pos, int[] runes)
Array version of:str_insert_text_runes
-
nnk_str_insert_str_runes
public static int nnk_str_insert_str_runes(long s, int pos, int[] runes)Array version of:nnk_str_insert_str_runes(long, int, long)
-
nk_str_insert_str_runes
public static int nk_str_insert_str_runes(NkStr s, int pos, int[] runes)
Array version of:str_insert_str_runes
-
nnk_str_at_rune
public 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)
-
nk_str_at_rune
@Nullable public static java.nio.ByteBuffer nk_str_at_rune(NkStr s, int pos, int[] unicode)
Array version of:str_at_rune
-
nnk_str_at_const
public 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)
-
nk_str_at_const
@Nullable public static java.nio.ByteBuffer nk_str_at_const(NkStr s, int pos, int[] unicode)
Array version of:str_at_const
-
nnk_stroke_polyline
public 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)
-
nk_stroke_polyline
public static void nk_stroke_polyline(NkCommandBuffer b, float[] points, float line_thickness, NkColor col)
Array version of:stroke_polyline
-
nnk_stroke_polygon
public 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)
-
nk_stroke_polygon
public static void nk_stroke_polygon(NkCommandBuffer b, float[] points, float line_thickness, NkColor color)
Array version of:stroke_polygon
-
nnk_fill_polygon
public static void nnk_fill_polygon(long b, float[] points, int point_count, long color)Array version of:nnk_fill_polygon(long, long, int, long)
-
nk_fill_polygon
public static void nk_fill_polygon(NkCommandBuffer b, float[] points, NkColor color)
Array version of:fill_polygon
-
-