Font handling in this library was designed to be quite customizable and lets you decide what you want to use and what you want to provide. There are three different ways to use the font atlas. The first two will use your font handling scheme and only requires essential data to run nuklear. The next slightly more advanced features is font handling with vertex buffer output.
NkUserFont struct which only requires the height in pixel of the used font
and a callback to calculate the width of a string. This way of handling fonts is best fitted for using the normal draw shape command API where you
do all the text drawing yourself and the library does not require any kind of deeper knowledge about which font handling mechanism you use.
Important Note
the NkUserFont pointer provided to nuklear has to persist over the complete life time! I know this sucks but it is currently the only
way to switch between fonts.
float your_text_width_calculation(nk_handle handle, float height, const char *text, int len)
{
your_font_type *type = handle.ptr;
float text_width = ...;
return text_width;
}
struct nk_user_font font;
font.userdata.ptr = &your_font_class_or_struct;
font.height = your_font_height;
font.width = your_text_width_calculation;
struct nk_context ctx;
nk_init_default(&ctx, &font);
float your_text_width_calculation(nk_handle handle, float height, const char *text, int len)
{
your_font_type *type = handle.ptr;
float text_width = ...;
return text_width;
}
void query_your_font_glyph(nk_handle handle, float font_height, struct nk_user_font_glyph *glyph, nk_rune codepoint, nk_rune next_codepoint)
{
your_font_type *type = handle.ptr;
glyph.width = ...;
glyph.height = ...;
glyph.xadvance = ...;
glyph.uv[0].x = ...;
glyph.uv[0].y = ...;
glyph.uv[1].x = ...;
glyph.uv[1].y = ...;
glyph.offset.x = ...;
glyph.offset.y = ...;
}
struct nk_user_font font;
font.userdata.ptr = &your_font_class_or_struct;
font.height = your_font_height;
font.width = your_text_width_calculation;
font.query = query_your_font_glyph;
font.texture.id = your_font_texture;
struct nk_context ctx;
nk_init_default(&ctx, &font);A basic (double)-buffer with linear allocation and resetting as only freeing policy. The buffer's main purpose is to control all memory management inside the GUI toolkit and still leave memory control as much as possible in the hand of the user while also making sure the library is easy to use if not as much control is needed. In general all memory inside this library can be provided from the user in three different ways.
The first way and the one providing most control is by just passing a fixed size memory block. In this case all control lies in the hand of the user since he can exactly control where the memory comes from and how much memory the library should consume. Of course using the fixed size API removes the ability to automatically resize a buffer if not enough memory is provided so you have to take over the resizing. While being a fixed sized buffer sounds quite limiting, it is very effective in this library since the actual memory consumption is quite stable and has a fixed upper bound for a lot of cases.
If you don't want to think about how much memory the library should allocate at all time or have a very dynamic UI with unpredictable memory consumption habits but still want control over memory allocation you can use the dynamic allocator based API. The allocator consists of two callbacks for allocating and freeing memory and optional userdata so you can plugin your own allocator.
Editing text in this library is handled by either edit_string or edit_buffer. But like almost everything in this library there are multiple
ways of doing it and a balance between control and ease of use with memory as well as functionality controlled by flags.
This library generally allows three different levels of memory control: First of is the most basic way of just providing a simple char array with string length. This method is probably the easiest way of handling simple user text input. Main upside is complete control over memory while the biggest downside in comparsion with the other two approaches is missing undo/redo.
For UIs that require undo/redo the second way was created. It is based on a fixed size NkTextEdit struct, which has an internal undo/redo stack. This
is mainly useful if you want something more like a text editor but don't want to have a dynamically growing buffer.
The final way is using a dynamically growing nk_text_edit struct, which has both a default version if you don't care where memory comes from and an allocator version if you do. While the text editor is quite powerful for its complexity I would not recommend editing gigabytes of data with it. It is rather designed for uses cases which make sense for a GUI library not for an full blown text editor.
This library was designed to be render backend agnostic so it does not draw anything to screen. Instead all drawn shapes, widgets are made of, are buffered into memory and make up a command queue. Each frame therefore fills the command buffer with draw commands that then need to be executed by the user and his own render backend. After that the command buffer needs to be cleared and a new frame can be started. It is probably important to note that the command buffer is the main drawing API and the optional vertex buffer API only takes this format and converts it into a hardware accessible format.
To use the command queue to draw your own widgets you can access the command buffer of each window by calling window_get_canvas after previously
having called begin:
void draw_red_rectangle_widget(struct nk_context *ctx)
{
struct nk_command_buffer *canvas;
struct nk_input *input = &ctx->input;
canvas = nk_window_get_canvas(ctx);
struct nk_rect space;
enum nk_widget_layout_states state;
state = nk_widget(&space, ctx);
if (!state) return;
if (state != NK_WIDGET_ROM)
update_your_widget_by_user_input(...);
nk_fill_rect(canvas, space, 0, nk_rgb(255,0,0));
}
if (nk_begin(...)) {
nk_layout_row_dynamic(ctx, 25, 1);
draw_red_rectangle_widget(ctx);
}
nk_end(..)
Important to know if you want to create your own widgets is the widget call. It allocates space on the panel reserved for this widget to be used,
but also returns the state of the widget space. If your widget is not seen and does not have to be updated it is '0' and you can just return. If it
only has to be drawn the state will be WIDGET_ROM otherwise you can do both update and draw your widget. The reason for separating is to only draw and
update what is actually neccessary which is crucial for performance.
The style modifier stack can be used to temporarily change a property inside `nk_style`. For example if you want a special red button you can temporarily push the old button color onto a stack draw the button with a red color and then you just pop the old color back from the stack:
nk_style_push_style_item(ctx, &ctx->style.button.normal, nk_style_item_color(nk_rgb(255,0,0)));
nk_style_push_style_item(ctx, &ctx->style.button.hover, nk_style_item_color(nk_rgb(255,0,0)));
nk_style_push_style_item(ctx, &ctx->style.button.active, nk_style_item_color(nk_rgb(255,0,0)));
nk_style_push_vec2(ctx, &cx->style.button.padding, nk_vec2(2,2));
nk_button(...);
nk_style_pop_style_item(ctx);
nk_style_pop_style_item(ctx);
nk_style_pop_style_item(ctx);
nk_style_pop_vec2(ctx);
Nuklear has a stack for style_items, float properties, vector properties, flags, colors, fonts and for button_behavior. Each has it's own fixed size stack which can be changed in compile time.
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description | |||||||
|---|---|---|---|---|---|---|---|---|
| public static NkCommand | ||||||||
| public static NkDrawCommand | nk__draw_begin(NkContext
the nuklear context ctx, NkBuffer buffer)Returns a draw vertex command buffer iterator to iterate over the vertex draw command buffer. | |||||||
| public static NkDrawCommand | nk__draw_end(NkContext
the nuklear context ctx, NkBuffer buffer)Returns the end of the vertex draw list. | |||||||
| public static NkDrawCommand | ||||||||
| public static NkDrawCommand | ||||||||
| public static NkDrawCommand | nk__draw_next(NkDrawCommand cmd, NkBuffer buffer, NkContext
the nuklear context ctx)Increments the vertex command iterator to the next command inside the context vertex command list. | |||||||
| public static NkCommand | ||||||||
| public static boolean | nk_begin(NkContext
the nuklear context ctx, 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. | |||||||
| public static boolean | nk_begin(NkContext
the nuklear context ctx, 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. | |||||||
| public static boolean | nk_begin_titled(NkContext
the nuklear context ctx, ByteBuffer name, ByteBuffer title, NkRect bounds, int flags)Extended window start with separated title and identifier to allow multiple windows with same title but not name. | |||||||
| public static boolean | nk_begin_titled(NkContext
the nuklear context ctx, CharSequence name, CharSequence title, NkRect bounds, int flags)Extended window start with separated title and identifier to allow multiple windows with same title but not name. | |||||||
| public static void | ||||||||
| public static void | ||||||||
| public static void | ||||||||
| public static void | ||||||||
| public static void | ||||||||
| public static void | ||||||||
| public static long | ||||||||
| public static long | ||||||||
| public static void | ||||||||
| public static void | ||||||||
| public static long | ||||||||
| public static boolean | ||||||||
| public static boolean | ||||||||
| public static boolean | nk_button_image_label(NkContext
the nuklear context ctx, NkImage img, ByteBuffer text, int text_alignment)
| |||||||
| public static boolean | nk_button_image_label(NkContext
the nuklear context ctx, NkImage img, CharSequence text, int text_alignment)
| |||||||
| public static boolean | nk_button_image_label_styled(NkContext
the nuklear context ctx, NkStyleButton style, NkImage img, ByteBuffer title, int text_alignment)
| |||||||
| public static boolean | nk_button_image_label_styled(NkContext
the nuklear context ctx, NkStyleButton style, NkImage img, CharSequence title, int text_alignment)
| |||||||
| public static boolean | ||||||||
| public static boolean | ||||||||
| public static boolean | nk_button_image_text(NkContext
the nuklear context ctx, NkImage img, CharSequence text, int alignment)
| |||||||
| public static boolean | nk_button_image_text_styled(NkContext
the nuklear context ctx, NkStyleButton style, NkImage img, ByteBuffer title, int len, int alignment)
| |||||||
| public static boolean | nk_button_image_text_styled(NkContext
the nuklear context ctx, NkStyleButton style, NkImage img, CharSequence title, int len, int alignment)
| |||||||
| public static boolean | ||||||||
| public static boolean | ||||||||
| public static boolean | ||||||||
| public static boolean | ||||||||
| public static boolean | ||||||||
| public static boolean | ||||||||
| public static void | ||||||||
| public static boolean | ||||||||
| public static boolean | nk_button_symbol_label(NkContext
the nuklear context ctx, int symbol, ByteBuffer text, int text_alignment)
| |||||||
| public static boolean | nk_button_symbol_label(NkContext
the nuklear context ctx, int symbol, CharSequence text, int text_alignment)
| |||||||
| public static boolean | nk_button_symbol_label_styled(NkContext
the nuklear context ctx, NkStyleButton style, int symbol, ByteBuffer title, int text_alignment)
| |||||||
| public static boolean | nk_button_symbol_label_styled(NkContext
the nuklear context ctx, NkStyleButton style, int symbol, CharSequence title, int text_alignment)
| |||||||
| public static boolean | ||||||||
| public static boolean | ||||||||
| public static boolean | nk_button_symbol_text(NkContext
the nuklear context ctx, int symbol, CharSequence text, int alignment)
| |||||||
| public static boolean | nk_button_symbol_text_styled(NkContext
the nuklear context ctx, NkStyleButton style, int symbol, ByteBuffer title, int len, int alignment)
| |||||||
| public static boolean | nk_button_symbol_text_styled(NkContext
the nuklear context ctx, NkStyleButton style, int symbol, CharSequence title, int len, int alignment)
| |||||||
| public static boolean | ||||||||
| public static boolean | ||||||||
| public static boolean | nk_button_text_styled(NkContext
the nuklear context ctx, NkStyleButton style, ByteBuffer title, int len)
| |||||||
| public static boolean | nk_button_text_styled(NkContext
the nuklear context ctx, NkStyleButton style, CharSequence title, int len)
| |||||||
| public static void | nk_chart_add_slot(NkContext
the nuklear context ctx, int type, int count, float min_value, float max_value)
| |||||||
| public static void | nk_chart_add_slot_colored(NkContext
the nuklear context ctx, int type, NkColor color, NkColor active, int count, float min_value, float max_value)
| |||||||
| public static boolean | ||||||||
| public static boolean | nk_chart_begin_colored(NkContext
the nuklear context ctx, int type, NkColor color, NkColor active, int num, float min, float max)
| |||||||
| public static void | ||||||||
| public static int | ||||||||
| public static int | ||||||||
| public static int | ||||||||
| public static int | ||||||||
| public static int | ||||||||
| public static int | ||||||||
| public static boolean | ||||||||
| public static boolean | ||||||||
| public static boolean | ||||||||
| public static boolean | ||||||||
| public static boolean | nk_checkbox_flags_label(NkContext
the nuklear context ctx, ByteBuffer str, IntBuffer flags, int value)
| |||||||
| public static boolean | nk_checkbox_flags_label(NkContext
the nuklear context ctx, CharSequence str, IntBuffer flags, int value)
| |||||||
| public static boolean | nk_checkbox_flags_label(NkContext ctx, ByteBuffer str, int[] flags, int value)
Array version of: | |||||||
| public static boolean | nk_checkbox_flags_label(NkContext ctx, CharSequence str, int[] flags, int value)
Array version of: | |||||||
| public static boolean | nk_checkbox_flags_text(NkContext
the nuklear context ctx, ByteBuffer str, IntBuffer flags, int value)
| |||||||
| public static boolean | nk_checkbox_flags_text(NkContext
the nuklear context ctx, CharSequence str, IntBuffer flags, int value)
| |||||||
| public static boolean | nk_checkbox_flags_text(NkContext ctx, ByteBuffer str, int[] flags, int value)
Array version of: | |||||||
| public static boolean | nk_checkbox_flags_text(NkContext ctx, CharSequence str, int[] flags, int value)
Array version of: | |||||||
| public static boolean | ||||||||
| public static boolean | ||||||||
| public static boolean | ||||||||
| public static boolean | ||||||||
| public static void | ||||||||
| public static NkColorf | ||||||||
| public static void | ||||||||
| public static void | ||||||||
| public static void | ||||||||
| public static void | ||||||||
| public static void | ||||||||
| public static void | ||||||||
| public static void | ||||||||
| public static void | ||||||||
| public static void | ||||||||
| public static void | ||||||||
| public static void | ||||||||
| public static void | ||||||||
| public static void | ||||||||
| public static void | nk_color_hsv_f(float[] out_h, float[] out_s, float[] out_v, NkColor color)
Array version of: | |||||||
| public static void | ||||||||
| public static void | ||||||||
| public static void | ||||||||
| public static void | ||||||||
| public static void | ||||||||
| public static void | ||||||||
| public static void | ||||||||
| public static void | ||||||||
| public static void | nk_color_hsva_f(FloatBuffer out_h, FloatBuffer out_s, FloatBuffer out_v, FloatBuffer out_a, NkColor color)
| |||||||
| public static void | nk_color_hsva_f(float[] out_h, float[] out_s, float[] out_v, float[] out_a, NkColor color)
Array version of: | |||||||
| public static void | ||||||||
| public static void | ||||||||
| public static void | ||||||||
| public static void | ||||||||
| public static void | ||||||||
| public static void | ||||||||
| public static boolean | ||||||||
| public static NkColorf | ||||||||
| public static int | ||||||||
| public static void | nk_colorf_hsva_f(FloatBuffer out_h, FloatBuffer out_s, FloatBuffer out_v, FloatBuffer out_a, NkColorf in)
| |||||||
| public static void | nk_colorf_hsva_f(float[] out_h, float[] out_s, float[] out_v, float[] out_a, NkColorf in)
Array version of: | |||||||
| public static void | ||||||||
| public static void | ||||||||
| public static int | nk_combo(NkContext
the nuklear context ctx, PointerBuffer items, int selected, int item_height, NkVec2 size)
| |||||||
| public static boolean | ||||||||
| public static boolean | ||||||||
| public static boolean | nk_combo_begin_image_label(NkContext
the nuklear context ctx, ByteBuffer selected, NkImage img, NkVec2 size)
| |||||||
| public static boolean | nk_combo_begin_image_label(NkContext
the nuklear context ctx, CharSequence selected, NkImage img, NkVec2 size)
| |||||||
| public static boolean | nk_combo_begin_image_text(NkContext
the nuklear context ctx, ByteBuffer selected, NkImage img, NkVec2 size)
| |||||||
| public static boolean | nk_combo_begin_image_text(NkContext
the nuklear context ctx, CharSequence selected, NkImage img, NkVec2 size)
| |||||||
| public static boolean | ||||||||
| public static boolean | ||||||||
| public static boolean | ||||||||
| public static boolean | nk_combo_begin_symbol_label(NkContext
the nuklear context ctx, ByteBuffer selected, int symbol, NkVec2 size)
| |||||||
| public static boolean | nk_combo_begin_symbol_label(NkContext
the nuklear context ctx, CharSequence selected, int symbol, NkVec2 size)
| |||||||
| public static boolean | nk_combo_begin_symbol_text(NkContext
the nuklear context ctx, ByteBuffer selected, int symbol, NkVec2 size)
| |||||||
| public static boolean | nk_combo_begin_symbol_text(NkContext
the nuklear context ctx, CharSequence selected, int symbol, NkVec2 size)
| |||||||
| public static boolean | ||||||||
| public static boolean | ||||||||
| public static int | nk_combo_callback(NkContext
the nuklear context ctx, NkItemGetterI item_getter, long userdata, int selected, int count, int item_height, NkVec2 size)
| |||||||
| public static void | ||||||||
| public static void | ||||||||
| public static boolean | nk_combo_item_image_label(NkContext
the nuklear context ctx, NkImage img, ByteBuffer text, int alignment)
| |||||||
| public static boolean | nk_combo_item_image_label(NkContext
the nuklear context ctx, NkImage img, CharSequence text, int alignment)
| |||||||
| public static boolean | nk_combo_item_image_text(NkContext
the nuklear context ctx, NkImage img, ByteBuffer text, int alignment)
| |||||||
| public static boolean | nk_combo_item_image_text(NkContext
the nuklear context ctx, NkImage img, CharSequence text, int alignment)
| |||||||
| public static boolean | ||||||||
| public static boolean | ||||||||
| public static boolean | nk_combo_item_symbol_label(NkContext
the nuklear context ctx, int symbol, ByteBuffer text, int alignment)
| |||||||
| public static boolean | nk_combo_item_symbol_label(NkContext
the nuklear context ctx, int symbol, CharSequence text, int alignment)
| |||||||
| public static boolean | nk_combo_item_symbol_text(NkContext
the nuklear context ctx, int symbol, ByteBuffer text, int alignment)
| |||||||
| public static boolean | nk_combo_item_symbol_text(NkContext
the nuklear context ctx, int symbol, CharSequence text, int alignment)
| |||||||
| public static boolean | ||||||||
| public static boolean | ||||||||
| public static int | nk_combo_separator(NkContext
the nuklear context ctx, ByteBuffer items_separated_by_separator, int separator, int selected, int count, int item_height, NkVec2 size)
| |||||||
| public static int | nk_combo_separator(NkContext
the nuklear context ctx, CharSequence items_separated_by_separator, int separator, int selected, int count, int item_height, NkVec2 size)
| |||||||
| public static int | nk_combo_string(NkContext
the nuklear context ctx, ByteBuffer items_separated_by_zeros, int selected, int count, int item_height, NkVec2 size)
| |||||||
| public static int | nk_combo_string(NkContext
the nuklear context ctx, CharSequence items_separated_by_zeros, int selected, int count, int item_height, NkVec2 size)
| |||||||
| public static void | nk_combobox(NkContext
the nuklear context ctx, PointerBuffer items, IntBuffer selected, int item_height, NkVec2 size)
| |||||||
| public static void | nk_combobox(NkContext ctx, PointerBuffer items, int[] selected, int item_height, NkVec2 size)
Array version of: | |||||||
| public static void | nk_combobox_callback(NkContext
the nuklear context ctx, NkItemGetterI item_getter, long userdata, IntBuffer selected, int count, int item_height, NkVec2 size)
| |||||||
| 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: | |||||||
| public static void | nk_combobox_separator(NkContext
the nuklear context ctx, ByteBuffer items_separated_by_separator, int separator, IntBuffer selected, int count, int item_height, NkVec2 size)
| |||||||
| public static void | nk_combobox_separator(NkContext
the nuklear context ctx, CharSequence items_separated_by_separator, int separator, IntBuffer selected, int count, int item_height, NkVec2 size)
| |||||||
| public static void | nk_combobox_separator(NkContext ctx, ByteBuffer items_separated_by_separator, int separator, int[] selected, int count, int item_height, NkVec2 size)
Array version of: | |||||||
| public static void | nk_combobox_separator(NkContext ctx, CharSequence items_separated_by_separator, int separator, int[] selected, int count, int item_height, NkVec2 size)
Array version of: | |||||||
| public static void | nk_combobox_string(NkContext
the nuklear context ctx, ByteBuffer items_separated_by_zeros, IntBuffer selected, int count, int item_height, NkVec2 size)
| |||||||
| public static void | nk_combobox_string(NkContext
the nuklear context ctx, CharSequence items_separated_by_zeros, IntBuffer selected, int count, int item_height, NkVec2 size)
| |||||||
| public static void | nk_combobox_string(NkContext ctx, ByteBuffer items_separated_by_zeros, int[] selected, int count, int item_height, NkVec2 size)
Array version of: | |||||||
| public static void | nk_combobox_string(NkContext ctx, CharSequence items_separated_by_zeros, int[] selected, int count, int item_height, NkVec2 size)
Array version of: | |||||||
| public static boolean | nk_contextual_begin(NkContext
the nuklear context ctx, int flags, NkVec2 size, NkRect trigger_bounds)
| |||||||
| public static void | ||||||||
| public static void | ||||||||
| public static boolean | nk_contextual_item_image_label(NkContext
the nuklear context ctx, NkImage img, ByteBuffer text, int alignment)
| |||||||
| public static boolean | nk_contextual_item_image_label(NkContext
the nuklear context ctx, NkImage img, CharSequence text, int alignment)
| |||||||
| public static boolean | nk_contextual_item_image_text(NkContext
the nuklear context ctx, NkImage img, ByteBuffer text, int alignment)
| |||||||
| public static boolean | nk_contextual_item_image_text(NkContext
the nuklear context ctx, NkImage img, CharSequence text, int alignment)
| |||||||
| public static boolean | ||||||||
| public static boolean | ||||||||
| public static boolean | nk_contextual_item_symbol_label(NkContext
the nuklear context ctx, int symbol, ByteBuffer text, int alignment)
| |||||||
| public static boolean | nk_contextual_item_symbol_label(NkContext
the nuklear context ctx, int symbol, CharSequence text, int alignment)
| |||||||
| public static boolean | nk_contextual_item_symbol_text(NkContext
the nuklear context ctx, int symbol, ByteBuffer text, int alignment)
| |||||||
| public static boolean | nk_contextual_item_symbol_text(NkContext
the nuklear context ctx, int symbol, CharSequence text, int alignment)
| |||||||
| public static boolean | ||||||||
| public static boolean | ||||||||
| public static int | nk_convert(NkContext
the nuklear context ctx, NkBuffer cmds, NkBuffer vertices, NkBuffer elements, NkConvertConfig config)Converts from the abstract draw commands list into a hardware accessable vertex format. | |||||||
| public static void | ||||||||
| public static void | ||||||||
| public static void | nk_draw_list_add_text(NkDrawList list, NkUserFont font, NkRect rect, ByteBuffer text, float font_height, NkColor color)
| |||||||
| public static void | nk_draw_list_add_text(NkDrawList list, NkUserFont font, NkRect rect, CharSequence text, float font_height, NkColor color)
| |||||||
| public static void | ||||||||
| public static void | ||||||||
| public static void | ||||||||
| public static void | nk_draw_list_fill_rect_multi_color(NkDrawList list, NkRect rect, NkColor left, NkColor top, NkColor right, NkColor bottom)
| |||||||
| public static void | ||||||||
| public static void | ||||||||
| public static void | nk_draw_list_path_arc_to(NkDrawList list, NkVec2 center, float radius, float a_min, float a_max, int segments)
| |||||||
| public static void | ||||||||
| public static void | ||||||||
| public static void | ||||||||
| public static void | ||||||||
| public static void | ||||||||
| public static void | ||||||||
| public static void | nk_draw_list_path_stroke(NkDrawList list, NkColor color, int
one of: closed, float thickness)
| |||||||
| public static void | ||||||||
| public static void | nk_draw_list_setup(NkDrawList canvas, NkConvertConfig config, NkBuffer cmds, NkBuffer vertices, NkBuffer elements, int line_aa, int shape_aa)
| |||||||
| public static void | nk_draw_list_stroke_circle(NkDrawList list, NkVec2 center, float radius, NkColor color, int segs, float thickness)
| |||||||
| public static void | nk_draw_list_stroke_curve(NkDrawList list, NkVec2 p0, NkVec2 cp0, NkVec2 cp1, NkVec2 p1, NkColor color, int segments, float thickness)
| |||||||
| public static void | ||||||||
| public static void | nk_draw_list_stroke_poly_line(NkDrawList list, NkVec2 pnts, int cnt, NkColor color, int
one of: closed, float thickness, int aliasing)
| |||||||
| public static void | nk_draw_list_stroke_rect(NkDrawList list, NkRect rect, NkColor color, float rounding, float thickness)
| |||||||
| public static void | nk_draw_list_stroke_triangle(NkDrawList list, NkVec2 a, NkVec2 b, NkVec2 c, NkColor color, float thickness)
| |||||||
| public static void | ||||||||
| public static void | nk_draw_text(NkCommandBuffer b, NkRect rect, ByteBuffer string, NkUserFont font, NkColor bg, NkColor fg)
| |||||||
| public static void | nk_draw_text(NkCommandBuffer b, NkRect rect, CharSequence string, NkUserFont font, NkColor bg, NkColor fg)
| |||||||
| public static int | nk_edit_buffer(NkContext
the nuklear context ctx, int flags, NkTextEdit edit, NkPluginFilterI filter)
| |||||||
| public static void | ||||||||
| public static int | nk_edit_string(NkContext
the nuklear context ctx, int flags, ByteBuffer memory, IntBuffer len, int max, NkPluginFilterI filter)
| |||||||
| public static int | nk_edit_string(NkContext
the nuklear context ctx, int flags, CharSequence memory, IntBuffer len, int max, NkPluginFilterI filter)
| |||||||
| public static int | nk_edit_string(NkContext ctx, int flags, ByteBuffer memory, int[] len, int max, NkPluginFilterI filter)
Array version of: | |||||||
| public static int | nk_edit_string(NkContext ctx, int flags, CharSequence memory, int[] len, int max, NkPluginFilterI filter)
Array version of: | |||||||
| public static int | nk_edit_string_zero_terminated(NkContext
the nuklear context ctx, int flags, ByteBuffer buffer, int max, NkPluginFilterI filter)
| |||||||
| public static int | nk_edit_string_zero_terminated(NkContext
the nuklear context ctx, int flags, CharSequence buffer, int max, NkPluginFilterI filter)
| |||||||
| public static void | ||||||||
| public static void | ||||||||
| public static void | nk_fill_arc(NkCommandBuffer b, float cx, float cy, float radius, float a_min, float a_max, NkColor color)
| |||||||
| public static void | ||||||||
| public static void | ||||||||
| public static void | ||||||||
| public static void | ||||||||
| public static void | nk_fill_rect_multi_color(NkCommandBuffer b, NkRect rect, NkColor left, NkColor top, NkColor right, NkColor bottom)
| |||||||
| public static void | nk_fill_triangle(NkCommandBuffer b, float x0, float y0, float x1, float y1, float x2, float y2, NkColor color)
| |||||||
| public static boolean | ||||||||
| public static boolean | ||||||||
| public static boolean | ||||||||
| public static boolean | ||||||||
| public static boolean | ||||||||
| public static boolean | ||||||||
| public static boolean | ||||||||
| public static NkFont | ||||||||
| public static NkFont | nk_font_atlas_add_compressed(NkFontAtlas atlas, ByteBuffer memory, float height, NkFontConfig config)
| |||||||
| public static NkFont | nk_font_atlas_add_compressed_base85(NkFontAtlas atlas, ByteBuffer data, float height, NkFontConfig config)
| |||||||
| public static NkFont | nk_font_atlas_add_compressed_base85(NkFontAtlas atlas, CharSequence data, float height, NkFontConfig config)
| |||||||
| public static NkFont | ||||||||
| public static NkFont | nk_font_atlas_add_from_file(NkFontAtlas atlas, ByteBuffer file_path, float height, NkFontConfig config)
| |||||||
| public static NkFont | nk_font_atlas_add_from_file(NkFontAtlas atlas, CharSequence file_path, float height, NkFontConfig config)
| |||||||
| public static NkFont | nk_font_atlas_add_from_memory(NkFontAtlas atlas, ByteBuffer memory, float height, NkFontConfig config)
| |||||||
| public static ByteBuffer | ||||||||
| public static ByteBuffer | nk_font_atlas_bake(NkFontAtlas atlas, int[] width, int[] height, int fmt)
Array version of: | |||||||
| public static void | ||||||||
| public static void | ||||||||
| public static void | ||||||||
| public static void | ||||||||
| public static void | ||||||||
| public static void | ||||||||
| public static IntBuffer | ||||||||
| public static IntBuffer | ||||||||
| public static NkFontConfig | ||||||||
| public static IntBuffer | ||||||||
| public static IntBuffer | ||||||||
| public static IntBuffer | ||||||||
| public static IntBuffer | ||||||||
| public static NkFontGlyph | ||||||||
| public static IntBuffer | ||||||||
| public static IntBuffer | ||||||||
| public static void | ||||||||
| public static NkRect | ||||||||
| public static boolean | nk_group_begin(NkContext
the nuklear context ctx, ByteBuffer title, int flags)Start a new group with internal scrollbar handling. | |||||||
| public static boolean | nk_group_begin(NkContext
the nuklear context ctx, CharSequence title, int flags)Start a new group with internal scrollbar handling. | |||||||
| public static boolean | Returns: true if visible and fillable with widgets or false otherwisethe nuklear context ctx, ByteBuffer must be an unique identifier for this group name, ByteBuffer group header title title, int window flags defined in the nk_panel_flags section with a number of different group behaviors. One or more of: flags)
Start a new group with separated name and title and internal scrollbar handling. | |||||||
| public static boolean | Returns: true if visible and fillable with widgets or false otherwisethe nuklear context ctx, CharSequence must be an unique identifier for this group name, CharSequence group header title title, int window flags defined in the nk_panel_flags section with a number of different group behaviors. One or more of: flags)
Start a new group with separated name and title and internal scrollbar handling. | |||||||
| public static void | ||||||||
| public static void | nk_group_get_scroll(NkContext
the nuklear context ctx, ByteBuffer the id of the group to get the scroll position of id, IntBuffer a pointer to the x offset output (or x_offset, IntBuffer NULL to ignore)a pointer to the y offset output (or y_offset)NULL to ignore)Gets the scroll offset for the given group. | |||||||
| public static void | nk_group_get_scroll(NkContext
the nuklear context ctx, CharSequence the id of the group to get the scroll position of id, IntBuffer a pointer to the x offset output (or x_offset, IntBuffer NULL to ignore)a pointer to the y offset output (or y_offset)NULL to ignore)Gets the scroll offset for the given group. | |||||||
| public static void | nk_group_get_scroll(NkContext ctx, ByteBuffer id, int[] x_offset, int[] y_offset)
Array version of: | |||||||
| public static void | nk_group_get_scroll(NkContext ctx, CharSequence id, int[] x_offset, int[] y_offset)
Array version of: | |||||||
| public static boolean | nk_group_scrolled_begin(NkContext
the nuklear context ctx, NkScroll scroll, ByteBuffer title, int flags)Start a new group with manual scrollbar handling. | |||||||
| public static boolean | nk_group_scrolled_begin(NkContext
the nuklear context ctx, NkScroll scroll, CharSequence title, int flags)Start a new group with manual scrollbar handling. | |||||||
| public static void | ||||||||
| public static boolean | nk_group_scrolled_offset_begin(NkContext
the nuklear context ctx, IntBuffer x_offset, IntBuffer y_offset, ByteBuffer title, int flags)Start a new group with manual separated handling of scrollbar x- and y-offset. | |||||||
| public static boolean | nk_group_scrolled_offset_begin(NkContext
the nuklear context ctx, IntBuffer x_offset, IntBuffer y_offset, CharSequence title, int flags)Start a new group with manual separated handling of scrollbar x- and y-offset. | |||||||
| public static boolean | nk_group_scrolled_offset_begin(NkContext ctx, int[] x_offset, int[] y_offset, ByteBuffer title, int flags)
Array version of: | |||||||
| public static boolean | nk_group_scrolled_offset_begin(NkContext ctx, int[] x_offset, int[] y_offset, CharSequence title, int flags)
Array version of: | |||||||
| public static void | nk_group_set_scroll(NkContext
the nuklear context ctx, ByteBuffer the id of the group to scroll id, int the x offset to scroll to x_offset, int the y offset to scroll to y_offset)Sets the scroll offset for the given group. | |||||||
| public static void | nk_group_set_scroll(NkContext
the nuklear context ctx, CharSequence the id of the group to scroll id, int the x offset to scroll to x_offset, int the y offset to scroll to y_offset)Sets the scroll offset for the given group. | |||||||
| public static NkHandle | ||||||||
| public static NkHandle | ||||||||
| public static NkColor | ||||||||
| public static NkColor | ||||||||
| public static NkColor | ||||||||
| public static NkColor | ||||||||
| public static NkColor | ||||||||
| public static NkColor | ||||||||
| public static NkColor | ||||||||
| public static NkColor | ||||||||
| public static NkColor | ||||||||
| public static NkColorf | ||||||||
| public static NkColorf | ||||||||
| public static NkColorf | ||||||||
| public static NkColor | ||||||||
| public static NkColor | ||||||||
| public static NkColor | ||||||||
| public static NkColor | ||||||||
| public static NkColor | ||||||||
| public static void | ||||||||
| public static void | ||||||||
| public static NkImage | ||||||||
| public static NkImage | ||||||||
| public static boolean | ||||||||
| public static NkImage | ||||||||
| public static boolean | nk_init(NkContext
the nuklear context ctx, NkAllocator must point to a previously allocated memory allocator allocator, NkUserFont must point to a previously initialized font handle font)Initializes context with memory allocator callbacks for alloc and free. | |||||||
| public static boolean | nk_init_custom(NkContext
the nuklear context ctx, NkBuffer must point to a previously initialized memory buffer either fixed or dynamic to store draw commands into cmds, NkBuffer must point to a previously initialized memory buffer either fixed or dynamic to store windows, panels and tables pool, NkUserFont must point to a previously initialized font handle font)Initializes context from two buffers. | |||||||
| public static boolean | nk_init_fixed(NkContext
the nuklear context ctx, ByteBuffer must point to a previously allocated memory block memory, NkUserFont must point to a previously initialized font handle font)Initializes context from single fixed size memory block. | |||||||
| public static boolean | ||||||||
| public static void | nk_input_begin(NkContext
the nuklear context ctx)Begins the input mirroring process by resetting text, scroll, mouse, previous mouse position and movement as well as key state transitions. | |||||||
| public static void | nk_input_button(NkContext
the nuklear context ctx, int id, int x, int y, boolean down)Mirrors the state of a specific mouse button to nuklear. | |||||||
| public static void | nk_input_char(NkContext
the nuklear context ctx, byte c)Adds a single ASCII text character into an internal text buffer. | |||||||
| public static void | nk_input_end(NkContext
the nuklear context ctx)Ends the input mirroring process by calculating state changes. | |||||||
| public static void | nk_input_glyph(NkContext
the nuklear context ctx, ByteBuffer glyph)Adds a single multi-byte UTF-8 character into an internal text buffer. | |||||||
| public static boolean | ||||||||
| public static boolean | ||||||||
| public static boolean | ||||||||
| public static boolean | ||||||||
| public static boolean | nk_input_is_key_down(NkInput i, int
one of: key)
| |||||||
| public static boolean | nk_input_is_key_pressed(NkInput i, int
one of: key)
| |||||||
| public static boolean | nk_input_is_key_released(NkInput i, int
one of: key)
| |||||||
| public static boolean | ||||||||
| public static boolean | ||||||||
| public static boolean | ||||||||
| public static boolean | ||||||||
| public static boolean | ||||||||
| public static boolean | ||||||||
| public static boolean | ||||||||
| public static void | nk_input_key(NkContext
the nuklear context ctx, int one of: key, boolean down)Mirrors the state of a specific key to nuklear. | |||||||
| public static void | nk_input_motion(NkContext
the nuklear context ctx, int x, int y)Mirrors current mouse position to nuklear. | |||||||
| public static boolean | ||||||||
| public static void | nk_input_scroll(NkContext
the nuklear context ctx, NkVec2 vector with both X- as well as Y-scroll value val)Copies the last mouse scroll value to nuklear. | |||||||
| public static void | nk_input_unicode(NkContext
the nuklear context ctx, int unicode)Adds a single unicode rune into an internal text buffer. | |||||||
| public static boolean | nk_item_is_any_active(NkContext
the nuklear context ctx)Returns if any window or widgets is currently hovered or active. | |||||||
| public static void | ||||||||
| public static void | ||||||||
| public static void | ||||||||
| public static void | ||||||||
| public static void | ||||||||
| public static void | ||||||||
| public static void | ||||||||
| public static void | ||||||||
| public static float | nk_layout_ratio_from_pixel(NkContext
the nuklear context ctx, float pixel width to convert to window ratio pixel_width)Utility function to calculate window ratio from pixel size. | |||||||
| public static void | nk_layout_reset_min_row_height(NkContext
the nuklear context ctx)Resets the currently used minimum row height back to font height + text padding + additional padding
( | |||||||
| public static void | nk_layout_row(NkContext
the nuklear context ctx, int fmt, float holds height of each widget in row or zero for auto layouting height, FloatBuffer ratio)Specifies row columns in array as either window ratio or size. | |||||||
| public static void | ||||||||
| public static void | nk_layout_row_begin(NkContext
the nuklear context ctx, int fmt, float holds height of each widget in row or zero for auto layouting row_height, int number of widgets inside row cols)Starts a new dynamic or fixed row with given height and columns. | |||||||
| public static void | nk_layout_row_dynamic(NkContext
the nuklear context ctx, float holds height of each widget in row or zero for auto layouting height, int number of widgets inside row cols)Sets current row layout to share horizontal space between | |||||||
| public static void | ||||||||
| public static void | nk_layout_row_push(NkContext
the nuklear context ctx, float either a window ratio or fixed width depending on value)fmt in previous layout_row_begin callSpecifies either window ratio or width of a single column. | |||||||
| public static void | nk_layout_row_static(NkContext
the nuklear context ctx, float holds row height to allocate from panel for widget height height, int holds width of each widget in row item_width, int number of widgets inside row cols)Sets current row layout to fill | |||||||
| public static void | nk_layout_row_template_begin(NkContext
the nuklear context ctx, float holds height of each widget in row or zero for auto layouting height)Begins the row template declaration. | |||||||
| public static void | ||||||||
| public static void | nk_layout_row_template_push_dynamic(NkContext
the nuklear context ctx)Adds a dynamic column that dynamically grows and can go to zero if not enough space. | |||||||
| public static void | nk_layout_row_template_push_static(NkContext
the nuklear context ctx, float holds the absolute pixel width value the next column must be width)Adds a static column that does not grow and will always have the same size. | |||||||
| public static void | nk_layout_row_template_push_variable(NkContext
the nuklear context ctx, float holds the minimum pixel width the next column must be min_width)Adds a variable column that dynamically grows but does not shrink below specified pixel width. | |||||||
| public static void | nk_layout_set_min_row_height(NkContext
the nuklear context ctx, float new minimum row height to be used for auto generating the row height height)Sets the currently used minimum row height. | |||||||
| public static void | nk_layout_space_begin(NkContext
the nuklear context ctx, int fmt, float holds height of each widget in row or zero for auto layouting height, int number of widgets inside row widget_count)Begins a new layouting space that allows to specify each widgets position and size. | |||||||
| public static NkRect | nk_layout_space_bounds(NkContext
the nuklear context ctx, NkRect __result)Returns total space allocated for | |||||||
| public static void | ||||||||
| public static void | nk_layout_space_push(NkContext
the nuklear context ctx, NkRect position and size in layout space local coordinates rect)Pushes position and size of the next widget in own coordiante space either as pixel or ratio. | |||||||
| public static NkRect | nk_layout_space_rect_to_local(NkContext
the nuklear context ctx, NkRect rectangle to convert from screen space into layout space ret)Converts rectangle from layout space into screen space. | |||||||
| public static NkRect | nk_layout_space_rect_to_screen(NkContext
the nuklear context ctx, NkRect rectangle to convert from layout space into screen space ret)Converts rectangle from screen space into layout space. | |||||||
| public static NkVec2 | nk_layout_space_to_local(NkContext
the nuklear context ctx, NkVec2 position to convert from screen space into layout coordinate space ret)Converts vector from layout space into screen space. | |||||||
| public static NkVec2 | nk_layout_space_to_screen(NkContext
the nuklear context ctx, NkVec2 position to convert from layout space into screen coordinate space ret)Converts vector from | |||||||
| public static NkRect | nk_layout_widget_bounds(NkContext
the nuklear context ctx, NkRect __result)Returns the width of the next row allocate by one of the layouting functions. | |||||||
| public static boolean | nk_list_view_begin(NkContext
the nuklear context ctx, NkListView view, ByteBuffer title, int flags, int row_height, int row_count)
| |||||||
| public static boolean | nk_list_view_begin(NkContext
the nuklear context ctx, NkListView view, CharSequence title, int flags, int row_height, int row_count)
| |||||||
| public static void | ||||||||
| public static boolean | ||||||||
| public static boolean | ||||||||
| public static boolean | nk_menu_begin_image_label(NkContext
the nuklear context ctx, ByteBuffer text, int align, NkImage img, NkVec2 size)
| |||||||
| public static boolean | nk_menu_begin_image_label(NkContext
the nuklear context ctx, CharSequence text, int align, NkImage img, NkVec2 size)
| |||||||
| public static boolean | nk_menu_begin_image_text(NkContext
the nuklear context ctx, ByteBuffer text, int align, NkImage img, NkVec2 size)
| |||||||
| public static boolean | nk_menu_begin_image_text(NkContext
the nuklear context ctx, CharSequence text, int align, NkImage img, NkVec2 size)
| |||||||
| public static boolean | ||||||||
| public static boolean | ||||||||
| public static boolean | ||||||||
| public static boolean | ||||||||
| public static boolean | nk_menu_begin_symbol_label(NkContext
the nuklear context ctx, ByteBuffer text, int align, int symbol, NkVec2 size)
| |||||||
| public static boolean | nk_menu_begin_symbol_label(NkContext
the nuklear context ctx, CharSequence text, int align, int symbol, NkVec2 size)
| |||||||
| public static boolean | nk_menu_begin_symbol_text(NkContext
the nuklear context ctx, ByteBuffer text, int align, int symbol, NkVec2 size)
| |||||||
| public static boolean | nk_menu_begin_symbol_text(NkContext
the nuklear context ctx, CharSequence text, int align, int symbol, NkVec2 size)
| |||||||
| public static boolean | ||||||||
| public static boolean | ||||||||
| public static void | ||||||||
| public static void | ||||||||
| public static boolean | nk_menu_item_image_label(NkContext
the nuklear context ctx, NkImage img, ByteBuffer text, int alignment)
| |||||||
| public static boolean | nk_menu_item_image_label(NkContext
the nuklear context ctx, NkImage img, CharSequence text, int alignment)
| |||||||
| public static boolean | nk_menu_item_image_text(NkContext
the nuklear context ctx, NkImage img, ByteBuffer text, int alignment)
| |||||||
| public static boolean | nk_menu_item_image_text(NkContext
the nuklear context ctx, NkImage img, CharSequence text, int alignment)
| |||||||
| public static boolean | ||||||||
| public static boolean | ||||||||
| public static boolean | nk_menu_item_symbol_label(NkContext
the nuklear context ctx, int symbol, ByteBuffer text, int alignment)
| |||||||
| public static boolean | nk_menu_item_symbol_label(NkContext
the nuklear context ctx, int symbol, CharSequence text, int alignment)
| |||||||
| public static boolean | nk_menu_item_symbol_text(NkContext
the nuklear context ctx, int symbol, ByteBuffer text, int alignment)
| |||||||
| public static boolean | nk_menu_item_symbol_text(NkContext
the nuklear context ctx, int symbol, CharSequence text, int alignment)
| |||||||
| public static boolean | ||||||||
| public static boolean | ||||||||
| public static void | ||||||||
| public static void | ||||||||
| public static int | ||||||||
| public static NkNineSlice | ||||||||
| public static NkNineSlice | ||||||||
| public static boolean | ||||||||
| public static NkNineSlice | ||||||||
| public static boolean | ||||||||
| public static boolean | ||||||||
| public static boolean | ||||||||
| public static boolean | ||||||||
| public static void | ||||||||
| public static void | ||||||||
| public static void | nk_plot_function(NkContext
the nuklear context ctx, int type, long userdata, NkValueGetterI value_getter, int count, int offset)
| |||||||
| public static boolean | nk_popup_begin(NkContext
the nuklear context ctx, int one of: type, ByteBuffer title, int flags, NkRect rect)
| |||||||
| public static boolean | nk_popup_begin(NkContext
the nuklear context ctx, int one of: type, CharSequence title, int flags, NkRect rect)
| |||||||
| public static void | ||||||||
| public static void | ||||||||
| public static void | ||||||||
| public static void | nk_popup_get_scroll(NkContext ctx, int[] offset_x, int[] offset_y)
Array version of: | |||||||
| public static void | ||||||||
| public static long | ||||||||
| public static boolean | ||||||||
| public static void | nk_property_double(NkContext
the nuklear context ctx, ByteBuffer name, double min, DoubleBuffer val, double max, double step, float inc_per_pixel)Double property directly modifying a passed in value. | |||||||
| public static void | nk_property_double(NkContext
the nuklear context ctx, CharSequence name, double min, DoubleBuffer val, double max, double step, float inc_per_pixel)Double property directly modifying a passed in value. | |||||||
| public static void | nk_property_double(NkContext ctx, ByteBuffer name, double min, double[] val, double max, double step, float inc_per_pixel)
Array version of: | |||||||
| public static void | nk_property_double(NkContext ctx, CharSequence name, double min, double[] val, double max, double step, float inc_per_pixel)
Array version of: | |||||||
| public static void | nk_property_float(NkContext
the nuklear context ctx, ByteBuffer name, float min, FloatBuffer val, float max, float step, float inc_per_pixel)Float property directly modifying a passed in value. | |||||||
| public static void | nk_property_float(NkContext
the nuklear context ctx, CharSequence name, float min, FloatBuffer val, float max, float step, float inc_per_pixel)Float property directly modifying a passed in value. | |||||||
| public static void | nk_property_float(NkContext ctx, ByteBuffer name, float min, float[] val, float max, float step, float inc_per_pixel)
Array version of: | |||||||
| public static void | nk_property_float(NkContext ctx, CharSequence name, float min, float[] val, float max, float step, float inc_per_pixel)
Array version of: | |||||||
| public static void | nk_property_int(NkContext
the nuklear context ctx, ByteBuffer name, int min, IntBuffer val, int max, int step, float inc_per_pixel)Integer property directly modifying a passed in value. | |||||||
| public static void | nk_property_int(NkContext
the nuklear context ctx, CharSequence name, int min, IntBuffer val, int max, int step, float inc_per_pixel)Integer property directly modifying a passed in value. | |||||||
| public static void | nk_property_int(NkContext ctx, ByteBuffer name, int min, int[] val, int max, int step, float inc_per_pixel)
Array version of: | |||||||
| public static void | nk_property_int(NkContext ctx, CharSequence name, int min, int[] val, int max, int step, float inc_per_pixel)
Array version of: | |||||||
| public static double | nk_propertyd(NkContext
the nuklear context ctx, ByteBuffer name, double min, double val, double max, double step, float inc_per_pixel)Double property returning the modified double value. | |||||||
| public static double | nk_propertyd(NkContext
the nuklear context ctx, CharSequence name, double min, double val, double max, double step, float inc_per_pixel)Double property returning the modified double value. | |||||||
| public static float | nk_propertyf(NkContext
the nuklear context ctx, ByteBuffer name, float min, float val, float max, float step, float inc_per_pixel)Float property returning the modified float value. | |||||||
| public static float | nk_propertyf(NkContext
the nuklear context ctx, CharSequence name, float min, float val, float max, float step, float inc_per_pixel)Float property returning the modified float value. | |||||||
| public static int | nk_propertyi(NkContext
the nuklear context ctx, ByteBuffer name, int min, int val, int max, int step, float inc_per_pixel)Integer property returning the modified int value. | |||||||
| public static int | nk_propertyi(NkContext
the nuklear context ctx, CharSequence name, int min, int val, int max, int step, float inc_per_pixel)Integer property returning the modified int value. | |||||||
| public static void | ||||||||
| public static void | ||||||||
| public static boolean | ||||||||
| public static boolean | ||||||||
| public static boolean | ||||||||
| public static boolean | ||||||||
| public static NkRect | ||||||||
| public static NkVec2 | ||||||||
| public static NkVec2 | ||||||||
| public static NkRect | ||||||||
| public static NkRect | ||||||||
| public static NkRect | ||||||||
| public static NkRect | ||||||||
| public static NkRect | ||||||||
| public static NkRect | ||||||||
| public static NkColor | ||||||||
| public static NkColor | ||||||||
| public static NkColor | ||||||||
| public static NkColor | ||||||||
| public static NkColor | ||||||||
| public static NkColor | ||||||||
| public static NkColor | ||||||||
| public static NkColor | ||||||||
| public static NkColor | ||||||||
| public static NkColor | ||||||||
| public static NkColor | ||||||||
| public static NkColor | ||||||||
| public static NkColor | ||||||||
| public static NkColor | ||||||||
| public static NkColor | ||||||||
| public static NkColor | ||||||||
| public static NkColor | ||||||||
| public static NkColor | ||||||||
| public static NkColor | ||||||||
| public static NkColor | ||||||||
| public static NkColor | ||||||||
| public static boolean | nk_select_image_label(NkContext
the nuklear context ctx, NkImage img, ByteBuffer str, int align, boolean value)
| |||||||
| public static boolean | nk_select_image_label(NkContext
the nuklear context ctx, NkImage img, CharSequence str, int align, boolean value)
| |||||||
| public static boolean | nk_select_image_text(NkContext
the nuklear context ctx, NkImage img, ByteBuffer str, int align, boolean value)
| |||||||
| public static boolean | nk_select_image_text(NkContext
the nuklear context ctx, NkImage img, CharSequence str, int align, boolean value)
| |||||||
| public static boolean | ||||||||
| public static boolean | ||||||||
| public static boolean | nk_select_symbol_label(NkContext
the nuklear context ctx, int symbol, ByteBuffer str, int align, boolean value)
| |||||||
| public static boolean | nk_select_symbol_label(NkContext
the nuklear context ctx, int symbol, CharSequence str, int align, boolean value)
| |||||||
| public static boolean | nk_select_symbol_text(NkContext
the nuklear context ctx, int symbol, ByteBuffer str, int align, boolean value)
| |||||||
| public static boolean | nk_select_symbol_text(NkContext
the nuklear context ctx, int symbol, CharSequence str, int align, boolean value)
| |||||||
| public static boolean | ||||||||
| public static boolean | ||||||||
| public static boolean | nk_selectable_image_label(NkContext
the nuklear context ctx, NkImage img, ByteBuffer str, int align, ByteBuffer value)
| |||||||
| public static boolean | nk_selectable_image_label(NkContext
the nuklear context ctx, NkImage img, CharSequence str, int align, ByteBuffer value)
| |||||||
| public static boolean | nk_selectable_image_text(NkContext
the nuklear context ctx, NkImage img, ByteBuffer str, int align, ByteBuffer value)
| |||||||
| public static boolean | nk_selectable_image_text(NkContext
the nuklear context ctx, NkImage img, CharSequence str, int align, ByteBuffer value)
| |||||||
| public static boolean | ||||||||
| public static boolean | nk_selectable_label(NkContext
the nuklear context ctx, CharSequence str, int align, ByteBuffer value)
| |||||||
| public static boolean | nk_selectable_symbol_label(NkContext
the nuklear context ctx, int symbol, ByteBuffer str, int align, ByteBuffer value)
| |||||||
| public static boolean | nk_selectable_symbol_label(NkContext
the nuklear context ctx, int symbol, CharSequence str, int align, ByteBuffer value)
| |||||||
| public static boolean | nk_selectable_symbol_text(NkContext
the nuklear context ctx, int symbol, ByteBuffer str, int align, ByteBuffer value)
| |||||||
| public static boolean | nk_selectable_symbol_text(NkContext
the nuklear context ctx, int symbol, CharSequence str, int align, ByteBuffer value)
| |||||||
| public static boolean | ||||||||
| public static boolean | ||||||||
| public static void | nk_set_user_data(NkContext
the nuklear context ctx, NkHandle handle with either pointer or index to be passed into every draw commands handle)Utility function to pass user data to draw command. | |||||||
| public static float | ||||||||
| public static int | ||||||||
| public static boolean | nk_slider_float(NkContext
the nuklear context ctx, float min, FloatBuffer val, float max, float step)
| |||||||
| public static boolean | nk_slider_float(NkContext ctx, float min, float[] val, float max, float step)
Array version of: | |||||||
| public static boolean | ||||||||
| public static boolean | ||||||||
| public static void | ||||||||
| public static void | ||||||||
| public static int | ||||||||
| public static int | ||||||||
| public static int | ||||||||
| public static int | ||||||||
| public static int | ||||||||
| public static int | ||||||||
| public static int | ||||||||
| public static int | ||||||||
| public static String | ||||||||
| public static String | ||||||||
| public static ByteBuffer | ||||||||
| public static ByteBuffer | ||||||||
| public static ByteBuffer | ||||||||
| public static ByteBuffer | ||||||||
| public static void | ||||||||
| public static void | ||||||||
| public static void | ||||||||
| public static void | ||||||||
| public static String | ||||||||
| public static String | ||||||||
| public static void | ||||||||
| public static void | ||||||||
| public static int | ||||||||
| public static int | ||||||||
| public static int | ||||||||
| public static int | ||||||||
| public static int | ||||||||
| public static int | ||||||||
| public static int | ||||||||
| public static int | ||||||||
| public static int | ||||||||
| public static int | ||||||||
| public static int | ||||||||
| public static int | ||||||||
| public static void | ||||||||
| public static void | ||||||||
| public static int | ||||||||
| public static boolean | nk_strfilter(ByteBuffer str, ByteBuffer regexp)
| |||||||
| public static boolean | nk_strfilter(CharSequence str, CharSequence regexp)
| |||||||
| public static int | ||||||||
| public static int | ||||||||
| public static int | ||||||||
| public static int | ||||||||
| public static int | ||||||||
| public static int | ||||||||
| public static boolean | nk_strmatch_fuzzy_string(ByteBuffer str, ByteBuffer pattern, IntBuffer out_score)
Returns true if each character in | |||||||
| public static boolean | nk_strmatch_fuzzy_string(CharSequence str, CharSequence pattern, IntBuffer out_score)
Returns true if each character in | |||||||
| public static boolean | nk_strmatch_fuzzy_string(ByteBuffer str, ByteBuffer pattern, int[] out_score)
Array version of: | |||||||
| public static boolean | nk_strmatch_fuzzy_string(CharSequence str, CharSequence pattern, int[] out_score)
Array version of: | |||||||
| public static int | ||||||||
| public static int | ||||||||
| public static int | nk_strmatch_fuzzy_text(ByteBuffer txt, ByteBuffer pattern, int[] out_score)
Array version of: | |||||||
| public static int | nk_strmatch_fuzzy_text(CharSequence txt, CharSequence pattern, int[] out_score)
Array version of: | |||||||
| public static void | nk_stroke_arc(NkCommandBuffer b, float cx, float cy, float radius, float a_min, float a_max, float line_thickness, NkColor color)
| |||||||
| public static void | ||||||||
| public static void | nk_stroke_curve(NkCommandBuffer b, float ax, float ay, float ctrl0x, float ctrl0y, float ctrl1x, float ctrl1y, float bx, float by, float line_thickness, NkColor color)
| |||||||
| public static void | nk_stroke_line(NkCommandBuffer b, float x0, float y0, float x1, float y1, float line_thickness, NkColor color)
| |||||||
| public static void | ||||||||
| public static void | nk_stroke_polygon(NkCommandBuffer b, float[] points, float line_thickness, NkColor color)
Array version of: | |||||||
| public static void | ||||||||
| public static void | nk_stroke_polyline(NkCommandBuffer b, float[] points, float line_thickness, NkColor col)
Array version of: | |||||||
| public static void | ||||||||
| public static void | nk_stroke_triangle(NkCommandBuffer b, float x0, float y0, float x1, float y1, float x2, float y2, float line_thichness, NkColor color)
| |||||||
| public static double | ||||||||
| public static double | ||||||||
| public static float | ||||||||
| public static float | ||||||||
| public static int | ||||||||
| public static int | ||||||||
| public static void | ||||||||
| public static void | ||||||||
| public static String | nk_style_get_color_by_name(int
one of: c)
| |||||||
| public static void | ||||||||
| public static NkStyleItem | ||||||||
| public static NkStyleItem | ||||||||
| public static NkStyleItem | ||||||||
| public static NkStyleItem | ||||||||
| public static void | ||||||||
| public static void | ||||||||
| public static boolean | ||||||||
| public static boolean | ||||||||
| public static boolean | ||||||||
| public static boolean | ||||||||
| public static boolean | ||||||||
| public static boolean | ||||||||
| public static boolean | ||||||||
| public static boolean | ||||||||
| public static boolean | ||||||||
| public static boolean | ||||||||
| public static boolean | ||||||||
| public static boolean | ||||||||
| public static boolean | ||||||||
| public static boolean | ||||||||
| public static boolean | ||||||||
| public static void | ||||||||
| public static void | ||||||||
| public static NkNineSlice | nk_sub9slice_handle(NkHandle handle, short w, short h, NkRect sub_region, short l, short t, short r, short b, NkNineSlice __result)
| |||||||
| public static NkNineSlice | nk_sub9slice_id(int id, short w, short h, NkRect sub_region, short l, short t, short r, short b, NkNineSlice __result)
| |||||||
| public static NkNineSlice | nk_sub9slice_ptr(long ptr, short w, short h, NkRect sub_region, short l, short t, short r, short b, NkNineSlice __result)
| |||||||
| public static NkImage | ||||||||
| public static NkImage | ||||||||
| public static NkImage | ||||||||
| public static void | ||||||||
| public static void | ||||||||
| public static void | ||||||||
| public static void | ||||||||
| public static void | ||||||||
| public static void | ||||||||
| public static void | ||||||||
| public static void | ||||||||
| public static boolean | ||||||||
| public static void | ||||||||
| public static void | ||||||||
| public static void | ||||||||
| public static void | ||||||||
| public static void | ||||||||
| public static boolean | ||||||||
| public static boolean | ||||||||
| public static void | ||||||||
| public static void | ||||||||
| public static void | ||||||||
| public static void | ||||||||
| public static void | ||||||||
| public static void | ||||||||
| public static void | ||||||||
| public static boolean | ||||||||
| public static void | ||||||||
| public static boolean | nk_tree_element_image_push_hashed(NkContext
the nuklear context ctx, int type, NkImage img, ByteBuffer label printed in the tree header title, int initial_state, ByteBuffer selected, ByteBuffer hash, int seed)
| |||||||
| public static boolean | nk_tree_element_image_push_hashed(NkContext
the nuklear context ctx, int type, NkImage img, CharSequence label printed in the tree header title, int initial_state, ByteBuffer selected, ByteBuffer hash, int seed)
| |||||||
| public static void | ||||||||
| public static boolean | nk_tree_element_push_hashed(NkContext
the nuklear context ctx, int type, ByteBuffer label printed in the tree header title, int initial_state, ByteBuffer selected, ByteBuffer hash, int seed)
| |||||||
| public static boolean | nk_tree_element_push_hashed(NkContext
the nuklear context ctx, int type, CharSequence label printed in the tree header title, int initial_state, ByteBuffer selected, ByteBuffer hash, int seed)
| |||||||
| public static boolean | nk_tree_image_push_hashed(NkContext
the nuklear context ctx, int type, NkImage image to display inside the header on the left of the label img, ByteBuffer label printed in the tree header title, int initial_state, ByteBuffer memory block or string to generate the ID from hash, int seeding value if this function is called in a loop or default to 0 seed)Start a collapsible UI section with internal state management with full control over internal unique ID used to store state. | |||||||
| public static boolean | nk_tree_image_push_hashed(NkContext
the nuklear context ctx, int type, NkImage image to display inside the header on the left of the label img, CharSequence label printed in the tree header title, int initial_state, ByteBuffer memory block or string to generate the ID from hash, int seeding value if this function is called in a loop or default to 0 seed)Start a collapsible UI section with internal state management with full control over internal unique ID used to store state. | |||||||
| public static void | ||||||||
| public static boolean | nk_tree_push_hashed(NkContext
the nuklear context ctx, int type, ByteBuffer label printed in the tree header title, int initial_state, ByteBuffer memory block or string to generate the ID from hash, int seeding value if this function is called in a loop or default to 0 seed)Start a collapsible UI section with internal state management with full control over internal unique ID used to store state. | |||||||
| public static boolean | nk_tree_push_hashed(NkContext
the nuklear context ctx, int type, CharSequence label printed in the tree header title, int initial_state, ByteBuffer memory block or string to generate the ID from hash, int seeding value if this function is called in a loop or default to 0 seed)Start a collapsible UI section with internal state management with full control over internal unique ID used to store state. | |||||||
| public static boolean | nk_tree_state_image_push(NkContext
the nuklear context ctx, int type, NkImage image to display inside the header on the left of the label image, ByteBuffer label printed in the tree header title, IntBuffer state)Start a collapsible UI section with image and label header and external state management. | |||||||
| public static boolean | nk_tree_state_image_push(NkContext
the nuklear context ctx, int type, NkImage image to display inside the header on the left of the label image, CharSequence label printed in the tree header title, IntBuffer state)Start a collapsible UI section with image and label header and external state management. | |||||||
| public static boolean | nk_tree_state_image_push(NkContext ctx, int type, NkImage image, ByteBuffer title, int[] state)
Array version of: | |||||||
| public static boolean | nk_tree_state_image_push(NkContext ctx, int type, NkImage image, CharSequence title, int[] state)
Array version of: | |||||||
| public static void | ||||||||
| public static boolean | nk_tree_state_push(NkContext
the nuklear context ctx, int type, ByteBuffer label printed in the tree header title, IntBuffer persistent state to update state)Start a collapsible UI section with external state management. | |||||||
| public static boolean | nk_tree_state_push(NkContext
the nuklear context ctx, int type, CharSequence label printed in the tree header title, IntBuffer persistent state to update state)Start a collapsible UI section with external state management. | |||||||
| public static boolean | nk_tree_state_push(NkContext ctx, int type, ByteBuffer title, int[] state)
Array version of: | |||||||
| public static boolean | nk_tree_state_push(NkContext ctx, int type, CharSequence title, int[] state)
Array version of: | |||||||
| public static void | ||||||||
| public static ByteBuffer | ||||||||
| public static ByteBuffer | ||||||||
| public static int | ||||||||
| public static int | ||||||||
| public static int | ||||||||
| public static int | ||||||||
| public static NkVec2 | ||||||||
| public static NkVec2 | ||||||||
| public static NkVec2 | ||||||||
| public static NkVec2 | ||||||||
| public static NkVec2 | ||||||||
| public static NkVec2 | ||||||||
| public static int | ||||||||
| public static NkRect | ||||||||
| public static int | ||||||||
| public static boolean | ||||||||
| public static float | ||||||||
| public static boolean | ||||||||
| public static boolean | ||||||||
| public static NkVec2 | ||||||||
| public static NkVec2 | ||||||||
| public static float | ||||||||
| public static void | nk_window_close(NkContext
the nuklear context ctx, ByteBuffer name)Closes the window with given window name which deletes the window at the end of the frame. | |||||||
| public static void | nk_window_close(NkContext
the nuklear context ctx, CharSequence name)Closes the window with given window name which deletes the window at the end of the frame. | |||||||
| public static void | nk_window_collapse(NkContext
the nuklear context ctx, ByteBuffer name, int c)Collapses the window with given window name. | |||||||
| public static void | nk_window_collapse(NkContext
the nuklear context ctx, CharSequence name, int c)Collapses the window with given window name. | |||||||
| public static void | nk_window_collapse_if(NkContext
the nuklear context ctx, ByteBuffer name, int c, boolean cond)Collapses the window with given window name if the given condition was met. | |||||||
| public static void | nk_window_collapse_if(NkContext
the nuklear context ctx, CharSequence name, int c, boolean cond)Collapses the window with given window name if the given condition was met. | |||||||
| public static NkWindow | nk_window_find(NkContext
the nuklear context ctx, ByteBuffer name)Finds and returns a window from passed name. | |||||||
| public static NkWindow | nk_window_find(NkContext
the nuklear context ctx, CharSequence name)Finds and returns a window from passed name. | |||||||
| public static NkRect | nk_window_get_bounds(NkContext
the nuklear context ctx, NkRect __result)Returns a rectangle with screen position and size of the currently processed window. | |||||||
| public static NkCommandBuffer | ||||||||
| public static NkRect | nk_window_get_content_region(NkContext
the nuklear context ctx, NkRect __result)Returns the position and size of the currently visible and non-clipped space inside the currently processed window. | |||||||
| public static NkVec2 | nk_window_get_content_region_max(NkContext
the nuklear context ctx, NkVec2 __result)Returns the upper rectangle position of the currently visible and non-clipped space inside the currently processed window. | |||||||
| public static NkVec2 | nk_window_get_content_region_min(NkContext
the nuklear context ctx, NkVec2 __result)Returns the upper rectangle position of the currently visible and non-clipped space inside the currently processed window. | |||||||
| public static NkVec2 | nk_window_get_content_region_size(NkContext
the nuklear context ctx, NkVec2 __result)Returns the size of the currently visible and non-clipped space inside the currently processed window. | |||||||
| public static float | nk_window_get_height(NkContext
the nuklear context ctx)Returns the height of the currently processed window. | |||||||
| public static NkPanel | nk_window_get_panel(NkContext
the nuklear context ctx)Returns the underlying panel which contains all processing state of the current window. | |||||||
| public static NkVec2 | nk_window_get_position(NkContext
the nuklear context ctx, NkVec2 __result)Returns the position of the currently processed window. | |||||||
| public static void | nk_window_get_scroll(NkContext
the nuklear context ctx, IntBuffer a pointer to the x offset output (or offset_x, IntBuffer NULL to ignore)a pointer to the y offset output (or offset_y)NULL to ignore)Gets the scroll offset for the current window. | |||||||
| public static void | nk_window_get_scroll(NkContext ctx, int[] offset_x, int[] offset_y)
Array version of: | |||||||
| public static NkVec2 | nk_window_get_size(NkContext
the nuklear context ctx, NkVec2 __result)Returns the size with width and height of the currently processed window. | |||||||
| public static float | nk_window_get_width(NkContext
the nuklear context ctx)Returns the width of the currently processed window. | |||||||
| public static boolean | nk_window_has_focus(NkContext
the nuklear context ctx)Returns if the currently processed window is currently active. | |||||||
| public static boolean | nk_window_is_active(NkContext
the nuklear context ctx, ByteBuffer name)Same as | |||||||
| public static boolean | nk_window_is_active(NkContext
the nuklear context ctx, CharSequence name)Same as | |||||||
| public static boolean | ||||||||
| public static boolean | nk_window_is_closed(NkContext
the nuklear context ctx, ByteBuffer name)Returns if the currently processed window was closed. | |||||||
| public static boolean | nk_window_is_closed(NkContext
the nuklear context ctx, CharSequence name)Returns if the currently processed window was closed. | |||||||
| public static boolean | nk_window_is_collapsed(NkContext
the nuklear context ctx, ByteBuffer name)Returns if the window with given name is currently minimized/collapsed. | |||||||
| public static boolean | nk_window_is_collapsed(NkContext
the nuklear context ctx, CharSequence name)Returns if the window with given name is currently minimized/collapsed. | |||||||
| public static boolean | nk_window_is_hovered(NkContext
the nuklear context ctx)Returns if the currently processed window is currently being hovered by mouse. | |||||||
| public static void | nk_window_set_bounds(NkContext
the nuklear context ctx, ByteBuffer name of the window to modify both position and size name, NkRect points to a bounds)nk_rect struct with the new position and size of the specified windowUpdates position and size of the specified window. | |||||||
| public static void | nk_window_set_bounds(NkContext
the nuklear context ctx, CharSequence name of the window to modify both position and size name, NkRect points to a bounds)nk_rect struct with the new position and size of the specified windowUpdates position and size of the specified window. | |||||||
| public static void | nk_window_set_focus(NkContext
the nuklear context ctx, ByteBuffer name of the window to be set active name)Sets the specified window as active window. | |||||||
| public static void | nk_window_set_focus(NkContext
the nuklear context ctx, CharSequence name of the window to be set active name)Sets the specified window as active window. | |||||||
| public static void | nk_window_set_position(NkContext
the nuklear context ctx, ByteBuffer name of the window to modify position of name, NkVec2 points to a position)nk_vec2 struct with the new position of currently active windowUpdates position of the currently process window. | |||||||
| public static void | nk_window_set_position(NkContext
the nuklear context ctx, CharSequence name of the window to modify position of name, NkVec2 points to a position)nk_vec2 struct with the new position of currently active windowUpdates position of the currently process window. | |||||||
| public static void | nk_window_set_scroll(NkContext
the nuklear context ctx, int the x offset to scroll to offset_x, int the y offset to scroll to offset_y)Sets the scroll offset for the current window. | |||||||
| public static void | nk_window_set_size(NkContext
the nuklear context ctx, ByteBuffer name of the window to modify size of name, NkVec2 points to a size)nk_vec2 struct with the new size of currently active windowUpdates the size of the specified window. | |||||||
| public static void | nk_window_set_size(NkContext
the nuklear context ctx, CharSequence name of the window to modify size of name, NkVec2 points to a size)nk_vec2 struct with the new size of currently active windowUpdates the size of the specified window. | |||||||
| public static void | nk_window_show(NkContext
the nuklear context ctx, ByteBuffer name, int s)Hides a visible or reshows a hidden window. | |||||||
| public static void | nk_window_show(NkContext
the nuklear context ctx, CharSequence name, int s)Hides a visible or reshows a hidden window. | |||||||
| public static void | nk_window_show_if(NkContext
the nuklear context ctx, ByteBuffer name, int s, boolean cond)Hides/shows a window depending on condition. | |||||||
| public static void | nk_window_show_if(NkContext
the nuklear context ctx, CharSequence name, int s, boolean cond)Hides/shows a window depending on condition. | |||||||
| public static native long | ||||||||
| public static native long | ||||||||
| public static native long | ||||||||
| public static native long | ||||||||
| public static native long | ||||||||
| public static native long | ||||||||
| public static native long | ||||||||
| public static native boolean | ||||||||
| public static native boolean | nnk_begin_titled(long ctx, long name, long title, long bounds, int flags)
Unsafe version of: | |||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native long | ||||||||
| public static native long | ||||||||
| public static native void | nnk_buffer_push(long buffer, int type, long memory, long size, long align)
Unsafe version of: | |||||||
| public static native void | ||||||||
| public static native long | ||||||||
| public static native boolean | ||||||||
| public static native boolean | ||||||||
| public static native boolean | nnk_button_image_label(long ctx, long img, long text, int text_alignment)
Unsafe version of: | |||||||
| public static native boolean | nnk_button_image_label_styled(long ctx, long style, long img, long title, int text_alignment)
Unsafe version of: | |||||||
| public static native boolean | ||||||||
| public static native boolean | nnk_button_image_text(long ctx, long img, long text, int len, int alignment)
Unsafe version of: | |||||||
| public static native boolean | nnk_button_image_text_styled(long ctx, long style, long img, long title, int len, int alignment)
Unsafe version of: | |||||||
| public static native boolean | ||||||||
| public static native boolean | ||||||||
| public static native boolean | ||||||||
| public static native boolean | ||||||||
| public static native void | ||||||||
| public static native boolean | ||||||||
| public static native boolean | nnk_button_symbol_label(long ctx, int symbol, long text, int text_alignment)
Unsafe version of: | |||||||
| public static native boolean | nnk_button_symbol_label_styled(long ctx, long style, int symbol, long title, int text_alignment)
Unsafe version of: | |||||||
| public static native boolean | ||||||||
| public static native boolean | nnk_button_symbol_text(long ctx, int symbol, long text, int len, int alignment)
Unsafe version of: | |||||||
| public static native boolean | nnk_button_symbol_text_styled(long ctx, long style, int symbol, long title, int len, int alignment)
Unsafe version of: | |||||||
| public static native boolean | ||||||||
| public static native boolean | nnk_button_text_styled(long ctx, long style, long title, int len)
Unsafe version of: | |||||||
| public static native void | nnk_chart_add_slot(long ctx, int type, int count, float min_value, float max_value)
Unsafe version of: | |||||||
| public static native 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: | |||||||
| public static native boolean | ||||||||
| public static native boolean | nnk_chart_begin_colored(long ctx, int type, long color, long active, int num, float min, float max)
Unsafe version of: | |||||||
| public static native void | ||||||||
| public static native int | ||||||||
| public static native int | ||||||||
| public static native int | ||||||||
| public static native int | nnk_check_flags_text(long ctx, long str, int len, int flags, int value)
Unsafe version of: | |||||||
| public static native boolean | ||||||||
| public static native boolean | ||||||||
| public static native boolean | nnk_checkbox_flags_label(long ctx, long str, long flags, int value)
Unsafe version of: | |||||||
| public static native boolean | nnk_checkbox_flags_label(long ctx, long str, int[] flags, int value)
Array version of: | |||||||
| public static native boolean | nnk_checkbox_flags_text(long ctx, long str, int len, long flags, int value)
Unsafe version of: | |||||||
| public static native boolean | nnk_checkbox_flags_text(long ctx, long str, int len, int[] flags, int value)
Array version of: | |||||||
| public static native boolean | ||||||||
| public static native boolean | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | nnk_color_d(double[] r, double[] g, double[] b, double[] a, long color)
Array version of: | |||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | nnk_color_hsv_f(float[] out_h, float[] out_s, float[] out_v, long color)
Array version of: | |||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | nnk_color_hsva_f(float[] out_h, float[] out_s, float[] out_v, float[] out_a, long color)
Array version of: | |||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native boolean | ||||||||
| public static native void | ||||||||
| public static native int | ||||||||
| public static native void | ||||||||
| public static native void | nnk_colorf_hsva_f(float[] out_h, float[] out_s, float[] out_v, float[] out_a, long in)
Array version of: | |||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native int | ||||||||
| public static native boolean | ||||||||
| public static native boolean | ||||||||
| public static native boolean | nnk_combo_begin_image_label(long ctx, long selected, long img, long size)
Unsafe version of: | |||||||
| public static native boolean | nnk_combo_begin_image_text(long ctx, long selected, int len, long img, long size)
Unsafe version of: | |||||||
| public static native boolean | ||||||||
| public static native boolean | ||||||||
| public static native boolean | nnk_combo_begin_symbol_label(long ctx, long selected, int symbol, long size)
Unsafe version of: | |||||||
| public static native boolean | nnk_combo_begin_symbol_text(long ctx, long selected, int len, int symbol, long size)
Unsafe version of: | |||||||
| public static native boolean | nnk_combo_begin_text(long ctx, long selected, int len, long size)
Unsafe version of: | |||||||
| public static native int | nnk_combo_callback(long ctx, long item_getter, long userdata, int selected, int count, int item_height, long size)
Unsafe version of: | |||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native boolean | nnk_combo_item_image_label(long ctx, long img, long text, int alignment)
Unsafe version of: | |||||||
| public static native boolean | nnk_combo_item_image_text(long ctx, long img, long text, int len, int alignment)
Unsafe version of: | |||||||
| public static native boolean | ||||||||
| public static native boolean | nnk_combo_item_symbol_label(long ctx, int symbol, long text, int alignment)
Unsafe version of: | |||||||
| public static native boolean | nnk_combo_item_symbol_text(long ctx, int symbol, long text, int len, int alignment)
Unsafe version of: | |||||||
| public static native boolean | ||||||||
| public static native 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: | |||||||
| public static native int | nnk_combo_string(long ctx, long items_separated_by_zeros, int selected, int count, int item_height, long size)
Unsafe version of: | |||||||
| public static native void | nnk_combobox(long ctx, long items, int count, long selected, int item_height, long size)
Unsafe version of: | |||||||
| public static native void | nnk_combobox(long ctx, long items, int count, int[] selected, int item_height, long size)
Array version of: | |||||||
| public static native void | nnk_combobox_callback(long ctx, long item_getter, long userdata, long selected, int count, int item_height, long size)
Unsafe version of: | |||||||
| public static native void | nnk_combobox_callback(long ctx, long item_getter, long userdata, int[] selected, int count, int item_height, long size)
Array version of: | |||||||
| public static native 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: | |||||||
| public static native 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: | |||||||
| public static native void | nnk_combobox_string(long ctx, long items_separated_by_zeros, long selected, int count, int item_height, long size)
Unsafe version of: | |||||||
| public static native void | nnk_combobox_string(long ctx, long items_separated_by_zeros, int[] selected, int count, int item_height, long size)
Array version of: | |||||||
| public static native boolean | nnk_contextual_begin(long ctx, int flags, long size, long trigger_bounds)
Unsafe version of: | |||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native boolean | nnk_contextual_item_image_label(long ctx, long img, long text, int alignment)
Unsafe version of: | |||||||
| public static native boolean | nnk_contextual_item_image_text(long ctx, long img, long text, int len, int alignment)
Unsafe version of: | |||||||
| public static native boolean | ||||||||
| public static native boolean | nnk_contextual_item_symbol_label(long ctx, int symbol, long text, int alignment)
Unsafe version of: | |||||||
| public static native boolean | nnk_contextual_item_symbol_text(long ctx, int symbol, long text, int len, int alignment)
Unsafe version of: | |||||||
| public static native boolean | nnk_contextual_item_text(long ctx, long text, int len, int align)
Unsafe version of: | |||||||
| public static native int | nnk_convert(long ctx, long cmds, long vertices, long elements, long config)
Unsafe version of: | |||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | nnk_draw_list_add_text(long list, long font, long rect, long text, int len, float font_height, long color)
| |||||||
| public static native void | ||||||||
| public static native void | nnk_draw_list_fill_poly_convex(long list, long points, int count, long color, int aliasing)
Unsafe version of: | |||||||
| public static native void | ||||||||
| public static native void | nnk_draw_list_fill_rect_multi_color(long list, long rect, long left, long top, long right, long bottom)
| |||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | nnk_draw_list_path_arc_to(long list, long center, float radius, float a_min, float a_max, int segments)
| |||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | nnk_draw_list_path_stroke(long list, long color, int closed, float thickness)
Unsafe version of: | |||||||
| public static native void | ||||||||
| public static native void | nnk_draw_list_setup(long canvas, long config, long cmds, long vertices, long elements, int line_aa, int shape_aa)
| |||||||
| public static native void | nnk_draw_list_stroke_circle(long list, long center, float radius, long color, int segs, float thickness)
| |||||||
| public static native void | nnk_draw_list_stroke_curve(long list, long p0, long cp0, long cp1, long p1, long color, int segments, float thickness)
| |||||||
| public static native void | ||||||||
| public static native void | nnk_draw_list_stroke_poly_line(long list, long pnts, int cnt, long color, int closed, float thickness, int aliasing)
Unsafe version of: | |||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native int | ||||||||
| public static native void | ||||||||
| public static native int | nnk_edit_string(long ctx, int flags, long memory, long len, int max, long filter)
Unsafe version of: | |||||||
| public static native int | nnk_edit_string(long ctx, int flags, long memory, int[] len, int max, long filter)
Array version of: | |||||||
| public static native int | nnk_edit_string_zero_terminated(long ctx, int flags, long buffer, int max, long filter)
Unsafe version of: | |||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | nnk_fill_polygon(long b, float[] points, int point_count, long color)
Array version of: | |||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native boolean | ||||||||
| public static native boolean | ||||||||
| public static native boolean | ||||||||
| public static native boolean | ||||||||
| public static native boolean | ||||||||
| public static native boolean | ||||||||
| public static native boolean | ||||||||
| public static native long | ||||||||
| public static native long | ||||||||
| public static native long | ||||||||
| public static native long | ||||||||
| public static native long | ||||||||
| public static native long | ||||||||
| public static native long | ||||||||
| public static native long | nnk_font_atlas_bake(long atlas, int[] width, int[] height, int fmt)
Array version of: | |||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native long | ||||||||
| public static native void | ||||||||
| public static native long | ||||||||
| public static native long | ||||||||
| public static native long | ||||||||
| public static native long | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native boolean | ||||||||
| public static native boolean | nnk_group_begin_titled(long ctx, long name, long title, int flags)
Unsafe version of: | |||||||
| public static native void | ||||||||
| public static native void | nnk_group_get_scroll(long ctx, long id, long x_offset, long y_offset)
Unsafe version of: | |||||||
| public static native void | nnk_group_get_scroll(long ctx, long id, int[] x_offset, int[] y_offset)
Array version of: | |||||||
| public static native boolean | nnk_group_scrolled_begin(long ctx, long scroll, long title, int flags)
Unsafe version of: | |||||||
| public static native void | ||||||||
| public static native boolean | nnk_group_scrolled_offset_begin(long ctx, long x_offset, long y_offset, long title, int flags)
Unsafe version of: | |||||||
| public static native boolean | nnk_group_scrolled_offset_begin(long ctx, int[] x_offset, int[] y_offset, long title, int flags)
Array version of: | |||||||
| public static native void | nnk_group_set_scroll(long ctx, long id, int x_offset, int y_offset)
Unsafe version of: | |||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native boolean | ||||||||
| public static native void | ||||||||
| public static native boolean | ||||||||
| public static native boolean | ||||||||
| public static native boolean | nnk_init_fixed(long ctx, long memory, long
must contain the total size of size, long font)memoryUnsafe version of: | |||||||
| public static native boolean | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native boolean | ||||||||
| public static native boolean | nnk_input_has_mouse_click_down_in_rect(long i, int id, long rect, boolean down)
Unsafe version of: | |||||||
| public static native boolean | nnk_input_has_mouse_click_in_button_rect(long i, int id, long rect)
Unsafe version of: | |||||||
| public static native boolean | nnk_input_has_mouse_click_in_rect(long i, int id, long rect)
Unsafe version of: | |||||||
| public static native boolean | ||||||||
| public static native boolean | ||||||||
| public static native boolean | ||||||||
| public static native boolean | nnk_input_is_mouse_click_down_in_rect(long i, int id, long b, boolean down)
Unsafe version of: | |||||||
| public static native boolean | nnk_input_is_mouse_click_in_rect(long i, int id, long rect)
Unsafe version of: | |||||||
| public static native boolean | ||||||||
| public static native boolean | ||||||||
| public static native boolean | ||||||||
| public static native boolean | ||||||||
| public static native boolean | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native boolean | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native boolean | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native float | ||||||||
| public static native void | ||||||||
| public static native void | nnk_layout_row(long ctx, int fmt, float height, int
number of widgets inside row cols, long ratio)Unsafe version of: | |||||||
| public static native void | nnk_layout_row(long ctx, int fmt, float height, int cols, float[] ratio)
Array version of: | |||||||
| public static native void | nnk_layout_row_begin(long ctx, int fmt, float row_height, int cols)
Unsafe version of: | |||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | nnk_layout_row_static(long ctx, float height, int item_width, int cols)
Unsafe version of: | |||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | nnk_layout_row_template_push_static(long ctx, float width)
Unsafe version of: | |||||||
| public static native void | nnk_layout_row_template_push_variable(long ctx, float min_width)
Unsafe version of: | |||||||
| public static native void | ||||||||
| public static native void | nnk_layout_space_begin(long ctx, int fmt, float height, int widget_count)
Unsafe version of: | |||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native boolean | nnk_list_view_begin(long ctx, long view, long title, int flags, int row_height, int row_count)
Unsafe version of: | |||||||
| public static native void | ||||||||
| public static native boolean | ||||||||
| public static native boolean | nnk_menu_begin_image_label(long ctx, long text, int align, long img, long size)
Unsafe version of: | |||||||
| public static native boolean | nnk_menu_begin_image_text(long ctx, long text, int len, int align, long img, long size)
Unsafe version of: | |||||||
| public static native boolean | ||||||||
| public static native boolean | nnk_menu_begin_symbol(long ctx, long text, int symbol, long size)
Unsafe version of: | |||||||
| public static native boolean | nnk_menu_begin_symbol_label(long ctx, long text, int align, int symbol, long size)
Unsafe version of: | |||||||
| public static native boolean | nnk_menu_begin_symbol_text(long ctx, long text, int len, int align, int symbol, long size)
Unsafe version of: | |||||||
| public static native boolean | nnk_menu_begin_text(long ctx, long text, int len, int align, long size)
Unsafe version of: | |||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native boolean | nnk_menu_item_image_label(long ctx, long img, long text, int alignment)
Unsafe version of: | |||||||
| public static native boolean | nnk_menu_item_image_text(long ctx, long img, long text, int len, int alignment)
Unsafe version of: | |||||||
| public static native boolean | ||||||||
| public static native boolean | nnk_menu_item_symbol_label(long ctx, int symbol, long text, int alignment)
Unsafe version of: | |||||||
| public static native boolean | nnk_menu_item_symbol_text(long ctx, int symbol, long text, int len, int alignment)
Unsafe version of: | |||||||
| public static native boolean | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native int | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native int | ||||||||
| public static native void | ||||||||
| public static native boolean | ||||||||
| public static native boolean | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | nnk_plot_function(long ctx, int type, long userdata, long value_getter, int count, int offset)
Unsafe version of: | |||||||
| public static native boolean | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | nnk_popup_get_scroll(long ctx, int[] offset_x, int[] offset_y)
Array version of: | |||||||
| public static native void | ||||||||
| public static native long | ||||||||
| public static native boolean | ||||||||
| public static native void | nnk_property_double(long ctx, long name, double min, long val, double max, double step, float inc_per_pixel)
Unsafe version of: | |||||||
| public static native void | nnk_property_double(long ctx, long name, double min, double[] val, double max, double step, float inc_per_pixel)
Array version of: | |||||||
| public static native void | nnk_property_float(long ctx, long name, float min, long val, float max, float step, float inc_per_pixel)
Unsafe version of: | |||||||
| public static native void | nnk_property_float(long ctx, long name, float min, float[] val, float max, float step, float inc_per_pixel)
Array version of: | |||||||
| public static native void | nnk_property_int(long ctx, long name, int min, long val, int max, int step, float inc_per_pixel)
Unsafe version of: | |||||||
| public static native void | nnk_property_int(long ctx, long name, int min, int[] val, int max, int step, float inc_per_pixel)
Array version of: | |||||||
| public static native double | nnk_propertyd(long ctx, long name, double min, double val, double max, double step, float inc_per_pixel)
Unsafe version of: | |||||||
| public static native float | nnk_propertyf(long ctx, long name, float min, float val, float max, float step, float inc_per_pixel)
Unsafe version of: | |||||||
| public static native int | nnk_propertyi(long ctx, long name, int min, int val, int max, int step, float inc_per_pixel)
Unsafe version of: | |||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native boolean | ||||||||
| public static native boolean | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native boolean | nnk_select_image_label(long ctx, long img, long str, int align, boolean value)
Unsafe version of: | |||||||
| public static native boolean | nnk_select_image_text(long ctx, long img, long str, int len, int align, boolean value)
Unsafe version of: | |||||||
| public static native boolean | ||||||||
| public static native boolean | nnk_select_symbol_label(long ctx, int symbol, long str, int align, boolean value)
Unsafe version of: | |||||||
| public static native boolean | nnk_select_symbol_text(long ctx, int symbol, long str, int len, int align, boolean value)
Unsafe version of: | |||||||
| public static native boolean | nnk_select_text(long ctx, long str, int len, int align, boolean value)
Unsafe version of: | |||||||
| public static native boolean | nnk_selectable_image_label(long ctx, long img, long str, int align, long value)
Unsafe version of: | |||||||
| public static native boolean | nnk_selectable_image_text(long ctx, long img, long str, int len, int align, long value)
Unsafe version of: | |||||||
| public static native boolean | ||||||||
| public static native boolean | nnk_selectable_symbol_label(long ctx, int symbol, long str, int align, long value)
Unsafe version of: | |||||||
| public static native boolean | nnk_selectable_symbol_text(long ctx, int symbol, long str, int len, int align, long value)
Unsafe version of: | |||||||
| public static native boolean | nnk_selectable_text(long ctx, long str, int len, int align, long value)
Unsafe version of: | |||||||
| public static native void | ||||||||
| public static native float | nnk_slide_float(long ctx, float min, float val, float max, float step)
Unsafe version of: | |||||||
| public static native int | ||||||||
| public static native boolean | nnk_slider_float(long ctx, float min, long val, float max, float step)
Unsafe version of: | |||||||
| public static native boolean | nnk_slider_float(long ctx, float min, float[] val, float max, float step)
Array version of: | |||||||
| public static native boolean | ||||||||
| public static native boolean | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native int | ||||||||
| public static native int | ||||||||
| public static native int | ||||||||
| public static native int | ||||||||
| public static native int | ||||||||
| public static native int | ||||||||
| public static native int | ||||||||
| public static native int | ||||||||
| public static native long | ||||||||
| public static native long | ||||||||
| public static native long | ||||||||
| public static native long | ||||||||
| public static native long | ||||||||
| public static native long | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native long | ||||||||
| public static native long | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native int | ||||||||
| public static native int | ||||||||
| public static native int | ||||||||
| public static native int | ||||||||
| public static native int | ||||||||
| public static native int | ||||||||
| public static native int | ||||||||
| public static native int | ||||||||
| public static native int | nnk_str_insert_text_runes(long s, int pos, int[] runes, int len)
Array version of: | |||||||
| public static native int | ||||||||
| public static native int | ||||||||
| public static native int | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native int | ||||||||
| public static native boolean | ||||||||
| public static native int | ||||||||
| public static native int | ||||||||
| public static native int | ||||||||
| public static native boolean | nnk_strmatch_fuzzy_string(long str, long pattern, long out_score)
Unsafe version of: | |||||||
| public static native boolean | nnk_strmatch_fuzzy_string(long str, long pattern, int[] out_score)
Array version of: | |||||||
| public static native int | ||||||||
| public static native int | nnk_strmatch_fuzzy_text(long txt, int txt_len, long pattern, int[] out_score)
Array version of: | |||||||
| public static native void | nnk_stroke_arc(long b, float cx, float cy, float radius, float a_min, float a_max, float line_thickness, long color)
| |||||||
| public static native void | ||||||||
| public static native void | nnk_stroke_curve(long b, float ax, float ay, float ctrl0x, float ctrl0y, float ctrl1x, float ctrl1y, float bx, float by, float line_thickness, long color)
| |||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | nnk_stroke_polygon(long b, float[] points, int point_count, float line_thickness, long color)
Array version of: | |||||||
| public static native void | ||||||||
| public static native void | nnk_stroke_polyline(long b, float[] points, int point_count, float line_thickness, long col)
Array version of: | |||||||
| public static native void | ||||||||
| public static native void | nnk_stroke_triangle(long b, float x0, float y0, float x1, float y1, float x2, float y2, float line_thichness, long color)
| |||||||
| public static native double | ||||||||
| public static native float | ||||||||
| public static native int | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native long | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native boolean | ||||||||
| public static native boolean | ||||||||
| public static native boolean | ||||||||
| public static native boolean | ||||||||
| public static native boolean | ||||||||
| public static native boolean | ||||||||
| public static native boolean | ||||||||
| public static native boolean | ||||||||
| public static native boolean | ||||||||
| public static native boolean | ||||||||
| public static native boolean | ||||||||
| public static native boolean | ||||||||
| public static native boolean | nnk_style_push_style_item(long ctx, long address, long value)
Unsafe version of: | |||||||
| public static native boolean | ||||||||
| public static native boolean | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | nnk_sub9slice_handle(long handle, short w, short h, long sub_region, short l, short t, short r, short b, long __result)
| |||||||
| public static native void | nnk_sub9slice_id(int id, short w, short h, long sub_region, short l, short t, short r, short b, long __result)
| |||||||
| public static native void | nnk_sub9slice_ptr(long ptr, short w, short h, long sub_region, short l, short t, short r, short b, long __result)
| |||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | nnk_text_colored(long ctx, long str, int len, int alignment, long color)
Unsafe version of: | |||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native boolean | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native boolean | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native boolean | ||||||||
| public static native void | ||||||||
| public static native boolean | 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: | |||||||
| public static native void | ||||||||
| public static native boolean | 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: | |||||||
| public static native boolean | nnk_tree_image_push_hashed(long ctx, int type, long img, long title, int initial_state, long hash, int
size of passed memory block or string in len, int seed)hashUnsafe version of: | |||||||
| public static native void | ||||||||
| public static native boolean | nnk_tree_push_hashed(long ctx, int type, long title, int initial_state, long hash, int
size of passed memory block or string in len, int seed)hashUnsafe version of: | |||||||
| public static native boolean | nnk_tree_state_image_push(long ctx, int type, long image, long title, long state)
Unsafe version of: | |||||||
| public static native boolean | nnk_tree_state_image_push(long ctx, int type, long image, long title, int[] state)
Array version of: | |||||||
| public static native void | ||||||||
| public static native boolean | ||||||||
| public static native boolean | nnk_tree_state_push(long ctx, int type, long title, int[] state)
Array version of: | |||||||
| public static native void | nnk_triangle_from_direction(long result, long r, float pad_x, float pad_y, int direction)
Unsafe version of: | |||||||
| public static native long | ||||||||
| public static native long | ||||||||
| public static native int | ||||||||
| public static native int | ||||||||
| public static native int | ||||||||
| public static native int | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native int | ||||||||
| public static native void | ||||||||
| public static native int | ||||||||
| public static native boolean | nnk_widget_has_mouse_click_down(long ctx, int btn, boolean down)
Unsafe version of: | |||||||
| public static native float | ||||||||
| public static native boolean | ||||||||
| public static native boolean | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native float | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | nnk_window_collapse_if(long ctx, long name, int c, boolean cond)
Unsafe version of: | |||||||
| public static native long | ||||||||
| public static native void | ||||||||
| public static native long | ||||||||
| public static native void | ||||||||
| public static native void | nnk_window_get_content_region_max(long ctx, long __result)
Unsafe version of: | |||||||
| public static native void | nnk_window_get_content_region_min(long ctx, long __result)
Unsafe version of: | |||||||
| public static native void | nnk_window_get_content_region_size(long ctx, long __result)
Unsafe version of: | |||||||
| public static native float | ||||||||
| public static native long | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | nnk_window_get_scroll(long ctx, int[] offset_x, int[] offset_y)
Array version of: | |||||||
| public static native void | ||||||||
| public static native float | ||||||||
| public static native boolean | ||||||||
| public static native boolean | ||||||||
| public static native boolean | ||||||||
| public static native boolean | ||||||||
| public static native boolean | ||||||||
| public static native boolean | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void | ||||||||
| public static native void |