Package org.lwjgl.nuklear


@NullMarked package org.lwjgl.nuklear
Bindings to the Nuklear library.

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.

Resources

  • Class
    Description
    struct nk_allocator { {@link NkHandle nk_handle} userdata; {@link NkPluginAllocI nk_plugin_alloc} alloc; {@link NkPluginFreeI nk_plugin_free} mfree; }
    An array of NkAllocator structs.
    struct nk_baked_font { float height; float ascent; float descent; nk_rune glyph_offset; nk_rune glyph_count; nk_rune const * ranges; }
    An array of NkBakedFont structs.
    struct nk_buffer { {@link NkBufferMarker struct nk_buffer_marker} marker[2]; {@link NkAllocator struct nk_allocator} pool; enum nk_allocation_type type; {@link NkMemory struct nk_memory} memory; float grow_factor; nk_size allocated; nk_size needed; nk_size calls; nk_size size; }
    An array of NkBuffer structs.
    struct nk_buffer_marker { nk_bool active; nk_size offset; }
    An array of NkBufferMarker structs.
    struct nk_chart { int slot; float x; float y; float w; float h; {@link NkChartSlot struct nk_chart_slot} slots[NK_CHART_MAX_SLOT]; }
    An array of NkChart structs.
    struct nk_chart_slot { enum nk_chart_type type; {@link NkColor struct nk_color} color; {@link NkColor struct nk_color} highlight; float min; float max; float range; int count; {@link NkVec2 struct nk_vec2} last; int index; nk_bool show_markers; }
    An array of NkChartSlot structs.
    struct nk_clipboard { {@link NkHandle nk_handle} userdata; {@link NkPluginPasteI nk_plugin_paste} paste; {@link NkPluginCopyI nk_plugin_copy} copy; }
    An array of NkClipboard structs.
    struct nk_color { nk_byte r; nk_byte g; nk_byte b; nk_byte a; }
    An array of NkColor structs.
    struct nk_colorf { float r; float g; float b; float a; }
    An array of NkColorf structs.
    struct nk_command { enum nk_command_type type; nk_size next; {@link NkHandle nk_handle} userdata; }
    An array of NkCommand structs.
    struct nk_command_buffer { {@link NkBuffer struct nk_buffer} * base; {@link NkRect struct nk_rect} clip; int use_clipping; {@link NkHandle nk_handle} userdata; nk_size begin; nk_size end; nk_size last; }
    An array of NkCommandBuffer structs.
    Callback function: nk_command_custom_callback
    Callback function: nk_command_custom_callback
    struct nk_context { {@link NkInput struct nk_input} input; {@link NkStyle struct nk_style} style; {@link NkBuffer struct nk_buffer} memory; {@link NkClipboard struct nk_clipboard} clip; nk_flags last_widget_state; enum nk_button_behavior button_behavior; {@link NkConfigurationStacks struct nk_configuration_stacks} stacks; float delta_time_seconds; {@link NkDrawList struct nk_draw_list} draw_list; {@link NkHandle nk_handle} userdata; {@link NkTextEdit struct nk_text_edit} text_edit; {@link NkCommandBuffer struct nk_command_buffer} overlay; int build; int use_pool; {@link NkPool struct nk_pool} pool; nk_window * begin; nk_window * end; nk_window * active; nk_window * current; struct nk_page_element * freelist; unsigned int count; unsigned int seq; }
    struct nk_convert_config { float global_alpha; enum nk_anti_aliasing line_AA; enum nk_anti_aliasing shape_AA; unsigned int circle_segment_count; unsigned int arc_segment_count; unsigned int curve_segment_count; {@link NkDrawNullTexture struct nk_draw_null_texture} tex_null; {@link NkDrawVertexLayoutElement struct nk_draw_vertex_layout_element} * vertex_layout; nk_size vertex_size; nk_size vertex_alignment; }
    An array of NkConvertConfig structs.
    struct nk_cursor { {@link NkImage struct nk_image} img; {@link NkVec2 struct nk_vec2} size; {@link NkVec2 struct nk_vec2} offset; }
    An array of NkCursor structs.
    Callback function: nk_draw_begin
    Callback function: nk_draw_begin
    struct nk_draw_command { unsigned int elem_count; {@link NkRect struct nk_rect} clip_rect; {@link NkHandle nk_handle} texture; {@link NkHandle nk_handle} userdata; }
    An array of NkDrawCommand structs.
    Callback function: nk_draw_end
    Callback function: nk_draw_end
    struct nk_draw_list { {@link NkRect struct nk_rect} clip_rect; {@link NkVec2 struct nk_vec2} circle_vtx[12]; {@link NkConvertConfig struct nk_convert_config} config; {@link NkBuffer struct nk_buffer} * buffer; {@link NkBuffer struct nk_buffer} * vertices; {@link NkBuffer struct nk_buffer} * elements; unsigned int element_count; unsigned int vertex_count; unsigned int cmd_count; nk_size cmd_offset; unsigned int path_count; unsigned int path_offset; enum nk_anti_aliasing line_AA; enum nk_anti_aliasing shape_AA; {@link NkHandle nk_handle} userdata; }
    An array of NkDrawList structs.
    struct nk_draw_null_texture { {@link NkHandle nk_handle} texture; {@link NkVec2 struct nk_vec2} uv; }
    An array of NkDrawNullTexture structs.
    struct nk_draw_vertex_layout_element { enum nk_draw_vertex_layout_attribute attribute; enum nk_draw_vertex_layout_format format; nk_size offset; }
    An array of NkDrawVertexLayoutElement structs.
    struct nk_edit_state { nk_hash name; unsigned int seq; unsigned int old; int active; int prev; int cursor; int sel_start; int sel_end; {@link NkScroll struct nk_scroll} scrollbar; unsigned char mode; bool single_line; }
    An array of NkEditState structs.
    struct nk_font { {@link NkFont struct nk_font} * next; {@link NkUserFont struct nk_user_font} handle; {@link NkBakedFont struct nk_baked_font} info; float scale; {@link NkFontGlyph struct nk_font_glyph} * glyphs; {@link NkFontGlyph struct nk_font_glyph} const * fallback; nk_rune fallback_codepoint; {@link NkHandle nk_handle} texture; {@link NkFontConfig struct nk_font_config} * config; }
    An array of NkFont structs.
    struct nk_font_atlas { void * pixel; int tex_width; int tex_height; {@link NkAllocator struct nk_allocator} permanent; {@link NkAllocator struct nk_allocator} temporary; {@link NkRecti struct nk_recti} custom; {@link NkCursor struct nk_cursor} cursors[7]; int glyph_count; {@link NkFontGlyph struct nk_font_glyph} * glyphs; {@link NkFont struct nk_font} * default_font; {@link NkFont struct nk_font} * fonts; {@link NkFontConfig struct nk_font_config} * config; int font_num; }
    An array of NkFontAtlas structs.
    struct nk_font_config { {@link NkFontConfig struct nk_font_config} * next; void * ttf_blob; nk_size ttf_size; unsigned char ttf_data_owned_by_atlas; unsigned char merge_mode; unsigned char pixel_snap; unsigned char oversample_v; unsigned char oversample_h; unsigned char padding[3]; float size; enum nk_font_coord_type coord_type; {@link NkVec2 struct nk_vec2} spacing; nk_rune const * range; {@link NkBakedFont struct nk_baked_font} * font; nk_rune fallback_glyph; {@link NkFontConfig struct nk_font_config} * n; {@link NkFontConfig struct nk_font_config} * p; }
    An array of NkFontConfig structs.
    struct nk_font_glyph { nk_rune codepoint; float xadvance; float x0; float y0; float x1; float y1; float w; float h; float u0; float v0; float u1; float v1; }
    An array of NkFontGlyph structs.
    union nk_handle { void * ptr; int id; }
    An array of NkHandle structs.
    struct nk_image { {@link NkHandle nk_handle} handle; nk_ushort w; nk_ushort h; nk_ushort region[4]; }
    An array of NkImage structs.
    struct nk_input { {@link NkKeyboard struct nk_keyboard} keyboard; {@link NkMouse struct nk_mouse} mouse; }
    An array of NkInput structs.
    Callback function: nk_item_getter
    Callback function: nk_item_getter
    struct nk_key { nk_bool down; unsigned int clicked; }
    An array of NkKey structs.
    struct nk_keyboard { {@link NkKey struct nk_key} keys[NK_KEY_MAX]; char text[NK_INPUT_MAX]; int text_len; }
    An array of NkKeyboard structs.
    struct nk_list_view { int begin; int end; int count; int total_height; {@link NkContext struct nk_context} * ctx; nk_uint * scroll_pointer; nk_uint scroll_value; }
    An array of NkListView structs.
    struct nk_memory { void * ptr; nk_size size; }
    An array of NkMemory structs.
    struct nk_memory_status { void * memory; unsigned int type; nk_size size; nk_size allocated; nk_size needed; nk_size calls; }
    An array of NkMemoryStatus structs.
    struct nk_menu_state { float x; float y; float w; float h; {@link NkScroll struct nk_scroll} offset; }
    An array of NkMenuState structs.
    struct nk_mouse { {@link NkMouseButton struct nk_mouse_button} buttons[NK_BUTTON_MAX]; {@link NkVec2 struct nk_vec2} pos; {@link NkVec2 struct nk_vec2} down_pos; {@link NkVec2 struct nk_vec2} prev; {@link NkVec2 struct nk_vec2} delta; {@link NkVec2 struct nk_vec2} scroll_delta; bool grab; bool grabbed; bool ungrab; }
    An array of NkMouse structs.
    struct nk_mouse_button { nk_bool down; unsigned int clicked; {@link NkVec2 struct nk_vec2} clicked_pos; }
    An array of NkMouseButton structs.
    struct nk_nine_slice { {@link NkImage struct nk_image} img; nk_ushort l; nk_ushort t; nk_ushort r; nk_ushort b; }
    An array of NkNineSlice structs.
    struct nk_panel { enum nk_panel_type type; nk_flags flags; {@link NkRect struct nk_rect} bounds; nk_uint * offset_x; nk_uint * offset_y; float at_x; float at_y; float max_x; float footer_height; float header_height; float border; unsigned int has_scrolling; {@link NkRect struct nk_rect} clip; {@link NkMenuState struct nk_menu_state} menu; {@link NkRowLayout struct nk_row_layout} row; {@link NkChart struct nk_chart} chart; {@link NkCommandBuffer struct nk_command_buffer} * buffer; {@link NkPanel struct nk_panel} * parent; }
    An array of NkPanel structs.
    Callback function: nk_plugin_alloc
    Callback function: nk_plugin_alloc
    Callback function: nk_plugin_copy
    Callback function: nk_plugin_copy
    Callback function: nk_plugin_filter
    Callback function: nk_plugin_filter
    Callback function: nk_plugin_free
    Callback function: nk_plugin_free
    Callback function: nk_plugin_paste
    Callback function: nk_plugin_paste
    struct nk_popup_buffer { nk_size begin; nk_size parent; nk_size last; nk_size end; nk_bool active; }
    An array of NkPopupBuffer structs.
    struct nk_popup_state { {@link NkWindow struct nk_window} * win; enum nk_panel_type type; {@link NkPopupBuffer struct nk_popup_buffer} buf; nk_hash name; nk_bool active; unsigned combo_count; unsigned con_count; unsigned con_old; unsigned active_con; {@link NkRect struct nk_rect} header; }
    An array of NkPopupState structs.
    struct nk_property_state { int active; int prev; char buffer[NK_MAX_NUMBER_BUFFER]; int length; int cursor; int select_start; int select_end; nk_hash name; unsigned int seq; unsigned int old; int state; }
    An array of NkPropertyState structs.
    Callback function: nk_query_font_glyph_f
    Callback function: nk_query_font_glyph_f
    struct nk_rect { float x; float y; float w; float h; }
    An array of NkRect structs.
    struct nk_recti { short x; short y; short w; short h; }
    An array of NkRecti structs.
    struct nk_row_layout { enum nk_panel_row_layout_type type; int index; float height; float min_height; int columns; float const * ratio; float item_width; float item_height; float item_offset; float filled; {@link NkRect struct nk_rect} item; int tree_depth; float templates[16]; }
    An array of NkRowLayout structs.
    struct nk_scroll { nk_uint x; nk_uint y; }
    An array of NkScroll structs.
    struct nk_str { {@link NkBuffer struct nk_buffer} buffer; int len; }
    An array of NkStr structs.
    struct nk_style { {@link NkUserFont struct nk_user_font} * font; {@link NkCursor struct nk_cursor} * cursors[NK_CURSOR_COUNT]; {@link NkCursor struct nk_cursor} * cursor_active; {@link NkCursor struct nk_cursor} * cursor_last; int cursor_visible; {@link NkStyleText struct nk_style_text} text; {@link NkStyleButton struct nk_style_button} button; {@link NkStyleButton struct nk_style_button} contextual_button; {@link NkStyleButton struct nk_style_button} menu_button; {@link NkStyleToggle struct nk_style_toggle} option; {@link NkStyleToggle struct nk_style_toggle} checkbox; {@link NkStyleSelectable struct nk_style_selectable} selectable; {@link NkStyleSlider struct nk_style_slider} slider; {@link NkStyleKnob struct nk_style_knob} knob; {@link NkStyleProgress struct nk_style_progress} progress; {@link NkStyleProperty struct nk_style_property} property; {@link NkStyleEdit struct nk_style_edit} edit; {@link NkStyleChart struct nk_style_chart} chart; {@link NkStyleScrollbar struct nk_style_scrollbar} scrollh; {@link NkStyleScrollbar struct nk_style_scrollbar} scrollv; {@link NkStyleTab struct nk_style_tab} tab; {@link NkStyleCombo struct nk_style_combo} combo; {@link NkStyleWindow struct nk_style_window} window; }
    An array of NkStyle structs.
    struct nk_style_button { {@link NkStyleItem struct nk_style_item} normal; {@link NkStyleItem struct nk_style_item} hover; {@link NkStyleItem struct nk_style_item} active; {@link NkColor struct nk_color} border_color; float color_factor_background; {@link NkColor struct nk_color} text_background; {@link NkColor struct nk_color} text_normal; {@link NkColor struct nk_color} text_hover; {@link NkColor struct nk_color} text_active; nk_flags text_alignment; float color_factor_text; float border; float rounding; {@link NkVec2 struct nk_vec2} padding; {@link NkVec2 struct nk_vec2} image_padding; {@link NkVec2 struct nk_vec2} touch_padding; float disabled_factor; {@link NkHandle nk_handle} userdata; {@link NkDrawBeginCallbackI nk_draw_begin} draw_begin; {@link NkDrawEndCallbackI nk_draw_end} draw_end; }
    An array of NkStyleButton structs.
    struct nk_style_chart { {@link NkStyleItem struct nk_style_item} background; {@link NkColor struct nk_color} border_color; {@link NkColor struct nk_color} selected_color; {@link NkColor struct nk_color} color; float border; float rounding; {@link NkVec2 struct nk_vec2} padding; float color_factor; float disabled_factor; nk_bool show_markers; }
    An array of NkStyleChart structs.
    struct nk_style_combo { {@link NkStyleItem struct nk_style_item} normal; {@link NkStyleItem struct nk_style_item} hover; {@link NkStyleItem struct nk_style_item} active; {@link NkColor struct nk_color} border_color; {@link NkColor struct nk_color} label_normal; {@link NkColor struct nk_color} label_hover; {@link NkColor struct nk_color} label_active; {@link NkColor struct nk_color} symbol_normal; {@link NkColor struct nk_color} symbol_hover; {@link NkColor struct nk_color} symbol_active; {@link NkStyleButton struct nk_style_button} button; enum nk_symbol_type sym_normal; enum nk_symbol_type sym_hover; enum nk_symbol_type sym_active; float border; float rounding; {@link NkVec2 struct nk_vec2} content_padding; {@link NkVec2 struct nk_vec2} button_padding; {@link NkVec2 struct nk_vec2} spacing; float color_factor; float disabled_factor; }
    An array of NkStyleCombo structs.
    struct nk_style_edit { {@link NkStyleItem struct nk_style_item} normal; {@link NkStyleItem struct nk_style_item} hover; {@link NkStyleItem struct nk_style_item} active; {@link NkColor struct nk_color} border_color; {@link NkStyleScrollbar struct nk_style_scrollbar} scrollbar; {@link NkColor struct nk_color} cursor_normal; {@link NkColor struct nk_color} cursor_hover; {@link NkColor struct nk_color} cursor_text_normal; {@link NkColor struct nk_color} cursor_text_hover; {@link NkColor struct nk_color} text_normal; {@link NkColor struct nk_color} text_hover; {@link NkColor struct nk_color} text_active; {@link NkColor struct nk_color} selected_normal; {@link NkColor struct nk_color} selected_hover; {@link NkColor struct nk_color} selected_text_normal; {@link NkColor struct nk_color} selected_text_hover; float border; float rounding; float cursor_size; {@link NkVec2 struct nk_vec2} scrollbar_size; {@link NkVec2 struct nk_vec2} padding; float row_padding; float color_factor; float disabled_factor; }
    An array of NkStyleEdit structs.
    struct nk_style_item { enum nk_style_item_type type; {@link NkStyleItemData union nk_style_item_data} data; }
    An array of NkStyleItem structs.
    union nk_style_item_data { {@link NkColor struct nk_color} color; {@link NkImage struct nk_image} image; {@link NkNineSlice struct nk_nine_slice} slice; }
    An array of NkStyleItemData structs.
    struct nk_style_knob { {@link NkStyleItem struct nk_style_item} normal; {@link NkStyleItem struct nk_style_item} hover; {@link NkStyleItem struct nk_style_item} active; {@link NkColor struct nk_color} border_color; {@link NkColor struct nk_color} knob_normal; {@link NkColor struct nk_color} knob_hover; {@link NkColor struct nk_color} knob_active; {@link NkColor struct nk_color} knob_border_color; {@link NkColor struct nk_color} cursor_normal; {@link NkColor struct nk_color} cursor_hover; {@link NkColor struct nk_color} cursor_active; float border; float knob_border; {@link NkVec2 struct nk_vec2} padding; {@link NkVec2 struct nk_vec2} spacing; float cursor_width; float color_factor; float disabled_factor; {@link NkHandle nk_handle} userdata; {@link NkDrawBeginCallbackI nk_draw_begin} draw_begin; {@link NkDrawEndCallbackI nk_draw_end} draw_end; }
    An array of NkStyleKnob structs.
    struct nk_style_progress { {@link NkStyleItem struct nk_style_item} normal; {@link NkStyleItem struct nk_style_item} hover; {@link NkStyleItem struct nk_style_item} active; {@link NkColor struct nk_color} border_color; {@link NkStyleItem struct nk_style_item} cursor_normal; {@link NkStyleItem struct nk_style_item} cursor_hover; {@link NkStyleItem struct nk_style_item} cursor_active; {@link NkColor struct nk_color} cursor_border_color; float rounding; float border; float cursor_border; float cursor_rounding; {@link NkVec2 struct nk_vec2} padding; float color_factor; float disabled_factor; {@link NkHandle nk_handle} userdata; {@link NkDrawBeginCallbackI nk_draw_begin} draw_begin; {@link NkDrawEndCallbackI nk_draw_end} draw_end; }
    An array of NkStyleProgress structs.
    struct nk_style_property { {@link NkStyleItem struct nk_style_item} normal; {@link NkStyleItem struct nk_style_item} hover; {@link NkStyleItem struct nk_style_item} active; {@link NkColor struct nk_color} border_color; {@link NkColor struct nk_color} label_normal; {@link NkColor struct nk_color} label_hover; {@link NkColor struct nk_color} label_active; enum nk_symbol_type sym_left; enum nk_symbol_type sym_right; float border; float rounding; {@link NkVec2 struct nk_vec2} padding; float color_factor; float disabled_factor; {@link NkStyleEdit struct nk_style_edit} edit; {@link NkStyleButton struct nk_style_button} inc_button; {@link NkStyleButton struct nk_style_button} dec_button; {@link NkHandle nk_handle} userdata; {@link NkDrawBeginCallbackI nk_draw_begin} draw_begin; {@link NkDrawEndCallbackI nk_draw_end} draw_end; }
    An array of NkStyleProperty structs.
    struct nk_style_scrollbar { {@link NkStyleItem struct nk_style_item} normal; {@link NkStyleItem struct nk_style_item} hover; {@link NkStyleItem struct nk_style_item} active; {@link NkColor struct nk_color} border_color; {@link NkStyleItem struct nk_style_item} cursor_normal; {@link NkStyleItem struct nk_style_item} cursor_hover; {@link NkStyleItem struct nk_style_item} cursor_active; {@link NkColor struct nk_color} cursor_border_color; float border; float rounding; float border_cursor; float rounding_cursor; {@link NkVec2 struct nk_vec2} padding; float color_factor; float disabled_factor; int show_buttons; {@link NkStyleButton struct nk_style_button} inc_button; {@link NkStyleButton struct nk_style_button} dec_button; enum nk_symbol_type inc_symbol; enum nk_symbol_type dec_symbol; {@link NkHandle nk_handle} userdata; {@link NkDrawBeginCallbackI nk_draw_begin} draw_begin; {@link NkDrawEndCallbackI nk_draw_end} draw_end; }
    An array of NkStyleScrollbar structs.
    struct nk_style_selectable { {@link NkStyleItem struct nk_style_item} normal; {@link NkStyleItem struct nk_style_item} hover; {@link NkStyleItem struct nk_style_item} pressed; {@link NkStyleItem struct nk_style_item} normal_active; {@link NkStyleItem struct nk_style_item} hover_active; {@link NkStyleItem struct nk_style_item} pressed_active; {@link NkColor struct nk_color} text_normal; {@link NkColor struct nk_color} text_hover; {@link NkColor struct nk_color} text_pressed; {@link NkColor struct nk_color} text_normal_active; {@link NkColor struct nk_color} text_hover_active; {@link NkColor struct nk_color} text_pressed_active; {@link NkColor struct nk_color} text_background; nk_flags text_alignment; float rounding; {@link NkVec2 struct nk_vec2} padding; {@link NkVec2 struct nk_vec2} touch_padding; {@link NkVec2 struct nk_vec2} image_padding; float color_factor; float disabled_factor; {@link NkHandle nk_handle} userdata; {@link NkDrawBeginCallbackI nk_draw_begin} draw_begin; {@link NkDrawEndCallbackI nk_draw_end} draw_end; }
    An array of NkStyleSelectable structs.
    struct nk_style_slider { {@link NkStyleItem struct nk_style_item} normal; {@link NkStyleItem struct nk_style_item} hover; {@link NkStyleItem struct nk_style_item} active; {@link NkColor struct nk_color} border_color; {@link NkColor struct nk_color} bar_normal; {@link NkColor struct nk_color} bar_hover; {@link NkColor struct nk_color} bar_active; {@link NkColor struct nk_color} bar_filled; {@link NkStyleItem struct nk_style_item} cursor_normal; {@link NkStyleItem struct nk_style_item} cursor_hover; {@link NkStyleItem struct nk_style_item} cursor_active; float border; float rounding; float bar_height; {@link NkVec2 struct nk_vec2} padding; {@link NkVec2 struct nk_vec2} spacing; {@link NkVec2 struct nk_vec2} cursor_size; float color_factor; float disabled_factor; int show_buttons; {@link NkStyleButton struct nk_style_button} inc_button; {@link NkStyleButton struct nk_style_button} dec_button; enum nk_symbol_type inc_symbol; enum nk_symbol_type dec_symbol; {@link NkHandle nk_handle} userdata; {@link NkDrawBeginCallbackI nk_draw_begin} draw_begin; {@link NkDrawEndCallbackI nk_draw_end} draw_end; }
    An array of NkStyleSlider structs.
    struct nk_style_tab { {@link NkStyleItem struct nk_style_item} background; {@link NkColor struct nk_color} border_color; {@link NkColor struct nk_color} text; {@link NkStyleButton struct nk_style_button} tab_maximize_button; {@link NkStyleButton struct nk_style_button} tab_minimize_button; {@link NkStyleButton struct nk_style_button} node_maximize_button; {@link NkStyleButton struct nk_style_button} node_minimize_button; enum nk_symbol_type sym_minimize; enum nk_symbol_type sym_maximize; float border; float rounding; float indent; {@link NkVec2 struct nk_vec2} padding; {@link NkVec2 struct nk_vec2} spacing; float color_factor; float disabled_factor; }
    An array of NkStyleTab structs.
    struct nk_style_text { {@link NkColor struct nk_color} color; {@link NkVec2 struct nk_vec2} padding; float color_factor; float disabled_factor; }
    An array of NkStyleText structs.
    struct nk_style_toggle { {@link NkStyleItem struct nk_style_item} normal; {@link NkStyleItem struct nk_style_item} hover; {@link NkStyleItem struct nk_style_item} active; {@link NkColor struct nk_color} border_color; {@link NkStyleItem struct nk_style_item} cursor_normal; {@link NkStyleItem struct nk_style_item} cursor_hover; {@link NkColor struct nk_color} text_normal; {@link NkColor struct nk_color} text_hover; {@link NkColor struct nk_color} text_active; {@link NkColor struct nk_color} text_background; nk_flags text_alignment; {@link NkVec2 struct nk_vec2} padding; {@link NkVec2 struct nk_vec2} touch_padding; float spacing; float border; float color_factor; float disabled_factor; {@link NkHandle nk_handle} userdata; {@link NkDrawBeginCallbackI nk_draw_begin} draw_begin; {@link NkDrawEndCallbackI nk_draw_end} draw_end; }
    An array of NkStyleToggle structs.
    struct nk_style_window { {@link NkStyleWindowHeader struct nk_style_window_header} header; {@link NkStyleItem struct nk_style_item} fixed_background; {@link NkColor struct nk_color} background; {@link NkColor struct nk_color} border_color; {@link NkColor struct nk_color} popup_border_color; {@link NkColor struct nk_color} combo_border_color; {@link NkColor struct nk_color} contextual_border_color; {@link NkColor struct nk_color} menu_border_color; {@link NkColor struct nk_color} group_border_color; {@link NkColor struct nk_color} tooltip_border_color; {@link NkStyleItem struct nk_style_item} scaler; float border; float combo_border; float contextual_border; float menu_border; float group_border; float tooltip_border; float popup_border; float min_row_height_padding; float rounding; {@link NkVec2 struct nk_vec2} spacing; {@link NkVec2 struct nk_vec2} scrollbar_size; {@link NkVec2 struct nk_vec2} min_size; {@link NkVec2 struct nk_vec2} padding; {@link NkVec2 struct nk_vec2} group_padding; {@link NkVec2 struct nk_vec2} popup_padding; {@link NkVec2 struct nk_vec2} combo_padding; {@link NkVec2 struct nk_vec2} contextual_padding; {@link NkVec2 struct nk_vec2} menu_padding; {@link NkVec2 struct nk_vec2} tooltip_padding; }
    An array of NkStyleWindow structs.
    struct nk_style_window_header { {@link NkStyleItem struct nk_style_item} normal; {@link NkStyleItem struct nk_style_item} hover; {@link NkStyleItem struct nk_style_item} active; {@link NkStyleButton struct nk_style_button} close_button; {@link NkStyleButton struct nk_style_button} minimize_button; enum nk_symbol_type close_symbol; enum nk_symbol_type minimize_symbol; enum nk_symbol_type maximize_symbol; {@link NkColor struct nk_color} label_normal; {@link NkColor struct nk_color} label_hover; {@link NkColor struct nk_color} label_active; enum nk_style_header_align align; {@link NkVec2 struct nk_vec2} padding; {@link NkVec2 struct nk_vec2} label_padding; {@link NkVec2 struct nk_vec2} spacing; }
    An array of NkStyleWindowHeader structs.
    struct nk_text_edit { {@link NkClipboard struct nk_clipboard} clip; {@link NkStr struct nk_str} string; {@link NkPluginFilterI nk_plugin_filter} filter; {@link NkVec2 struct nk_vec2} scrollbar; int cursor; int select_start; int select_end; unsigned char mode; bool cursor_at_end_of_line; bool initialized; bool has_preferred_x; bool single_line; bool active; char[1]; float preferred_x; {@link NkTextUndoState struct nk_text_undo_state} undo; }
    An array of NkTextEdit structs.
    struct nk_text_undo_record { int where; short insert_length; short delete_length; short char_storage; }
    An array of NkTextUndoRecord structs.
    struct nk_text_undo_state { {@link NkTextUndoRecord struct nk_text_undo_record} undo_rec[99]; nk_rune undo_char[999]; short undo_point; short redo_point; short undo_char_point; short redo_char_point; }
    An array of NkTextUndoState structs.
    Callback function: nk_text_width_f
    Callback function: nk_text_width_f
    struct nk_user_font { {@link NkHandle nk_handle} userdata; float height; {@link NkTextWidthCallbackI nk_text_width_f} width; {@link NkQueryFontGlyphCallbackI nk_query_font_glyph_f} query; {@link NkHandle nk_handle} texture; }
    An array of NkUserFont structs.
    struct nk_user_font_glyph { {@link NkVec2 struct nk_vec2} uv[2]; {@link NkVec2 struct nk_vec2} offset; float width; float height; float xadvance; }
    An array of NkUserFontGlyph structs.
    Callback function: nk_value_getter
    Callback function: nk_value_getter
    struct nk_vec2 { float x; float y; }
    An array of NkVec2 structs.
    struct nk_window { unsigned int seq; nk_hash name; char name_string[NK_WINDOW_MAX_NAME]; nk_flags flags; {@link NkRect struct nk_rect} bounds; {@link NkScroll struct nk_scroll} scrollbar; {@link NkCommandBuffer struct nk_command_buffer} buffer; {@link NkPanel struct nk_panel} * layout; float scrollbar_hiding_timer; {@link NkPropertyState struct nk_property_state} property; {@link NkPopupState struct nk_popup_state} popup; {@link NkEditState struct nk_edit_state} edit; unsigned int scrolled; nk_bool widgets_disabled; struct nk_table * tables; unsigned int table_count; {@link NkWindow struct nk_window} * next; {@link NkWindow struct nk_window} * prev; {@link NkWindow struct nk_window} * parent; }
    An array of NkWindow structs.