Class Nuklear


  • public class Nuklear
    extends java.lang.Object
    This is a minimal state immediate mode graphical user interface single header toolkit written in ANSI C and licensed under public domain. It was designed as a simple embeddable user interface for application and does not have any dependencies, a default renderbackend or OS window and input handling but instead provides a very modular library approach by using simple input state for input and draw commands describing primitive shapes as output. So instead of providing a layered library that tries to abstract over a number of platform and render backends it only focuses on the actual UI.

    VALUES

    • Immediate mode graphical user interface toolkit
    • Single header library
    • Written in C89 (ANSI C)
    • Small codebase (~15kLOC)
    • Focus on portability, efficiency and simplicity
    • No dependencies (not even the standard library if not wanted)
    • Fully skinnable and customizable
    • Low memory footprint with total memory control if needed or wanted
    • UTF-8 support
    • No global or hidden state
    • Customizable library modules (you can compile and use only what you need)
    • Optional font baker and vertex buffer output

    FEATURES

    • Absolutely no platform dependent code
    • Memory management control ranging from/to
    • Ease of use by allocating everything from the standard library
    • Control every byte of memory inside the library
    • Font handling control ranging from/to
    • Use your own font implementation for everything
    • Use this libraries internal font baking and handling API
    • Drawing output control ranging from/to
    • Simple shapes for more high level APIs which already having drawing capabilities
    • Hardware accessible anti-aliased vertex buffer output
    • Customizable colors and properties ranging from/to
    • Simple changes to color by filling a simple color table
    • Complete control with ability to use skinning to decorate widgets
    • Bendable UI library with widget ranging from/to
    • Basic widgets like buttons, checkboxes, slider, ...
    • Advanced widget like abstract comboboxes, contextual menus,...
    • Compile time configuration to only compile what you need
    • Subset which can be used if you do not want to link or use the standard library
    • Can be easily modified to only update on user input instead of frame updates

    FONT

    Font handling in this library was designed to be quite customizable and lets you decide what you want to use and what you want to provide. There are three different ways to use the font atlas. The first two will use your font handling scheme and only requires essential data to run nuklear. The next slightly more advanced features is font handling with vertex buffer output.

    1. Using your own implementation without vertex buffer output
      So first of the easiest way to do font handling is by just providing a NkUserFont struct which only requires the height in pixel of the used font and a callback to calculate the width of a string. This way of handling fonts is best fitted for using the normal draw shape command API where you do all the text drawing yourself and the library does not require any kind of deeper knowledge about which font handling mechanism you use. IMPORTANT: the NkUserFont pointer provided to nuklear has to persist over the complete life time! I know this sucks but it is currently the only way to switch between fonts.
      
       float your_text_width_calculation(nk_handle handle, float height, const char *text, int len)
       {
           your_font_type *type = handle.ptr;
           float text_width = ...;
           return text_width;
       }
       
       struct nk_user_font font;
       font.userdata.ptr = &your_font_class_or_struct;
       font.height = your_font_height;
       font.width = your_text_width_calculation;
       
       struct nk_context ctx;
       nk_init_default(&ctx, &font);
    2. Using your own implementation with vertex buffer output
      While the first approach works fine if you don't want to use the optional vertex buffer output it is not enough if you do. To get font handling working for these cases you have to provide two additional parameters inside the `nk_user_font`. First a texture atlas handle used to draw text as subimages of a bigger font atlas texture and a callback to query a character's glyph information (offset, size, ...). So it is still possible to provide your own font and use the vertex buffer output.
      
       float your_text_width_calculation(nk_handle handle, float height, const char *text, int len)
       {
           your_font_type *type = handle.ptr;
           float text_width = ...;
           return text_width;
       }
       void query_your_font_glyph(nk_handle handle, float font_height, struct nk_user_font_glyph *glyph, nk_rune codepoint, nk_rune next_codepoint)
       {
           your_font_type *type = handle.ptr;
           glyph.width = ...;
           glyph.height = ...;
           glyph.xadvance = ...;
           glyph.uv[0].x = ...;
           glyph.uv[0].y = ...;
           glyph.uv[1].x = ...;
           glyph.uv[1].y = ...;
           glyph.offset.x = ...;
           glyph.offset.y = ...;
       }
       
       struct nk_user_font font;
       font.userdata.ptr = &your_font_class_or_struct;
       font.height = your_font_height;
       font.width = your_text_width_calculation;
       font.query = query_your_font_glyph;
       font.texture.id = your_font_texture;
       
       struct nk_context ctx;
       nk_init_default(&ctx, &font);

    MEMORY BUFFER

    A basic (double)-buffer with linear allocation and resetting as only freeing policy. The buffer's main purpose is to control all memory management inside the GUI toolkit and still leave memory control as much as possible in the hand of the user while also making sure the library is easy to use if not as much control is needed. In general all memory inside this library can be provided from the user in three different ways.

    The first way and the one providing most control is by just passing a fixed size memory block. In this case all control lies in the hand of the user since he can exactly control where the memory comes from and how much memory the library should consume. Of course using the fixed size API removes the ability to automatically resize a buffer if not enough memory is provided so you have to take over the resizing. While being a fixed sized buffer sounds quite limiting, it is very effective in this library since the actual memory consumption is quite stable and has a fixed upper bound for a lot of cases.

    If you don't want to think about how much memory the library should allocate at all time or have a very dynamic UI with unpredictable memory consumption habits but still want control over memory allocation you can use the dynamic allocator based API. The allocator consists of two callbacks for allocating and freeing memory and optional userdata so you can plugin your own allocator.

    TEXT EDITOR

    Editing text in this library is handled by either edit_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.

    DRAWING

    This library was designed to be render backend agnostic so it does not draw anything to screen. Instead all drawn shapes, widgets are made of, are buffered into memory and make up a command queue. Each frame therefore fills the command buffer with draw commands that then need to be executed by the user and his own render backend. After that the command buffer needs to be cleared and a new frame can be started. It is probably important to note that the command buffer is the main drawing API and the optional vertex buffer API only takes this format and converts it into a hardware accessible format.

    To use the command queue to draw your own widgets you can access the command buffer of each window by calling window_get_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.

    STACK

    The style modifier stack can be used to temporarily change a property inside `nk_style`. For example if you want a special red button you can temporarily push the old button color onto a stack draw the button with a red color and then you just pop the old color back from the stack:

    
     nk_style_push_style_item(ctx, &ctx->style.button.normal, nk_style_item_color(nk_rgb(255,0,0)));
     nk_style_push_style_item(ctx, &ctx->style.button.hover, nk_style_item_color(nk_rgb(255,0,0)));
     nk_style_push_style_item(ctx, &ctx->style.button.active, nk_style_item_color(nk_rgb(255,0,0)));
     nk_style_push_vec2(ctx, &cx->style.button.padding, nk_vec2(2,2));
      
     nk_button(...);
      
     nk_style_pop_style_item(ctx);
     nk_style_pop_style_item(ctx);
     nk_style_pop_style_item(ctx);
     nk_style_pop_vec2(ctx);

    Nuklear has a stack for style_items, float properties, vector properties, flags, colors, fonts and for button_behavior. Each has it's own fixed size stack which can be changed in compile time.

    • Method Detail

      • nnk_init_fixed

        public static int nnk_init_fixed​(long ctx,
                                         long memory,
                                         long size,
                                         long font)
        Unsafe version of: init_fixed
        Parameters:
        size - must contain the total size of memory
      • nk_init_fixed

        public static boolean nk_init_fixed​(NkContext ctx,
                                            java.nio.ByteBuffer memory,
                                            @Nullable
                                            NkUserFont font)
        Initializes context from single fixed size memory block.

        Should be used if you want complete control over nuklears memory management. Especially recommended for system with little memory or systems with virtual memory. For the later case you can just allocate for example 16MB of virtual memory and only the required amount of memory will actually be committed.

        IMPORTANT: make sure the passed memory block is aligned correctly for NkDrawCommand.

        Parameters:
        ctx - the nuklear context
        memory - must point to a previously allocated memory block
        font - must point to a previously initialized font handle
      • nnk_init

        public static int nnk_init​(long ctx,
                                   long allocator,
                                   long font)
        Unsafe version of: init
      • nk_init

        public static boolean nk_init​(NkContext ctx,
                                      NkAllocator allocator,
                                      @Nullable
                                      NkUserFont font)
        Initializes context with memory allocator callbacks for alloc and free.

        Used internally for nk_init_default and provides a kitchen sink allocation interface to nuklear. Can be useful for cases like monitoring memory consumption.

        Parameters:
        ctx - the nuklear context
        allocator - must point to a previously allocated memory allocator
        font - must point to a previously initialized font handle
      • nnk_init_custom

        public static int nnk_init_custom​(long ctx,
                                          long cmds,
                                          long pool,
                                          long font)
        Unsafe version of: init_custom
      • nk_init_custom

        public static boolean nk_init_custom​(NkContext ctx,
                                             NkBuffer cmds,
                                             NkBuffer pool,
                                             @Nullable
                                             NkUserFont font)
        Initializes context from two buffers. One for draw commands the other for window/panel/table allocations.
        Parameters:
        ctx - the nuklear context
        cmds - must point to a previously initialized memory buffer either fixed or dynamic to store draw commands into
        pool - must point to a previously initialized memory buffer either fixed or dynamic to store windows, panels and tables
        font - must point to a previously initialized font handle
      • nnk_clear

        public static void nnk_clear​(long ctx)
        Unsafe version of: clear
      • nk_clear

        public static void nk_clear​(NkContext ctx)
        Called at the end of the frame to reset and prepare the context for the next frame.

        Resets the context state at the end of the frame. This includes mostly garbage collector tasks like removing windows or table not called and therefore used anymore.

        Parameters:
        ctx - the nuklear context
      • nnk_free

        public static void nnk_free​(long ctx)
        Unsafe version of: free
      • nk_free

        public static void nk_free​(NkContext ctx)
        Shutdown and free all memory allocated inside the context.

        Frees all memory allocated by nuklear. Not needed if context was initialized with init_fixed.

        Parameters:
        ctx - the nuklear context
      • nnk_set_user_data

        public static void nnk_set_user_data​(long ctx,
                                             long handle)
        Unsafe version of: set_user_data
      • nk_set_user_data

        public static void nk_set_user_data​(NkContext ctx,
                                            NkHandle handle)
        Utility function to pass user data to draw command.
        Parameters:
        ctx - the nuklear context
        handle - handle with either pointer or index to be passed into every draw commands
      • nnk_begin

        public static int nnk_begin​(long ctx,
                                    long title,
                                    long bounds,
                                    int flags)
        Unsafe version of: begin
      • nnk_begin_titled

        public static int nnk_begin_titled​(long ctx,
                                           long name,
                                           long title,
                                           long bounds,
                                           int flags)
        Unsafe version of: begin_titled
      • nnk_end

        public static void nnk_end​(long ctx)
        Unsafe version of: end
      • nk_end

        public static void nk_end​(NkContext ctx)
        Needs to be called at the end of the window building process to process scaling, scrollbars and general cleanup.
        Parameters:
        ctx - the nuklear context
      • nnk_window_find

        public static long nnk_window_find​(long ctx,
                                           long name)
        Unsafe version of: window_find
      • nk_window_find

        @Nullable
        public static NkWindow nk_window_find​(NkContext ctx,
                                              java.nio.ByteBuffer name)
        
        @Nullable
        public static NkWindow nk_window_find​(NkContext ctx,
                                              java.lang.CharSequence name)
        
        Finds and returns a window from passed name.
        Parameters:
        ctx - the nuklear context
      • nnk_window_get_bounds

        public static void nnk_window_get_bounds​(long ctx,
                                                 long __result)
        Unsafe version of: window_get_bounds
      • nk_window_get_bounds

        public static NkRect nk_window_get_bounds​(NkContext ctx,
                                                  NkRect __result)
        Returns a rectangle with screen position and size of the currently processed window.
        Parameters:
        ctx - the nuklear context
      • nnk_window_get_position

        public static void nnk_window_get_position​(long ctx,
                                                   long __result)
        Unsafe version of: window_get_position
      • nk_window_get_position

        public static NkVec2 nk_window_get_position​(NkContext ctx,
                                                    NkVec2 __result)
        Returns the position of the currently processed window.
        Parameters:
        ctx - the nuklear context
      • nnk_window_get_size

        public static void nnk_window_get_size​(long ctx,
                                               long __result)
        Unsafe version of: window_get_size
      • nk_window_get_size

        public static NkVec2 nk_window_get_size​(NkContext ctx,
                                                NkVec2 __result)
        Returns the size with width and height of the currently processed window.
        Parameters:
        ctx - the nuklear context
      • nnk_window_get_width

        public static float nnk_window_get_width​(long ctx)
        Unsafe version of: window_get_width
      • nk_window_get_width

        public static float nk_window_get_width​(NkContext ctx)
        Returns the width of the currently processed window.
        Parameters:
        ctx - the nuklear context
      • nnk_window_get_height

        public static float nnk_window_get_height​(long ctx)
        Unsafe version of: window_get_height
      • nk_window_get_height

        public static float nk_window_get_height​(NkContext ctx)
        Returns the height of the currently processed window.
        Parameters:
        ctx - the nuklear context
      • nnk_window_get_panel

        public static long nnk_window_get_panel​(long ctx)
        Unsafe version of: window_get_panel
      • nk_window_get_panel

        @Nullable
        public static NkPanel nk_window_get_panel​(NkContext ctx)
        Returns the underlying panel which contains all processing state of the current window.
        Parameters:
        ctx - the nuklear context
      • nnk_window_get_content_region

        public static void nnk_window_get_content_region​(long ctx,
                                                         long __result)
        Unsafe version of: window_get_content_region
      • nk_window_get_content_region

        public static NkRect nk_window_get_content_region​(NkContext ctx,
                                                          NkRect __result)
        Returns the position and size of the currently visible and non-clipped space inside the currently processed window.
        Parameters:
        ctx - the nuklear context
      • nnk_window_get_content_region_min

        public static void nnk_window_get_content_region_min​(long ctx,
                                                             long __result)
      • nk_window_get_content_region_min

        public static NkVec2 nk_window_get_content_region_min​(NkContext ctx,
                                                              NkVec2 __result)
        Returns the upper rectangle position of the currently visible and non-clipped space inside the currently processed window.
        Parameters:
        ctx - the nuklear context
      • nnk_window_get_content_region_max

        public static void nnk_window_get_content_region_max​(long ctx,
                                                             long __result)
      • nk_window_get_content_region_max

        public static NkVec2 nk_window_get_content_region_max​(NkContext ctx,
                                                              NkVec2 __result)
        Returns the upper rectangle position of the currently visible and non-clipped space inside the currently processed window.
        Parameters:
        ctx - the nuklear context
      • nnk_window_get_content_region_size

        public static void nnk_window_get_content_region_size​(long ctx,
                                                              long __result)
      • nk_window_get_content_region_size

        public static NkVec2 nk_window_get_content_region_size​(NkContext ctx,
                                                               NkVec2 __result)
        Returns the size of the currently visible and non-clipped space inside the currently processed window.
        Parameters:
        ctx - the nuklear context
      • nnk_window_get_canvas

        public static long nnk_window_get_canvas​(long ctx)
        Unsafe version of: window_get_canvas
      • nk_window_get_canvas

        @Nullable
        public static NkCommandBuffer nk_window_get_canvas​(NkContext ctx)
        Returns the draw command buffer. Can be used to draw custom widgets.
        Parameters:
        ctx - the nuklear context
      • nnk_window_get_scroll

        public static void nnk_window_get_scroll​(long ctx,
                                                 long offset_x,
                                                 long offset_y)
        Unsafe version of: window_get_scroll
      • nk_window_get_scroll

        public static void nk_window_get_scroll​(NkContext ctx,
                                                @Nullable
                                                java.nio.IntBuffer offset_x,
                                                @Nullable
                                                java.nio.IntBuffer offset_y)
        Gets the scroll offset for the current window.

        Warning: Only call this function between calls nk_begin_xxx and end.

        Parameters:
        ctx - the nuklear context
        offset_x - a pointer to the x offset output (or NULL to ignore)
        offset_y - a pointer to the y offset output (or NULL to ignore)
      • nnk_window_has_focus

        public static int nnk_window_has_focus​(long ctx)
        Unsafe version of: window_has_focus
      • nk_window_has_focus

        public static boolean nk_window_has_focus​(NkContext ctx)
        Returns if the currently processed window is currently active.
        Parameters:
        ctx - the nuklear context
      • nnk_window_is_collapsed

        public static int nnk_window_is_collapsed​(long ctx,
                                                  long name)
        Unsafe version of: window_is_collapsed
      • nk_window_is_collapsed

        public static boolean nk_window_is_collapsed​(NkContext ctx,
                                                     java.nio.ByteBuffer name)
        
        public static boolean nk_window_is_collapsed​(NkContext ctx,
                                                     java.lang.CharSequence name)
        
        Returns if the window with given name is currently minimized/collapsed.
        Parameters:
        ctx - the nuklear context
      • nnk_window_is_closed

        public static int nnk_window_is_closed​(long ctx,
                                               long name)
        Unsafe version of: window_is_closed
      • nk_window_is_closed

        public static boolean nk_window_is_closed​(NkContext ctx,
                                                  java.nio.ByteBuffer name)
        
        public static boolean nk_window_is_closed​(NkContext ctx,
                                                  java.lang.CharSequence name)
        
        Returns if the currently processed window was closed.
        Parameters:
        ctx - the nuklear context
      • nnk_window_is_hidden

        public static int nnk_window_is_hidden​(long ctx,
                                               long name)
        Unsafe version of: window_is_hidden
      • nk_window_is_hidden

        public static boolean nk_window_is_hidden​(NkContext ctx,
                                                  java.nio.ByteBuffer name)
        
        public static boolean nk_window_is_hidden​(NkContext ctx,
                                                  java.lang.CharSequence name)
        
        Returns if the currently processed window was hidden.
        Parameters:
        ctx - the nuklear context
      • nnk_window_is_active

        public static int nnk_window_is_active​(long ctx,
                                               long name)
        Unsafe version of: window_is_active
      • nk_window_is_active

        public static boolean nk_window_is_active​(NkContext ctx,
                                                  java.nio.ByteBuffer name)
        
        public static boolean nk_window_is_active​(NkContext ctx,
                                                  java.lang.CharSequence name)
        
        Same as window_has_focus for some reason.
        Parameters:
        ctx - the nuklear context
      • nnk_window_is_hovered

        public static int nnk_window_is_hovered​(long ctx)
        Unsafe version of: window_is_hovered
      • nk_window_is_hovered

        public static boolean nk_window_is_hovered​(NkContext ctx)
        Returns if the currently processed window is currently being hovered by mouse.
        Parameters:
        ctx - the nuklear context
      • nnk_window_is_any_hovered

        public static int nnk_window_is_any_hovered​(long ctx)
        Unsafe version of: window_is_any_hovered
      • nk_window_is_any_hovered

        public static boolean nk_window_is_any_hovered​(NkContext ctx)
        Return if any window currently hovered.
        Parameters:
        ctx - the nuklear context
      • nnk_item_is_any_active

        public static int nnk_item_is_any_active​(long ctx)
        Unsafe version of: item_is_any_active
      • nk_item_is_any_active

        public static boolean nk_item_is_any_active​(NkContext ctx)
        Returns if any window or widgets is currently hovered or active.
        Parameters:
        ctx - the nuklear context
      • nnk_window_set_bounds

        public static void nnk_window_set_bounds​(long ctx,
                                                 long name,
                                                 long bounds)
        Unsafe version of: window_set_bounds
      • nk_window_set_bounds

        public static void nk_window_set_bounds​(NkContext ctx,
                                                java.nio.ByteBuffer name,
                                                NkRect bounds)
        
        public static void nk_window_set_bounds​(NkContext ctx,
                                                java.lang.CharSequence name,
                                                NkRect bounds)
        
        Updates position and size of the specified window.
        Parameters:
        ctx - the nuklear context
        name - name of the window to modify both position and size
        bounds - points to a nk_rect struct with the new position and size of the specified window
      • nnk_window_set_position

        public static void nnk_window_set_position​(long ctx,
                                                   long name,
                                                   long position)
        Unsafe version of: window_set_position
      • nk_window_set_position

        public static void nk_window_set_position​(NkContext ctx,
                                                  java.nio.ByteBuffer name,
                                                  NkVec2 position)
        
        public static void nk_window_set_position​(NkContext ctx,
                                                  java.lang.CharSequence name,
                                                  NkVec2 position)
        
        Updates position of the currently process window.
        Parameters:
        ctx - the nuklear context
        name - name of the window to modify position of
        position - points to a nk_vec2 struct with the new position of currently active window
      • nnk_window_set_size

        public static void nnk_window_set_size​(long ctx,
                                               long name,
                                               long size)
        Unsafe version of: window_set_size
      • nk_window_set_size

        public static void nk_window_set_size​(NkContext ctx,
                                              java.nio.ByteBuffer name,
                                              NkVec2 size)
        
        public static void nk_window_set_size​(NkContext ctx,
                                              java.lang.CharSequence name,
                                              NkVec2 size)
        
        Updates the size of the specified window.
        Parameters:
        ctx - the nuklear context
        name - name of the window to modify size of
        size - points to a nk_vec2 struct with the new size of currently active window
      • nnk_window_set_focus

        public static void nnk_window_set_focus​(long ctx,
                                                long name)
        Unsafe version of: window_set_focus
      • nk_window_set_focus

        public static void nk_window_set_focus​(NkContext ctx,
                                               java.nio.ByteBuffer name)
        
        public static void nk_window_set_focus​(NkContext ctx,
                                               java.lang.CharSequence name)
        
        Sets the specified window as active window.
        Parameters:
        ctx - the nuklear context
        name - name of the window to be set active
      • nnk_window_set_scroll

        public static void nnk_window_set_scroll​(long ctx,
                                                 int offset_x,
                                                 int offset_y)
        Unsafe version of: window_set_scroll
      • nk_window_set_scroll

        public static void nk_window_set_scroll​(NkContext ctx,
                                                int offset_x,
                                                int offset_y)
        Sets the scroll offset for the current window.

        Warning: Only call this function between calls nk_begin_xxx and end.

        Parameters:
        ctx - the nuklear context
        offset_x - the x offset to scroll to
        offset_y - the y offset to scroll to
      • nnk_window_close

        public static void nnk_window_close​(long ctx,
                                            long name)
        Unsafe version of: window_close
      • nk_window_close

        public static void nk_window_close​(NkContext ctx,
                                           java.nio.ByteBuffer name)
        
        public static void nk_window_close​(NkContext ctx,
                                           java.lang.CharSequence name)
        
        Closes the window with given window name which deletes the window at the end of the frame.
        Parameters:
        ctx - the nuklear context
      • nnk_window_collapse

        public static void nnk_window_collapse​(long ctx,
                                               long name,
                                               int c)
        Unsafe version of: window_collapse
      • nk_window_collapse

        public static void nk_window_collapse​(NkContext ctx,
                                              java.nio.ByteBuffer name,
                                              int c)
        
        public static void nk_window_collapse​(NkContext ctx,
                                              java.lang.CharSequence name,
                                              int c)
        
        Collapses the window with given window name.
        Parameters:
        ctx - the nuklear context
        c - one of:
        MINIMIZEDMAXIMIZED
      • nnk_window_collapse_if

        public static void nnk_window_collapse_if​(long ctx,
                                                  long name,
                                                  int c,
                                                  int cond)
        Unsafe version of: window_collapse_if
      • nk_window_collapse_if

        public static void nk_window_collapse_if​(NkContext ctx,
                                                 java.nio.ByteBuffer name,
                                                 int c,
                                                 boolean cond)
        
        public static void nk_window_collapse_if​(NkContext ctx,
                                                 java.lang.CharSequence name,
                                                 int c,
                                                 boolean cond)
        
        Collapses the window with given window name if the given condition was met.
        Parameters:
        ctx - the nuklear context
        c - one of:
        MINIMIZEDMAXIMIZED
      • nnk_window_show

        public static void nnk_window_show​(long ctx,
                                           long name,
                                           int s)
        Unsafe version of: window_show
      • nk_window_show

        public static void nk_window_show​(NkContext ctx,
                                          java.nio.ByteBuffer name,
                                          int s)
        
        public static void nk_window_show​(NkContext ctx,
                                          java.lang.CharSequence name,
                                          int s)
        
        Hides a visible or reshows a hidden window.
        Parameters:
        ctx - the nuklear context
        s - one of:
        HIDDENSHOWN
      • nnk_window_show_if

        public static void nnk_window_show_if​(long ctx,
                                              long name,
                                              int s,
                                              int cond)
        Unsafe version of: window_show_if
      • nk_window_show_if

        public static void nk_window_show_if​(NkContext ctx,
                                             java.nio.ByteBuffer name,
                                             int s,
                                             boolean cond)
        
        public static void nk_window_show_if​(NkContext ctx,
                                             java.lang.CharSequence name,
                                             int s,
                                             boolean cond)
        
        Hides/shows a window depending on condition.
        Parameters:
        ctx - the nuklear context
        s - one of:
        HIDDENSHOWN
      • nnk_layout_set_min_row_height

        public static void nnk_layout_set_min_row_height​(long ctx,
                                                         float height)
        Unsafe version of: layout_set_min_row_height
      • nk_layout_set_min_row_height

        public static void nk_layout_set_min_row_height​(NkContext ctx,
                                                        float height)
        Sets the currently used minimum row height.

        IMPORTANT: The passed height needs to include both your preferred row height as well as padding. No internal padding is added.

        Parameters:
        ctx - the nuklear context
        height - new minimum row height to be used for auto generating the row height
      • nnk_layout_reset_min_row_height

        public static void nnk_layout_reset_min_row_height​(long ctx)
        Unsafe version of: layout_reset_min_row_height
      • nk_layout_reset_min_row_height

        public static void nk_layout_reset_min_row_height​(NkContext ctx)
        Resets the currently used minimum row height back to font height + text padding + additional padding (style_window.min_row_height_padding).
        Parameters:
        ctx - the nuklear context
      • nnk_layout_widget_bounds

        public static void nnk_layout_widget_bounds​(long ctx,
                                                    long __result)
        Unsafe version of: layout_widget_bounds
      • nk_layout_widget_bounds

        public static NkRect nk_layout_widget_bounds​(NkContext ctx,
                                                     NkRect __result)
        Returns the width of the next row allocate by one of the layouting functions.
        Parameters:
        ctx - the nuklear context
      • nnk_layout_ratio_from_pixel

        public static float nnk_layout_ratio_from_pixel​(long ctx,
                                                        float pixel_width)
        Unsafe version of: layout_ratio_from_pixel
      • nk_layout_ratio_from_pixel

        public static float nk_layout_ratio_from_pixel​(NkContext ctx,
                                                       float pixel_width)
        Utility function to calculate window ratio from pixel size.
        Parameters:
        ctx - the nuklear context
        pixel_width - pixel width to convert to window ratio
      • nnk_layout_row_dynamic

        public static void nnk_layout_row_dynamic​(long ctx,
                                                  float height,
                                                  int cols)
        Unsafe version of: layout_row_dynamic
      • nk_layout_row_dynamic

        public static void nk_layout_row_dynamic​(NkContext ctx,
                                                 float height,
                                                 int cols)
        Sets current row layout to share horizontal space between cols number of widgets evenly. Once called all subsequent widget calls greater than cols will allocate a new row with same layout.
        Parameters:
        ctx - the nuklear context
        height - holds height of each widget in row or zero for auto layouting
        cols - number of widgets inside row
      • nnk_layout_row_static

        public static void nnk_layout_row_static​(long ctx,
                                                 float height,
                                                 int item_width,
                                                 int cols)
        Unsafe version of: layout_row_static
      • nk_layout_row_static

        public static void nk_layout_row_static​(NkContext ctx,
                                                float height,
                                                int item_width,
                                                int cols)
        Sets current row layout to fill cols number of widgets in row with same item_width horizontal size. Once called all subsequent widget calls greater than cols will allocate a new row with same layout.
        Parameters:
        ctx - the nuklear context
        height - holds row height to allocate from panel for widget height
        item_width - holds width of each widget in row
        cols - number of widgets inside row
      • nnk_layout_row_begin

        public static void nnk_layout_row_begin​(long ctx,
                                                int fmt,
                                                float row_height,
                                                int cols)
        Unsafe version of: layout_row_begin
      • nk_layout_row_begin

        public static void nk_layout_row_begin​(NkContext ctx,
                                               int fmt,
                                               float row_height,
                                               int cols)
        Starts a new dynamic or fixed row with given height and columns.
        Parameters:
        ctx - the nuklear context
        fmt - either DYNAMIC for window ratio or STATIC for fixed size columns. One of:
        DYNAMICSTATIC
        row_height - holds height of each widget in row or zero for auto layouting
        cols - number of widgets inside row
      • nnk_layout_row_push

        public static void nnk_layout_row_push​(long ctx,
                                               float value)
        Unsafe version of: layout_row_push
      • nk_layout_row_push

        public static void nk_layout_row_push​(NkContext ctx,
                                              float value)
        Specifies either window ratio or width of a single column.
        Parameters:
        ctx - the nuklear context
        value - either a window ratio or fixed width depending on fmt in previous layout_row_begin call
      • nnk_layout_row_end

        public static void nnk_layout_row_end​(long ctx)
        Unsafe version of: layout_row_end
      • nk_layout_row_end

        public static void nk_layout_row_end​(NkContext ctx)
        Finishes previously started row
        Parameters:
        ctx - the nuklear context
      • nnk_layout_row

        public static void nnk_layout_row​(long ctx,
                                          int fmt,
                                          float height,
                                          int cols,
                                          long ratio)
        Unsafe version of: layout_row
        Parameters:
        cols - number of widgets inside row
      • nk_layout_row

        public static void nk_layout_row​(NkContext ctx,
                                         int fmt,
                                         float height,
                                         java.nio.FloatBuffer ratio)
        Specifies row columns in array as either window ratio or size.
        Parameters:
        ctx - the nuklear context
        fmt - either DYNAMIC for window ratio or STATIC for fixed size columns. One of:
        DYNAMICSTATIC
        height - holds height of each widget in row or zero for auto layouting
      • nnk_layout_row_template_begin

        public static void nnk_layout_row_template_begin​(long ctx,
                                                         float height)
        Unsafe version of: layout_row_template_begin
      • nk_layout_row_template_begin

        public static void nk_layout_row_template_begin​(NkContext ctx,
                                                        float height)
        Begins the row template declaration.
        Parameters:
        ctx - the nuklear context
        height - holds height of each widget in row or zero for auto layouting
      • nnk_layout_row_template_push_dynamic

        public static void nnk_layout_row_template_push_dynamic​(long ctx)
      • nk_layout_row_template_push_dynamic

        public static void nk_layout_row_template_push_dynamic​(NkContext ctx)
        Adds a dynamic column that dynamically grows and can go to zero if not enough space.
        Parameters:
        ctx - the nuklear context
      • nnk_layout_row_template_push_variable

        public static void nnk_layout_row_template_push_variable​(long ctx,
                                                                 float min_width)
      • nk_layout_row_template_push_variable

        public static void nk_layout_row_template_push_variable​(NkContext ctx,
                                                                float min_width)
        Adds a variable column that dynamically grows but does not shrink below specified pixel width.
        Parameters:
        ctx - the nuklear context
        min_width - holds the minimum pixel width the next column must be
      • nnk_layout_row_template_push_static

        public static void nnk_layout_row_template_push_static​(long ctx,
                                                               float width)
      • nk_layout_row_template_push_static

        public static void nk_layout_row_template_push_static​(NkContext ctx,
                                                              float width)
        Adds a static column that does not grow and will always have the same size.
        Parameters:
        ctx - the nuklear context
        width - holds the absolute pixel width value the next column must be
      • nnk_layout_row_template_end

        public static void nnk_layout_row_template_end​(long ctx)
        Unsafe version of: layout_row_template_end
      • nk_layout_row_template_end

        public static void nk_layout_row_template_end​(NkContext ctx)
        Marks the end of the row template.
        Parameters:
        ctx - the nuklear context
      • nnk_layout_space_begin

        public static void nnk_layout_space_begin​(long ctx,
                                                  int fmt,
                                                  float height,
                                                  int widget_count)
        Unsafe version of: layout_space_begin
      • nk_layout_space_begin

        public static void nk_layout_space_begin​(NkContext ctx,
                                                 int fmt,
                                                 float height,
                                                 int widget_count)
        Begins a new layouting space that allows to specify each widgets position and size.
        Parameters:
        ctx - the nuklear context
        fmt - either DYNAMIC for window ratio or STATIC for fixed size columns. One of:
        DYNAMICSTATIC
        height - holds height of each widget in row or zero for auto layouting
        widget_count - number of widgets inside row
      • nnk_layout_space_push

        public static void nnk_layout_space_push​(long ctx,
                                                 long rect)
        Unsafe version of: layout_space_push
      • nk_layout_space_push

        public static void nk_layout_space_push​(NkContext ctx,
                                                NkRect rect)
        Pushes position and size of the next widget in own coordiante space either as pixel or ratio.
        Parameters:
        ctx - the nuklear context
        rect - position and size in layout space local coordinates
      • nnk_layout_space_end

        public static void nnk_layout_space_end​(long ctx)
        Unsafe version of: layout_space_end
      • nk_layout_space_end

        public static void nk_layout_space_end​(NkContext ctx)
        Marks the end of the layout space.
        Parameters:
        ctx - the nuklear context
      • nnk_layout_space_bounds

        public static void nnk_layout_space_bounds​(long ctx,
                                                   long __result)
        Unsafe version of: layout_space_bounds
      • nk_layout_space_bounds

        public static NkRect nk_layout_space_bounds​(NkContext ctx,
                                                    NkRect __result)
        Returns total space allocated for nk_layout_space.
        Parameters:
        ctx - the nuklear context
      • nnk_layout_space_to_screen

        public static void nnk_layout_space_to_screen​(long ctx,
                                                      long ret)
        Unsafe version of: layout_space_to_screen
      • nk_layout_space_to_screen

        public static NkVec2 nk_layout_space_to_screen​(NkContext ctx,
                                                       NkVec2 ret)
        Converts vector from nk_layout_space coordinate space into screen space.
        Parameters:
        ctx - the nuklear context
        ret - position to convert from layout space into screen coordinate space
      • nnk_layout_space_to_local

        public static void nnk_layout_space_to_local​(long ctx,
                                                     long ret)
        Unsafe version of: layout_space_to_local
      • nk_layout_space_to_local

        public static NkVec2 nk_layout_space_to_local​(NkContext ctx,
                                                      NkVec2 ret)
        Converts vector from layout space into screen space.
        Parameters:
        ctx - the nuklear context
        ret - position to convert from screen space into layout coordinate space
      • nnk_layout_space_rect_to_screen

        public static void nnk_layout_space_rect_to_screen​(long ctx,
                                                           long ret)
        Unsafe version of: layout_space_rect_to_screen
      • nk_layout_space_rect_to_screen

        public static NkRect nk_layout_space_rect_to_screen​(NkContext ctx,
                                                            NkRect ret)
        Converts rectangle from screen space into layout space.
        Parameters:
        ctx - the nuklear context
        ret - rectangle to convert from layout space into screen space
      • nnk_layout_space_rect_to_local

        public static void nnk_layout_space_rect_to_local​(long ctx,
                                                          long ret)
        Unsafe version of: layout_space_rect_to_local
      • nk_layout_space_rect_to_local

        public static NkRect nk_layout_space_rect_to_local​(NkContext ctx,
                                                           NkRect ret)
        Converts rectangle from layout space into screen space.
        Parameters:
        ctx - the nuklear context
        ret - rectangle to convert from screen space into layout space
      • nnk_group_begin

        public static int nnk_group_begin​(long ctx,
                                          long title,
                                          int flags)
        Unsafe version of: group_begin
      • nk_group_begin

        public static boolean nk_group_begin​(NkContext ctx,
                                             java.nio.ByteBuffer title,
                                             int flags)
        
        public static boolean nk_group_begin​(NkContext ctx,
                                             java.lang.CharSequence title,
                                             int flags)
        
        Parameters:
        ctx - the nuklear context
      • nnk_group_begin_titled

        public static int nnk_group_begin_titled​(long ctx,
                                                 long name,
                                                 long title,
                                                 int flags)
        Unsafe version of: group_begin_titled
      • nk_group_begin_titled

        public static boolean nk_group_begin_titled​(NkContext ctx,
                                                    java.nio.ByteBuffer name,
                                                    java.nio.ByteBuffer title,
                                                    int flags)
        
        public static boolean nk_group_begin_titled​(NkContext ctx,
                                                    java.lang.CharSequence name,
                                                    java.lang.CharSequence title,
                                                    int flags)
        
        Parameters:
        ctx - the nuklear context
        name - must be an unique identifier for this group
        title - group header title
        flags - window flags defined in the nk_panel_flags section with a number of different group behaviors. One or more of:
        WINDOW_PRIVATEWINDOW_DYNAMICWINDOW_ROMWINDOW_HIDDENWINDOW_CLOSED
        WINDOW_MINIMIZEDWINDOW_REMOVE_ROM
        Returns:
        true if visible and fillable with widgets or false otherwise
      • nnk_group_end

        public static void nnk_group_end​(long ctx)
        Unsafe version of: group_end
      • nk_group_end

        public static void nk_group_end​(NkContext ctx)
        Parameters:
        ctx - the nuklear context
      • nnk_group_scrolled_offset_begin

        public static int nnk_group_scrolled_offset_begin​(long ctx,
                                                          long x_offset,
                                                          long y_offset,
                                                          long title,
                                                          int flags)
        Unsafe version of: group_scrolled_offset_begin
      • nk_group_scrolled_offset_begin

        public static boolean nk_group_scrolled_offset_begin​(NkContext ctx,
                                                             java.nio.IntBuffer x_offset,
                                                             java.nio.IntBuffer y_offset,
                                                             java.nio.ByteBuffer title,
                                                             int flags)
        
        public static boolean nk_group_scrolled_offset_begin​(NkContext ctx,
                                                             java.nio.IntBuffer x_offset,
                                                             java.nio.IntBuffer y_offset,
                                                             java.lang.CharSequence title,
                                                             int flags)
        
        Parameters:
        ctx - the nuklear context
      • nnk_group_scrolled_begin

        public static int nnk_group_scrolled_begin​(long ctx,
                                                   long scroll,
                                                   long title,
                                                   int flags)
        Unsafe version of: group_scrolled_begin
      • nk_group_scrolled_begin

        public static boolean nk_group_scrolled_begin​(NkContext ctx,
                                                      NkScroll scroll,
                                                      java.nio.ByteBuffer title,
                                                      int flags)
        
        public static boolean nk_group_scrolled_begin​(NkContext ctx,
                                                      NkScroll scroll,
                                                      java.lang.CharSequence title,
                                                      int flags)
        
        Parameters:
        ctx - the nuklear context
      • nnk_group_scrolled_end

        public static void nnk_group_scrolled_end​(long ctx)
        Unsafe version of: group_scrolled_end
      • nk_group_scrolled_end

        public static void nk_group_scrolled_end​(NkContext ctx)
        Parameters:
        ctx - the nuklear context
      • nnk_group_get_scroll

        public static void nnk_group_get_scroll​(long ctx,
                                                long id,
                                                long x_offset,
                                                long y_offset)
        Unsafe version of: group_get_scroll
      • nk_group_get_scroll

        public static void nk_group_get_scroll​(NkContext ctx,
                                               java.nio.ByteBuffer id,
                                               @Nullable
                                               java.nio.IntBuffer x_offset,
                                               @Nullable
                                               java.nio.IntBuffer y_offset)
        
        public static void nk_group_get_scroll​(NkContext ctx,
                                               java.lang.CharSequence id,
                                               @Nullable
                                               java.nio.IntBuffer x_offset,
                                               @Nullable
                                               java.nio.IntBuffer y_offset)
        
        Gets the scroll position of the given group.
        Parameters:
        ctx - the nuklear context
        id - the id of the group to get the scroll position of
        x_offset - a pointer to the x offset output (or NULL to ignore)
        y_offset - a pointer to the y offset output (or NULL to ignore)
      • nnk_group_set_scroll

        public static void nnk_group_set_scroll​(long ctx,
                                                long id,
                                                int x_offset,
                                                int y_offset)
        Unsafe version of: group_set_scroll
      • nk_group_set_scroll

        public static void nk_group_set_scroll​(NkContext ctx,
                                               java.nio.ByteBuffer id,
                                               int x_offset,
                                               int y_offset)
        
        public static void nk_group_set_scroll​(NkContext ctx,
                                               java.lang.CharSequence id,
                                               int x_offset,
                                               int y_offset)
        
        Sets the scroll position of the given group.
        Parameters:
        ctx - the nuklear context
        id - the id of the group to scroll
        x_offset - the x offset to scroll to
        y_offset - the y offset to scroll to
      • nnk_list_view_begin

        public static int nnk_list_view_begin​(long ctx,
                                              long view,
                                              long title,
                                              int flags,
                                              int row_height,
                                              int row_count)
        Unsafe version of: list_view_begin
      • nk_list_view_begin

        public static boolean nk_list_view_begin​(NkContext ctx,
                                                 NkListView view,
                                                 java.nio.ByteBuffer title,
                                                 int flags,
                                                 int row_height,
                                                 int row_count)
        
        public static boolean nk_list_view_begin​(NkContext ctx,
                                                 NkListView view,
                                                 java.lang.CharSequence title,
                                                 int flags,
                                                 int row_height,
                                                 int row_count)
        
        Parameters:
        ctx - the nuklear context
      • nnk_list_view_end

        public static void nnk_list_view_end​(long view)
      • nk_list_view_end

        public static void nk_list_view_end​(NkListView view)
      • nnk_tree_push_hashed

        public static int nnk_tree_push_hashed​(long ctx,
                                               int type,
                                               long title,
                                               int initial_state,
                                               long hash,
                                               int len,
                                               int seed)
        Unsafe version of: tree_push_hashed
        Parameters:
        len - size of passed memory block or string in hash
      • nk_tree_push_hashed

        public static boolean nk_tree_push_hashed​(NkContext ctx,
                                                  int type,
                                                  java.nio.ByteBuffer title,
                                                  int initial_state,
                                                  java.nio.ByteBuffer hash,
                                                  int seed)
        
        public static boolean nk_tree_push_hashed​(NkContext ctx,
                                                  int type,
                                                  java.lang.CharSequence title,
                                                  int initial_state,
                                                  java.nio.ByteBuffer hash,
                                                  int seed)
        
        Start a collapsable UI section with internal state management with full control over internal unique ID used to store state.
        Parameters:
        ctx - the nuklear context
        type - value from the nk_tree_type section to visually mark a tree node header as either a collapseable UI section or tree node. One of:
        TREE_NODETREE_TAB
        title - label printed in the tree header
        initial_state - initial tree state value out of nk_collapse_states. One of:
        MINIMIZEDMAXIMIZED
        hash - memory block or string to generate the ID from
        seed - seeding value if this function is called in a loop or default to 0
      • nnk_tree_image_push_hashed

        public static int nnk_tree_image_push_hashed​(long ctx,
                                                     int type,
                                                     long img,
                                                     long title,
                                                     int initial_state,
                                                     long hash,
                                                     int len,
                                                     int seed)
        Unsafe version of: tree_image_push_hashed
        Parameters:
        len - size of passed memory block or string in hash
      • nk_tree_image_push_hashed

        public static boolean nk_tree_image_push_hashed​(NkContext ctx,
                                                        int type,
                                                        NkImage img,
                                                        java.nio.ByteBuffer title,
                                                        int initial_state,
                                                        java.nio.ByteBuffer hash,
                                                        int seed)
        
        public static boolean nk_tree_image_push_hashed​(NkContext ctx,
                                                        int type,
                                                        NkImage img,
                                                        java.lang.CharSequence title,
                                                        int initial_state,
                                                        java.nio.ByteBuffer hash,
                                                        int seed)
        
        Start a collapsable UI section with internal state management with full control over internal unique ID used to store state.
        Parameters:
        ctx - the nuklear context
        type - value from the nk_tree_type section to visually mark a tree node header as either a collapseable UI section or tree node. One of:
        TREE_NODETREE_TAB
        img - image to display inside the header on the left of the label
        title - label printed in the tree header
        initial_state - initial tree state value out of nk_collapse_states. One of:
        MINIMIZEDMAXIMIZED
        hash - memory block or string to generate the ID from
        seed - seeding value if this function is called in a loop or default to 0
      • nnk_tree_pop

        public static void nnk_tree_pop​(long ctx)
        Unsafe version of: tree_pop
      • nk_tree_pop

        public static void nk_tree_pop​(NkContext ctx)
        Ends a collapsable UI section
        Parameters:
        ctx - the nuklear context
      • nnk_tree_state_push

        public static int nnk_tree_state_push​(long ctx,
                                              int type,
                                              long title,
                                              long state)
        Unsafe version of: tree_state_push
      • nk_tree_state_push

        public static boolean nk_tree_state_push​(NkContext ctx,
                                                 int type,
                                                 java.nio.ByteBuffer title,
                                                 java.nio.IntBuffer state)
        
        public static boolean nk_tree_state_push​(NkContext ctx,
                                                 int type,
                                                 java.lang.CharSequence title,
                                                 java.nio.IntBuffer state)
        
        Start a collapsable UI section with external state management.
        Parameters:
        ctx - the nuklear context
        type - value from the nk_tree_type section to visually mark a tree node header as either a collapseable UI section or tree node. One of:
        TREE_NODETREE_TAB
        title - label printed in the tree header
        state - persistent state to update
      • nnk_tree_state_image_push

        public static int nnk_tree_state_image_push​(long ctx,
                                                    int type,
                                                    long image,
                                                    long title,
                                                    long state)
        Unsafe version of: tree_state_image_push
      • nk_tree_state_image_push

        public static boolean nk_tree_state_image_push​(NkContext ctx,
                                                       int type,
                                                       NkImage image,
                                                       java.nio.ByteBuffer title,
                                                       java.nio.IntBuffer state)
        
        public static boolean nk_tree_state_image_push​(NkContext ctx,
                                                       int type,
                                                       NkImage image,
                                                       java.lang.CharSequence title,
                                                       java.nio.IntBuffer state)
        
        Start a collapsable UI section with image and label header and external state management.
        Parameters:
        ctx - the nuklear context
        type - value from the nk_tree_type section to visually mark a tree node header as either a collapseable UI section or tree node. One of:
        TREE_NODETREE_TAB
        image - image to display inside the header on the left of the label
        title - label printed in the tree header
      • nnk_tree_state_pop

        public static void nnk_tree_state_pop​(long ctx)
        Unsafe version of: tree_state_pop
      • nk_tree_state_pop

        public static void nk_tree_state_pop​(NkContext ctx)
        Ends a collapsable UI section.
        Parameters:
        ctx - the nuklear context
      • nnk_tree_element_push_hashed

        public static int nnk_tree_element_push_hashed​(long ctx,
                                                       int type,
                                                       long title,
                                                       int initial_state,
                                                       long selected,
                                                       long hash,
                                                       int len,
                                                       int seed)
        Unsafe version of: tree_element_push_hashed
      • nk_tree_element_push_hashed

        public static boolean nk_tree_element_push_hashed​(NkContext ctx,
                                                          int type,
                                                          java.nio.ByteBuffer title,
                                                          int initial_state,
                                                          java.nio.IntBuffer selected,
                                                          java.nio.ByteBuffer hash,
                                                          int seed)
        
        public static boolean nk_tree_element_push_hashed​(NkContext ctx,
                                                          int type,
                                                          java.lang.CharSequence title,
                                                          int initial_state,
                                                          java.nio.IntBuffer selected,
                                                          java.nio.ByteBuffer hash,
                                                          int seed)
        
        Parameters:
        ctx - the nuklear context
        type - value from the nk_tree_type section to visually mark a tree node header as either a collapseable UI section or tree node. One of:
        TREE_NODETREE_TAB
        title - label printed in the tree header
      • nnk_tree_element_image_push_hashed

        public static int nnk_tree_element_image_push_hashed​(long ctx,
                                                             int type,
                                                             long img,
                                                             long title,
                                                             int initial_state,
                                                             long selected,
                                                             long hash,
                                                             int len,
                                                             int seed)
      • nk_tree_element_image_push_hashed

        public static boolean nk_tree_element_image_push_hashed​(NkContext ctx,
                                                                int type,
                                                                NkImage img,
                                                                java.nio.ByteBuffer title,
                                                                int initial_state,
                                                                java.nio.IntBuffer selected,
                                                                java.nio.ByteBuffer hash,
                                                                int seed)
        
        public static boolean nk_tree_element_image_push_hashed​(NkContext ctx,
                                                                int type,
                                                                NkImage img,
                                                                java.lang.CharSequence title,
                                                                int initial_state,
                                                                java.nio.IntBuffer selected,
                                                                java.nio.ByteBuffer hash,
                                                                int seed)
        
        Parameters:
        ctx - the nuklear context
        type - value from the nk_tree_type section to visually mark a tree node header as either a collapseable UI section or tree node. One of:
        TREE_NODETREE_TAB
        title - label printed in the tree header
      • nnk_tree_element_pop

        public static void nnk_tree_element_pop​(long ctx)
        Unsafe version of: tree_element_pop
      • nk_tree_element_pop

        public static void nk_tree_element_pop​(NkContext ctx)
        Parameters:
        ctx - the nuklear context
      • nnk_text

        public static void nnk_text​(long ctx,
                                    long str,
                                    int len,
                                    int alignment)
        Unsafe version of: text
      • nk_text

        public static void nk_text​(NkContext ctx,
                                   java.nio.ByteBuffer str,
                                   int alignment)
        
        public static void nk_text​(NkContext ctx,
                                   java.lang.CharSequence str,
                                   int alignment)
        
        Parameters:
        ctx - the nuklear context
        alignment - one of:
        TEXT_LEFTTEXT_CENTEREDTEXT_RIGHT
      • nnk_text_colored

        public static void nnk_text_colored​(long ctx,
                                            long str,
                                            int len,
                                            int alignment,
                                            long color)
        Unsafe version of: text_colored
      • nk_text_colored

        public static void nk_text_colored​(NkContext ctx,
                                           java.nio.ByteBuffer str,
                                           int alignment,
                                           NkColor color)
        
        public static void nk_text_colored​(NkContext ctx,
                                           java.lang.CharSequence str,
                                           int alignment,
                                           NkColor color)
        
        Parameters:
        ctx - the nuklear context
        alignment - one of:
        TEXT_LEFTTEXT_CENTEREDTEXT_RIGHT
      • nnk_text_wrap

        public static void nnk_text_wrap​(long ctx,
                                         long str,
                                         int len)
        Unsafe version of: text_wrap
      • nk_text_wrap

        public static void nk_text_wrap​(NkContext ctx,
                                        java.nio.ByteBuffer str)
        
        public static void nk_text_wrap​(NkContext ctx,
                                        java.lang.CharSequence str)
        
        Parameters:
        ctx - the nuklear context
      • nnk_text_wrap_colored

        public static void nnk_text_wrap_colored​(long ctx,
                                                 long str,
                                                 int len,
                                                 long color)
        Unsafe version of: text_wrap_colored
      • nk_text_wrap_colored

        public static void nk_text_wrap_colored​(NkContext ctx,
                                                java.nio.ByteBuffer str,
                                                NkColor color)
        
        public static void nk_text_wrap_colored​(NkContext ctx,
                                                java.lang.CharSequence str,
                                                NkColor color)
        
        Parameters:
        ctx - the nuklear context
      • nnk_label

        public static void nnk_label​(long ctx,
                                     long str,
                                     int align)
        Unsafe version of: label
      • nk_label

        public static void nk_label​(NkContext ctx,
                                    java.nio.ByteBuffer str,
                                    int align)
        
        public static void nk_label​(NkContext ctx,
                                    java.lang.CharSequence str,
                                    int align)
        
        Parameters:
        ctx - the nuklear context
        align - one of:
        TEXT_LEFTTEXT_CENTEREDTEXT_RIGHT
      • nnk_label_colored

        public static void nnk_label_colored​(long ctx,
                                             long str,
                                             int align,
                                             long color)
        Unsafe version of: label_colored
      • nk_label_colored

        public static void nk_label_colored​(NkContext ctx,
                                            java.nio.ByteBuffer str,
                                            int align,
                                            NkColor color)
        
        public static void nk_label_colored​(NkContext ctx,
                                            java.lang.CharSequence str,
                                            int align,
                                            NkColor color)
        
        Parameters:
        ctx - the nuklear context
        align - one of:
        TEXT_LEFTTEXT_CENTEREDTEXT_RIGHT
      • nnk_label_wrap

        public static void nnk_label_wrap​(long ctx,
                                          long str)
        Unsafe version of: label_wrap
      • nk_label_wrap

        public static void nk_label_wrap​(NkContext ctx,
                                         java.nio.ByteBuffer str)
        
        public static void nk_label_wrap​(NkContext ctx,
                                         java.lang.CharSequence str)
        
        Parameters:
        ctx - the nuklear context
      • nnk_label_colored_wrap

        public static void nnk_label_colored_wrap​(long ctx,
                                                  long str,
                                                  long color)
        Unsafe version of: label_colored_wrap
      • nk_label_colored_wrap

        public static void nk_label_colored_wrap​(NkContext ctx,
                                                 java.nio.ByteBuffer str,
                                                 NkColor color)
        
        public static void nk_label_colored_wrap​(NkContext ctx,
                                                 java.lang.CharSequence str,
                                                 NkColor color)
        
        Parameters:
        ctx - the nuklear context
      • nnk_image

        public static void nnk_image​(long ctx,
                                     long img)
        Unsafe version of: image
      • nk_image

        public static void nk_image​(NkContext ctx,
                                    NkImage img)
        Parameters:
        ctx - the nuklear context
      • nnk_image_color

        public static void nnk_image_color​(long ctx,
                                           long img,
                                           long color)
        Unsafe version of: image_color
      • nk_image_color

        public static void nk_image_color​(NkContext ctx,
                                          NkImage img,
                                          NkColor color)
        Parameters:
        ctx - the nuklear context
      • nnk_button_set_behavior

        public static void nnk_button_set_behavior​(long ctx,
                                                   int behavior)
        Unsafe version of: button_set_behavior
      • nnk_button_push_behavior

        public static int nnk_button_push_behavior​(long ctx,
                                                   int behavior)
        Unsafe version of: button_push_behavior
      • nk_button_push_behavior

        public static boolean nk_button_push_behavior​(NkContext ctx,
                                                      int behavior)
        Parameters:
        ctx - the nuklear context
        behavior - one of:
        BUTTON_DEFAULTBUTTON_REPEATER
      • nnk_button_pop_behavior

        public static int nnk_button_pop_behavior​(long ctx)
        Unsafe version of: button_pop_behavior
      • nk_button_pop_behavior

        public static boolean nk_button_pop_behavior​(NkContext ctx)
        Parameters:
        ctx - the nuklear context
      • nnk_button_text

        public static int nnk_button_text​(long ctx,
                                          long title,
                                          int len)
        Unsafe version of: button_text
      • nk_button_text

        public static boolean nk_button_text​(NkContext ctx,
                                             java.nio.ByteBuffer title)
        
        public static boolean nk_button_text​(NkContext ctx,
                                             java.lang.CharSequence title)
        
        Parameters:
        ctx - the nuklear context
      • nnk_button_label

        public static int nnk_button_label​(long ctx,
                                           long title)
        Unsafe version of: button_label
      • nk_button_label

        public static boolean nk_button_label​(NkContext ctx,
                                              java.nio.ByteBuffer title)
        
        public static boolean nk_button_label​(NkContext ctx,
                                              java.lang.CharSequence title)
        
        Parameters:
        ctx - the nuklear context
      • nnk_button_color

        public static int nnk_button_color​(long ctx,
                                           long color)
        Unsafe version of: button_color
      • nk_button_color

        public static boolean nk_button_color​(NkContext ctx,
                                              NkColor color)
        Parameters:
        ctx - the nuklear context
      • nnk_button_symbol

        public static int nnk_button_symbol​(long ctx,
                                            int symbol)
        Unsafe version of: button_symbol
      • nnk_button_image

        public static int nnk_button_image​(long ctx,
                                           long img)
        Unsafe version of: button_image
      • nk_button_image

        public static boolean nk_button_image​(NkContext ctx,
                                              NkImage img)
        Parameters:
        ctx - the nuklear context
      • nnk_button_symbol_label

        public static int nnk_button_symbol_label​(long ctx,
                                                  int symbol,
                                                  long text,
                                                  int text_alignment)
        Unsafe version of: button_symbol_label
      • nnk_button_symbol_text

        public static int nnk_button_symbol_text​(long ctx,
                                                 int symbol,
                                                 long text,
                                                 int len,
                                                 int alignment)
        Unsafe version of: button_symbol_text
      • nnk_button_image_label

        public static int nnk_button_image_label​(long ctx,
                                                 long img,
                                                 long text,
                                                 int text_alignment)
        Unsafe version of: button_image_label
      • nk_button_image_label

        public static boolean nk_button_image_label​(NkContext ctx,
                                                    NkImage img,
                                                    java.nio.ByteBuffer text,
                                                    int text_alignment)
        
        public static boolean nk_button_image_label​(NkContext ctx,
                                                    NkImage img,
                                                    java.lang.CharSequence text,
                                                    int text_alignment)
        
        Parameters:
        ctx - the nuklear context
        text_alignment - one of:
        TEXT_LEFTTEXT_CENTEREDTEXT_RIGHT
      • nnk_button_image_text

        public static int nnk_button_image_text​(long ctx,
                                                long img,
                                                long text,
                                                int len,
                                                int alignment)
        Unsafe version of: button_image_text
      • nk_button_image_text

        public static boolean nk_button_image_text​(NkContext ctx,
                                                   NkImage img,
                                                   java.nio.ByteBuffer text,
                                                   int alignment)
        
        public static boolean nk_button_image_text​(NkContext ctx,
                                                   NkImage img,
                                                   java.lang.CharSequence text,
                                                   int alignment)
        
        Parameters:
        ctx - the nuklear context
        alignment - one of:
        TEXT_LEFTTEXT_CENTEREDTEXT_RIGHT
      • nnk_button_text_styled

        public static int nnk_button_text_styled​(long ctx,
                                                 long style,
                                                 long title,
                                                 int len)
        Unsafe version of: button_text_styled
      • nk_button_text_styled

        public static boolean nk_button_text_styled​(NkContext ctx,
                                                    NkStyleButton style,
                                                    java.nio.ByteBuffer title,
                                                    int len)
        
        public static boolean nk_button_text_styled​(NkContext ctx,
                                                    NkStyleButton style,
                                                    java.lang.CharSequence title,
                                                    int len)
        
        Parameters:
        ctx - the nuklear context
      • nnk_button_label_styled

        public static int nnk_button_label_styled​(long ctx,
                                                  long style,
                                                  long title)
        Unsafe version of: button_label_styled
      • nk_button_label_styled

        public static boolean nk_button_label_styled​(NkContext ctx,
                                                     NkStyleButton style,
                                                     java.nio.ByteBuffer title)
        
        public static boolean nk_button_label_styled​(NkContext ctx,
                                                     NkStyleButton style,
                                                     java.lang.CharSequence title)
        
        Parameters:
        ctx - the nuklear context
      • nnk_button_symbol_styled

        public static int nnk_button_symbol_styled​(long ctx,
                                                   long style,
                                                   int symbol)
        Unsafe version of: button_symbol_styled
      • nk_button_symbol_styled

        public static boolean nk_button_symbol_styled​(NkContext ctx,
                                                      NkStyleButton style,
                                                      int symbol)
        Parameters:
        ctx - the nuklear context
      • nnk_button_image_styled

        public static int nnk_button_image_styled​(long ctx,
                                                  long style,
                                                  long img)
        Unsafe version of: button_image_styled
      • nk_button_image_styled

        public static boolean nk_button_image_styled​(NkContext ctx,
                                                     NkStyleButton style,
                                                     NkImage img)
        Parameters:
        ctx - the nuklear context
      • nnk_button_symbol_text_styled

        public static int nnk_button_symbol_text_styled​(long ctx,
                                                        long style,
                                                        int symbol,
                                                        long title,
                                                        int len,
                                                        int alignment)
        Unsafe version of: button_symbol_text_styled
      • nk_button_symbol_text_styled

        public static boolean nk_button_symbol_text_styled​(NkContext ctx,
                                                           NkStyleButton style,
                                                           int symbol,
                                                           java.nio.ByteBuffer title,
                                                           int len,
                                                           int alignment)
        
        public static boolean nk_button_symbol_text_styled​(NkContext ctx,
                                                           NkStyleButton style,
                                                           int symbol,
                                                           java.lang.CharSequence title,
                                                           int len,
                                                           int alignment)
        
        Parameters:
        ctx - the nuklear context
      • nnk_button_symbol_label_styled

        public static int nnk_button_symbol_label_styled​(long ctx,
                                                         long style,
                                                         int symbol,
                                                         long title,
                                                         int text_alignment)
        Unsafe version of: button_symbol_label_styled
      • nk_button_symbol_label_styled

        public static boolean nk_button_symbol_label_styled​(NkContext ctx,
                                                            NkStyleButton style,
                                                            int symbol,
                                                            java.nio.ByteBuffer title,
                                                            int text_alignment)
        
        public static boolean nk_button_symbol_label_styled​(NkContext ctx,
                                                            NkStyleButton style,
                                                            int symbol,
                                                            java.lang.CharSequence title,
                                                            int text_alignment)
        
        Parameters:
        ctx - the nuklear context
      • nnk_button_image_label_styled

        public static int nnk_button_image_label_styled​(long ctx,
                                                        long style,
                                                        long img,
                                                        long title,
                                                        int text_alignment)
        Unsafe version of: button_image_label_styled
      • nk_button_image_label_styled

        public static boolean nk_button_image_label_styled​(NkContext ctx,
                                                           NkStyleButton style,
                                                           NkImage img,
                                                           java.nio.ByteBuffer title,
                                                           int text_alignment)
        
        public static boolean nk_button_image_label_styled​(NkContext ctx,
                                                           NkStyleButton style,
                                                           NkImage img,
                                                           java.lang.CharSequence title,
                                                           int text_alignment)
        
        Parameters:
        ctx - the nuklear context
      • nnk_button_image_text_styled

        public static int nnk_button_image_text_styled​(long ctx,
                                                       long style,
                                                       long img,
                                                       long title,
                                                       int len,
                                                       int alignment)
        Unsafe version of: button_image_text_styled
      • nk_button_image_text_styled

        public static boolean nk_button_image_text_styled​(NkContext ctx,
                                                          NkStyleButton style,
                                                          NkImage img,
                                                          java.nio.ByteBuffer title,
                                                          int len,
                                                          int alignment)
        
        public static boolean nk_button_image_text_styled​(NkContext ctx,
                                                          NkStyleButton style,
                                                          NkImage img,
                                                          java.lang.CharSequence title,
                                                          int len,
                                                          int alignment)
        
        Parameters:
        ctx - the nuklear context
      • nnk_check_label

        public static int nnk_check_label​(long ctx,
                                          long str,
                                          int active)
        Unsafe version of: check_label
      • nk_check_label

        public static boolean nk_check_label​(NkContext ctx,
                                             java.nio.ByteBuffer str,
                                             boolean active)
        
        public static boolean nk_check_label​(NkContext ctx,
                                             java.lang.CharSequence str,
                                             boolean active)
        
        Parameters:
        ctx - the nuklear context
      • nnk_check_text

        public static int nnk_check_text​(long ctx,
                                         long str,
                                         int len,
                                         int active)
        Unsafe version of: check_text
      • nk_check_text

        public static boolean nk_check_text​(NkContext ctx,
                                            java.nio.ByteBuffer str,
                                            boolean active)
        
        public static boolean nk_check_text​(NkContext ctx,
                                            java.lang.CharSequence str,
                                            boolean active)
        
        Parameters:
        ctx - the nuklear context
      • nnk_check_flags_label

        public static int nnk_check_flags_label​(long ctx,
                                                long str,
                                                int flags,
                                                int value)
        Unsafe version of: check_flags_label
      • nk_check_flags_label

        public static int nk_check_flags_label​(NkContext ctx,
                                               java.nio.ByteBuffer str,
                                               int flags,
                                               int value)
        
        public static int nk_check_flags_label​(NkContext ctx,
                                               java.lang.CharSequence str,
                                               int flags,
                                               int value)
        
        Parameters:
        ctx - the nuklear context
      • nnk_check_flags_text

        public static int nnk_check_flags_text​(long ctx,
                                               long str,
                                               int len,
                                               int flags,
                                               int value)
        Unsafe version of: check_flags_text
      • nk_check_flags_text

        public static int nk_check_flags_text​(NkContext ctx,
                                              java.nio.ByteBuffer str,
                                              int flags,
                                              int value)
        
        public static int nk_check_flags_text​(NkContext ctx,
                                              java.lang.CharSequence str,
                                              int flags,
                                              int value)
        
        Parameters:
        ctx - the nuklear context
      • nnk_checkbox_label

        public static int nnk_checkbox_label​(long ctx,
                                             long str,
                                             long active)
        Unsafe version of: checkbox_label
      • nk_checkbox_label

        public static boolean nk_checkbox_label​(NkContext ctx,
                                                java.nio.ByteBuffer str,
                                                java.nio.IntBuffer active)
        
        public static boolean nk_checkbox_label​(NkContext ctx,
                                                java.lang.CharSequence str,
                                                java.nio.IntBuffer active)
        
        Parameters:
        ctx - the nuklear context
      • nnk_checkbox_text

        public static int nnk_checkbox_text​(long ctx,
                                            long str,
                                            int len,
                                            long active)
        Unsafe version of: checkbox_text
      • nk_checkbox_text

        public static boolean nk_checkbox_text​(NkContext ctx,
                                               java.nio.ByteBuffer str,
                                               java.nio.IntBuffer active)
        
        public static boolean nk_checkbox_text​(NkContext ctx,
                                               java.lang.CharSequence str,
                                               java.nio.IntBuffer active)
        
        Parameters:
        ctx - the nuklear context
      • nnk_checkbox_flags_label

        public static int nnk_checkbox_flags_label​(long ctx,
                                                   long str,
                                                   long flags,
                                                   int value)
        Unsafe version of: checkbox_flags_label
      • nk_checkbox_flags_label

        public static boolean nk_checkbox_flags_label​(NkContext ctx,
                                                      java.nio.ByteBuffer str,
                                                      java.nio.IntBuffer flags,
                                                      int value)
        
        public static boolean nk_checkbox_flags_label​(NkContext ctx,
                                                      java.lang.CharSequence str,
                                                      java.nio.IntBuffer flags,
                                                      int value)
        
        Parameters:
        ctx - the nuklear context
      • nnk_checkbox_flags_text

        public static int nnk_checkbox_flags_text​(long ctx,
                                                  long str,
                                                  int len,
                                                  long flags,
                                                  int value)
        Unsafe version of: checkbox_flags_text
      • nk_checkbox_flags_text

        public static boolean nk_checkbox_flags_text​(NkContext ctx,
                                                     java.nio.ByteBuffer str,
                                                     java.nio.IntBuffer flags,
                                                     int value)
        
        public static boolean nk_checkbox_flags_text​(NkContext ctx,
                                                     java.lang.CharSequence str,
                                                     java.nio.IntBuffer flags,
                                                     int value)
        
        Parameters:
        ctx - the nuklear context
      • nnk_radio_label

        public static int nnk_radio_label​(long ctx,
                                          long str,
                                          long active)
        Unsafe version of: radio_label
      • nk_radio_label

        public static boolean nk_radio_label​(NkContext ctx,
                                             java.nio.ByteBuffer str,
                                             java.nio.IntBuffer active)
        
        public static boolean nk_radio_label​(NkContext ctx,
                                             java.lang.CharSequence str,
                                             java.nio.IntBuffer active)
        
        Parameters:
        ctx - the nuklear context
      • nnk_radio_text

        public static int nnk_radio_text​(long ctx,
                                         long str,
                                         int len,
                                         long active)
        Unsafe version of: radio_text
      • nk_radio_text

        public static boolean nk_radio_text​(NkContext ctx,
                                            java.nio.ByteBuffer str,
                                            java.nio.IntBuffer active)
        
        public static boolean nk_radio_text​(NkContext ctx,
                                            java.lang.CharSequence str,
                                            java.nio.IntBuffer active)
        
        Parameters:
        ctx - the nuklear context
      • nnk_option_label

        public static int nnk_option_label​(long ctx,
                                           long str,
                                           int active)
        Unsafe version of: option_label
      • nk_option_label

        public static boolean nk_option_label​(NkContext ctx,
                                              java.nio.ByteBuffer str,
                                              boolean active)
        
        public static boolean nk_option_label​(NkContext ctx,
                                              java.lang.CharSequence str,
                                              boolean active)
        
        Parameters:
        ctx - the nuklear context
      • nnk_option_text

        public static int nnk_option_text​(long ctx,
                                          long str,
                                          int len,
                                          int active)
        Unsafe version of: option_text
      • nk_option_text

        public static boolean nk_option_text​(NkContext ctx,
                                             java.nio.ByteBuffer str,
                                             boolean active)
        
        public static boolean nk_option_text​(NkContext ctx,
                                             java.lang.CharSequence str,
                                             boolean active)
        
        Parameters:
        ctx - the nuklear context
      • nnk_selectable_label

        public static int nnk_selectable_label​(long ctx,
                                               long str,
                                               int align,
                                               long value)
        Unsafe version of: selectable_label
      • nk_selectable_label

        public static boolean nk_selectable_label​(NkContext ctx,
                                                  java.nio.ByteBuffer str,
                                                  int align,
                                                  java.nio.IntBuffer value)
        
        public static boolean nk_selectable_label​(NkContext ctx,
                                                  java.lang.CharSequence str,
                                                  int align,
                                                  java.nio.IntBuffer value)
        
        Parameters:
        ctx - the nuklear context
        align - one of:
        TEXT_LEFTTEXT_CENTEREDTEXT_RIGHT
      • nnk_selectable_text

        public static int nnk_selectable_text​(long ctx,
                                              long str,
                                              int len,
                                              int align,
                                              long value)
        Unsafe version of: selectable_text
      • nk_selectable_text

        public static boolean nk_selectable_text​(NkContext ctx,
                                                 java.nio.ByteBuffer str,
                                                 int align,
                                                 java.nio.IntBuffer value)
        
        public static boolean nk_selectable_text​(NkContext ctx,
                                                 java.lang.CharSequence str,
                                                 int align,
                                                 java.nio.IntBuffer value)
        
        Parameters:
        ctx - the nuklear context
        align - one of:
        TEXT_LEFTTEXT_CENTEREDTEXT_RIGHT
      • nnk_selectable_image_label

        public static int nnk_selectable_image_label​(long ctx,
                                                     long img,
                                                     long str,
                                                     int align,
                                                     long value)
        Unsafe version of: selectable_image_label
      • nk_selectable_image_label

        public static boolean nk_selectable_image_label​(NkContext ctx,
                                                        NkImage img,
                                                        java.nio.ByteBuffer str,
                                                        int align,
                                                        java.nio.IntBuffer value)
        
        public static boolean nk_selectable_image_label​(NkContext ctx,
                                                        NkImage img,
                                                        java.lang.CharSequence str,
                                                        int align,
                                                        java.nio.IntBuffer value)
        
        Parameters:
        ctx - the nuklear context
        align - one of:
        TEXT_LEFTTEXT_CENTEREDTEXT_RIGHT
      • nnk_selectable_image_text

        public static int nnk_selectable_image_text​(long ctx,
                                                    long img,
                                                    long str,
                                                    int len,
                                                    int align,
                                                    long value)
        Unsafe version of: selectable_image_text
      • nk_selectable_image_text

        public static boolean nk_selectable_image_text​(NkContext ctx,
                                                       NkImage img,
                                                       java.nio.ByteBuffer str,
                                                       int align,
                                                       java.nio.IntBuffer value)
        
        public static boolean nk_selectable_image_text​(NkContext ctx,
                                                       NkImage img,
                                                       java.lang.CharSequence str,
                                                       int align,
                                                       java.nio.IntBuffer value)
        
        Parameters:
        ctx - the nuklear context
        align - one of:
        TEXT_LEFTTEXT_CENTEREDTEXT_RIGHT
      • nnk_selectable_symbol_label

        public static int nnk_selectable_symbol_label​(long ctx,
                                                      int symbol,
                                                      long str,
                                                      int align,
                                                      long value)
        Unsafe version of: selectable_symbol_label
      • nnk_selectable_symbol_text

        public static int nnk_selectable_symbol_text​(long ctx,
                                                     int symbol,
                                                     long str,
                                                     int len,
                                                     int align,
                                                     long value)
        Unsafe version of: selectable_symbol_text
      • nnk_select_label

        public static int nnk_select_label​(long ctx,
                                           long str,
                                           int align,
                                           int value)
        Unsafe version of: select_label
      • nk_select_label

        public static boolean nk_select_label​(NkContext ctx,
                                              java.nio.ByteBuffer str,
                                              int align,
                                              boolean value)
        
        public static boolean nk_select_label​(NkContext ctx,
                                              java.lang.CharSequence str,
                                              int align,
                                              boolean value)
        
        Parameters:
        ctx - the nuklear context
        align - one of:
        TEXT_LEFTTEXT_CENTEREDTEXT_RIGHT
      • nnk_select_text

        public static int nnk_select_text​(long ctx,
                                          long str,
                                          int len,
                                          int align,
                                          int value)
        Unsafe version of: select_text
      • nk_select_text

        public static boolean nk_select_text​(NkContext ctx,
                                             java.nio.ByteBuffer str,
                                             int align,
                                             boolean value)
        
        public static boolean nk_select_text​(NkContext ctx,
                                             java.lang.CharSequence str,
                                             int align,
                                             boolean value)
        
        Parameters:
        ctx - the nuklear context
        align - one of:
        TEXT_LEFTTEXT_CENTEREDTEXT_RIGHT
      • nnk_select_image_label

        public static int nnk_select_image_label​(long ctx,
                                                 long img,
                                                 long str,
                                                 int align,
                                                 int value)
        Unsafe version of: select_image_label
      • nk_select_image_label

        public static boolean nk_select_image_label​(NkContext ctx,
                                                    NkImage img,
                                                    java.nio.ByteBuffer str,
                                                    int align,
                                                    boolean value)
        
        public static boolean nk_select_image_label​(NkContext ctx,
                                                    NkImage img,
                                                    java.lang.CharSequence str,
                                                    int align,
                                                    boolean value)
        
        Parameters:
        ctx - the nuklear context
        align - one of:
        TEXT_LEFTTEXT_CENTEREDTEXT_RIGHT
      • nnk_select_image_text

        public static int nnk_select_image_text​(long ctx,
                                                long img,
                                                long str,
                                                int len,
                                                int align,
                                                int value)
        Unsafe version of: select_image_text
      • nk_select_image_text

        public static boolean nk_select_image_text​(NkContext ctx,
                                                   NkImage img,
                                                   java.nio.ByteBuffer str,
                                                   int align,
                                                   boolean value)
        
        public static boolean nk_select_image_text​(NkContext ctx,
                                                   NkImage img,
                                                   java.lang.CharSequence str,
                                                   int align,
                                                   boolean value)
        
        Parameters:
        ctx - the nuklear context
        align - one of:
        TEXT_LEFTTEXT_CENTEREDTEXT_RIGHT
      • nnk_select_symbol_label

        public static int nnk_select_symbol_label​(long ctx,
                                                  int symbol,
                                                  long str,
                                                  int align,
                                                  int value)
        Unsafe version of: select_symbol_label
      • nnk_select_symbol_text

        public static int nnk_select_symbol_text​(long ctx,
                                                 int symbol,
                                                 long str,
                                                 int len,
                                                 int align,
                                                 int value)
        Unsafe version of: select_symbol_text
      • nnk_slide_float

        public static float nnk_slide_float​(long ctx,
                                            float min,
                                            float val,
                                            float max,
                                            float step)
        Unsafe version of: slide_float
      • nk_slide_float

        public static float nk_slide_float​(NkContext ctx,
                                           float min,
                                           float val,
                                           float max,
                                           float step)
        Parameters:
        ctx - the nuklear context
      • nnk_slide_int

        public static int nnk_slide_int​(long ctx,
                                        int min,
                                        int val,
                                        int max,
                                        int step)
        Unsafe version of: slide_int
      • nk_slide_int

        public static int nk_slide_int​(NkContext ctx,
                                       int min,
                                       int val,
                                       int max,
                                       int step)
        Parameters:
        ctx - the nuklear context
      • nnk_slider_float

        public static int nnk_slider_float​(long ctx,
                                           float min,
                                           long val,
                                           float max,
                                           float step)
        Unsafe version of: slider_float
      • nk_slider_float

        public static int nk_slider_float​(NkContext ctx,
                                          float min,
                                          java.nio.FloatBuffer val,
                                          float max,
                                          float step)
        Parameters:
        ctx - the nuklear context
      • nnk_slider_int

        public static int nnk_slider_int​(long ctx,
                                         int min,
                                         long val,
                                         int max,
                                         int step)
        Unsafe version of: slider_int
      • nk_slider_int

        public static int nk_slider_int​(NkContext ctx,
                                        int min,
                                        java.nio.IntBuffer val,
                                        int max,
                                        int step)
        Parameters:
        ctx - the nuklear context
      • nnk_progress

        public static int nnk_progress​(long ctx,
                                       long cur,
                                       long max,
                                       int modifyable)
        Unsafe version of: progress
      • nk_progress

        public static boolean nk_progress​(NkContext ctx,
                                          org.lwjgl.PointerBuffer cur,
                                          long max,
                                          boolean modifyable)
        Parameters:
        ctx - the nuklear context
      • nnk_prog

        public static long nnk_prog​(long ctx,
                                    long cur,
                                    long max,
                                    int modifyable)
        Unsafe version of: prog
      • nk_prog

        public static long nk_prog​(NkContext ctx,
                                   long cur,
                                   long max,
                                   boolean modifyable)
        Parameters:
        ctx - the nuklear context
      • nnk_color_picker

        public static void nnk_color_picker​(long ctx,
                                            long color,
                                            int fmt)
        Unsafe version of: color_picker
      • nk_color_picker

        public static NkColorf nk_color_picker​(NkContext ctx,
                                               NkColorf color,
                                               int fmt)
        Parameters:
        ctx - the nuklear context
        fmt - one of:
        RGBRGBA
      • nnk_color_pick

        public static int nnk_color_pick​(long ctx,
                                         long color,
                                         int fmt)
        Unsafe version of: color_pick
      • nk_color_pick

        public static boolean nk_color_pick​(NkContext ctx,
                                            NkColorf color,
                                            int fmt)
        Parameters:
        ctx - the nuklear context
        fmt - one of:
        RGBRGBA
      • nnk_property_int

        public static void nnk_property_int​(long ctx,
                                            long name,
                                            int min,
                                            long val,
                                            int max,
                                            int step,
                                            float inc_per_pixel)
        Unsafe version of: property_int
      • nk_property_int

        public static void nk_property_int​(NkContext ctx,
                                           java.nio.ByteBuffer name,
                                           int min,
                                           java.nio.IntBuffer val,
                                           int max,
                                           int step,
                                           float inc_per_pixel)
        
        public static void nk_property_int​(NkContext ctx,
                                           java.lang.CharSequence name,
                                           int min,
                                           java.nio.IntBuffer val,
                                           int max,
                                           int step,
                                           float inc_per_pixel)
        
        Parameters:
        ctx - the nuklear context
      • nnk_property_float

        public static void nnk_property_float​(long ctx,
                                              long name,
                                              float min,
                                              long val,
                                              float max,
                                              float step,
                                              float inc_per_pixel)
        Unsafe version of: property_float
      • nk_property_float

        public static void nk_property_float​(NkContext ctx,
                                             java.nio.ByteBuffer name,
                                             float min,
                                             java.nio.FloatBuffer val,
                                             float max,
                                             float step,
                                             float inc_per_pixel)
        
        public static void nk_property_float​(NkContext ctx,
                                             java.lang.CharSequence name,
                                             float min,
                                             java.nio.FloatBuffer val,
                                             float max,
                                             float step,
                                             float inc_per_pixel)
        
        Parameters:
        ctx - the nuklear context
      • nnk_property_double

        public static void nnk_property_double​(long ctx,
                                               long name,
                                               double min,
                                               long val,
                                               double max,
                                               double step,
                                               float inc_per_pixel)
        Unsafe version of: property_double
      • nk_property_double

        public static void nk_property_double​(NkContext ctx,
                                              java.nio.ByteBuffer name,
                                              double min,
                                              java.nio.DoubleBuffer val,
                                              double max,
                                              double step,
                                              float inc_per_pixel)
        
        public static void nk_property_double​(NkContext ctx,
                                              java.lang.CharSequence name,
                                              double min,
                                              java.nio.DoubleBuffer val,
                                              double max,
                                              double step,
                                              float inc_per_pixel)
        
        Parameters:
        ctx - the nuklear context
      • nnk_propertyi

        public static int nnk_propertyi​(long ctx,
                                        long name,
                                        int min,
                                        int val,
                                        int max,
                                        int step,
                                        float inc_per_pixel)
        Unsafe version of: propertyi
      • nk_propertyi

        public static int nk_propertyi​(NkContext ctx,
                                       java.nio.ByteBuffer name,
                                       int min,
                                       int val,
                                       int max,
                                       int step,
                                       float inc_per_pixel)
        
        public static int nk_propertyi​(NkContext ctx,
                                       java.lang.CharSequence name,
                                       int min,
                                       int val,
                                       int max,
                                       int step,
                                       float inc_per_pixel)
        
        Parameters:
        ctx - the nuklear context
      • nnk_propertyf

        public static float nnk_propertyf​(long ctx,
                                          long name,
                                          float min,
                                          float val,
                                          float max,
                                          float step,
                                          float inc_per_pixel)
        Unsafe version of: propertyf
      • nk_propertyf

        public static float nk_propertyf​(NkContext ctx,
                                         java.nio.ByteBuffer name,
                                         float min,
                                         float val,
                                         float max,
                                         float step,
                                         float inc_per_pixel)
        
        public static float nk_propertyf​(NkContext ctx,
                                         java.lang.CharSequence name,
                                         float min,
                                         float val,
                                         float max,
                                         float step,
                                         float inc_per_pixel)
        
        Parameters:
        ctx - the nuklear context
      • nnk_propertyd

        public static double nnk_propertyd​(long ctx,
                                           long name,
                                           double min,
                                           double val,
                                           double max,
                                           double step,
                                           float inc_per_pixel)
        Unsafe version of: propertyd
      • nk_propertyd

        public static double nk_propertyd​(NkContext ctx,
                                          java.nio.ByteBuffer name,
                                          double min,
                                          double val,
                                          double max,
                                          double step,
                                          float inc_per_pixel)
        
        public static double nk_propertyd​(NkContext ctx,
                                          java.lang.CharSequence name,
                                          double min,
                                          double val,
                                          double max,
                                          double step,
                                          float inc_per_pixel)
        
        Parameters:
        ctx - the nuklear context
      • nnk_edit_focus

        public static void nnk_edit_focus​(long ctx,
                                          int flags)
        Unsafe version of: edit_focus
      • nnk_edit_unfocus

        public static void nnk_edit_unfocus​(long ctx)
        Unsafe version of: edit_unfocus
      • nk_edit_unfocus

        public static void nk_edit_unfocus​(NkContext ctx)
        Parameters:
        ctx - the nuklear context
      • nnk_edit_string

        public static int nnk_edit_string​(long ctx,
                                          int flags,
                                          long memory,
                                          long len,
                                          int max,
                                          long filter)
        Unsafe version of: edit_string
      • nnk_edit_buffer

        public static int nnk_edit_buffer​(long ctx,
                                          int flags,
                                          long edit,
                                          long filter)
        Unsafe version of: edit_buffer
      • nnk_edit_string_zero_terminated

        public static int nnk_edit_string_zero_terminated​(long ctx,
                                                          int flags,
                                                          long buffer,
                                                          int max,
                                                          long filter)
        Unsafe version of: edit_string_zero_terminated
      • nnk_chart_begin

        public static int nnk_chart_begin​(long ctx,
                                          int type,
                                          int num,
                                          float min,
                                          float max)
        Unsafe version of: chart_begin
      • nnk_chart_begin_colored

        public static int nnk_chart_begin_colored​(long ctx,
                                                  int type,
                                                  long color,
                                                  long active,
                                                  int num,
                                                  float min,
                                                  float max)
        Unsafe version of: chart_begin_colored
      • nnk_chart_add_slot

        public static void nnk_chart_add_slot​(long ctx,
                                              int type,
                                              int count,
                                              float min_value,
                                              float max_value)
        Unsafe version of: chart_add_slot
      • nk_chart_add_slot

        public static void nk_chart_add_slot​(NkContext ctx,
                                             int type,
                                             int count,
                                             float min_value,
                                             float max_value)
        Parameters:
        ctx - the nuklear context
        type - one of:
        CHART_LINESCHART_COLUMNCHART_MAX
      • nnk_chart_add_slot_colored

        public static void nnk_chart_add_slot_colored​(long ctx,
                                                      int type,
                                                      long color,
                                                      long active,
                                                      int count,
                                                      float min_value,
                                                      float max_value)
        Unsafe version of: chart_add_slot_colored
      • nnk_chart_push

        public static int nnk_chart_push​(long ctx,
                                         float value)
        Unsafe version of: chart_push
      • nk_chart_push

        public static int nk_chart_push​(NkContext ctx,
                                        float value)
        Parameters:
        ctx - the nuklear context
      • nnk_chart_push_slot

        public static int nnk_chart_push_slot​(long ctx,
                                              float value,
                                              int slot)
        Unsafe version of: chart_push_slot
      • nk_chart_push_slot

        public static int nk_chart_push_slot​(NkContext ctx,
                                             float value,
                                             int slot)
        Parameters:
        ctx - the nuklear context
      • nnk_chart_end

        public static void nnk_chart_end​(long ctx)
        Unsafe version of: chart_end
      • nk_chart_end

        public static void nk_chart_end​(NkContext ctx)
        Parameters:
        ctx - the nuklear context
      • nnk_plot

        public static void nnk_plot​(long ctx,
                                    int type,
                                    long values,
                                    int count,
                                    int offset)
        Unsafe version of: plot
      • nk_plot

        public static void nk_plot​(NkContext ctx,
                                   int type,
                                   java.nio.FloatBuffer values,
                                   int count,
                                   int offset)
        Parameters:
        ctx - the nuklear context
        type - one of:
        CHART_LINESCHART_COLUMNCHART_MAX
      • nnk_plot_function

        public static void nnk_plot_function​(long ctx,
                                             int type,
                                             long userdata,
                                             long value_getter,
                                             int count,
                                             int offset)
        Unsafe version of: plot_function
      • nnk_popup_begin

        public static int nnk_popup_begin​(long ctx,
                                          int type,
                                          long title,
                                          int flags,
                                          long rect)
        Unsafe version of: popup_begin
      • nnk_popup_close

        public static void nnk_popup_close​(long ctx)
        Unsafe version of: popup_close
      • nk_popup_close

        public static void nk_popup_close​(NkContext ctx)
        Parameters:
        ctx - the nuklear context
      • nnk_popup_end

        public static void nnk_popup_end​(long ctx)
        Unsafe version of: popup_end
      • nk_popup_end

        public static void nk_popup_end​(NkContext ctx)
        Parameters:
        ctx - the nuklear context
      • nnk_popup_get_scroll

        public static void nnk_popup_get_scroll​(long ctx,
                                                long offset_x,
                                                long offset_y)
        Unsafe version of: popup_get_scroll
      • nk_popup_get_scroll

        public static void nk_popup_get_scroll​(NkContext ctx,
                                               @Nullable
                                               java.nio.IntBuffer offset_x,
                                               @Nullable
                                               java.nio.IntBuffer offset_y)
        Parameters:
        ctx - the nuklear context
      • nnk_popup_set_scroll

        public static void nnk_popup_set_scroll​(long ctx,
                                                int offset_x,
                                                int offset_y)
        Unsafe version of: popup_set_scroll
      • nk_popup_set_scroll

        public static void nk_popup_set_scroll​(NkContext ctx,
                                               int offset_x,
                                               int offset_y)
        Parameters:
        ctx - the nuklear context
      • nnk_combo

        public static int nnk_combo​(long ctx,
                                    long items,
                                    int count,
                                    int selected,
                                    int item_height,
                                    long size)
        Unsafe version of: combo
      • nk_combo

        public static boolean nk_combo​(NkContext ctx,
                                       org.lwjgl.PointerBuffer items,
                                       boolean selected,
                                       int item_height,
                                       NkVec2 size)
        Parameters:
        ctx - the nuklear context
      • nnk_combo_separator

        public static int nnk_combo_separator​(long ctx,
                                              long items_separated_by_separator,
                                              int separator,
                                              int selected,
                                              int count,
                                              int item_height,
                                              long size)
        Unsafe version of: combo_separator
      • nk_combo_separator

        public static boolean nk_combo_separator​(NkContext ctx,
                                                 java.nio.ByteBuffer items_separated_by_separator,
                                                 int separator,
                                                 boolean selected,
                                                 int count,
                                                 int item_height,
                                                 NkVec2 size)
        
        public static boolean nk_combo_separator​(NkContext ctx,
                                                 java.lang.CharSequence items_separated_by_separator,
                                                 int separator,
                                                 boolean selected,
                                                 int count,
                                                 int item_height,
                                                 NkVec2 size)
        
        Parameters:
        ctx - the nuklear context
      • nnk_combo_string

        public static int nnk_combo_string​(long ctx,
                                           long items_separated_by_zeros,
                                           int selected,
                                           int count,
                                           int item_height,
                                           long size)
        Unsafe version of: combo_string
      • nk_combo_string

        public static boolean nk_combo_string​(NkContext ctx,
                                              java.nio.ByteBuffer items_separated_by_zeros,
                                              boolean selected,
                                              int count,
                                              int item_height,
                                              NkVec2 size)
        
        public static boolean nk_combo_string​(NkContext ctx,
                                              java.lang.CharSequence items_separated_by_zeros,
                                              boolean selected,
                                              int count,
                                              int item_height,
                                              NkVec2 size)
        
        Parameters:
        ctx - the nuklear context
      • nnk_combo_callback

        public static int nnk_combo_callback​(long ctx,
                                             long item_getter,
                                             long userdata,
                                             int selected,
                                             int count,
                                             int item_height,
                                             long size)
        Unsafe version of: combo_callback
      • nk_combo_callback

        public static boolean nk_combo_callback​(NkContext ctx,
                                                NkItemGetterI item_getter,
                                                long userdata,
                                                boolean selected,
                                                int count,
                                                int item_height,
                                                NkVec2 size)
        Parameters:
        ctx - the nuklear context
      • nnk_combobox

        public static void nnk_combobox​(long ctx,
                                        long items,
                                        int count,
                                        long selected,
                                        int item_height,
                                        long size)
        Unsafe version of: combobox
      • nk_combobox

        public static void nk_combobox​(NkContext ctx,
                                       org.lwjgl.PointerBuffer items,
                                       java.nio.IntBuffer selected,
                                       int item_height,
                                       NkVec2 size)
        Parameters:
        ctx - the nuklear context
      • nnk_combobox_string

        public static void nnk_combobox_string​(long ctx,
                                               long items_separated_by_zeros,
                                               long selected,
                                               int count,
                                               int item_height,
                                               long size)
        Unsafe version of: combobox_string
      • nk_combobox_string

        public static void nk_combobox_string​(NkContext ctx,
                                              java.nio.ByteBuffer items_separated_by_zeros,
                                              java.nio.IntBuffer selected,
                                              int count,
                                              int item_height,
                                              NkVec2 size)
        
        public static void nk_combobox_string​(NkContext ctx,
                                              java.lang.CharSequence items_separated_by_zeros,
                                              java.nio.IntBuffer selected,
                                              int count,
                                              int item_height,
                                              NkVec2 size)
        
        Parameters:
        ctx - the nuklear context
      • nnk_combobox_separator

        public static void nnk_combobox_separator​(long ctx,
                                                  long items_separated_by_separator,
                                                  int separator,
                                                  long selected,
                                                  int count,
                                                  int item_height,
                                                  long size)
        Unsafe version of: combobox_separator
      • nk_combobox_separator

        public static void nk_combobox_separator​(NkContext ctx,
                                                 java.nio.ByteBuffer items_separated_by_separator,
                                                 int separator,
                                                 java.nio.IntBuffer selected,
                                                 int count,
                                                 int item_height,
                                                 NkVec2 size)
        
        public static void nk_combobox_separator​(NkContext ctx,
                                                 java.lang.CharSequence items_separated_by_separator,
                                                 int separator,
                                                 java.nio.IntBuffer selected,
                                                 int count,
                                                 int item_height,
                                                 NkVec2 size)
        
        Parameters:
        ctx - the nuklear context
      • nnk_combobox_callback

        public static void nnk_combobox_callback​(long ctx,
                                                 long item_getter,
                                                 long userdata,
                                                 long selected,
                                                 int count,
                                                 int item_height,
                                                 long size)
        Unsafe version of: combobox_callback
      • nk_combobox_callback

        public static void nk_combobox_callback​(NkContext ctx,
                                                NkItemGetterI item_getter,
                                                long userdata,
                                                java.nio.IntBuffer selected,
                                                int count,
                                                int item_height,
                                                NkVec2 size)
        Parameters:
        ctx - the nuklear context
      • nnk_combo_begin_text

        public static int nnk_combo_begin_text​(long ctx,
                                               long selected,
                                               int len,
                                               long size)
        Unsafe version of: combo_begin_text
      • nk_combo_begin_text

        public static boolean nk_combo_begin_text​(NkContext ctx,
                                                  java.nio.ByteBuffer selected,
                                                  NkVec2 size)
        
        public static boolean nk_combo_begin_text​(NkContext ctx,
                                                  java.lang.CharSequence selected,
                                                  NkVec2 size)
        
        Parameters:
        ctx - the nuklear context
      • nnk_combo_begin_label

        public static int nnk_combo_begin_label​(long ctx,
                                                long selected,
                                                long size)
        Unsafe version of: combo_begin_label
      • nk_combo_begin_label

        public static boolean nk_combo_begin_label​(NkContext ctx,
                                                   java.nio.ByteBuffer selected,
                                                   NkVec2 size)
        
        public static boolean nk_combo_begin_label​(NkContext ctx,
                                                   java.lang.CharSequence selected,
                                                   NkVec2 size)
        
        Parameters:
        ctx - the nuklear context
      • nnk_combo_begin_color

        public static int nnk_combo_begin_color​(long ctx,
                                                long color,
                                                long size)
        Unsafe version of: combo_begin_color
      • nk_combo_begin_color

        public static boolean nk_combo_begin_color​(NkContext ctx,
                                                   NkColor color,
                                                   NkVec2 size)
        Parameters:
        ctx - the nuklear context
      • nnk_combo_begin_symbol

        public static int nnk_combo_begin_symbol​(long ctx,
                                                 int symbol,
                                                 long size)
        Unsafe version of: combo_begin_symbol
      • nnk_combo_begin_symbol_label

        public static int nnk_combo_begin_symbol_label​(long ctx,
                                                       long selected,
                                                       int symbol,
                                                       long size)
        Unsafe version of: combo_begin_symbol_label
      • nnk_combo_begin_symbol_text

        public static int nnk_combo_begin_symbol_text​(long ctx,
                                                      long selected,
                                                      int len,
                                                      int symbol,
                                                      long size)
        Unsafe version of: combo_begin_symbol_text
      • nnk_combo_begin_image

        public static int nnk_combo_begin_image​(long ctx,
                                                long img,
                                                long size)
        Unsafe version of: combo_begin_image
      • nk_combo_begin_image

        public static boolean nk_combo_begin_image​(NkContext ctx,
                                                   NkImage img,
                                                   NkVec2 size)
        Parameters:
        ctx - the nuklear context
      • nnk_combo_begin_image_label

        public static int nnk_combo_begin_image_label​(long ctx,
                                                      long selected,
                                                      long img,
                                                      long size)
        Unsafe version of: combo_begin_image_label
      • nk_combo_begin_image_label

        public static boolean nk_combo_begin_image_label​(NkContext ctx,
                                                         java.nio.ByteBuffer selected,
                                                         NkImage img,
                                                         NkVec2 size)
        
        public static boolean nk_combo_begin_image_label​(NkContext ctx,
                                                         java.lang.CharSequence selected,
                                                         NkImage img,
                                                         NkVec2 size)
        
        Parameters:
        ctx - the nuklear context
      • nnk_combo_begin_image_text

        public static int nnk_combo_begin_image_text​(long ctx,
                                                     long selected,
                                                     int len,
                                                     long img,
                                                     long size)
        Unsafe version of: combo_begin_image_text
      • nk_combo_begin_image_text

        public static boolean nk_combo_begin_image_text​(NkContext ctx,
                                                        java.nio.ByteBuffer selected,
                                                        NkImage img,
                                                        NkVec2 size)
        
        public static boolean nk_combo_begin_image_text​(NkContext ctx,
                                                        java.lang.CharSequence selected,
                                                        NkImage img,
                                                        NkVec2 size)
        
        Parameters:
        ctx - the nuklear context
      • nnk_combo_item_label

        public static int nnk_combo_item_label​(long ctx,
                                               long text,
                                               int alignment)
        Unsafe version of: combo_item_label
      • nk_combo_item_label

        public static boolean nk_combo_item_label​(NkContext ctx,
                                                  java.nio.ByteBuffer text,
                                                  int alignment)
        
        public static boolean nk_combo_item_label​(NkContext ctx,
                                                  java.lang.CharSequence text,
                                                  int alignment)
        
        Parameters:
        ctx - the nuklear context
        alignment - one of:
        TEXT_LEFTTEXT_CENTEREDTEXT_RIGHT
      • nnk_combo_item_text

        public static int nnk_combo_item_text​(long ctx,
                                              long text,
                                              int len,
                                              int alignment)
        Unsafe version of: combo_item_text
      • nk_combo_item_text

        public static boolean nk_combo_item_text​(NkContext ctx,
                                                 java.nio.ByteBuffer text,
                                                 int alignment)
        
        public static boolean nk_combo_item_text​(NkContext ctx,
                                                 java.lang.CharSequence text,
                                                 int alignment)
        
        Parameters:
        ctx - the nuklear context
        alignment - one of:
        TEXT_LEFTTEXT_CENTEREDTEXT_RIGHT
      • nnk_combo_item_image_label

        public static int nnk_combo_item_image_label​(long ctx,
                                                     long img,
                                                     long text,
                                                     int alignment)
        Unsafe version of: combo_item_image_label
      • nk_combo_item_image_label

        public static boolean nk_combo_item_image_label​(NkContext ctx,
                                                        NkImage img,
                                                        java.nio.ByteBuffer text,
                                                        int alignment)
        
        public static boolean nk_combo_item_image_label​(NkContext ctx,
                                                        NkImage img,
                                                        java.lang.CharSequence text,
                                                        int alignment)
        
        Parameters:
        ctx - the nuklear context
        alignment - one of:
        TEXT_LEFTTEXT_CENTEREDTEXT_RIGHT
      • nnk_combo_item_image_text

        public static int nnk_combo_item_image_text​(long ctx,
                                                    long img,
                                                    long text,
                                                    int len,
                                                    int alignment)
        Unsafe version of: combo_item_image_text
      • nk_combo_item_image_text

        public static boolean nk_combo_item_image_text​(NkContext ctx,
                                                       NkImage img,
                                                       java.nio.ByteBuffer text,
                                                       int alignment)
        
        public static boolean nk_combo_item_image_text​(NkContext ctx,
                                                       NkImage img,
                                                       java.lang.CharSequence text,
                                                       int alignment)
        
        Parameters:
        ctx - the nuklear context
        alignment - one of:
        TEXT_LEFTTEXT_CENTEREDTEXT_RIGHT
      • nnk_combo_item_symbol_label

        public static int nnk_combo_item_symbol_label​(long ctx,
                                                      int symbol,
                                                      long text,
                                                      int alignment)
        Unsafe version of: combo_item_symbol_label
      • nnk_combo_item_symbol_text

        public static int nnk_combo_item_symbol_text​(long ctx,
                                                     int symbol,
                                                     long text,
                                                     int len,
                                                     int alignment)
        Unsafe version of: combo_item_symbol_text
      • nnk_combo_close

        public static void nnk_combo_close​(long ctx)
        Unsafe version of: combo_close
      • nk_combo_close

        public static void nk_combo_close​(NkContext ctx)
        Parameters:
        ctx - the nuklear context
      • nnk_combo_end

        public static void nnk_combo_end​(long ctx)
        Unsafe version of: combo_end
      • nk_combo_end

        public static void nk_combo_end​(NkContext ctx)
        Parameters:
        ctx - the nuklear context
      • nnk_contextual_begin

        public static int nnk_contextual_begin​(long ctx,
                                               int flags,
                                               long size,
                                               long trigger_bounds)
        Unsafe version of: contextual_begin
      • nnk_contextual_item_text

        public static int nnk_contextual_item_text​(long ctx,
                                                   long text,
                                                   int len,
                                                   int align)
        Unsafe version of: contextual_item_text
      • nk_contextual_item_text

        public static boolean nk_contextual_item_text​(NkContext ctx,
                                                      java.nio.ByteBuffer text,
                                                      int align)
        
        public static boolean nk_contextual_item_text​(NkContext ctx,
                                                      java.lang.CharSequence text,
                                                      int align)
        
        Parameters:
        ctx - the nuklear context
        align - one of:
        TEXT_LEFTTEXT_CENTEREDTEXT_RIGHT
      • nnk_contextual_item_label

        public static int nnk_contextual_item_label​(long ctx,
                                                    long text,
                                                    int align)
        Unsafe version of: contextual_item_label
      • nk_contextual_item_label

        public static boolean nk_contextual_item_label​(NkContext ctx,
                                                       java.nio.ByteBuffer text,
                                                       int align)
        
        public static boolean nk_contextual_item_label​(NkContext ctx,
                                                       java.lang.CharSequence text,
                                                       int align)
        
        Parameters:
        ctx - the nuklear context
        align - one of:
        TEXT_LEFTTEXT_CENTEREDTEXT_RIGHT
      • nnk_contextual_item_image_label

        public static int nnk_contextual_item_image_label​(long ctx,
                                                          long img,
                                                          long text,
                                                          int alignment)
        Unsafe version of: contextual_item_image_label
      • nk_contextual_item_image_label

        public static boolean nk_contextual_item_image_label​(NkContext ctx,
                                                             NkImage img,
                                                             java.nio.ByteBuffer text,
                                                             int alignment)
        
        public static boolean nk_contextual_item_image_label​(NkContext ctx,
                                                             NkImage img,
                                                             java.lang.CharSequence text,
                                                             int alignment)
        
        Parameters:
        ctx - the nuklear context
        alignment - one of:
        TEXT_LEFTTEXT_CENTEREDTEXT_RIGHT
      • nnk_contextual_item_image_text

        public static int nnk_contextual_item_image_text​(long ctx,
                                                         long img,
                                                         long text,
                                                         int len,
                                                         int alignment)
        Unsafe version of: contextual_item_image_text
      • nk_contextual_item_image_text

        public static boolean nk_contextual_item_image_text​(NkContext ctx,
                                                            NkImage img,
                                                            java.nio.ByteBuffer text,
                                                            int alignment)
        
        public static boolean nk_contextual_item_image_text​(NkContext ctx,
                                                            NkImage img,
                                                            java.lang.CharSequence text,
                                                            int alignment)
        
        Parameters:
        ctx - the nuklear context
        alignment - one of:
        TEXT_LEFTTEXT_CENTEREDTEXT_RIGHT
      • nnk_contextual_item_symbol_label

        public static int nnk_contextual_item_symbol_label​(long ctx,
                                                           int symbol,
                                                           long text,
                                                           int alignment)
        Unsafe version of: contextual_item_symbol_label
      • nnk_contextual_item_symbol_text

        public static int nnk_contextual_item_symbol_text​(long ctx,
                                                          int symbol,
                                                          long text,
                                                          int len,
                                                          int alignment)
        Unsafe version of: contextual_item_symbol_text
      • nnk_contextual_close

        public static void nnk_contextual_close​(long ctx)
        Unsafe version of: contextual_close
      • nk_contextual_close

        public static void nk_contextual_close​(NkContext ctx)
        Parameters:
        ctx - the nuklear context
      • nnk_contextual_end

        public static void nnk_contextual_end​(long ctx)
        Unsafe version of: contextual_end
      • nk_contextual_end

        public static void nk_contextual_end​(NkContext ctx)
        Parameters:
        ctx - the nuklear context
      • nnk_tooltip

        public static void nnk_tooltip​(long ctx,
                                       long text)
        Unsafe version of: tooltip
      • nk_tooltip

        public static void nk_tooltip​(NkContext ctx,
                                      java.nio.ByteBuffer text)
        
        public static void nk_tooltip​(NkContext ctx,
                                      java.lang.CharSequence text)
        
        Parameters:
        ctx - the nuklear context
      • nnk_tooltip_begin

        public static int nnk_tooltip_begin​(long ctx,
                                            float width)
        Unsafe version of: tooltip_begin
      • nk_tooltip_begin

        public static boolean nk_tooltip_begin​(NkContext ctx,
                                               float width)
        Parameters:
        ctx - the nuklear context
      • nnk_tooltip_end

        public static void nnk_tooltip_end​(long ctx)
        Unsafe version of: tooltip_end
      • nk_tooltip_end

        public static void nk_tooltip_end​(NkContext ctx)
        Parameters:
        ctx - the nuklear context
      • nnk_menubar_begin

        public static void nnk_menubar_begin​(long ctx)
        Unsafe version of: menubar_begin
      • nk_menubar_begin

        public static void nk_menubar_begin​(NkContext ctx)
        Parameters:
        ctx - the nuklear context
      • nnk_menubar_end

        public static void nnk_menubar_end​(long ctx)
        Unsafe version of: menubar_end
      • nk_menubar_end

        public static void nk_menubar_end​(NkContext ctx)
        Parameters:
        ctx - the nuklear context
      • nnk_menu_begin_text

        public static int nnk_menu_begin_text​(long ctx,
                                              long text,
                                              int len,
                                              int align,
                                              long size)
        Unsafe version of: menu_begin_text
      • nk_menu_begin_text

        public static boolean nk_menu_begin_text​(NkContext ctx,
                                                 java.nio.ByteBuffer text,
                                                 int align,
                                                 NkVec2 size)
        
        public static boolean nk_menu_begin_text​(NkContext ctx,
                                                 java.lang.CharSequence text,
                                                 int align,
                                                 NkVec2 size)
        
        Parameters:
        ctx - the nuklear context
        align - one of:
        TEXT_LEFTTEXT_CENTEREDTEXT_RIGHT
      • nnk_menu_begin_label

        public static int nnk_menu_begin_label​(long ctx,
                                               long text,
                                               int align,
                                               long size)
        Unsafe version of: menu_begin_label
      • nk_menu_begin_label

        public static boolean nk_menu_begin_label​(NkContext ctx,
                                                  java.nio.ByteBuffer text,
                                                  int align,
                                                  NkVec2 size)
        
        public static boolean nk_menu_begin_label​(NkContext ctx,
                                                  java.lang.CharSequence text,
                                                  int align,
                                                  NkVec2 size)
        
        Parameters:
        ctx - the nuklear context
        align - one of:
        TEXT_LEFTTEXT_CENTEREDTEXT_RIGHT
      • nnk_menu_begin_image

        public static int nnk_menu_begin_image​(long ctx,
                                               long text,
                                               long img,
                                               long size)
        Unsafe version of: menu_begin_image
      • nk_menu_begin_image

        public static boolean nk_menu_begin_image​(NkContext ctx,
                                                  java.nio.ByteBuffer text,
                                                  NkImage img,
                                                  NkVec2 size)
        
        public static boolean nk_menu_begin_image​(NkContext ctx,
                                                  java.lang.CharSequence text,
                                                  NkImage img,
                                                  NkVec2 size)
        
        Parameters:
        ctx - the nuklear context
      • nnk_menu_begin_image_text

        public static int nnk_menu_begin_image_text​(long ctx,
                                                    long text,
                                                    int len,
                                                    int align,
                                                    long img,
                                                    long size)
        Unsafe version of: menu_begin_image_text
      • nk_menu_begin_image_text

        public static boolean nk_menu_begin_image_text​(NkContext ctx,
                                                       java.nio.ByteBuffer text,
                                                       int align,
                                                       NkImage img,
                                                       NkVec2 size)
        
        public static boolean nk_menu_begin_image_text​(NkContext ctx,
                                                       java.lang.CharSequence text,
                                                       int align,
                                                       NkImage img,
                                                       NkVec2 size)
        
        Parameters:
        ctx - the nuklear context
        align - one of:
        TEXT_LEFTTEXT_CENTEREDTEXT_RIGHT
      • nnk_menu_begin_image_label

        public static int nnk_menu_begin_image_label​(long ctx,
                                                     long text,
                                                     int align,
                                                     long img,
                                                     long size)
        Unsafe version of: menu_begin_image_label
      • nk_menu_begin_image_label

        public static boolean nk_menu_begin_image_label​(NkContext ctx,
                                                        java.nio.ByteBuffer text,
                                                        int align,
                                                        NkImage img,
                                                        NkVec2 size)
        
        public static boolean nk_menu_begin_image_label​(NkContext ctx,
                                                        java.lang.CharSequence text,
                                                        int align,
                                                        NkImage img,
                                                        NkVec2 size)
        
        Parameters:
        ctx - the nuklear context
        align - one of:
        TEXT_LEFTTEXT_CENTEREDTEXT_RIGHT
      • nnk_menu_begin_symbol

        public static int nnk_menu_begin_symbol​(long ctx,
                                                long text,
                                                int symbol,
                                                long size)
        Unsafe version of: menu_begin_symbol
      • nnk_menu_begin_symbol_text

        public static int nnk_menu_begin_symbol_text​(long ctx,
                                                     long text,
                                                     int len,
                                                     int align,
                                                     int symbol,
                                                     long size)
        Unsafe version of: menu_begin_symbol_text
      • nnk_menu_begin_symbol_label

        public static int nnk_menu_begin_symbol_label​(long ctx,
                                                      long text,
                                                      int align,
                                                      int symbol,
                                                      long size)
        Unsafe version of: menu_begin_symbol_label
      • nnk_menu_item_text

        public static int nnk_menu_item_text​(long ctx,
                                             long text,
                                             int len,
                                             int align)
        Unsafe version of: menu_item_text
      • nk_menu_item_text

        public static boolean nk_menu_item_text​(NkContext ctx,
                                                java.nio.ByteBuffer text,
                                                int align)
        
        public static boolean nk_menu_item_text​(NkContext ctx,
                                                java.lang.CharSequence text,
                                                int align)
        
        Parameters:
        ctx - the nuklear context
        align - one of:
        TEXT_LEFTTEXT_CENTEREDTEXT_RIGHT
      • nnk_menu_item_label

        public static int nnk_menu_item_label​(long ctx,
                                              long text,
                                              int alignment)
        Unsafe version of: menu_item_label
      • nk_menu_item_label

        public static boolean nk_menu_item_label​(NkContext ctx,
                                                 java.nio.ByteBuffer text,
                                                 int alignment)
        
        public static boolean nk_menu_item_label​(NkContext ctx,
                                                 java.lang.CharSequence text,
                                                 int alignment)
        
        Parameters:
        ctx - the nuklear context
        alignment - one of:
        TEXT_LEFTTEXT_CENTEREDTEXT_RIGHT
      • nnk_menu_item_image_label

        public static int nnk_menu_item_image_label​(long ctx,
                                                    long img,
                                                    long text,
                                                    int alignment)
        Unsafe version of: menu_item_image_label
      • nk_menu_item_image_label

        public static boolean nk_menu_item_image_label​(NkContext ctx,
                                                       NkImage img,
                                                       java.nio.ByteBuffer text,
                                                       int alignment)
        
        public static boolean nk_menu_item_image_label​(NkContext ctx,
                                                       NkImage img,
                                                       java.lang.CharSequence text,
                                                       int alignment)
        
        Parameters:
        ctx - the nuklear context
        alignment - one of:
        TEXT_LEFTTEXT_CENTEREDTEXT_RIGHT
      • nnk_menu_item_image_text

        public static int nnk_menu_item_image_text​(long ctx,
                                                   long img,
                                                   long text,
                                                   int len,
                                                   int alignment)
        Unsafe version of: menu_item_image_text
      • nk_menu_item_image_text

        public static boolean nk_menu_item_image_text​(NkContext ctx,
                                                      NkImage img,
                                                      java.nio.ByteBuffer text,
                                                      int alignment)
        
        public static boolean nk_menu_item_image_text​(NkContext ctx,
                                                      NkImage img,
                                                      java.lang.CharSequence text,
                                                      int alignment)
        
        Parameters:
        ctx - the nuklear context
        alignment - one of:
        TEXT_LEFTTEXT_CENTEREDTEXT_RIGHT
      • nnk_menu_item_symbol_text

        public static int nnk_menu_item_symbol_text​(long ctx,
                                                    int symbol,
                                                    long text,
                                                    int len,
                                                    int alignment)
        Unsafe version of: menu_item_symbol_text
      • nnk_menu_item_symbol_label

        public static int nnk_menu_item_symbol_label​(long ctx,
                                                     int symbol,
                                                     long text,
                                                     int alignment)
        Unsafe version of: menu_item_symbol_label
      • nnk_menu_close

        public static void nnk_menu_close​(long ctx)
        Unsafe version of: menu_close
      • nk_menu_close

        public static void nk_menu_close​(NkContext ctx)
        Parameters:
        ctx - the nuklear context
      • nnk_menu_end

        public static void nnk_menu_end​(long ctx)
        Unsafe version of: menu_end
      • nk_menu_end

        public static void nk_menu_end​(NkContext ctx)
        Parameters:
        ctx - the nuklear context
      • nnk_convert

        public static int nnk_convert​(long ctx,
                                      long cmds,
                                      long vertices,
                                      long elements,
                                      long config)
        Unsafe version of: convert
      • nk_convert

        public static int nk_convert​(NkContext ctx,
                                     NkBuffer cmds,
                                     NkBuffer vertices,
                                     NkBuffer elements,
                                     NkConvertConfig config)
        Converts from the abstract draw commands list into a hardware accessable vertex format.
        Parameters:
        ctx - the nuklear context
      • nnk_input_begin

        public static void nnk_input_begin​(long ctx)
        Unsafe version of: input_begin
      • nk_input_begin

        public static void nk_input_begin​(NkContext ctx)
        Begins the input mirroring process by resetting text, scroll, mouse, previous mouse position and movement as well as key state transitions.
        Parameters:
        ctx - the nuklear context
      • nnk_input_motion

        public static void nnk_input_motion​(long ctx,
                                            int x,
                                            int y)
        Unsafe version of: input_motion
      • nk_input_motion

        public static void nk_input_motion​(NkContext ctx,
                                           int x,
                                           int y)
        Mirrors current mouse position to nuklear.
        Parameters:
        ctx - the nuklear context
      • nnk_input_key

        public static void nnk_input_key​(long ctx,
                                         int key,
                                         int down)
        Unsafe version of: input_key
      • nnk_input_button

        public static void nnk_input_button​(long ctx,
                                            int id,
                                            int x,
                                            int y,
                                            int down)
        Unsafe version of: input_button
      • nnk_input_scroll

        public static void nnk_input_scroll​(long ctx,
                                            long val)
        Unsafe version of: input_scroll
      • nk_input_scroll

        public static void nk_input_scroll​(NkContext ctx,
                                           NkVec2 val)
        Copies the last mouse scroll value to nuklear. Is generally a scroll value. So does not have to come from mouse and could also originate from touch for example.
        Parameters:
        ctx - the nuklear context
        val - vector with both X- as well as Y-scroll value
      • nnk_input_char

        public static void nnk_input_char​(long ctx,
                                          byte c)
        Unsafe version of: input_char
      • nk_input_char

        public static void nk_input_char​(NkContext ctx,
                                         byte c)
        Adds a single ASCII text character into an internal text buffer.
        Parameters:
        ctx - the nuklear context
      • nnk_input_glyph

        public static void nnk_input_glyph​(long ctx,
                                           long glyph)
        Unsafe version of: input_glyph
      • nk_input_glyph

        public static void nk_input_glyph​(NkContext ctx,
                                          java.nio.ByteBuffer glyph)
        Adds a single multi-byte UTF-8 character into an internal text buffer.
        Parameters:
        ctx - the nuklear context
      • nnk_input_unicode

        public static void nnk_input_unicode​(long ctx,
                                             int unicode)
        Unsafe version of: input_unicode
      • nk_input_unicode

        public static void nk_input_unicode​(NkContext ctx,
                                            int unicode)
        Adds a single unicode rune into an internal text buffer.
        Parameters:
        ctx - the nuklear context
      • nnk_input_end

        public static void nnk_input_end​(long ctx)
        Unsafe version of: input_end
      • nk_input_end

        public static void nk_input_end​(NkContext ctx)
        Ends the input mirroring process by calculating state changes. Don't call any nk_input_xxx function referenced above after this call.
        Parameters:
        ctx - the nuklear context
      • nnk_style_default

        public static void nnk_style_default​(long ctx)
        Unsafe version of: style_default
      • nk_style_default

        public static void nk_style_default​(NkContext ctx)
        Parameters:
        ctx - the nuklear context
      • nnk_style_from_table

        public static void nnk_style_from_table​(long ctx,
                                                long table)
        Unsafe version of: style_from_table
      • nk_style_from_table

        public static void nk_style_from_table​(NkContext ctx,
                                               NkColor.Buffer table)
        Parameters:
        ctx - the nuklear context
      • nnk_style_load_cursor

        public static void nnk_style_load_cursor​(long ctx,
                                                 int style,
                                                 long cursor)
        Unsafe version of: style_load_cursor
      • nnk_style_load_all_cursors

        public static void nnk_style_load_all_cursors​(long ctx,
                                                      long cursors)
        Unsafe version of: style_load_all_cursors
      • nk_style_load_all_cursors

        public static void nk_style_load_all_cursors​(NkContext ctx,
                                                     NkCursor.Buffer cursors)
        Parameters:
        ctx - the nuklear context
      • nnk_style_get_color_by_name

        public static long nnk_style_get_color_by_name​(int c)
        Unsafe version of: style_get_color_by_name
      • nnk_style_set_font

        public static void nnk_style_set_font​(long ctx,
                                              long font)
        Unsafe version of: style_set_font
      • nk_style_set_font

        public static void nk_style_set_font​(NkContext ctx,
                                             NkUserFont font)
        Parameters:
        ctx - the nuklear context
      • nnk_style_set_cursor

        public static int nnk_style_set_cursor​(long ctx,
                                               int style)
        Unsafe version of: style_set_cursor
      • nnk_style_show_cursor

        public static void nnk_style_show_cursor​(long ctx)
        Unsafe version of: style_show_cursor
      • nk_style_show_cursor

        public static void nk_style_show_cursor​(NkContext ctx)
        Parameters:
        ctx - the nuklear context
      • nnk_style_hide_cursor

        public static void nnk_style_hide_cursor​(long ctx)
        Unsafe version of: style_hide_cursor
      • nk_style_hide_cursor

        public static void nk_style_hide_cursor​(NkContext ctx)
        Parameters:
        ctx - the nuklear context
      • nnk_style_push_font

        public static int nnk_style_push_font​(long ctx,
                                              long font)
        Unsafe version of: style_push_font
      • nk_style_push_font

        public static int nk_style_push_font​(NkContext ctx,
                                             NkUserFont font)
        Parameters:
        ctx - the nuklear context
      • nnk_style_push_float

        public static int nnk_style_push_float​(long ctx,
                                               long address,
                                               float value)
        Unsafe version of: style_push_float
      • nk_style_push_float

        public static int nk_style_push_float​(NkContext ctx,
                                              java.nio.FloatBuffer address,
                                              float value)
        Parameters:
        ctx - the nuklear context
      • nnk_style_push_vec2

        public static int nnk_style_push_vec2​(long ctx,
                                              long address,
                                              long value)
        Unsafe version of: style_push_vec2
      • nk_style_push_vec2

        public static int nk_style_push_vec2​(NkContext ctx,
                                             NkVec2 address,
                                             NkVec2 value)
        Parameters:
        ctx - the nuklear context
      • nnk_style_push_style_item

        public static int nnk_style_push_style_item​(long ctx,
                                                    long address,
                                                    long value)
        Unsafe version of: style_push_style_item
      • nk_style_push_style_item

        public static int nk_style_push_style_item​(NkContext ctx,
                                                   NkStyleItem address,
                                                   NkStyleItem value)
        Parameters:
        ctx - the nuklear context
      • nnk_style_push_flags

        public static int nnk_style_push_flags​(long ctx,
                                               long address,
                                               int value)
        Unsafe version of: style_push_flags
      • nk_style_push_flags

        public static int nk_style_push_flags​(NkContext ctx,
                                              java.nio.IntBuffer address,
                                              int value)
        Parameters:
        ctx - the nuklear context
      • nnk_style_push_color

        public static int nnk_style_push_color​(long ctx,
                                               long address,
                                               long value)
        Unsafe version of: style_push_color
      • nk_style_push_color

        public static int nk_style_push_color​(NkContext ctx,
                                              NkColor address,
                                              NkColor value)
        Parameters:
        ctx - the nuklear context
      • nnk_style_pop_font

        public static int nnk_style_pop_font​(long ctx)
        Unsafe version of: style_pop_font
      • nk_style_pop_font

        public static int nk_style_pop_font​(NkContext ctx)
        Parameters:
        ctx - the nuklear context
      • nnk_style_pop_float

        public static int nnk_style_pop_float​(long ctx)
        Unsafe version of: style_pop_float
      • nk_style_pop_float

        public static int nk_style_pop_float​(NkContext ctx)
        Parameters:
        ctx - the nuklear context
      • nnk_style_pop_vec2

        public static int nnk_style_pop_vec2​(long ctx)
        Unsafe version of: style_pop_vec2
      • nk_style_pop_vec2

        public static int nk_style_pop_vec2​(NkContext ctx)
        Parameters:
        ctx - the nuklear context
      • nnk_style_pop_style_item

        public static int nnk_style_pop_style_item​(long ctx)
        Unsafe version of: style_pop_style_item
      • nk_style_pop_style_item

        public static int nk_style_pop_style_item​(NkContext ctx)
        Parameters:
        ctx - the nuklear context
      • nnk_style_pop_flags

        public static int nnk_style_pop_flags​(long ctx)
        Unsafe version of: style_pop_flags
      • nk_style_pop_flags

        public static int nk_style_pop_flags​(NkContext ctx)
        Parameters:
        ctx - the nuklear context
      • nnk_style_pop_color

        public static int nnk_style_pop_color​(long ctx)
        Unsafe version of: style_pop_color
      • nk_style_pop_color

        public static int nk_style_pop_color​(NkContext ctx)
        Parameters:
        ctx - the nuklear context
      • nnk_widget_bounds

        public static void nnk_widget_bounds​(long ctx,
                                             long __result)
        Unsafe version of: widget_bounds
      • nk_widget_bounds

        public static NkRect nk_widget_bounds​(NkContext ctx,
                                              NkRect __result)
        Parameters:
        ctx - the nuklear context
      • nnk_widget_position

        public static void nnk_widget_position​(long ctx,
                                               long __result)
        Unsafe version of: widget_position
      • nk_widget_position

        public static NkVec2 nk_widget_position​(NkContext ctx,
                                                NkVec2 __result)
        Parameters:
        ctx - the nuklear context
      • nnk_widget_size

        public static void nnk_widget_size​(long ctx,
                                           long __result)
        Unsafe version of: widget_size
      • nk_widget_size

        public static NkVec2 nk_widget_size​(NkContext ctx,
                                            NkVec2 __result)
        Parameters:
        ctx - the nuklear context
      • nnk_widget_width

        public static float nnk_widget_width​(long ctx)
        Unsafe version of: widget_width
      • nk_widget_width

        public static float nk_widget_width​(NkContext ctx)
        Parameters:
        ctx - the nuklear context
      • nnk_widget_height

        public static float nnk_widget_height​(long ctx)
        Unsafe version of: widget_height
      • nk_widget_height

        public static float nk_widget_height​(NkContext ctx)
        Parameters:
        ctx - the nuklear context
      • nnk_widget_is_hovered

        public static int nnk_widget_is_hovered​(long ctx)
        Unsafe version of: widget_is_hovered
      • nk_widget_is_hovered

        public static boolean nk_widget_is_hovered​(NkContext ctx)
        Parameters:
        ctx - the nuklear context
      • nnk_widget_is_mouse_clicked

        public static int nnk_widget_is_mouse_clicked​(long ctx,
                                                      int btn)
        Unsafe version of: widget_is_mouse_clicked
      • nk_widget_is_mouse_clicked

        public static boolean nk_widget_is_mouse_clicked​(NkContext ctx,
                                                         int btn)
        Parameters:
        ctx - the nuklear context
      • nnk_widget_has_mouse_click_down

        public static int nnk_widget_has_mouse_click_down​(long ctx,
                                                          int btn,
                                                          int down)
        Unsafe version of: widget_has_mouse_click_down
      • nnk_spacing

        public static void nnk_spacing​(long ctx,
                                       int cols)
        Unsafe version of: spacing
      • nk_spacing

        public static void nk_spacing​(NkContext ctx,
                                      int cols)
        Parameters:
        ctx - the nuklear context
      • nnk_widget

        public static int nnk_widget​(long bounds,
                                     long ctx)
        Unsafe version of: widget
      • nk_widget

        public static int nk_widget​(NkRect bounds,
                                    NkContext ctx)
        Parameters:
        ctx - the nuklear context
      • nnk_widget_fitting

        public static int nnk_widget_fitting​(long bounds,
                                             long ctx,
                                             long item_padding)
        Unsafe version of: widget_fitting
      • nk_widget_fitting

        public static int nk_widget_fitting​(NkRect bounds,
                                            NkContext ctx,
                                            NkVec2 item_padding)
        Parameters:
        ctx - the nuklear context
      • nnk_rgb

        public static void nnk_rgb​(int r,
                                   int g,
                                   int b,
                                   long __result)
      • nk_rgb

        public static NkColor nk_rgb​(int r,
                                     int g,
                                     int b,
                                     NkColor __result)
      • nnk_rgb_iv

        public static void nnk_rgb_iv​(long rgb,
                                      long __result)
      • nk_rgb_iv

        public static NkColor nk_rgb_iv​(java.nio.IntBuffer rgb,
                                        NkColor __result)
      • nnk_rgb_bv

        public static void nnk_rgb_bv​(long rgb,
                                      long __result)
      • nk_rgb_bv

        public static NkColor nk_rgb_bv​(java.nio.ByteBuffer rgb,
                                        NkColor __result)
      • nnk_rgb_f

        public static void nnk_rgb_f​(float r,
                                     float g,
                                     float b,
                                     long __result)
      • nk_rgb_f

        public static NkColor nk_rgb_f​(float r,
                                       float g,
                                       float b,
                                       NkColor __result)
      • nnk_rgb_fv

        public static void nnk_rgb_fv​(long rgb,
                                      long __result)
      • nk_rgb_fv

        public static NkColor nk_rgb_fv​(java.nio.FloatBuffer rgb,
                                        NkColor __result)
      • nnk_rgb_cf

        public static void nnk_rgb_cf​(long c,
                                      long __result)
      • nnk_rgb_hex

        public static void nnk_rgb_hex​(long rgb,
                                       long __result)
      • nk_rgb_hex

        public static NkColor nk_rgb_hex​(java.nio.ByteBuffer rgb,
                                         NkColor __result)
      • nk_rgb_hex

        public static NkColor nk_rgb_hex​(java.lang.CharSequence rgb,
                                         NkColor __result)
      • nnk_rgba

        public static void nnk_rgba​(int r,
                                    int g,
                                    int b,
                                    int a,
                                    long __result)
      • nk_rgba

        public static NkColor nk_rgba​(int r,
                                      int g,
                                      int b,
                                      int a,
                                      NkColor __result)
      • nnk_rgba_u32

        public static void nnk_rgba_u32​(int in,
                                        long __result)
      • nk_rgba_u32

        public static NkColor nk_rgba_u32​(int in,
                                          NkColor __result)
      • nnk_rgba_iv

        public static void nnk_rgba_iv​(long rgba,
                                       long __result)
      • nk_rgba_iv

        public static NkColor nk_rgba_iv​(java.nio.IntBuffer rgba,
                                         NkColor __result)
      • nnk_rgba_bv

        public static void nnk_rgba_bv​(long rgba,
                                       long __result)
      • nk_rgba_bv

        public static NkColor nk_rgba_bv​(java.nio.ByteBuffer rgba,
                                         NkColor __result)
      • nnk_rgba_f

        public static void nnk_rgba_f​(float r,
                                      float g,
                                      float b,
                                      float a,
                                      long __result)
      • nk_rgba_f

        public static NkColor nk_rgba_f​(float r,
                                        float g,
                                        float b,
                                        float a,
                                        NkColor __result)
      • nnk_rgba_fv

        public static void nnk_rgba_fv​(long rgba,
                                       long __result)
      • nk_rgba_fv

        public static NkColor nk_rgba_fv​(java.nio.FloatBuffer rgba,
                                         NkColor __result)
      • nnk_rgba_cf

        public static void nnk_rgba_cf​(long c,
                                       long __result)
      • nnk_rgba_hex

        public static void nnk_rgba_hex​(long rgba,
                                        long __result)
      • nk_rgba_hex

        public static NkColor nk_rgba_hex​(java.nio.ByteBuffer rgba,
                                          NkColor __result)
      • nk_rgba_hex

        public static NkColor nk_rgba_hex​(java.lang.CharSequence rgba,
                                          NkColor __result)
      • nnk_hsva_colorf

        public static void nnk_hsva_colorf​(float h,
                                           float s,
                                           float v,
                                           float a,
                                           long __result)
      • nk_hsva_colorf

        public static NkColorf nk_hsva_colorf​(float h,
                                              float s,
                                              float v,
                                              float a,
                                              NkColorf __result)
      • nnk_hsva_colorfv

        public static void nnk_hsva_colorfv​(long c,
                                            long __result)
      • nk_hsva_colorfv

        public static NkColorf nk_hsva_colorfv​(java.nio.FloatBuffer c,
                                               NkColorf __result)
      • nnk_colorf_hsva_f

        public static void nnk_colorf_hsva_f​(long out_h,
                                             long out_s,
                                             long out_v,
                                             long out_a,
                                             long in)
      • nk_colorf_hsva_f

        public static void nk_colorf_hsva_f​(java.nio.FloatBuffer out_h,
                                            java.nio.FloatBuffer out_s,
                                            java.nio.FloatBuffer out_v,
                                            java.nio.FloatBuffer out_a,
                                            NkColorf in)
      • nnk_colorf_hsva_fv

        public static void nnk_colorf_hsva_fv​(long hsva,
                                              long in)
      • nk_colorf_hsva_fv

        public static void nk_colorf_hsva_fv​(java.nio.FloatBuffer hsva,
                                             NkColorf in)
      • nnk_hsv

        public static void nnk_hsv​(int h,
                                   int s,
                                   int v,
                                   long __result)
      • nk_hsv

        public static NkColor nk_hsv​(int h,
                                     int s,
                                     int v,
                                     NkColor __result)
      • nnk_hsv_iv

        public static void nnk_hsv_iv​(long hsv,
                                      long __result)
      • nk_hsv_iv

        public static NkColor nk_hsv_iv​(java.nio.IntBuffer hsv,
                                        NkColor __result)
      • nnk_hsv_bv

        public static void nnk_hsv_bv​(long hsv,
                                      long __result)
      • nk_hsv_bv

        public static NkColor nk_hsv_bv​(java.nio.ByteBuffer hsv,
                                        NkColor __result)
      • nnk_hsv_f

        public static void nnk_hsv_f​(float h,
                                     float s,
                                     float v,
                                     long __result)
      • nk_hsv_f

        public static NkColor nk_hsv_f​(float h,
                                       float s,
                                       float v,
                                       NkColor __result)
      • nnk_hsv_fv

        public static void nnk_hsv_fv​(long hsv,
                                      long __result)
      • nk_hsv_fv

        public static NkColor nk_hsv_fv​(java.nio.FloatBuffer hsv,
                                        NkColor __result)
      • nnk_hsva

        public static void nnk_hsva​(int h,
                                    int s,
                                    int v,
                                    int a,
                                    long __result)
      • nk_hsva

        public static NkColor nk_hsva​(int h,
                                      int s,
                                      int v,
                                      int a,
                                      NkColor __result)
      • nnk_hsva_iv

        public static void nnk_hsva_iv​(long hsva,
                                       long __result)
      • nk_hsva_iv

        public static NkColor nk_hsva_iv​(java.nio.IntBuffer hsva,
                                         NkColor __result)
      • nnk_hsva_bv

        public static void nnk_hsva_bv​(long hsva,
                                       long __result)
      • nk_hsva_bv

        public static NkColor nk_hsva_bv​(java.nio.ByteBuffer hsva,
                                         NkColor __result)
      • nnk_hsva_f

        public static void nnk_hsva_f​(float h,
                                      float s,
                                      float v,
                                      float a,
                                      long __result)
      • nk_hsva_f

        public static NkColor nk_hsva_f​(float h,
                                        float s,
                                        float v,
                                        float a,
                                        NkColor __result)
      • nnk_hsva_fv

        public static void nnk_hsva_fv​(long hsva,
                                       long __result)
      • nk_hsva_fv

        public static NkColor nk_hsva_fv​(java.nio.FloatBuffer hsva,
                                         NkColor __result)
      • nnk_color_f

        public static void nnk_color_f​(long r,
                                       long g,
                                       long b,
                                       long a,
                                       long color)
      • nk_color_f

        public static void nk_color_f​(java.nio.FloatBuffer r,
                                      java.nio.FloatBuffer g,
                                      java.nio.FloatBuffer b,
                                      java.nio.FloatBuffer a,
                                      NkColor color)
      • nnk_color_fv

        public static void nnk_color_fv​(long rgba_out,
                                        long color)
      • nk_color_fv

        public static void nk_color_fv​(java.nio.FloatBuffer rgba_out,
                                       NkColor color)
      • nnk_color_cf

        public static void nnk_color_cf​(long color,
                                        long __result)
      • nnk_color_d

        public static void nnk_color_d​(long r,
                                       long g,
                                       long b,
                                       long a,
                                       long color)
      • nk_color_d

        public static void nk_color_d​(java.nio.DoubleBuffer r,
                                      java.nio.DoubleBuffer g,
                                      java.nio.DoubleBuffer b,
                                      java.nio.DoubleBuffer a,
                                      NkColor color)
      • nnk_color_dv

        public static void nnk_color_dv​(long rgba_out,
                                        long color)
      • nk_color_dv

        public static void nk_color_dv​(java.nio.DoubleBuffer rgba_out,
                                       NkColor color)
      • nnk_color_u32

        public static int nnk_color_u32​(long color)
      • nk_color_u32

        public static int nk_color_u32​(NkColor color)
      • nnk_color_hex_rgba

        public static void nnk_color_hex_rgba​(long output,
                                              long color)
      • nk_color_hex_rgba

        public static void nk_color_hex_rgba​(java.nio.ByteBuffer output,
                                             NkColor color)
      • nnk_color_hex_rgb

        public static void nnk_color_hex_rgb​(long output,
                                             long color)
      • nk_color_hex_rgb

        public static void nk_color_hex_rgb​(java.nio.ByteBuffer output,
                                            NkColor color)
      • nnk_color_hsv_i

        public static void nnk_color_hsv_i​(long out_h,
                                           long out_s,
                                           long out_v,
                                           long color)
      • nk_color_hsv_i

        public static void nk_color_hsv_i​(java.nio.IntBuffer out_h,
                                          java.nio.IntBuffer out_s,
                                          java.nio.IntBuffer out_v,
                                          NkColor color)
      • nnk_color_hsv_b

        public static void nnk_color_hsv_b​(long out_h,
                                           long out_s,
                                           long out_v,
                                           long color)
      • nk_color_hsv_b

        public static void nk_color_hsv_b​(java.nio.ByteBuffer out_h,
                                          java.nio.ByteBuffer out_s,
                                          java.nio.ByteBuffer out_v,
                                          NkColor color)
      • nnk_color_hsv_iv

        public static void nnk_color_hsv_iv​(long hsv_out,
                                            long color)
      • nk_color_hsv_iv

        public static void nk_color_hsv_iv​(java.nio.IntBuffer hsv_out,
                                           NkColor color)
      • nnk_color_hsv_bv

        public static void nnk_color_hsv_bv​(long hsv_out,
                                            long color)
      • nk_color_hsv_bv

        public static void nk_color_hsv_bv​(java.nio.ByteBuffer hsv_out,
                                           NkColor color)
      • nnk_color_hsv_f

        public static void nnk_color_hsv_f​(long out_h,
                                           long out_s,
                                           long out_v,
                                           long color)
      • nk_color_hsv_f

        public static void nk_color_hsv_f​(java.nio.FloatBuffer out_h,
                                          java.nio.FloatBuffer out_s,
                                          java.nio.FloatBuffer out_v,
                                          NkColor color)
      • nnk_color_hsv_fv

        public static void nnk_color_hsv_fv​(long hsv_out,
                                            long color)
      • nk_color_hsv_fv

        public static void nk_color_hsv_fv​(java.nio.FloatBuffer hsv_out,
                                           NkColor color)
      • nnk_color_hsva_i

        public static void nnk_color_hsva_i​(long h,
                                            long s,
                                            long v,
                                            long a,
                                            long color)
      • nk_color_hsva_i

        public static void nk_color_hsva_i​(java.nio.IntBuffer h,
                                           java.nio.IntBuffer s,
                                           java.nio.IntBuffer v,
                                           java.nio.IntBuffer a,
                                           NkColor color)
      • nnk_color_hsva_b

        public static void nnk_color_hsva_b​(long h,
                                            long s,
                                            long v,
                                            long a,
                                            long color)
      • nk_color_hsva_b

        public static void nk_color_hsva_b​(java.nio.ByteBuffer h,
                                           java.nio.ByteBuffer s,
                                           java.nio.ByteBuffer v,
                                           java.nio.ByteBuffer a,
                                           NkColor color)
      • nnk_color_hsva_iv

        public static void nnk_color_hsva_iv​(long hsva_out,
                                             long color)
      • nk_color_hsva_iv

        public static void nk_color_hsva_iv​(java.nio.IntBuffer hsva_out,
                                            NkColor color)
      • nnk_color_hsva_bv

        public static void nnk_color_hsva_bv​(long hsva_out,
                                             long color)
      • nk_color_hsva_bv

        public static void nk_color_hsva_bv​(java.nio.ByteBuffer hsva_out,
                                            NkColor color)
      • nnk_color_hsva_f

        public static void nnk_color_hsva_f​(long out_h,
                                            long out_s,
                                            long out_v,
                                            long out_a,
                                            long color)
      • nk_color_hsva_f

        public static void nk_color_hsva_f​(java.nio.FloatBuffer out_h,
                                           java.nio.FloatBuffer out_s,
                                           java.nio.FloatBuffer out_v,
                                           java.nio.FloatBuffer out_a,
                                           NkColor color)
      • nnk_color_hsva_fv

        public static void nnk_color_hsva_fv​(long hsva_out,
                                             long color)
      • nk_color_hsva_fv

        public static void nk_color_hsva_fv​(java.nio.FloatBuffer hsva_out,
                                            NkColor color)
      • nnk_handle_ptr

        public static void nnk_handle_ptr​(long ptr,
                                          long __result)
      • nk_handle_ptr

        public static NkHandle nk_handle_ptr​(long ptr,
                                             NkHandle __result)
      • nnk_handle_id

        public static void nnk_handle_id​(int id,
                                         long __result)
      • nk_handle_id

        public static NkHandle nk_handle_id​(int id,
                                            NkHandle __result)
      • nnk_image_handle

        public static void nnk_image_handle​(long handle,
                                            long __result)
      • nnk_image_ptr

        public static void nnk_image_ptr​(long ptr,
                                         long __result)
      • nk_image_ptr

        public static NkImage nk_image_ptr​(long ptr,
                                           NkImage __result)
      • nnk_image_id

        public static void nnk_image_id​(int id,
                                        long __result)
      • nk_image_id

        public static NkImage nk_image_id​(int id,
                                          NkImage __result)
      • nnk_image_is_subimage

        public static int nnk_image_is_subimage​(long img)
      • nk_image_is_subimage

        public static boolean nk_image_is_subimage​(NkImage img)
      • nnk_subimage_ptr

        public static void nnk_subimage_ptr​(long ptr,
                                            short w,
                                            short h,
                                            long sub_region,
                                            long __result)
      • nk_subimage_ptr

        public static NkImage nk_subimage_ptr​(long ptr,
                                              short w,
                                              short h,
                                              NkRect sub_region,
                                              NkImage __result)
      • nnk_subimage_id

        public static void nnk_subimage_id​(int id,
                                           short w,
                                           short h,
                                           long sub_region,
                                           long __result)
      • nk_subimage_id

        public static NkImage nk_subimage_id​(int id,
                                             short w,
                                             short h,
                                             NkRect sub_region,
                                             NkImage __result)
      • nnk_subimage_handle

        public static void nnk_subimage_handle​(long handle,
                                               short w,
                                               short h,
                                               long sub_region,
                                               long __result)
      • nk_subimage_handle

        public static NkImage nk_subimage_handle​(NkHandle handle,
                                                 short w,
                                                 short h,
                                                 NkRect sub_region,
                                                 NkImage __result)
      • nnk_murmur_hash

        public static int nnk_murmur_hash​(long key,
                                          int len,
                                          int seed)
      • nk_murmur_hash

        public static int nk_murmur_hash​(java.nio.ByteBuffer key,
                                         int seed)
      • nnk_triangle_from_direction

        public static void nnk_triangle_from_direction​(long result,
                                                       long r,
                                                       float pad_x,
                                                       float pad_y,
                                                       int direction)
        Unsafe version of: triangle_from_direction
      • nk_triangle_from_direction

        public static void nk_triangle_from_direction​(NkVec2 result,
                                                      NkRect r,
                                                      float pad_x,
                                                      float pad_y,
                                                      int direction)
        Parameters:
        direction - one of:
        UPRIGHTDOWNLEFT
      • nnk_vec2

        public static void nnk_vec2​(float x,
                                    float y,
                                    long __result)
      • nk_vec2

        public static NkVec2 nk_vec2​(float x,
                                     float y,
                                     NkVec2 __result)
      • nnk_vec2i

        public static void nnk_vec2i​(int x,
                                     int y,
                                     long __result)
      • nk_vec2i

        public static NkVec2 nk_vec2i​(int x,
                                      int y,
                                      NkVec2 __result)
      • nnk_vec2v

        public static void nnk_vec2v​(long xy,
                                     long __result)
      • nk_vec2v

        public static NkVec2 nk_vec2v​(java.nio.FloatBuffer xy,
                                      NkVec2 __result)
      • nnk_vec2iv

        public static void nnk_vec2iv​(long xy,
                                      long __result)
      • nk_vec2iv

        public static NkVec2 nk_vec2iv​(java.nio.IntBuffer xy,
                                       NkVec2 __result)
      • nnk_get_null_rect

        public static void nnk_get_null_rect​(long __result)
      • nk_get_null_rect

        public static NkRect nk_get_null_rect​(NkRect __result)
      • nnk_rect

        public static void nnk_rect​(float x,
                                    float y,
                                    float w,
                                    float h,
                                    long __result)
      • nk_rect

        public static NkRect nk_rect​(float x,
                                     float y,
                                     float w,
                                     float h,
                                     NkRect __result)
      • nnk_recti

        public static void nnk_recti​(int x,
                                     int y,
                                     int w,
                                     int h,
                                     long __result)
      • nk_recti

        public static NkRect nk_recti​(int x,
                                      int y,
                                      int w,
                                      int h,
                                      NkRect __result)
      • nnk_recta

        public static void nnk_recta​(long pos,
                                     long size,
                                     long __result)
      • nnk_rectv

        public static void nnk_rectv​(long xywh,
                                     long __result)
      • nk_rectv

        public static NkRect nk_rectv​(java.nio.FloatBuffer xywh,
                                      NkRect __result)
      • nnk_rectiv

        public static void nnk_rectiv​(long xywh,
                                      long __result)
      • nk_rectiv

        public static NkRect nk_rectiv​(java.nio.IntBuffer xywh,
                                       NkRect __result)
      • nnk_rect_pos

        public static void nnk_rect_pos​(long r,
                                        long __result)
      • nnk_rect_size

        public static void nnk_rect_size​(long r,
                                         long __result)
      • nnk_strlen

        public static int nnk_strlen​(long str)
      • nk_strlen

        public static int nk_strlen​(java.nio.ByteBuffer str)
      • nk_strlen

        public static int nk_strlen​(java.lang.CharSequence str)
      • nnk_stricmp

        public static int nnk_stricmp​(long s1,
                                      long s2)
      • nk_stricmp

        public static int nk_stricmp​(java.nio.ByteBuffer s1,
                                     java.nio.ByteBuffer s2)
      • nk_stricmp

        public static int nk_stricmp​(java.lang.CharSequence s1,
                                     java.lang.CharSequence s2)
      • nnk_stricmpn

        public static int nnk_stricmpn​(long s1,
                                       long s2,
                                       int n)
      • nk_stricmpn

        public static int nk_stricmpn​(java.nio.ByteBuffer s1,
                                      java.nio.ByteBuffer s2,
                                      int n)
      • nk_stricmpn

        public static int nk_stricmpn​(java.lang.CharSequence s1,
                                      java.lang.CharSequence s2,
                                      int n)
      • nnk_strtoi

        public static int nnk_strtoi​(long str,
                                     long endptr)
      • nk_strtoi

        public static int nk_strtoi​(java.nio.ByteBuffer str,
                                    org.lwjgl.PointerBuffer endptr)
      • nk_strtoi

        public static int nk_strtoi​(java.lang.CharSequence str,
                                    org.lwjgl.PointerBuffer endptr)
      • nnk_strtof

        public static float nnk_strtof​(long str,
                                       long endptr)
      • nk_strtof

        public static float nk_strtof​(java.nio.ByteBuffer str,
                                      org.lwjgl.PointerBuffer endptr)
      • nk_strtof

        public static float nk_strtof​(java.lang.CharSequence str,
                                      org.lwjgl.PointerBuffer endptr)
      • nnk_strtod

        public static double nnk_strtod​(long str,
                                        long endptr)
      • nk_strtod

        public static double nk_strtod​(java.nio.ByteBuffer str,
                                       org.lwjgl.PointerBuffer endptr)
      • nk_strtod

        public static double nk_strtod​(java.lang.CharSequence str,
                                       org.lwjgl.PointerBuffer endptr)
      • nnk_strfilter

        public static int nnk_strfilter​(long str,
                                        long regexp)
        Unsafe version of: strfilter
      • nk_strfilter

        public static boolean nk_strfilter​(java.nio.ByteBuffer str,
                                           java.nio.ByteBuffer regexp)
        
        public static boolean nk_strfilter​(java.lang.CharSequence str,
                                           java.lang.CharSequence regexp)
        
        • c - matches any literal character c
        • . - matches any single character
        • ^ - matches the beginning of the input string
        • $ - matches the end of the input string
        • * - matches zero or more occurrences of the previous character
      • nnk_strmatch_fuzzy_string

        public static int nnk_strmatch_fuzzy_string​(long str,
                                                    long pattern,
                                                    long out_score)
        Unsafe version of: strmatch_fuzzy_string
      • nk_strmatch_fuzzy_string

        public static boolean nk_strmatch_fuzzy_string​(java.nio.ByteBuffer str,
                                                       java.nio.ByteBuffer pattern,
                                                       java.nio.IntBuffer out_score)
        
        public static boolean nk_strmatch_fuzzy_string​(java.lang.CharSequence str,
                                                       java.lang.CharSequence pattern,
                                                       java.nio.IntBuffer out_score)
        
        Returns true if each character in pattern is found sequentially within str if found then out_score is also set. Score value has no intrinsic meaning. Range varies with pattern. Can only compare scores with same search pattern.
      • nnk_strmatch_fuzzy_text

        public static int nnk_strmatch_fuzzy_text​(long txt,
                                                  int txt_len,
                                                  long pattern,
                                                  long out_score)
      • nk_strmatch_fuzzy_text

        public static int nk_strmatch_fuzzy_text​(java.nio.ByteBuffer txt,
                                                 java.nio.ByteBuffer pattern,
                                                 java.nio.IntBuffer out_score)
      • nk_strmatch_fuzzy_text

        public static int nk_strmatch_fuzzy_text​(java.lang.CharSequence txt,
                                                 java.lang.CharSequence pattern,
                                                 java.nio.IntBuffer out_score)
      • nnk_utf_decode

        public static int nnk_utf_decode​(long c,
                                         long u,
                                         int clen)
      • nk_utf_decode

        public static int nk_utf_decode​(java.nio.ByteBuffer c,
                                        java.nio.IntBuffer u)
      • nnk_utf_encode

        public static int nnk_utf_encode​(int u,
                                         long c,
                                         int clen)
      • nk_utf_encode

        public static int nk_utf_encode​(int u,
                                        java.nio.ByteBuffer c)
      • nnk_utf_len

        public static int nnk_utf_len​(long str,
                                      int byte_len)
      • nk_utf_len

        public static int nk_utf_len​(java.nio.ByteBuffer str)
      • nnk_utf_at

        public static long nnk_utf_at​(long buffer,
                                      int length,
                                      int index,
                                      long unicode,
                                      long len)
      • nk_utf_at

        @Nullable
        public static java.nio.ByteBuffer nk_utf_at​(java.nio.ByteBuffer buffer,
                                                    int index,
                                                    java.nio.IntBuffer unicode)
      • nnk_buffer_init

        public static void nnk_buffer_init​(long buffer,
                                           long allocator,
                                           long size)
      • nk_buffer_init

        public static void nk_buffer_init​(NkBuffer buffer,
                                          NkAllocator allocator,
                                          long size)
      • nnk_buffer_init_fixed

        public static void nnk_buffer_init_fixed​(long buffer,
                                                 long memory,
                                                 long size)
      • nk_buffer_init_fixed

        public static void nk_buffer_init_fixed​(NkBuffer buffer,
                                                java.nio.ByteBuffer memory)
      • nnk_buffer_info

        public static void nnk_buffer_info​(long status,
                                           long buffer)
      • nnk_buffer_push

        public static void nnk_buffer_push​(long buffer,
                                           int type,
                                           long memory,
                                           long size,
                                           long align)
        Unsafe version of: buffer_push
      • nnk_buffer_mark

        public static void nnk_buffer_mark​(long buffer,
                                           int type)
        Unsafe version of: buffer_mark
      • nnk_buffer_reset

        public static void nnk_buffer_reset​(long buffer,
                                            int type)
        Unsafe version of: buffer_reset
      • nnk_buffer_clear

        public static void nnk_buffer_clear​(long buffer)
      • nk_buffer_clear

        public static void nk_buffer_clear​(NkBuffer buffer)
      • nnk_buffer_free

        public static void nnk_buffer_free​(long buffer)
      • nk_buffer_free

        public static void nk_buffer_free​(NkBuffer buffer)
      • nnk_buffer_memory

        public static long nnk_buffer_memory​(long buffer)
      • nk_buffer_memory

        public static long nk_buffer_memory​(NkBuffer buffer)
      • nnk_buffer_memory_const

        public static long nnk_buffer_memory_const​(long buffer)
      • nk_buffer_memory_const

        public static long nk_buffer_memory_const​(NkBuffer buffer)
      • nnk_buffer_total

        public static long nnk_buffer_total​(long buffer)
      • nk_buffer_total

        public static long nk_buffer_total​(NkBuffer buffer)
      • nnk_str_init

        public static void nnk_str_init​(long str,
                                        long allocator,
                                        long size)
      • nk_str_init

        public static void nk_str_init​(NkStr str,
                                       NkAllocator allocator,
                                       long size)
      • nnk_str_init_fixed

        public static void nnk_str_init_fixed​(long str,
                                              long memory,
                                              long size)
      • nk_str_init_fixed

        public static void nk_str_init_fixed​(NkStr str,
                                             java.nio.ByteBuffer memory)
      • nnk_str_clear

        public static void nnk_str_clear​(long str)
      • nk_str_clear

        public static void nk_str_clear​(NkStr str)
      • nnk_str_free

        public static void nnk_str_free​(long str)
      • nk_str_free

        public static void nk_str_free​(NkStr str)
      • nnk_str_append_text_char

        public static int nnk_str_append_text_char​(long s,
                                                   long str,
                                                   int len)
      • nk_str_append_text_char

        public static int nk_str_append_text_char​(NkStr s,
                                                  java.nio.ByteBuffer str)
      • nnk_str_append_str_char

        public static int nnk_str_append_str_char​(long s,
                                                  long str)
      • nk_str_append_str_char

        public static int nk_str_append_str_char​(NkStr s,
                                                 java.nio.ByteBuffer str)
      • nnk_str_append_text_utf8

        public static int nnk_str_append_text_utf8​(long s,
                                                   long str,
                                                   int len)
      • nk_str_append_text_utf8

        public static int nk_str_append_text_utf8​(NkStr s,
                                                  java.nio.ByteBuffer str)
      • nnk_str_append_str_utf8

        public static int nnk_str_append_str_utf8​(long s,
                                                  long str)
      • nk_str_append_str_utf8

        public static int nk_str_append_str_utf8​(NkStr s,
                                                 java.nio.ByteBuffer str)
      • nnk_str_append_text_runes

        public static int nnk_str_append_text_runes​(long s,
                                                    long runes,
                                                    int len)
      • nk_str_append_text_runes

        public static int nk_str_append_text_runes​(NkStr s,
                                                   java.nio.IntBuffer runes)
      • nnk_str_append_str_runes

        public static int nnk_str_append_str_runes​(long s,
                                                   long runes)
      • nk_str_append_str_runes

        public static int nk_str_append_str_runes​(NkStr s,
                                                  java.nio.IntBuffer runes)
      • nnk_str_insert_at_char

        public static int nnk_str_insert_at_char​(long s,
                                                 int pos,
                                                 long str,
                                                 int len)
      • nk_str_insert_at_char

        public static int nk_str_insert_at_char​(NkStr s,
                                                int pos,
                                                java.nio.ByteBuffer str)
      • nnk_str_insert_at_rune

        public static int nnk_str_insert_at_rune​(long s,
                                                 int pos,
                                                 long str,
                                                 int len)
      • nk_str_insert_at_rune

        public static int nk_str_insert_at_rune​(NkStr s,
                                                int pos,
                                                java.nio.ByteBuffer str)
      • nnk_str_insert_text_char

        public static int nnk_str_insert_text_char​(long s,
                                                   int pos,
                                                   long str,
                                                   int len)
      • nk_str_insert_text_char

        public static int nk_str_insert_text_char​(NkStr s,
                                                  int pos,
                                                  java.nio.ByteBuffer str)
      • nnk_str_insert_str_char

        public static int nnk_str_insert_str_char​(long s,
                                                  int pos,
                                                  long str)
      • nk_str_insert_str_char

        public static int nk_str_insert_str_char​(NkStr s,
                                                 int pos,
                                                 java.nio.ByteBuffer str)
      • nnk_str_insert_text_utf8

        public static int nnk_str_insert_text_utf8​(long s,
                                                   int pos,
                                                   long str,
                                                   int len)
      • nk_str_insert_text_utf8

        public static int nk_str_insert_text_utf8​(NkStr s,
                                                  int pos,
                                                  java.nio.ByteBuffer str)
      • nnk_str_insert_str_utf8

        public static int nnk_str_insert_str_utf8​(long s,
                                                  int pos,
                                                  long str)
      • nk_str_insert_str_utf8

        public static int nk_str_insert_str_utf8​(NkStr s,
                                                 int pos,
                                                 java.nio.ByteBuffer str)
      • nnk_str_insert_text_runes

        public static int nnk_str_insert_text_runes​(long s,
                                                    int pos,
                                                    long runes,
                                                    int len)
      • nk_str_insert_text_runes

        public static int nk_str_insert_text_runes​(NkStr s,
                                                   int pos,
                                                   java.nio.IntBuffer runes)
      • nnk_str_insert_str_runes

        public static int nnk_str_insert_str_runes​(long s,
                                                   int pos,
                                                   long runes)
      • nk_str_insert_str_runes

        public static int nk_str_insert_str_runes​(NkStr s,
                                                  int pos,
                                                  java.nio.IntBuffer runes)
      • nnk_str_remove_chars

        public static void nnk_str_remove_chars​(long s,
                                                int len)
      • nk_str_remove_chars

        public static void nk_str_remove_chars​(NkStr s,
                                               int len)
      • nnk_str_remove_runes

        public static void nnk_str_remove_runes​(long str,
                                                int len)
      • nk_str_remove_runes

        public static void nk_str_remove_runes​(NkStr str,
                                               int len)
      • nnk_str_delete_chars

        public static void nnk_str_delete_chars​(long s,
                                                int pos,
                                                int len)
      • nk_str_delete_chars

        public static void nk_str_delete_chars​(NkStr s,
                                               int pos,
                                               int len)
      • nnk_str_delete_runes

        public static void nnk_str_delete_runes​(long s,
                                                int pos,
                                                int len)
      • nk_str_delete_runes

        public static void nk_str_delete_runes​(NkStr s,
                                               int pos,
                                               int len)
      • nnk_str_at_char

        public static long nnk_str_at_char​(long s,
                                           int pos)
      • nk_str_at_char

        @Nullable
        public static java.lang.String nk_str_at_char​(NkStr s,
                                                      int pos)
      • nnk_str_at_rune

        public static long nnk_str_at_rune​(long s,
                                           int pos,
                                           long unicode,
                                           long len)
      • nk_str_at_rune

        @Nullable
        public static java.nio.ByteBuffer nk_str_at_rune​(NkStr s,
                                                         int pos,
                                                         java.nio.IntBuffer unicode)
      • nnk_str_rune_at

        public static int nnk_str_rune_at​(long s,
                                          int pos)
      • nk_str_rune_at

        public static int nk_str_rune_at​(NkStr s,
                                         int pos)
      • nnk_str_at_char_const

        public static long nnk_str_at_char_const​(long s,
                                                 int pos)
      • nk_str_at_char_const

        @Nullable
        public static java.lang.String nk_str_at_char_const​(NkStr s,
                                                            int pos)
      • nnk_str_at_const

        public static long nnk_str_at_const​(long s,
                                            int pos,
                                            long unicode,
                                            long len)
      • nk_str_at_const

        @Nullable
        public static java.nio.ByteBuffer nk_str_at_const​(NkStr s,
                                                          int pos,
                                                          java.nio.IntBuffer unicode)
      • nnk_str_get

        public static long nnk_str_get​(long s)
      • nk_str_get

        @Nullable
        public static java.lang.String nk_str_get​(NkStr s)
      • nnk_str_get_const

        public static long nnk_str_get_const​(long s)
      • nk_str_get_const

        @Nullable
        public static java.lang.String nk_str_get_const​(NkStr s)
      • nnk_str_len

        public static int nnk_str_len​(long s)
      • nk_str_len

        public static int nk_str_len​(NkStr s)
      • nnk_str_len_char

        public static int nnk_str_len_char​(long s)
      • nk_str_len_char

        public static int nk_str_len_char​(NkStr s)
      • nnk_filter_default

        public static int nnk_filter_default​(long edit,
                                             int unicode)
      • nk_filter_default

        public static boolean nk_filter_default​(NkTextEdit edit,
                                                int unicode)
      • nnk_filter_ascii

        public static int nnk_filter_ascii​(long edit,
                                           int unicode)
      • nk_filter_ascii

        public static boolean nk_filter_ascii​(NkTextEdit edit,
                                              int unicode)
      • nnk_filter_float

        public static int nnk_filter_float​(long edit,
                                           int unicode)
      • nk_filter_float

        public static boolean nk_filter_float​(NkTextEdit edit,
                                              int unicode)
      • nnk_filter_decimal

        public static int nnk_filter_decimal​(long edit,
                                             int unicode)
      • nk_filter_decimal

        public static boolean nk_filter_decimal​(NkTextEdit edit,
                                                int unicode)
      • nnk_filter_hex

        public static int nnk_filter_hex​(long edit,
                                         int unicode)
      • nk_filter_hex

        public static boolean nk_filter_hex​(NkTextEdit edit,
                                            int unicode)
      • nnk_filter_oct

        public static int nnk_filter_oct​(long edit,
                                         int unicode)
      • nk_filter_oct

        public static boolean nk_filter_oct​(NkTextEdit edit,
                                            int unicode)
      • nnk_filter_binary

        public static int nnk_filter_binary​(long edit,
                                            int unicode)
      • nk_filter_binary

        public static boolean nk_filter_binary​(NkTextEdit edit,
                                               int unicode)
      • nnk_textedit_init

        public static void nnk_textedit_init​(long box,
                                             long allocator,
                                             long size)
      • nk_textedit_init

        public static void nk_textedit_init​(NkTextEdit box,
                                            NkAllocator allocator,
                                            long size)
      • nnk_textedit_init_fixed

        public static void nnk_textedit_init_fixed​(long box,
                                                   long memory,
                                                   long size)
      • nk_textedit_init_fixed

        public static void nk_textedit_init_fixed​(NkTextEdit box,
                                                  java.nio.ByteBuffer memory)
      • nnk_textedit_free

        public static void nnk_textedit_free​(long box)
      • nk_textedit_free

        public static void nk_textedit_free​(NkTextEdit box)
      • nnk_textedit_text

        public static void nnk_textedit_text​(long box,
                                             long text,
                                             int total_len)
      • nk_textedit_text

        public static void nk_textedit_text​(NkTextEdit box,
                                            java.nio.ByteBuffer text)
      • nk_textedit_text

        public static void nk_textedit_text​(NkTextEdit box,
                                            java.lang.CharSequence text)
      • nnk_textedit_delete

        public static void nnk_textedit_delete​(long box,
                                               int where,
                                               int len)
      • nk_textedit_delete

        public static void nk_textedit_delete​(NkTextEdit box,
                                              int where,
                                              int len)
      • nnk_textedit_delete_selection

        public static void nnk_textedit_delete_selection​(long box)
      • nk_textedit_delete_selection

        public static void nk_textedit_delete_selection​(NkTextEdit box)
      • nnk_textedit_select_all

        public static void nnk_textedit_select_all​(long box)
      • nk_textedit_select_all

        public static void nk_textedit_select_all​(NkTextEdit box)
      • nnk_textedit_cut

        public static int nnk_textedit_cut​(long box)
      • nk_textedit_cut

        public static boolean nk_textedit_cut​(NkTextEdit box)
      • nnk_textedit_paste

        public static int nnk_textedit_paste​(long box,
                                             long ctext,
                                             int len)
      • nk_textedit_paste

        public static boolean nk_textedit_paste​(NkTextEdit box,
                                                java.nio.ByteBuffer ctext)
      • nk_textedit_paste

        public static boolean nk_textedit_paste​(NkTextEdit box,
                                                java.lang.CharSequence ctext)
      • nnk_textedit_undo

        public static void nnk_textedit_undo​(long box)
      • nk_textedit_undo

        public static void nk_textedit_undo​(NkTextEdit box)
      • nnk_textedit_redo

        public static void nnk_textedit_redo​(long box)
      • nk_textedit_redo

        public static void nk_textedit_redo​(NkTextEdit box)
      • nnk_stroke_line

        public static void nnk_stroke_line​(long b,
                                           float x0,
                                           float y0,
                                           float x1,
                                           float y1,
                                           float line_thickness,
                                           long color)
      • nk_stroke_line

        public static void nk_stroke_line​(NkCommandBuffer b,
                                          float x0,
                                          float y0,
                                          float x1,
                                          float y1,
                                          float line_thickness,
                                          NkColor color)
      • nnk_stroke_curve

        public static void nnk_stroke_curve​(long b,
                                            float ax,
                                            float ay,
                                            float ctrl0x,
                                            float ctrl0y,
                                            float ctrl1x,
                                            float ctrl1y,
                                            float bx,
                                            float by,
                                            float line_thickness,
                                            long color)
      • nk_stroke_curve

        public static void nk_stroke_curve​(NkCommandBuffer b,
                                           float ax,
                                           float ay,
                                           float ctrl0x,
                                           float ctrl0y,
                                           float ctrl1x,
                                           float ctrl1y,
                                           float bx,
                                           float by,
                                           float line_thickness,
                                           NkColor color)
      • nnk_stroke_rect

        public static void nnk_stroke_rect​(long b,
                                           long rect,
                                           float rounding,
                                           float line_thickness,
                                           long color)
      • nk_stroke_rect

        public static void nk_stroke_rect​(NkCommandBuffer b,
                                          NkRect rect,
                                          float rounding,
                                          float line_thickness,
                                          NkColor color)
      • nnk_stroke_circle

        public static void nnk_stroke_circle​(long b,
                                             long rect,
                                             float line_thickness,
                                             long color)
      • nnk_stroke_arc

        public static void nnk_stroke_arc​(long b,
                                          float cx,
                                          float cy,
                                          float radius,
                                          float a_min,
                                          float a_max,
                                          float line_thickness,
                                          long color)
      • nk_stroke_arc

        public static void nk_stroke_arc​(NkCommandBuffer b,
                                         float cx,
                                         float cy,
                                         float radius,
                                         float a_min,
                                         float a_max,
                                         float line_thickness,
                                         NkColor color)
      • nnk_stroke_triangle

        public static void nnk_stroke_triangle​(long b,
                                               float x0,
                                               float y0,
                                               float x1,
                                               float y1,
                                               float x2,
                                               float y2,
                                               float line_thichness,
                                               long color)
      • nk_stroke_triangle

        public static void nk_stroke_triangle​(NkCommandBuffer b,
                                              float x0,
                                              float y0,
                                              float x1,
                                              float y1,
                                              float x2,
                                              float y2,
                                              float line_thichness,
                                              NkColor color)
      • nnk_stroke_polyline

        public static void nnk_stroke_polyline​(long b,
                                               long points,
                                               int point_count,
                                               float line_thickness,
                                               long col)
      • nk_stroke_polyline

        public static void nk_stroke_polyline​(NkCommandBuffer b,
                                              java.nio.FloatBuffer points,
                                              float line_thickness,
                                              NkColor col)
      • nnk_stroke_polygon

        public static void nnk_stroke_polygon​(long b,
                                              long points,
                                              int point_count,
                                              float line_thickness,
                                              long color)
      • nk_stroke_polygon

        public static void nk_stroke_polygon​(NkCommandBuffer b,
                                             java.nio.FloatBuffer points,
                                             float line_thickness,
                                             NkColor color)
      • nnk_fill_rect

        public static void nnk_fill_rect​(long b,
                                         long rect,
                                         float rounding,
                                         long color)
      • nnk_fill_rect_multi_color

        public static void nnk_fill_rect_multi_color​(long b,
                                                     long rect,
                                                     long left,
                                                     long top,
                                                     long right,
                                                     long bottom)
      • nnk_fill_circle

        public static void nnk_fill_circle​(long b,
                                           long rect,
                                           long color)
      • nnk_fill_arc

        public static void nnk_fill_arc​(long b,
                                        float cx,
                                        float cy,
                                        float radius,
                                        float a_min,
                                        float a_max,
                                        long color)
      • nk_fill_arc

        public static void nk_fill_arc​(NkCommandBuffer b,
                                       float cx,
                                       float cy,
                                       float radius,
                                       float a_min,
                                       float a_max,
                                       NkColor color)
      • nnk_fill_triangle

        public static void nnk_fill_triangle​(long b,
                                             float x0,
                                             float y0,
                                             float x1,
                                             float y1,
                                             float x2,
                                             float y2,
                                             long color)
      • nk_fill_triangle

        public static void nk_fill_triangle​(NkCommandBuffer b,
                                            float x0,
                                            float y0,
                                            float x1,
                                            float y1,
                                            float x2,
                                            float y2,
                                            NkColor color)
      • nnk_fill_polygon

        public static void nnk_fill_polygon​(long b,
                                            long points,
                                            int point_count,
                                            long color)
      • nk_fill_polygon

        public static void nk_fill_polygon​(NkCommandBuffer b,
                                           java.nio.FloatBuffer points,
                                           NkColor color)
      • nnk_draw_image

        public static void nnk_draw_image​(long b,
                                          long rect,
                                          long img,
                                          long color)
      • nnk_draw_text

        public static void nnk_draw_text​(long b,
                                         long rect,
                                         long string,
                                         int length,
                                         long font,
                                         long bg,
                                         long fg)
      • nnk_push_scissor

        public static void nnk_push_scissor​(long b,
                                            long rect)
      • nnk_push_custom

        public static void nnk_push_custom​(long b,
                                           long rect,
                                           long callback,
                                           long usr)
      • nnk__next

        public static long nnk__next​(long ctx,
                                     long cmd)
        Unsafe version of: _next
      • nk__next

        @Nullable
        public static NkCommand nk__next​(NkContext ctx,
                                         NkCommand cmd)
        Increments the draw command iterator to the next command inside the context draw command list.
        Parameters:
        ctx - the nuklear context
      • nnk__begin

        public static long nnk__begin​(long ctx)
        Unsafe version of: _begin
      • nk__begin

        @Nullable
        public static NkCommand nk__begin​(NkContext ctx)
        Returns draw command pointer pointing to the next command inside the draw command list.
        Parameters:
        ctx - the nuklear context
      • nnk_input_has_mouse_click

        public static int nnk_input_has_mouse_click​(long i,
                                                    int id)
        Unsafe version of: input_has_mouse_click
      • nnk_input_has_mouse_click_in_rect

        public static int nnk_input_has_mouse_click_in_rect​(long i,
                                                            int id,
                                                            long rect)
      • nnk_input_has_mouse_click_down_in_rect

        public static int nnk_input_has_mouse_click_down_in_rect​(long i,
                                                                 int id,
                                                                 long rect,
                                                                 int down)
      • nnk_input_is_mouse_click_in_rect

        public static int nnk_input_is_mouse_click_in_rect​(long i,
                                                           int id,
                                                           long rect)
        Unsafe version of: input_is_mouse_click_in_rect
      • nnk_input_is_mouse_click_down_in_rect

        public static int nnk_input_is_mouse_click_down_in_rect​(long i,
                                                                int id,
                                                                long b,
                                                                int down)
      • nnk_input_any_mouse_click_in_rect

        public static int nnk_input_any_mouse_click_in_rect​(long i,
                                                            long rect)
      • nk_input_any_mouse_click_in_rect

        public static boolean nk_input_any_mouse_click_in_rect​(NkInput i,
                                                               NkRect rect)
      • nnk_input_is_mouse_prev_hovering_rect

        public static int nnk_input_is_mouse_prev_hovering_rect​(long i,
                                                                long rect)
      • nk_input_is_mouse_prev_hovering_rect

        public static boolean nk_input_is_mouse_prev_hovering_rect​(NkInput i,
                                                                   NkRect rect)
      • nnk_input_is_mouse_hovering_rect

        public static int nnk_input_is_mouse_hovering_rect​(long i,
                                                           long rect)
      • nk_input_is_mouse_hovering_rect

        public static boolean nk_input_is_mouse_hovering_rect​(NkInput i,
                                                              NkRect rect)
      • nnk_input_mouse_clicked

        public static int nnk_input_mouse_clicked​(long i,
                                                  int id,
                                                  long rect)
        Unsafe version of: input_mouse_clicked
      • nnk_input_is_mouse_down

        public static int nnk_input_is_mouse_down​(long i,
                                                  int id)
        Unsafe version of: input_is_mouse_down
      • nnk_input_is_mouse_pressed

        public static int nnk_input_is_mouse_pressed​(long i,
                                                     int id)
        Unsafe version of: input_is_mouse_pressed
      • nnk_input_is_mouse_released

        public static int nnk_input_is_mouse_released​(long i,
                                                      int id)
        Unsafe version of: input_is_mouse_released
      • nnk_input_is_key_pressed

        public static int nnk_input_is_key_pressed​(long i,
                                                   int key)
        Unsafe version of: input_is_key_pressed
      • nnk_input_is_key_released

        public static int nnk_input_is_key_released​(long i,
                                                    int key)
        Unsafe version of: input_is_key_released
      • nnk_input_is_key_down

        public static int nnk_input_is_key_down​(long i,
                                                int key)
        Unsafe version of: input_is_key_down
      • nnk_draw_list_init

        public static void nnk_draw_list_init​(long list)
      • nk_draw_list_init

        public static void nk_draw_list_init​(NkDrawList list)
      • nnk_draw_list_setup

        public static void nnk_draw_list_setup​(long canvas,
                                               long config,
                                               long cmds,
                                               long vertices,
                                               long elements,
                                               int line_aa,
                                               int shape_aa)
      • nnk__draw_list_begin

        public static long nnk__draw_list_begin​(long list,
                                                long buffer)
      • nnk__draw_list_next

        public static long nnk__draw_list_next​(long cmd,
                                               long buffer,
                                               long list)
      • nnk__draw_begin

        public static long nnk__draw_begin​(long ctx,
                                           long buffer)
        Unsafe version of: _draw_begin
      • nk__draw_begin

        @Nullable
        public static NkDrawCommand nk__draw_begin​(NkContext ctx,
                                                   NkBuffer buffer)
        Returns a draw vertex command buffer iterator to iterate over the vertex draw command buffer.
        Parameters:
        ctx - the nuklear context
      • nnk__draw_end

        public static long nnk__draw_end​(long ctx,
                                         long buffer)
        Unsafe version of: _draw_end
      • nk__draw_end

        @Nullable
        public static NkDrawCommand nk__draw_end​(NkContext ctx,
                                                 NkBuffer buffer)
        Returns the end of the vertex draw list.
        Parameters:
        ctx - the nuklear context
      • nnk__draw_next

        public static long nnk__draw_next​(long cmd,
                                          long buffer,
                                          long ctx)
        Unsafe version of: _draw_next
      • nk__draw_next

        @Nullable
        public static NkDrawCommand nk__draw_next​(NkDrawCommand cmd,
                                                  NkBuffer buffer,
                                                  NkContext ctx)
        Increments the vertex command iterator to the next command inside the context vertex command list.
        Parameters:
        ctx - the nuklear context
      • nnk_draw_list_path_clear

        public static void nnk_draw_list_path_clear​(long list)
      • nk_draw_list_path_clear

        public static void nk_draw_list_path_clear​(NkDrawList list)
      • nnk_draw_list_path_line_to

        public static void nnk_draw_list_path_line_to​(long list,
                                                      long pos)
      • nk_draw_list_path_line_to

        public static void nk_draw_list_path_line_to​(NkDrawList list,
                                                     NkVec2 pos)
      • nnk_draw_list_path_arc_to_fast

        public static void nnk_draw_list_path_arc_to_fast​(long list,
                                                          long center,
                                                          float radius,
                                                          int a_min,
                                                          int a_max)
      • nk_draw_list_path_arc_to_fast

        public static void nk_draw_list_path_arc_to_fast​(NkDrawList list,
                                                         NkVec2 center,
                                                         float radius,
                                                         int a_min,
                                                         int a_max)
      • nnk_draw_list_path_arc_to

        public static void nnk_draw_list_path_arc_to​(long list,
                                                     long center,
                                                     float radius,
                                                     float a_min,
                                                     float a_max,
                                                     int segments)
      • nk_draw_list_path_arc_to

        public static void nk_draw_list_path_arc_to​(NkDrawList list,
                                                    NkVec2 center,
                                                    float radius,
                                                    float a_min,
                                                    float a_max,
                                                    int segments)
      • nnk_draw_list_path_rect_to

        public static void nnk_draw_list_path_rect_to​(long list,
                                                      long a,
                                                      long b,
                                                      float rounding)
      • nk_draw_list_path_rect_to

        public static void nk_draw_list_path_rect_to​(NkDrawList list,
                                                     NkVec2 a,
                                                     NkVec2 b,
                                                     float rounding)
      • nnk_draw_list_path_curve_to

        public static void nnk_draw_list_path_curve_to​(long list,
                                                       long p2,
                                                       long p3,
                                                       long p4,
                                                       int num_segments)
      • nk_draw_list_path_curve_to

        public static void nk_draw_list_path_curve_to​(NkDrawList list,
                                                      NkVec2 p2,
                                                      NkVec2 p3,
                                                      NkVec2 p4,
                                                      int num_segments)
      • nnk_draw_list_path_fill

        public static void nnk_draw_list_path_fill​(long list,
                                                   long color)
      • nk_draw_list_path_fill

        public static void nk_draw_list_path_fill​(NkDrawList list,
                                                  NkColor color)
      • nnk_draw_list_path_stroke

        public static void nnk_draw_list_path_stroke​(long list,
                                                     long color,
                                                     int closed,
                                                     float thickness)
        Unsafe version of: draw_list_path_stroke
      • nnk_draw_list_stroke_line

        public static void nnk_draw_list_stroke_line​(long list,
                                                     long a,
                                                     long b,
                                                     long color,
                                                     float thickness)
      • nk_draw_list_stroke_line

        public static void nk_draw_list_stroke_line​(NkDrawList list,
                                                    NkVec2 a,
                                                    NkVec2 b,
                                                    NkColor color,
                                                    float thickness)
      • nnk_draw_list_stroke_rect

        public static void nnk_draw_list_stroke_rect​(long list,
                                                     long rect,
                                                     long color,
                                                     float rounding,
                                                     float thickness)
      • nk_draw_list_stroke_rect

        public static void nk_draw_list_stroke_rect​(NkDrawList list,
                                                    NkRect rect,
                                                    NkColor color,
                                                    float rounding,
                                                    float thickness)
      • nnk_draw_list_stroke_triangle

        public static void nnk_draw_list_stroke_triangle​(long list,
                                                         long a,
                                                         long b,
                                                         long c,
                                                         long color,
                                                         float thickness)
      • nnk_draw_list_stroke_circle

        public static void nnk_draw_list_stroke_circle​(long list,
                                                       long center,
                                                       float radius,
                                                       long color,
                                                       int segs,
                                                       float thickness)
      • nk_draw_list_stroke_circle

        public static void nk_draw_list_stroke_circle​(NkDrawList list,
                                                      NkVec2 center,
                                                      float radius,
                                                      NkColor color,
                                                      int segs,
                                                      float thickness)
      • nnk_draw_list_stroke_curve

        public static void nnk_draw_list_stroke_curve​(long list,
                                                      long p0,
                                                      long cp0,
                                                      long cp1,
                                                      long p1,
                                                      long color,
                                                      int segments,
                                                      float thickness)
      • nnk_draw_list_stroke_poly_line

        public static void nnk_draw_list_stroke_poly_line​(long list,
                                                          long pnts,
                                                          int cnt,
                                                          long color,
                                                          int closed,
                                                          float thickness,
                                                          int aliasing)
        Unsafe version of: draw_list_stroke_poly_line
      • nnk_draw_list_fill_rect

        public static void nnk_draw_list_fill_rect​(long list,
                                                   long rect,
                                                   long color,
                                                   float rounding)
      • nk_draw_list_fill_rect

        public static void nk_draw_list_fill_rect​(NkDrawList list,
                                                  NkRect rect,
                                                  NkColor color,
                                                  float rounding)
      • nnk_draw_list_fill_rect_multi_color

        public static void nnk_draw_list_fill_rect_multi_color​(long list,
                                                               long rect,
                                                               long left,
                                                               long top,
                                                               long right,
                                                               long bottom)
      • nnk_draw_list_fill_triangle

        public static void nnk_draw_list_fill_triangle​(long list,
                                                       long a,
                                                       long b,
                                                       long c,
                                                       long color)
      • nnk_draw_list_fill_circle

        public static void nnk_draw_list_fill_circle​(long list,
                                                     long center,
                                                     float radius,
                                                     long col,
                                                     int segs)
      • nk_draw_list_fill_circle

        public static void nk_draw_list_fill_circle​(NkDrawList list,
                                                    NkVec2 center,
                                                    float radius,
                                                    NkColor col,
                                                    int segs)
      • nnk_draw_list_fill_poly_convex

        public static void nnk_draw_list_fill_poly_convex​(long list,
                                                          long points,
                                                          int count,
                                                          long color,
                                                          int aliasing)
        Unsafe version of: draw_list_fill_poly_convex
      • nnk_draw_list_add_image

        public static void nnk_draw_list_add_image​(long list,
                                                   long texture,
                                                   long rect,
                                                   long color)
      • nnk_draw_list_add_text

        public static void nnk_draw_list_add_text​(long list,
                                                  long font,
                                                  long rect,
                                                  long text,
                                                  int len,
                                                  float font_height,
                                                  long color)
      • nk_draw_list_add_text

        public static void nk_draw_list_add_text​(NkDrawList list,
                                                 NkUserFont font,
                                                 NkRect rect,
                                                 java.nio.ByteBuffer text,
                                                 float font_height,
                                                 NkColor color)
      • nk_draw_list_add_text

        public static void nk_draw_list_add_text​(NkDrawList list,
                                                 NkUserFont font,
                                                 NkRect rect,
                                                 java.lang.CharSequence text,
                                                 float font_height,
                                                 NkColor color)
      • nnk_draw_list_push_userdata

        public static void nnk_draw_list_push_userdata​(long list,
                                                       long userdata)
      • nk_draw_list_push_userdata

        public static void nk_draw_list_push_userdata​(NkDrawList list,
                                                      NkHandle userdata)
      • nnk_style_item_image

        public static void nnk_style_item_image​(long img,
                                                long __result)
      • nnk_style_item_color

        public static void nnk_style_item_color​(long color,
                                                long __result)
      • nnk_style_item_hide

        public static void nnk_style_item_hide​(long __result)
      • nk_window_get_scroll

        public static void nk_window_get_scroll​(NkContext ctx,
                                                @Nullable
                                                int[] offset_x,
                                                @Nullable
                                                int[] offset_y)
        Array version of: window_get_scroll
      • nk_layout_row

        public static void nk_layout_row​(NkContext ctx,
                                         int fmt,
                                         float height,
                                         float[] ratio)
        Array version of: layout_row
      • nk_group_scrolled_offset_begin

        public static boolean nk_group_scrolled_offset_begin​(NkContext ctx,
                                                             int[] x_offset,
                                                             int[] y_offset,
                                                             java.nio.ByteBuffer title,
                                                             int flags)
        
        public static boolean nk_group_scrolled_offset_begin​(NkContext ctx,
                                                             int[] x_offset,
                                                             int[] y_offset,
                                                             java.lang.CharSequence title,
                                                             int flags)
        
        Array version of: group_scrolled_offset_begin
      • nk_group_get_scroll

        public static void nk_group_get_scroll​(NkContext ctx,
                                               java.nio.ByteBuffer id,
                                               @Nullable
                                               int[] x_offset,
                                               @Nullable
                                               int[] y_offset)
        
        public static void nk_group_get_scroll​(NkContext ctx,
                                               java.lang.CharSequence id,
                                               @Nullable
                                               int[] x_offset,
                                               @Nullable
                                               int[] y_offset)
        
        Array version of: group_get_scroll
      • nk_tree_state_push

        public static boolean nk_tree_state_push​(NkContext ctx,
                                                 int type,
                                                 java.nio.ByteBuffer title,
                                                 int[] state)
        
        public static boolean nk_tree_state_push​(NkContext ctx,
                                                 int type,
                                                 java.lang.CharSequence title,
                                                 int[] state)
        
        Array version of: tree_state_push
      • nk_tree_state_image_push

        public static boolean nk_tree_state_image_push​(NkContext ctx,
                                                       int type,
                                                       NkImage image,
                                                       java.nio.ByteBuffer title,
                                                       int[] state)
        
        public static boolean nk_tree_state_image_push​(NkContext ctx,
                                                       int type,
                                                       NkImage image,
                                                       java.lang.CharSequence title,
                                                       int[] state)
        
        Array version of: tree_state_image_push
      • nk_tree_element_push_hashed

        public static boolean nk_tree_element_push_hashed​(NkContext ctx,
                                                          int type,
                                                          java.nio.ByteBuffer title,
                                                          int initial_state,
                                                          int[] selected,
                                                          java.nio.ByteBuffer hash,
                                                          int seed)
        
        public static boolean nk_tree_element_push_hashed​(NkContext ctx,
                                                          int type,
                                                          java.lang.CharSequence title,
                                                          int initial_state,
                                                          int[] selected,
                                                          java.nio.ByteBuffer hash,
                                                          int seed)
        
        Array version of: tree_element_push_hashed
      • nk_tree_element_image_push_hashed

        public static boolean nk_tree_element_image_push_hashed​(NkContext ctx,
                                                                int type,
                                                                NkImage img,
                                                                java.nio.ByteBuffer title,
                                                                int initial_state,
                                                                int[] selected,
                                                                java.nio.ByteBuffer hash,
                                                                int seed)
        
        public static boolean nk_tree_element_image_push_hashed​(NkContext ctx,
                                                                int type,
                                                                NkImage img,
                                                                java.lang.CharSequence title,
                                                                int initial_state,
                                                                int[] selected,
                                                                java.nio.ByteBuffer hash,
                                                                int seed)
        
      • nk_checkbox_label

        public static boolean nk_checkbox_label​(NkContext ctx,
                                                java.nio.ByteBuffer str,
                                                int[] active)
        
        public static boolean nk_checkbox_label​(NkContext ctx,
                                                java.lang.CharSequence str,
                                                int[] active)
        
        Array version of: checkbox_label
      • nk_checkbox_text

        public static boolean nk_checkbox_text​(NkContext ctx,
                                               java.nio.ByteBuffer str,
                                               int[] active)
        
        public static boolean nk_checkbox_text​(NkContext ctx,
                                               java.lang.CharSequence str,
                                               int[] active)
        
        Array version of: checkbox_text
      • nk_checkbox_flags_label

        public static boolean nk_checkbox_flags_label​(NkContext ctx,
                                                      java.nio.ByteBuffer str,
                                                      int[] flags,
                                                      int value)
        
        public static boolean nk_checkbox_flags_label​(NkContext ctx,
                                                      java.lang.CharSequence str,
                                                      int[] flags,
                                                      int value)
        
        Array version of: checkbox_flags_label
      • nk_checkbox_flags_text

        public static boolean nk_checkbox_flags_text​(NkContext ctx,
                                                     java.nio.ByteBuffer str,
                                                     int[] flags,
                                                     int value)
        
        public static boolean nk_checkbox_flags_text​(NkContext ctx,
                                                     java.lang.CharSequence str,
                                                     int[] flags,
                                                     int value)
        
        Array version of: checkbox_flags_text
      • nk_radio_label

        public static boolean nk_radio_label​(NkContext ctx,
                                             java.nio.ByteBuffer str,
                                             int[] active)
        
        public static boolean nk_radio_label​(NkContext ctx,
                                             java.lang.CharSequence str,
                                             int[] active)
        
        Array version of: radio_label
      • nk_radio_text

        public static boolean nk_radio_text​(NkContext ctx,
                                            java.nio.ByteBuffer str,
                                            int[] active)
        
        public static boolean nk_radio_text​(NkContext ctx,
                                            java.lang.CharSequence str,
                                            int[] active)
        
        Array version of: radio_text
      • nk_selectable_label

        public static boolean nk_selectable_label​(NkContext ctx,
                                                  java.nio.ByteBuffer str,
                                                  int align,
                                                  int[] value)
        
        public static boolean nk_selectable_label​(NkContext ctx,
                                                  java.lang.CharSequence str,
                                                  int align,
                                                  int[] value)
        
        Array version of: selectable_label
      • nk_selectable_text

        public static boolean nk_selectable_text​(NkContext ctx,
                                                 java.nio.ByteBuffer str,
                                                 int align,
                                                 int[] value)
        
        public static boolean nk_selectable_text​(NkContext ctx,
                                                 java.lang.CharSequence str,
                                                 int align,
                                                 int[] value)
        
        Array version of: selectable_text
      • nk_selectable_image_label

        public static boolean nk_selectable_image_label​(NkContext ctx,
                                                        NkImage img,
                                                        java.nio.ByteBuffer str,
                                                        int align,
                                                        int[] value)
        
        public static boolean nk_selectable_image_label​(NkContext ctx,
                                                        NkImage img,
                                                        java.lang.CharSequence str,
                                                        int align,
                                                        int[] value)
        
        Array version of: selectable_image_label
      • nk_selectable_image_text

        public static boolean nk_selectable_image_text​(NkContext ctx,
                                                       NkImage img,
                                                       java.nio.ByteBuffer str,
                                                       int align,
                                                       int[] value)
        
        public static boolean nk_selectable_image_text​(NkContext ctx,
                                                       NkImage img,
                                                       java.lang.CharSequence str,
                                                       int align,
                                                       int[] value)
        
        Array version of: selectable_image_text
      • nk_selectable_symbol_label

        public static boolean nk_selectable_symbol_label​(NkContext ctx,
                                                         int symbol,
                                                         java.nio.ByteBuffer str,
                                                         int align,
                                                         int[] value)
        
        public static boolean nk_selectable_symbol_label​(NkContext ctx,
                                                         int symbol,
                                                         java.lang.CharSequence str,
                                                         int align,
                                                         int[] value)
        
        Array version of: selectable_symbol_label
      • nk_selectable_symbol_text

        public static boolean nk_selectable_symbol_text​(NkContext ctx,
                                                        int symbol,
                                                        java.nio.ByteBuffer str,
                                                        int align,
                                                        int[] value)
        
        public static boolean nk_selectable_symbol_text​(NkContext ctx,
                                                        int symbol,
                                                        java.lang.CharSequence str,
                                                        int align,
                                                        int[] value)
        
        Array version of: selectable_symbol_text
      • nk_slider_float

        public static int nk_slider_float​(NkContext ctx,
                                          float min,
                                          float[] val,
                                          float max,
                                          float step)
        Array version of: slider_float
      • nk_slider_int

        public static int nk_slider_int​(NkContext ctx,
                                        int min,
                                        int[] val,
                                        int max,
                                        int step)
        Array version of: slider_int
      • nk_property_int

        public static void nk_property_int​(NkContext ctx,
                                           java.nio.ByteBuffer name,
                                           int min,
                                           int[] val,
                                           int max,
                                           int step,
                                           float inc_per_pixel)
        
        public static void nk_property_int​(NkContext ctx,
                                           java.lang.CharSequence name,
                                           int min,
                                           int[] val,
                                           int max,
                                           int step,
                                           float inc_per_pixel)
        
        Array version of: property_int
      • nk_property_float

        public static void nk_property_float​(NkContext ctx,
                                             java.nio.ByteBuffer name,
                                             float min,
                                             float[] val,
                                             float max,
                                             float step,
                                             float inc_per_pixel)
        
        public static void nk_property_float​(NkContext ctx,
                                             java.lang.CharSequence name,
                                             float min,
                                             float[] val,
                                             float max,
                                             float step,
                                             float inc_per_pixel)
        
        Array version of: property_float
      • nk_property_double

        public static void nk_property_double​(NkContext ctx,
                                              java.nio.ByteBuffer name,
                                              double min,
                                              double[] val,
                                              double max,
                                              double step,
                                              float inc_per_pixel)
        
        public static void nk_property_double​(NkContext ctx,
                                              java.lang.CharSequence name,
                                              double min,
                                              double[] val,
                                              double max,
                                              double step,
                                              float inc_per_pixel)
        
        Array version of: property_double
      • nk_edit_string

        public static int nk_edit_string​(NkContext ctx,
                                         int flags,
                                         java.nio.ByteBuffer memory,
                                         int[] len,
                                         int max,
                                         @Nullable
                                         NkPluginFilterI filter)
        
        public static int nk_edit_string​(NkContext ctx,
                                         int flags,
                                         java.lang.CharSequence memory,
                                         int[] len,
                                         int max,
                                         @Nullable
                                         NkPluginFilterI filter)
        
        Array version of: edit_string
      • nk_plot

        public static void nk_plot​(NkContext ctx,
                                   int type,
                                   float[] values,
                                   int count,
                                   int offset)
        Array version of: plot
      • nk_popup_get_scroll

        public static void nk_popup_get_scroll​(NkContext ctx,
                                               @Nullable
                                               int[] offset_x,
                                               @Nullable
                                               int[] offset_y)
        Array version of: popup_get_scroll
      • nk_combobox

        public static void nk_combobox​(NkContext ctx,
                                       org.lwjgl.PointerBuffer items,
                                       int[] selected,
                                       int item_height,
                                       NkVec2 size)
        Array version of: combobox
      • nk_combobox_string

        public static void nk_combobox_string​(NkContext ctx,
                                              java.nio.ByteBuffer items_separated_by_zeros,
                                              int[] selected,
                                              int count,
                                              int item_height,
                                              NkVec2 size)
        
        public static void nk_combobox_string​(NkContext ctx,
                                              java.lang.CharSequence items_separated_by_zeros,
                                              int[] selected,
                                              int count,
                                              int item_height,
                                              NkVec2 size)
        
        Array version of: combobox_string
      • nk_combobox_separator

        public static void nk_combobox_separator​(NkContext ctx,
                                                 java.nio.ByteBuffer items_separated_by_separator,
                                                 int separator,
                                                 int[] selected,
                                                 int count,
                                                 int item_height,
                                                 NkVec2 size)
        
        public static void nk_combobox_separator​(NkContext ctx,
                                                 java.lang.CharSequence items_separated_by_separator,
                                                 int separator,
                                                 int[] selected,
                                                 int count,
                                                 int item_height,
                                                 NkVec2 size)
        
        Array version of: combobox_separator
      • nk_style_push_float

        public static int nk_style_push_float​(NkContext ctx,
                                              float[] address,
                                              float value)
        Array version of: style_push_float
      • nk_style_push_flags

        public static int nk_style_push_flags​(NkContext ctx,
                                              int[] address,
                                              int value)
        Array version of: style_push_flags
      • nnk_rgb_iv

        public static void nnk_rgb_iv​(int[] rgb,
                                      long __result)
        Array version of: nnk_rgb_iv(long, long)
      • nk_rgb_iv

        public static NkColor nk_rgb_iv​(int[] rgb,
                                        NkColor __result)
        Array version of: rgb_iv
      • nnk_rgb_fv

        public static void nnk_rgb_fv​(float[] rgb,
                                      long __result)
        Array version of: nnk_rgb_fv(long, long)
      • nk_rgb_fv

        public static NkColor nk_rgb_fv​(float[] rgb,
                                        NkColor __result)
        Array version of: rgb_fv
      • nnk_rgba_iv

        public static void nnk_rgba_iv​(int[] rgba,
                                       long __result)
        Array version of: nnk_rgba_iv(long, long)
      • nk_rgba_iv

        public static NkColor nk_rgba_iv​(int[] rgba,
                                         NkColor __result)
        Array version of: rgba_iv
      • nnk_rgba_fv

        public static void nnk_rgba_fv​(float[] rgba,
                                       long __result)
        Array version of: nnk_rgba_fv(long, long)
      • nk_rgba_fv

        public static NkColor nk_rgba_fv​(float[] rgba,
                                         NkColor __result)
        Array version of: rgba_fv
      • nk_colorf_hsva_f

        public static void nk_colorf_hsva_f​(float[] out_h,
                                            float[] out_s,
                                            float[] out_v,
                                            float[] out_a,
                                            NkColorf in)
        Array version of: colorf_hsva_f
      • nk_colorf_hsva_fv

        public static void nk_colorf_hsva_fv​(float[] hsva,
                                             NkColorf in)
        Array version of: colorf_hsva_fv
      • nnk_hsv_iv

        public static void nnk_hsv_iv​(int[] hsv,
                                      long __result)
        Array version of: nnk_hsv_iv(long, long)
      • nk_hsv_iv

        public static NkColor nk_hsv_iv​(int[] hsv,
                                        NkColor __result)
        Array version of: hsv_iv
      • nnk_hsv_fv

        public static void nnk_hsv_fv​(float[] hsv,
                                      long __result)
        Array version of: nnk_hsv_fv(long, long)
      • nk_hsv_fv

        public static NkColor nk_hsv_fv​(float[] hsv,
                                        NkColor __result)
        Array version of: hsv_fv
      • nnk_hsva_iv

        public static void nnk_hsva_iv​(int[] hsva,
                                       long __result)
        Array version of: nnk_hsva_iv(long, long)
      • nk_hsva_iv

        public static NkColor nk_hsva_iv​(int[] hsva,
                                         NkColor __result)
        Array version of: hsva_iv
      • nnk_hsva_fv

        public static void nnk_hsva_fv​(float[] hsva,
                                       long __result)
        Array version of: nnk_hsva_fv(long, long)
      • nk_hsva_fv

        public static NkColor nk_hsva_fv​(float[] hsva,
                                         NkColor __result)
        Array version of: hsva_fv
      • nk_color_f

        public static void nk_color_f​(float[] r,
                                      float[] g,
                                      float[] b,
                                      float[] a,
                                      NkColor color)
        Array version of: color_f
      • nnk_color_fv

        public static void nnk_color_fv​(float[] rgba_out,
                                        long color)
        Array version of: nnk_color_fv(long, long)
      • nk_color_fv

        public static void nk_color_fv​(float[] rgba_out,
                                       NkColor color)
        Array version of: color_fv
      • nk_color_d

        public static void nk_color_d​(double[] r,
                                      double[] g,
                                      double[] b,
                                      double[] a,
                                      NkColor color)
        Array version of: color_d
      • nnk_color_dv

        public static void nnk_color_dv​(double[] rgba_out,
                                        long color)
        Array version of: nnk_color_dv(long, long)
      • nk_color_dv

        public static void nk_color_dv​(double[] rgba_out,
                                       NkColor color)
        Array version of: color_dv
      • nk_color_hsv_i

        public static void nk_color_hsv_i​(int[] out_h,
                                          int[] out_s,
                                          int[] out_v,
                                          NkColor color)
        Array version of: color_hsv_i
      • nk_color_hsv_iv

        public static void nk_color_hsv_iv​(int[] hsv_out,
                                           NkColor color)
        Array version of: color_hsv_iv
      • nk_color_hsv_f

        public static void nk_color_hsv_f​(float[] out_h,
                                          float[] out_s,
                                          float[] out_v,
                                          NkColor color)
        Array version of: color_hsv_f
      • nk_color_hsv_fv

        public static void nk_color_hsv_fv​(float[] hsv_out,
                                           NkColor color)
        Array version of: color_hsv_fv
      • nk_color_hsva_i

        public static void nk_color_hsva_i​(int[] h,
                                           int[] s,
                                           int[] v,
                                           int[] a,
                                           NkColor color)
        Array version of: color_hsva_i
      • nk_color_hsva_iv

        public static void nk_color_hsva_iv​(int[] hsva_out,
                                            NkColor color)
        Array version of: color_hsva_iv
      • nk_color_hsva_f

        public static void nk_color_hsva_f​(float[] out_h,
                                           float[] out_s,
                                           float[] out_v,
                                           float[] out_a,
                                           NkColor color)
        Array version of: color_hsva_f
      • nk_color_hsva_fv

        public static void nk_color_hsva_fv​(float[] hsva_out,
                                            NkColor color)
        Array version of: color_hsva_fv
      • nnk_vec2v

        public static void nnk_vec2v​(float[] xy,
                                     long __result)
        Array version of: nnk_vec2v(long, long)
      • nk_vec2v

        public static NkVec2 nk_vec2v​(float[] xy,
                                      NkVec2 __result)
        Array version of: vec2v
      • nnk_vec2iv

        public static void nnk_vec2iv​(int[] xy,
                                      long __result)
        Array version of: nnk_vec2iv(long, long)
      • nk_vec2iv

        public static NkVec2 nk_vec2iv​(int[] xy,
                                       NkVec2 __result)
        Array version of: vec2iv
      • nnk_rectv

        public static void nnk_rectv​(float[] xywh,
                                     long __result)
        Array version of: nnk_rectv(long, long)
      • nk_rectv

        public static NkRect nk_rectv​(float[] xywh,
                                      NkRect __result)
        Array version of: rectv
      • nnk_rectiv

        public static void nnk_rectiv​(int[] xywh,
                                      long __result)
        Array version of: nnk_rectiv(long, long)
      • nk_rectiv

        public static NkRect nk_rectiv​(int[] xywh,
                                       NkRect __result)
        Array version of: rectiv
      • nk_strmatch_fuzzy_string

        public static boolean nk_strmatch_fuzzy_string​(java.nio.ByteBuffer str,
                                                       java.nio.ByteBuffer pattern,
                                                       int[] out_score)
        
        public static boolean nk_strmatch_fuzzy_string​(java.lang.CharSequence str,
                                                       java.lang.CharSequence pattern,
                                                       int[] out_score)
        
        Array version of: strmatch_fuzzy_string
      • nk_strmatch_fuzzy_text

        public static int nk_strmatch_fuzzy_text​(java.nio.ByteBuffer txt,
                                                 java.nio.ByteBuffer pattern,
                                                 int[] out_score)
        
        public static int nk_strmatch_fuzzy_text​(java.lang.CharSequence txt,
                                                 java.lang.CharSequence pattern,
                                                 int[] out_score)
        
        Array version of: strmatch_fuzzy_text
      • nk_utf_decode

        public static int nk_utf_decode​(java.nio.ByteBuffer c,
                                        int[] u)
        Array version of: utf_decode
      • nk_utf_at

        @Nullable
        public static java.nio.ByteBuffer nk_utf_at​(java.nio.ByteBuffer buffer,
                                                    int index,
                                                    int[] unicode)
        Array version of: utf_at
      • nk_str_append_text_runes

        public static int nk_str_append_text_runes​(NkStr s,
                                                   int[] runes)
        Array version of: str_append_text_runes
      • nk_str_append_str_runes

        public static int nk_str_append_str_runes​(NkStr s,
                                                  int[] runes)
        Array version of: str_append_str_runes
      • nk_str_insert_text_runes

        public static int nk_str_insert_text_runes​(NkStr s,
                                                   int pos,
                                                   int[] runes)
        Array version of: str_insert_text_runes
      • nk_str_insert_str_runes

        public static int nk_str_insert_str_runes​(NkStr s,
                                                  int pos,
                                                  int[] runes)
        Array version of: str_insert_str_runes
      • nk_str_at_rune

        @Nullable
        public static java.nio.ByteBuffer nk_str_at_rune​(NkStr s,
                                                         int pos,
                                                         int[] unicode)
        Array version of: str_at_rune
      • nk_str_at_const

        @Nullable
        public static java.nio.ByteBuffer nk_str_at_const​(NkStr s,
                                                          int pos,
                                                          int[] unicode)
        Array version of: str_at_const