RetroArch
Classes | Macros | Typedefs | Enumerations | Functions
nuklear.h File Reference
#include <stdint.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
#include <assert.h>
Include dependency graph for nuklear.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  nk_color
 
struct  nk_colorf
 
struct  nk_vec2
 
struct  nk_vec2i
 
struct  nk_rect
 
struct  nk_recti
 
union  nk_handle
 
struct  nk_image
 
struct  nk_cursor
 
struct  nk_scroll
 
struct  nk_allocator
 
struct  nk_draw_null_texture
 
struct  nk_convert_config
 
struct  nk_list_view
 
struct  nk_user_font
 
struct  nk_memory_status
 
struct  nk_buffer_marker
 
struct  nk_memory
 
struct  nk_buffer
 
struct  nk_str
 
struct  nk_clipboard
 
struct  nk_text_undo_record
 
struct  nk_text_undo_state
 
struct  nk_text_edit
 
struct  nk_command
 
struct  nk_command_scissor
 
struct  nk_command_line
 
struct  nk_command_curve
 
struct  nk_command_rect
 
struct  nk_command_rect_filled
 
struct  nk_command_rect_multi_color
 
struct  nk_command_triangle
 
struct  nk_command_triangle_filled
 
struct  nk_command_circle
 
struct  nk_command_circle_filled
 
struct  nk_command_arc
 
struct  nk_command_arc_filled
 
struct  nk_command_polygon
 
struct  nk_command_polygon_filled
 
struct  nk_command_polyline
 
struct  nk_command_image
 
struct  nk_command_custom
 
struct  nk_command_text
 
struct  nk_command_buffer
 
struct  nk_mouse_button
 
struct  nk_mouse
 
struct  nk_key
 
struct  nk_keyboard
 
struct  nk_input
 
union  nk_style_item_data
 
struct  nk_style_item
 
struct  nk_style_text
 
struct  nk_style_button
 
struct  nk_style_toggle
 
struct  nk_style_selectable
 
struct  nk_style_slider
 
struct  nk_style_progress
 
struct  nk_style_scrollbar
 
struct  nk_style_edit
 
struct  nk_style_property
 
struct  nk_style_chart
 
struct  nk_style_combo
 
struct  nk_style_tab
 
struct  nk_style_window_header
 
struct  nk_style_window
 
struct  nk_style
 
struct  nk_chart_slot
 
struct  nk_chart
 
struct  nk_row_layout
 
struct  nk_popup_buffer
 
struct  nk_menu_state
 
struct  nk_panel
 
struct  nk_popup_state
 
struct  nk_edit_state
 
struct  nk_property_state
 
struct  nk_window
 
struct  nk_configuration_stacks
 
struct  nk_table
 
union  nk_page_data
 
struct  nk_page_element
 
struct  nk_page
 
struct  nk_pool
 
struct  nk_context
 

Macros

#define NK_UNDEFINED   (-1.0f)
 
#define NK_UTF_INVALID   0xFFFD /* internal invalid utf8 rune */
 
#define NK_UTF_SIZE   4 /* describes the number of bytes a glyph consists of*/
 
#define NK_INPUT_MAX   16
 
#define NK_MAX_NUMBER_BUFFER   64
 
#define NK_SCROLLBAR_HIDING_TIMEOUT   4.0f
 
#define NK_API   extern
 
#define NK_INTERN   static
 
#define NK_STORAGE   static
 
#define NK_GLOBAL   static
 
#define NK_FLAG(x)   (1 << (x))
 
#define NK_STRINGIFY(x)   #x
 
#define NK_MACRO_STRINGIFY(x)   NK_STRINGIFY(x)
 
#define NK_STRING_JOIN_IMMEDIATE(arg1, arg2)   arg1 ## arg2
 
#define NK_STRING_JOIN_DELAY(arg1, arg2)   NK_STRING_JOIN_IMMEDIATE(arg1, arg2)
 
#define NK_STRING_JOIN(arg1, arg2)   NK_STRING_JOIN_DELAY(arg1, arg2)
 
#define NK_UNIQUE_NAME(name)   NK_STRING_JOIN(name,__LINE__)
 
#define NK_STATIC_ASSERT(exp)   typedef char NK_UNIQUE_NAME(_dummy_array)[(exp)?1:-1]
 
#define NK_FILE_LINE   __FILE__ ":" NK_MACRO_STRINGIFY(__LINE__)
 
#define NK_MIN(a, b)   ((a) < (b) ? (a) : (b))
 
#define NK_MAX(a, b)   ((a) < (b) ? (b) : (a))
 
#define NK_CLAMP(i, v, x)   (NK_MAX(NK_MIN(v,x), i))
 
#define NK_INT8   char
 
#define NK_UINT8   unsigned char
 
#define NK_INT16   signed short
 
#define NK_UINT16   unsigned short
 
#define NK_INT32   signed int
 
#define NK_UINT32   unsigned int
 
#define NK_SIZE_TYPE   unsigned long
 
#define NK_POINTER_TYPE   unsigned long
 
#define nk_foreach(c, ctx)   for((c) = nk__begin(ctx); (c) != 0; (c) = nk__next(ctx,c))
 
#define nk_tree_push(ctx, type, title, state)   nk_tree_push_hashed(ctx, type, title, state, NK_FILE_LINE,nk_strlen(NK_FILE_LINE),__LINE__)
 
#define nk_tree_push_id(ctx, type, title, state, id)   nk_tree_push_hashed(ctx, type, title, state, NK_FILE_LINE,nk_strlen(NK_FILE_LINE),id)
 
#define nk_tree_image_push(ctx, type, img, title, state)   nk_tree_image_push_hashed(ctx, type, img, title, state, NK_FILE_LINE,nk_strlen(NK_FILE_LINE),__LINE__)
 
#define nk_tree_image_push_id(ctx, type, img, title, state, id)   nk_tree_image_push_hashed(ctx, type, img, title, state, NK_FILE_LINE,nk_strlen(NK_FILE_LINE),id)
 
#define NK_TEXTEDIT_UNDOSTATECOUNT   99
 
#define NK_TEXTEDIT_UNDOCHARCOUNT   999
 
#define NK_MAX_LAYOUT_ROW_TEMPLATE_COLUMNS   16
 
#define NK_CHART_MAX_SLOT   4
 
#define NK_WINDOW_MAX_NAME   64
 
#define NK_BUTTON_BEHAVIOR_STACK_SIZE   8
 
#define NK_FONT_STACK_SIZE   8
 
#define NK_STYLE_ITEM_STACK_SIZE   16
 
#define NK_FLOAT_STACK_SIZE   32
 
#define NK_VECTOR_STACK_SIZE   16
 
#define NK_FLAGS_STACK_SIZE   32
 
#define NK_COLOR_STACK_SIZE   32
 
#define NK_CONFIGURATION_STACK_TYPE(prefix, name, type)
 
#define NK_CONFIG_STACK(type, size)
 
#define nk_float   float
 
#define NK_VALUE_PAGE_CAPACITY   (((NK_MAX(sizeof(struct nk_window),sizeof(struct nk_panel)) / sizeof(nk_uint))) / 2)
 
#define NK_PI   3.141592654f
 
#define NK_UTF_INVALID   0xFFFD
 
#define NK_MAX_FLOAT_PRECISION   2
 
#define NK_UNUSED(x)   ((void)(x))
 
#define NK_SATURATE(x)   (NK_MAX(0, NK_MIN(1.0f, x)))
 
#define NK_LEN(a)   (sizeof(a)/sizeof(a)[0])
 
#define NK_ABS(a)   (((a) < 0) ? -(a) : (a))
 
#define NK_BETWEEN(x, a, b)   ((a) <= (x) && (x) < (b))
 
#define NK_INBOX(px, py, x, y, w, h)   (NK_BETWEEN(px,x,x+w) && NK_BETWEEN(py,y,y+h))
 
#define NK_INTERSECT(x0, y0, w0, h0, x1, y1, w1, h1)   (!(((x1 > (x0 + w0)) || ((x1 + w1) < x0) || (y1 > (y0 + h0)) || (y1 + h1) < y0)))
 
#define NK_CONTAINS(x, y, w, h, bx, by, bw, bh)   (NK_INBOX(x,y, bx, by, bw, bh) && NK_INBOX(x+w,y+h, bx, by, bw, bh))
 
#define nk_vec2_sub(a, b)   nk_vec2((a).x - (b).x, (a).y - (b).y)
 
#define nk_vec2_add(a, b)   nk_vec2((a).x + (b).x, (a).y + (b).y)
 
#define nk_vec2_len_sqr(a)   ((a).x*(a).x+(a).y*(a).y)
 
#define nk_vec2_muls(a, t)   nk_vec2((a).x * (t), (a).y * (t))
 
#define nk_ptr_add(t, p, i)   ((t*)((void*)((nk_byte*)(p) + (i))))
 
#define nk_ptr_add_const(t, p, i)   ((const t*)((const void*)((const nk_byte*)(p) + (i))))
 
#define nk_zero_struct(s)   nk_zero(&s, sizeof(s))
 
#define NK_UINT_TO_PTR(x)   ((void*)&((char*)0)[x])
 
#define NK_PTR_TO_UINT(x)   ((nk_size)(((char*)x)-(char*)0))
 
#define NK_ALIGN_PTR(x, mask)   (NK_UINT_TO_PTR((NK_PTR_TO_UINT((nk_byte*)(x) + (mask-1)) & ~(mask-1))))
 
#define NK_ALIGN_PTR_BACK(x, mask)   (NK_UINT_TO_PTR((NK_PTR_TO_UINT((nk_byte*)(x)) & ~(mask-1))))
 
#define NK_OFFSETOF(st, m)   ((nk_ptr)&(((st*)0)->m))
 
#define NK_CONTAINER_OF(ptr, type, member)   (type*)((void*)((char*)(1 ? (ptr): &((type*)0)->member) - NK_OFFSETOF(type, member)))
 
#define NK_ALIGNOF(t)   ((char*)(&((struct {char c; t _h;}*)0)->_h) - (char*)0)
 

Typedefs

typedef NK_INT8 nk_char
 
typedef NK_UINT8 nk_uchar
 
typedef NK_UINT8 nk_byte
 
typedef NK_INT16 nk_short
 
typedef NK_UINT16 nk_ushort
 
typedef NK_INT32 nk_int
 
typedef NK_UINT32 nk_uint
 
typedef NK_SIZE_TYPE nk_size
 
typedef NK_POINTER_TYPE nk_ptr
 
typedef nk_uint nk_hash
 
typedef nk_uint nk_flags
 
typedef nk_uint nk_rune
 
typedef char nk_glyph[NK_UTF_SIZE]
 
typedef void *(* nk_plugin_alloc) (nk_handle, void *old, nk_size)
 
typedef void(* nk_plugin_free) (nk_handle, void *old)
 
typedef int(* nk_plugin_filter) (const struct nk_text_edit *, nk_rune unicode)
 
typedef void(* nk_plugin_paste) (nk_handle, struct nk_text_edit *)
 
typedef void(* nk_plugin_copy) (nk_handle, const char *, int len)
 
typedef float(* nk_text_width_f) (nk_handle, float h, const char *, int len)
 
typedef void(* nk_query_font_glyph_f) (nk_handle handle, float font_height, struct nk_user_font_glyph *glyph, nk_rune codepoint, nk_rune next_codepoint)
 
typedef void(* nk_command_custom_callback) (void *canvas, short x, short y, unsigned short w, unsigned short h, nk_handle callback_data)
 

Enumerations

enum  { nk_false, nk_true }
 
enum  nk_heading { NK_UP, NK_RIGHT, NK_DOWN, NK_LEFT }
 
enum  nk_button_behavior { NK_BUTTON_DEFAULT, NK_BUTTON_REPEATER }
 
enum  nk_modify { NK_FIXED = nk_false, NK_MODIFIABLE = nk_true }
 
enum  nk_orientation { NK_VERTICAL, NK_HORIZONTAL }
 
enum  nk_collapse_states { NK_MINIMIZED = nk_false, NK_MAXIMIZED = nk_true }
 
enum  nk_show_states { NK_HIDDEN = nk_false, NK_SHOWN = nk_true }
 
enum  nk_chart_type { NK_CHART_LINES, NK_CHART_COLUMN, NK_CHART_MAX }
 
enum  nk_chart_event { NK_CHART_HOVERING = 0x01, NK_CHART_CLICKED = 0x02 }
 
enum  nk_color_format { NK_RGB, NK_RGBA }
 
enum  nk_popup_type { NK_POPUP_STATIC, NK_POPUP_DYNAMIC }
 
enum  nk_layout_format { NK_DYNAMIC, NK_STATIC }
 
enum  nk_tree_type { NK_TREE_NODE, NK_TREE_TAB }
 
enum  nk_symbol_type {
  NK_SYMBOL_NONE, NK_SYMBOL_X, NK_SYMBOL_UNDERSCORE, NK_SYMBOL_CIRCLE_SOLID,
  NK_SYMBOL_CIRCLE_OUTLINE, NK_SYMBOL_RECT_SOLID, NK_SYMBOL_RECT_OUTLINE, NK_SYMBOL_TRIANGLE_UP,
  NK_SYMBOL_TRIANGLE_DOWN, NK_SYMBOL_TRIANGLE_LEFT, NK_SYMBOL_TRIANGLE_RIGHT, NK_SYMBOL_PLUS,
  NK_SYMBOL_MINUS, NK_SYMBOL_MAX
}
 
enum  nk_keys {
  NK_KEY_NONE, NK_KEY_SHIFT, NK_KEY_CTRL, NK_KEY_DEL,
  NK_KEY_ENTER, NK_KEY_TAB, NK_KEY_BACKSPACE, NK_KEY_COPY,
  NK_KEY_CUT, NK_KEY_PASTE, NK_KEY_UP, NK_KEY_DOWN,
  NK_KEY_LEFT, NK_KEY_RIGHT, NK_KEY_TEXT_INSERT_MODE, NK_KEY_TEXT_REPLACE_MODE,
  NK_KEY_TEXT_RESET_MODE, NK_KEY_TEXT_LINE_START, NK_KEY_TEXT_LINE_END, NK_KEY_TEXT_START,
  NK_KEY_TEXT_END, NK_KEY_TEXT_UNDO, NK_KEY_TEXT_REDO, NK_KEY_TEXT_SELECT_ALL,
  NK_KEY_TEXT_WORD_LEFT, NK_KEY_TEXT_WORD_RIGHT, NK_KEY_SCROLL_START, NK_KEY_SCROLL_END,
  NK_KEY_SCROLL_DOWN, NK_KEY_SCROLL_UP, NK_KEY_MAX
}
 
enum  nk_buttons {
  NK_BUTTON_LEFT, NK_BUTTON_MIDDLE, NK_BUTTON_RIGHT, NK_BUTTON_DOUBLE,
  NK_BUTTON_MAX
}
 
enum  nk_anti_aliasing { NK_ANTI_ALIASING_OFF, NK_ANTI_ALIASING_ON }
 
enum  nk_convert_result {
  NK_CONVERT_SUCCESS = 0, NK_CONVERT_INVALID_PARAM = 1, NK_CONVERT_COMMAND_BUFFER_FULL = NK_FLAG(1), NK_CONVERT_VERTEX_BUFFER_FULL = NK_FLAG(2),
  NK_CONVERT_ELEMENT_BUFFER_FULL = NK_FLAG(3)
}
 
enum  nk_panel_flags {
  NK_WINDOW_BORDER = NK_FLAG(0), NK_WINDOW_MOVABLE = NK_FLAG(1), NK_WINDOW_SCALABLE = NK_FLAG(2), NK_WINDOW_CLOSABLE = NK_FLAG(3),
  NK_WINDOW_MINIMIZABLE = NK_FLAG(4), NK_WINDOW_NO_SCROLLBAR = NK_FLAG(5), NK_WINDOW_TITLE = NK_FLAG(6), NK_WINDOW_SCROLL_AUTO_HIDE = NK_FLAG(7),
  NK_WINDOW_BACKGROUND = NK_FLAG(8), NK_WINDOW_SCALE_LEFT = NK_FLAG(9), NK_WINDOW_NO_INPUT = NK_FLAG(10)
}
 
enum  nk_widget_layout_states { NK_WIDGET_INVALID, NK_WIDGET_VALID, NK_WIDGET_ROM }
 
enum  nk_widget_states {
  NK_WIDGET_STATE_MODIFIED = NK_FLAG(1), NK_WIDGET_STATE_INACTIVE = NK_FLAG(2), NK_WIDGET_STATE_ENTERED = NK_FLAG(3), NK_WIDGET_STATE_HOVER = NK_FLAG(4),
  NK_WIDGET_STATE_ACTIVED = NK_FLAG(5), NK_WIDGET_STATE_LEFT = NK_FLAG(6), NK_WIDGET_STATE_HOVERED = NK_WIDGET_STATE_HOVER|NK_WIDGET_STATE_MODIFIED, NK_WIDGET_STATE_ACTIVE = NK_WIDGET_STATE_ACTIVED|NK_WIDGET_STATE_MODIFIED
}
 
enum  nk_text_align {
  NK_TEXT_ALIGN_LEFT = 0x01, NK_TEXT_ALIGN_CENTERED = 0x02, NK_TEXT_ALIGN_RIGHT = 0x04, NK_TEXT_ALIGN_TOP = 0x08,
  NK_TEXT_ALIGN_MIDDLE = 0x10, NK_TEXT_ALIGN_BOTTOM = 0x20
}
 
enum  nk_text_alignment { NK_TEXT_LEFT = NK_TEXT_ALIGN_MIDDLE|NK_TEXT_ALIGN_LEFT, NK_TEXT_CENTERED = NK_TEXT_ALIGN_MIDDLE|NK_TEXT_ALIGN_CENTERED, NK_TEXT_RIGHT = NK_TEXT_ALIGN_MIDDLE|NK_TEXT_ALIGN_RIGHT }
 
enum  nk_edit_flags {
  NK_EDIT_DEFAULT = 0, NK_EDIT_READ_ONLY = NK_FLAG(0), NK_EDIT_AUTO_SELECT = NK_FLAG(1), NK_EDIT_SIG_ENTER = NK_FLAG(2),
  NK_EDIT_ALLOW_TAB = NK_FLAG(3), NK_EDIT_NO_CURSOR = NK_FLAG(4), NK_EDIT_SELECTABLE = NK_FLAG(5), NK_EDIT_CLIPBOARD = NK_FLAG(6),
  NK_EDIT_CTRL_ENTER_NEWLINE = NK_FLAG(7), NK_EDIT_NO_HORIZONTAL_SCROLL = NK_FLAG(8), NK_EDIT_ALWAYS_INSERT_MODE = NK_FLAG(9), NK_EDIT_MULTILINE = NK_FLAG(10),
  NK_EDIT_GOTO_END_ON_ACTIVATE = NK_FLAG(11)
}
 
enum  nk_edit_types { NK_EDIT_SIMPLE = NK_EDIT_ALWAYS_INSERT_MODE, NK_EDIT_FIELD = NK_EDIT_SIMPLE|NK_EDIT_SELECTABLE|NK_EDIT_CLIPBOARD, NK_EDIT_BOX = NK_EDIT_ALWAYS_INSERT_MODE| NK_EDIT_SELECTABLE| NK_EDIT_MULTILINE|NK_EDIT_ALLOW_TAB|NK_EDIT_CLIPBOARD, NK_EDIT_EDITOR = NK_EDIT_SELECTABLE|NK_EDIT_MULTILINE|NK_EDIT_ALLOW_TAB| NK_EDIT_CLIPBOARD }
 
enum  nk_edit_events {
  NK_EDIT_ACTIVE = NK_FLAG(0), NK_EDIT_INACTIVE = NK_FLAG(1), NK_EDIT_ACTIVATED = NK_FLAG(2), NK_EDIT_DEACTIVATED = NK_FLAG(3),
  NK_EDIT_COMMITED = NK_FLAG(4)
}
 
enum  nk_style_colors {
  NK_COLOR_TEXT, NK_COLOR_WINDOW, NK_COLOR_HEADER, NK_COLOR_BORDER,
  NK_COLOR_BUTTON, NK_COLOR_BUTTON_HOVER, NK_COLOR_BUTTON_ACTIVE, NK_COLOR_TOGGLE,
  NK_COLOR_TOGGLE_HOVER, NK_COLOR_TOGGLE_CURSOR, NK_COLOR_SELECT, NK_COLOR_SELECT_ACTIVE,
  NK_COLOR_SLIDER, NK_COLOR_SLIDER_CURSOR, NK_COLOR_SLIDER_CURSOR_HOVER, NK_COLOR_SLIDER_CURSOR_ACTIVE,
  NK_COLOR_PROPERTY, NK_COLOR_EDIT, NK_COLOR_EDIT_CURSOR, NK_COLOR_COMBO,
  NK_COLOR_CHART, NK_COLOR_CHART_COLOR, NK_COLOR_CHART_COLOR_HIGHLIGHT, NK_COLOR_SCROLLBAR,
  NK_COLOR_SCROLLBAR_CURSOR, NK_COLOR_SCROLLBAR_CURSOR_HOVER, NK_COLOR_SCROLLBAR_CURSOR_ACTIVE, NK_COLOR_TAB_HEADER,
  NK_COLOR_COUNT
}
 
enum  nk_style_cursor {
  NK_CURSOR_ARROW, NK_CURSOR_TEXT, NK_CURSOR_MOVE, NK_CURSOR_RESIZE_VERTICAL,
  NK_CURSOR_RESIZE_HORIZONTAL, NK_CURSOR_RESIZE_TOP_LEFT_DOWN_RIGHT, NK_CURSOR_RESIZE_TOP_RIGHT_DOWN_LEFT, NK_CURSOR_COUNT
}
 
enum  nk_allocation_type { NK_BUFFER_FIXED, NK_BUFFER_DYNAMIC }
 
enum  nk_buffer_allocation_type { NK_BUFFER_FRONT, NK_BUFFER_BACK, NK_BUFFER_MAX }
 
enum  nk_text_edit_type { NK_TEXT_EDIT_SINGLE_LINE, NK_TEXT_EDIT_MULTI_LINE }
 
enum  nk_text_edit_mode { NK_TEXT_EDIT_MODE_VIEW, NK_TEXT_EDIT_MODE_INSERT, NK_TEXT_EDIT_MODE_REPLACE }
 
enum  nk_command_type {
  NK_COMMAND_NOP, NK_COMMAND_SCISSOR, NK_COMMAND_LINE, NK_COMMAND_CURVE,
  NK_COMMAND_RECT, NK_COMMAND_RECT_FILLED, NK_COMMAND_RECT_MULTI_COLOR, NK_COMMAND_CIRCLE,
  NK_COMMAND_CIRCLE_FILLED, NK_COMMAND_ARC, NK_COMMAND_ARC_FILLED, NK_COMMAND_TRIANGLE,
  NK_COMMAND_TRIANGLE_FILLED, NK_COMMAND_POLYGON, NK_COMMAND_POLYGON_FILLED, NK_COMMAND_POLYLINE,
  NK_COMMAND_TEXT, NK_COMMAND_IMAGE, NK_COMMAND_CUSTOM
}
 
enum  nk_command_clipping { NK_CLIPPING_OFF = nk_false, NK_CLIPPING_ON = nk_true }
 
enum  nk_style_item_type { NK_STYLE_ITEM_COLOR, NK_STYLE_ITEM_IMAGE }
 
enum  nk_style_header_align { NK_HEADER_LEFT, NK_HEADER_RIGHT }
 
enum  nk_panel_type {
  NK_PANEL_WINDOW = NK_FLAG(0), NK_PANEL_GROUP = NK_FLAG(1), NK_PANEL_POPUP = NK_FLAG(2), NK_PANEL_CONTEXTUAL = NK_FLAG(4),
  NK_PANEL_COMBO = NK_FLAG(5), NK_PANEL_MENU = NK_FLAG(6), NK_PANEL_TOOLTIP = NK_FLAG(7)
}
 
enum  nk_panel_set { NK_PANEL_SET_NONBLOCK = NK_PANEL_CONTEXTUAL|NK_PANEL_COMBO|NK_PANEL_MENU|NK_PANEL_TOOLTIP, NK_PANEL_SET_POPUP = NK_PANEL_SET_NONBLOCK|NK_PANEL_POPUP, NK_PANEL_SET_SUB = NK_PANEL_SET_POPUP|NK_PANEL_GROUP }
 
enum  nk_panel_row_layout_type {
  NK_LAYOUT_DYNAMIC_FIXED = 0, NK_LAYOUT_DYNAMIC_ROW, NK_LAYOUT_DYNAMIC_FREE, NK_LAYOUT_DYNAMIC,
  NK_LAYOUT_STATIC_FIXED, NK_LAYOUT_STATIC_ROW, NK_LAYOUT_STATIC_FREE, NK_LAYOUT_STATIC,
  NK_LAYOUT_TEMPLATE, NK_LAYOUT_COUNT
}
 
enum  nk_window_flags {
  NK_WINDOW_PRIVATE = NK_FLAG(11), NK_WINDOW_DYNAMIC = NK_WINDOW_PRIVATE, NK_WINDOW_ROM = NK_FLAG(12), NK_WINDOW_NOT_INTERACTIVE = NK_WINDOW_ROM|NK_WINDOW_NO_INPUT,
  NK_WINDOW_HIDDEN = NK_FLAG(13), NK_WINDOW_CLOSED = NK_FLAG(14), NK_WINDOW_MINIMIZED = NK_FLAG(15), NK_WINDOW_REMOVE_ROM = NK_FLAG(16)
}
 

Functions

 NK_STATIC_ASSERT (sizeof(nk_short)==2)
 
 NK_STATIC_ASSERT (sizeof(nk_ushort)==2)
 
 NK_STATIC_ASSERT (sizeof(nk_uint)==4)
 
 NK_STATIC_ASSERT (sizeof(nk_int)==4)
 
 NK_STATIC_ASSERT (sizeof(nk_byte)==1)
 
 NK_STATIC_ASSERT (sizeof(nk_flags) >=4)
 
 NK_STATIC_ASSERT (sizeof(nk_size) >=sizeof(void *))
 
 NK_STATIC_ASSERT (sizeof(nk_ptr) >=sizeof(void *))
 
NK_API int nk_init_fixed (struct nk_context *, void *memory, nk_size size, const struct nk_user_font *)
 
NK_API int nk_init (struct nk_context *, struct nk_allocator *, const struct nk_user_font *)
 
NK_API int nk_init_custom (struct nk_context *, struct nk_buffer *cmds, struct nk_buffer *pool, const struct nk_user_font *)
 
NK_API void nk_clear (struct nk_context *)
 
NK_API void nk_free (struct nk_context *)
 
NK_API void nk_input_begin (struct nk_context *)
 
NK_API void nk_input_motion (struct nk_context *, int x, int y)
 
NK_API void nk_input_key (struct nk_context *, enum nk_keys, int down)
 
NK_API void nk_input_button (struct nk_context *, enum nk_buttons, int x, int y, int down)
 
NK_API void nk_input_scroll (struct nk_context *, struct nk_vec2 val)
 
NK_API void nk_input_char (struct nk_context *, char)
 
NK_API void nk_input_glyph (struct nk_context *, const nk_glyph)
 
NK_API void nk_input_unicode (struct nk_context *, nk_rune)
 
NK_API void nk_input_end (struct nk_context *)
 
NK_API const struct nk_commandnk__begin (struct nk_context *)
 
NK_API const struct nk_commandnk__next (struct nk_context *, const struct nk_command *)
 
NK_API int nk_begin (struct nk_context *ctx, const char *title, struct nk_rect bounds, nk_flags flags)
 
NK_API int nk_begin_titled (struct nk_context *ctx, const char *name, const char *title, struct nk_rect bounds, nk_flags flags)
 
NK_API void nk_end (struct nk_context *ctx)
 
NK_API struct nk_windownk_window_find (struct nk_context *ctx, const char *name)
 
NK_API struct nk_rect nk_window_get_bounds (const struct nk_context *ctx)
 
NK_API struct nk_vec2 nk_window_get_position (const struct nk_context *ctx)
 
NK_API struct nk_vec2 nk_window_get_size (const struct nk_context *)
 
NK_API float nk_window_get_width (const struct nk_context *)
 
NK_API float nk_window_get_height (const struct nk_context *)
 
NK_API struct nk_panelnk_window_get_panel (struct nk_context *)
 
NK_API struct nk_rect nk_window_get_content_region (struct nk_context *)
 
NK_API struct nk_vec2 nk_window_get_content_region_min (struct nk_context *)
 
NK_API struct nk_vec2 nk_window_get_content_region_max (struct nk_context *)
 
NK_API struct nk_vec2 nk_window_get_content_region_size (struct nk_context *)
 
NK_API struct nk_command_buffernk_window_get_canvas (struct nk_context *)
 
NK_API int nk_window_has_focus (const struct nk_context *)
 
NK_API int nk_window_is_collapsed (struct nk_context *ctx, const char *name)
 
NK_API int nk_window_is_closed (struct nk_context *, const char *)
 
NK_API int nk_window_is_hidden (struct nk_context *, const char *)
 
NK_API int nk_window_is_active (struct nk_context *, const char *)
 
NK_API int nk_window_is_hovered (struct nk_context *)
 
NK_API int nk_window_is_any_hovered (struct nk_context *)
 
NK_API int nk_item_is_any_active (struct nk_context *)
 
NK_API void nk_window_set_bounds (struct nk_context *, const char *name, struct nk_rect bounds)
 
NK_API void nk_window_set_position (struct nk_context *, const char *name, struct nk_vec2 pos)
 
NK_API void nk_window_set_size (struct nk_context *, const char *name, struct nk_vec2)
 
NK_API void nk_window_set_focus (struct nk_context *, const char *name)
 
NK_API void nk_window_close (struct nk_context *ctx, const char *name)
 
NK_API void nk_window_collapse (struct nk_context *, const char *name, enum nk_collapse_states state)
 
NK_API void nk_window_collapse_if (struct nk_context *, const char *name, enum nk_collapse_states, int cond)
 
NK_API void nk_window_show (struct nk_context *, const char *name, enum nk_show_states)
 
NK_API void nk_window_show_if (struct nk_context *, const char *name, enum nk_show_states, int cond)
 
NK_API void nk_layout_set_min_row_height (struct nk_context *, float height)
 
NK_API void nk_layout_reset_min_row_height (struct nk_context *)
 
NK_API struct nk_rect nk_layout_widget_bounds (struct nk_context *)
 
NK_API float nk_layout_ratio_from_pixel (struct nk_context *, float pixel_width)
 
NK_API void nk_layout_row_dynamic (struct nk_context *ctx, float height, int cols)
 
NK_API void nk_layout_row_static (struct nk_context *ctx, float height, int item_width, int cols)
 
NK_API void nk_layout_row_begin (struct nk_context *ctx, enum nk_layout_format fmt, float row_height, int cols)
 
NK_API void nk_layout_row_push (struct nk_context *, float value)
 
NK_API void nk_layout_row_end (struct nk_context *)
 
NK_API void nk_layout_row (struct nk_context *, enum nk_layout_format, float height, int cols, const float *ratio)
 
NK_API void nk_layout_row_template_begin (struct nk_context *, float row_height)
 
NK_API void nk_layout_row_template_push_dynamic (struct nk_context *)
 
NK_API void nk_layout_row_template_push_variable (struct nk_context *, float min_width)
 
NK_API void nk_layout_row_template_push_static (struct nk_context *, float width)
 
NK_API void nk_layout_row_template_end (struct nk_context *)
 
NK_API void nk_layout_space_begin (struct nk_context *, enum nk_layout_format, float height, int widget_count)
 
NK_API void nk_layout_space_push (struct nk_context *, struct nk_rect)
 
NK_API void nk_layout_space_end (struct nk_context *)
 
NK_API struct nk_rect nk_layout_space_bounds (struct nk_context *)
 
NK_API struct nk_vec2 nk_layout_space_to_screen (struct nk_context *, struct nk_vec2)
 
NK_API struct nk_vec2 nk_layout_space_to_local (struct nk_context *, struct nk_vec2)
 
NK_API struct nk_rect nk_layout_space_rect_to_screen (struct nk_context *, struct nk_rect)
 
NK_API struct nk_rect nk_layout_space_rect_to_local (struct nk_context *, struct nk_rect)
 
NK_API int nk_group_begin (struct nk_context *, const char *title, nk_flags)
 
NK_API int nk_group_scrolled_offset_begin (struct nk_context *, nk_uint *x_offset, nk_uint *y_offset, const char *, nk_flags)
 
NK_API int nk_group_scrolled_begin (struct nk_context *, struct nk_scroll *, const char *title, nk_flags)
 
NK_API void nk_group_scrolled_end (struct nk_context *)
 
NK_API void nk_group_end (struct nk_context *)
 
NK_API int nk_list_view_begin (struct nk_context *, struct nk_list_view *out, const char *id, nk_flags, int row_height, int row_count)
 
NK_API void nk_list_view_end (struct nk_list_view *)
 
NK_API int nk_tree_push_hashed (struct nk_context *, enum nk_tree_type, const char *title, enum nk_collapse_states initial_state, const char *hash, int len, int seed)
 
NK_API int nk_tree_image_push_hashed (struct nk_context *, enum nk_tree_type, struct nk_image, const char *title, enum nk_collapse_states initial_state, const char *hash, int len, int seed)
 
NK_API void nk_tree_pop (struct nk_context *)
 
NK_API int nk_tree_state_push (struct nk_context *, enum nk_tree_type, const char *title, enum nk_collapse_states *state)
 
NK_API int nk_tree_state_image_push (struct nk_context *, enum nk_tree_type, struct nk_image, const char *title, enum nk_collapse_states *state)
 
NK_API void nk_tree_state_pop (struct nk_context *)
 
NK_API enum nk_widget_layout_states nk_widget (struct nk_rect *, const struct nk_context *)
 
NK_API enum nk_widget_layout_states nk_widget_fitting (struct nk_rect *, struct nk_context *, struct nk_vec2)
 
NK_API struct nk_rect nk_widget_bounds (struct nk_context *)
 
NK_API struct nk_vec2 nk_widget_position (struct nk_context *)
 
NK_API struct nk_vec2 nk_widget_size (struct nk_context *)
 
NK_API float nk_widget_width (struct nk_context *)
 
NK_API float nk_widget_height (struct nk_context *)
 
NK_API int nk_widget_is_hovered (struct nk_context *)
 
NK_API int nk_widget_is_mouse_clicked (struct nk_context *, enum nk_buttons)
 
NK_API int nk_widget_has_mouse_click_down (struct nk_context *, enum nk_buttons, int down)
 
NK_API void nk_spacing (struct nk_context *, int cols)
 
NK_API void nk_text (struct nk_context *, const char *, int, nk_flags)
 
NK_API void nk_text_colored (struct nk_context *, const char *, int, nk_flags, struct nk_color)
 
NK_API void nk_text_wrap (struct nk_context *, const char *, int)
 
NK_API void nk_text_wrap_colored (struct nk_context *, const char *, int, struct nk_color)
 
NK_API void nk_label (struct nk_context *, const char *, nk_flags align)
 
NK_API void nk_label_colored (struct nk_context *, const char *, nk_flags align, struct nk_color)
 
NK_API void nk_label_wrap (struct nk_context *, const char *)
 
NK_API void nk_label_colored_wrap (struct nk_context *, const char *, struct nk_color)
 
NK_API void nk_image (struct nk_context *, struct nk_image)
 
NK_API int nk_button_text (struct nk_context *, const char *title, int len)
 
NK_API int nk_button_label (struct nk_context *, const char *title)
 
NK_API int nk_button_color (struct nk_context *, struct nk_color)
 
NK_API int nk_button_symbol (struct nk_context *, enum nk_symbol_type)
 
NK_API int nk_button_image (struct nk_context *, struct nk_image img)
 
NK_API int nk_button_symbol_label (struct nk_context *, enum nk_symbol_type, const char *, nk_flags text_alignment)
 
NK_API int nk_button_symbol_text (struct nk_context *, enum nk_symbol_type, const char *, int, nk_flags alignment)
 
NK_API int nk_button_image_label (struct nk_context *, struct nk_image img, const char *, nk_flags text_alignment)
 
NK_API int nk_button_image_text (struct nk_context *, struct nk_image img, const char *, int, nk_flags alignment)
 
NK_API int nk_button_text_styled (struct nk_context *, const struct nk_style_button *, const char *title, int len)
 
NK_API int nk_button_label_styled (struct nk_context *, const struct nk_style_button *, const char *title)
 
NK_API int nk_button_symbol_styled (struct nk_context *, const struct nk_style_button *, enum nk_symbol_type)
 
NK_API int nk_button_image_styled (struct nk_context *, const struct nk_style_button *, struct nk_image img)
 
NK_API int nk_button_symbol_text_styled (struct nk_context *, const struct nk_style_button *, enum nk_symbol_type, const char *, int, nk_flags alignment)
 
NK_API int nk_button_symbol_label_styled (struct nk_context *ctx, const struct nk_style_button *style, enum nk_symbol_type symbol, const char *title, nk_flags align)
 
NK_API int nk_button_image_label_styled (struct nk_context *, const struct nk_style_button *, struct nk_image img, const char *, nk_flags text_alignment)
 
NK_API int nk_button_image_text_styled (struct nk_context *, const struct nk_style_button *, struct nk_image img, const char *, int, nk_flags alignment)
 
NK_API void nk_button_set_behavior (struct nk_context *, enum nk_button_behavior)
 
NK_API int nk_button_push_behavior (struct nk_context *, enum nk_button_behavior)
 
NK_API int nk_button_pop_behavior (struct nk_context *)
 
NK_API int nk_check_label (struct nk_context *, const char *, int active)
 
NK_API int nk_check_text (struct nk_context *, const char *, int, int active)
 
NK_API unsigned nk_check_flags_label (struct nk_context *, const char *, unsigned int flags, unsigned int value)
 
NK_API unsigned nk_check_flags_text (struct nk_context *, const char *, int, unsigned int flags, unsigned int value)
 
NK_API int nk_checkbox_label (struct nk_context *, const char *, int *active)
 
NK_API int nk_checkbox_text (struct nk_context *, const char *, int, int *active)
 
NK_API int nk_checkbox_flags_label (struct nk_context *, const char *, unsigned int *flags, unsigned int value)
 
NK_API int nk_checkbox_flags_text (struct nk_context *, const char *, int, unsigned int *flags, unsigned int value)
 
NK_API int nk_radio_label (struct nk_context *, const char *, int *active)
 
NK_API int nk_radio_text (struct nk_context *, const char *, int, int *active)
 
NK_API int nk_option_label (struct nk_context *, const char *, int active)
 
NK_API int nk_option_text (struct nk_context *, const char *, int, int active)
 
NK_API int nk_selectable_label (struct nk_context *, const char *, nk_flags align, int *value)
 
NK_API int nk_selectable_text (struct nk_context *, const char *, int, nk_flags align, int *value)
 
NK_API int nk_selectable_image_label (struct nk_context *, struct nk_image, const char *, nk_flags align, int *value)
 
NK_API int nk_selectable_image_text (struct nk_context *, struct nk_image, const char *, int, nk_flags align, int *value)
 
NK_API int nk_select_label (struct nk_context *, const char *, nk_flags align, int value)
 
NK_API int nk_select_text (struct nk_context *, const char *, int, nk_flags align, int value)
 
NK_API int nk_select_image_label (struct nk_context *, struct nk_image, const char *, nk_flags align, int value)
 
NK_API int nk_select_image_text (struct nk_context *, struct nk_image, const char *, int, nk_flags align, int value)
 
NK_API float nk_slide_float (struct nk_context *, float min, float val, float max, float step)
 
NK_API int nk_slide_int (struct nk_context *, int min, int val, int max, int step)
 
NK_API int nk_slider_float (struct nk_context *, float min, float *val, float max, float step)
 
NK_API int nk_slider_int (struct nk_context *, int min, int *val, int max, int step)
 
NK_API int nk_progress (struct nk_context *, nk_size *cur, nk_size max, int modifyable)
 
NK_API nk_size nk_prog (struct nk_context *, nk_size cur, nk_size max, int modifyable)
 
NK_API struct nk_color nk_color_picker (struct nk_context *, struct nk_color, enum nk_color_format)
 
NK_API int nk_color_pick (struct nk_context *, struct nk_color *, enum nk_color_format)
 
NK_API void nk_property_int (struct nk_context *, const char *name, int min, int *val, int max, int step, float inc_per_pixel)
 
NK_API void nk_property_float (struct nk_context *, const char *name, float min, float *val, float max, float step, float inc_per_pixel)
 
NK_API void nk_property_double (struct nk_context *, const char *name, double min, double *val, double max, double step, float inc_per_pixel)
 
NK_API int nk_propertyi (struct nk_context *, const char *name, int min, int val, int max, int step, float inc_per_pixel)
 
NK_API float nk_propertyf (struct nk_context *, const char *name, float min, float val, float max, float step, float inc_per_pixel)
 
NK_API double nk_propertyd (struct nk_context *, const char *name, double min, double val, double max, double step, float inc_per_pixel)
 
NK_API nk_flags nk_edit_string (struct nk_context *, nk_flags, char *buffer, int *len, int max, nk_plugin_filter)
 
NK_API nk_flags nk_edit_string_zero_terminated (struct nk_context *, nk_flags, char *buffer, int max, nk_plugin_filter)
 
NK_API nk_flags nk_edit_buffer (struct nk_context *, nk_flags, struct nk_text_edit *, nk_plugin_filter)
 
NK_API void nk_edit_focus (struct nk_context *, nk_flags flags)
 
NK_API void nk_edit_unfocus (struct nk_context *)
 
NK_API int nk_chart_begin (struct nk_context *, enum nk_chart_type, int num, float min, float max)
 
NK_API int nk_chart_begin_colored (struct nk_context *, enum nk_chart_type, struct nk_color, struct nk_color active, int num, float min, float max)
 
NK_API void nk_chart_add_slot (struct nk_context *ctx, const enum nk_chart_type, int count, float min_value, float max_value)
 
NK_API void nk_chart_add_slot_colored (struct nk_context *ctx, const enum nk_chart_type, struct nk_color, struct nk_color active, int count, float min_value, float max_value)
 
NK_API nk_flags nk_chart_push (struct nk_context *, float)
 
NK_API nk_flags nk_chart_push_slot (struct nk_context *, float, int)
 
NK_API void nk_chart_end (struct nk_context *)
 
NK_API void nk_plot (struct nk_context *, enum nk_chart_type, const float *values, int count, int offset)
 
NK_API void nk_plot_function (struct nk_context *, enum nk_chart_type, void *userdata, float(*value_getter)(void *user, int index), int count, int offset)
 
NK_API int nk_popup_begin (struct nk_context *, enum nk_popup_type, const char *, nk_flags, struct nk_rect bounds)
 
NK_API void nk_popup_close (struct nk_context *)
 
NK_API void nk_popup_end (struct nk_context *)
 
NK_API int nk_combo (struct nk_context *, const char **items, int count, int selected, int item_height, struct nk_vec2 size)
 
NK_API int nk_combo_separator (struct nk_context *, const char *items_separated_by_separator, int separator, int selected, int count, int item_height, struct nk_vec2 size)
 
NK_API int nk_combo_string (struct nk_context *, const char *items_separated_by_zeros, int selected, int count, int item_height, struct nk_vec2 size)
 
NK_API int nk_combo_callback (struct nk_context *, void(*item_getter)(void *, int, const char **), void *userdata, int selected, int count, int item_height, struct nk_vec2 size)
 
NK_API void nk_combobox (struct nk_context *, const char **items, int count, int *selected, int item_height, struct nk_vec2 size)
 
NK_API void nk_combobox_string (struct nk_context *, const char *items_separated_by_zeros, int *selected, int count, int item_height, struct nk_vec2 size)
 
NK_API void nk_combobox_separator (struct nk_context *, const char *items_separated_by_separator, int separator, int *selected, int count, int item_height, struct nk_vec2 size)
 
NK_API void nk_combobox_callback (struct nk_context *, void(*item_getter)(void *, int, const char **), void *, int *selected, int count, int item_height, struct nk_vec2 size)
 
NK_API int nk_combo_begin_text (struct nk_context *, const char *selected, int, struct nk_vec2 size)
 
NK_API int nk_combo_begin_label (struct nk_context *, const char *selected, struct nk_vec2 size)
 
NK_API int nk_combo_begin_color (struct nk_context *, struct nk_color color, struct nk_vec2 size)
 
NK_API int nk_combo_begin_symbol (struct nk_context *, enum nk_symbol_type, struct nk_vec2 size)
 
NK_API int nk_combo_begin_symbol_label (struct nk_context *, const char *selected, enum nk_symbol_type, struct nk_vec2 size)
 
NK_API int nk_combo_begin_symbol_text (struct nk_context *, const char *selected, int, enum nk_symbol_type, struct nk_vec2 size)
 
NK_API int nk_combo_begin_image (struct nk_context *, struct nk_image img, struct nk_vec2 size)
 
NK_API int nk_combo_begin_image_label (struct nk_context *, const char *selected, struct nk_image, struct nk_vec2 size)
 
NK_API int nk_combo_begin_image_text (struct nk_context *, const char *selected, int, struct nk_image, struct nk_vec2 size)
 
NK_API int nk_combo_item_label (struct nk_context *, const char *, nk_flags alignment)
 
NK_API int nk_combo_item_text (struct nk_context *, const char *, int, nk_flags alignment)
 
NK_API int nk_combo_item_image_label (struct nk_context *, struct nk_image, const char *, nk_flags alignment)
 
NK_API int nk_combo_item_image_text (struct nk_context *, struct nk_image, const char *, int, nk_flags alignment)
 
NK_API int nk_combo_item_symbol_label (struct nk_context *, enum nk_symbol_type, const char *, nk_flags alignment)
 
NK_API int nk_combo_item_symbol_text (struct nk_context *, enum nk_symbol_type, const char *, int, nk_flags alignment)
 
NK_API void nk_combo_close (struct nk_context *)
 
NK_API void nk_combo_end (struct nk_context *)
 
NK_API int nk_contextual_begin (struct nk_context *, nk_flags, struct nk_vec2, struct nk_rect trigger_bounds)
 
NK_API int nk_contextual_item_text (struct nk_context *, const char *, int, nk_flags align)
 
NK_API int nk_contextual_item_label (struct nk_context *, const char *, nk_flags align)
 
NK_API int nk_contextual_item_image_label (struct nk_context *, struct nk_image, const char *, nk_flags alignment)
 
NK_API int nk_contextual_item_image_text (struct nk_context *, struct nk_image, const char *, int len, nk_flags alignment)
 
NK_API int nk_contextual_item_symbol_label (struct nk_context *, enum nk_symbol_type, const char *, nk_flags alignment)
 
NK_API int nk_contextual_item_symbol_text (struct nk_context *, enum nk_symbol_type, const char *, int, nk_flags alignment)
 
NK_API void nk_contextual_close (struct nk_context *)
 
NK_API void nk_contextual_end (struct nk_context *)
 
NK_API void nk_tooltip (struct nk_context *, const char *)
 
NK_API int nk_tooltip_begin (struct nk_context *, float width)
 
NK_API void nk_tooltip_end (struct nk_context *)
 
NK_API void nk_menubar_begin (struct nk_context *)
 
NK_API void nk_menubar_end (struct nk_context *)
 
NK_API int nk_menu_begin_text (struct nk_context *, const char *title, int title_len, nk_flags align, struct nk_vec2 size)
 
NK_API int nk_menu_begin_label (struct nk_context *, const char *, nk_flags align, struct nk_vec2 size)
 
NK_API int nk_menu_begin_image (struct nk_context *, const char *, struct nk_image, struct nk_vec2 size)
 
NK_API int nk_menu_begin_image_text (struct nk_context *, const char *, int, nk_flags align, struct nk_image, struct nk_vec2 size)
 
NK_API int nk_menu_begin_image_label (struct nk_context *, const char *, nk_flags align, struct nk_image, struct nk_vec2 size)
 
NK_API int nk_menu_begin_symbol (struct nk_context *, const char *, enum nk_symbol_type, struct nk_vec2 size)
 
NK_API int nk_menu_begin_symbol_text (struct nk_context *, const char *, int, nk_flags align, enum nk_symbol_type, struct nk_vec2 size)
 
NK_API int nk_menu_begin_symbol_label (struct nk_context *, const char *, nk_flags align, enum nk_symbol_type, struct nk_vec2 size)
 
NK_API int nk_menu_item_text (struct nk_context *, const char *, int, nk_flags align)
 
NK_API int nk_menu_item_label (struct nk_context *, const char *, nk_flags alignment)
 
NK_API int nk_menu_item_image_label (struct nk_context *, struct nk_image, const char *, nk_flags alignment)
 
NK_API int nk_menu_item_image_text (struct nk_context *, struct nk_image, const char *, int len, nk_flags alignment)
 
NK_API int nk_menu_item_symbol_text (struct nk_context *, enum nk_symbol_type, const char *, int, nk_flags alignment)
 
NK_API int nk_menu_item_symbol_label (struct nk_context *, enum nk_symbol_type, const char *, nk_flags alignment)
 
NK_API void nk_menu_close (struct nk_context *)
 
NK_API void nk_menu_end (struct nk_context *)
 
NK_API void nk_style_default (struct nk_context *)
 
NK_API void nk_style_from_table (struct nk_context *, const struct nk_color *)
 
NK_API void nk_style_load_cursor (struct nk_context *, enum nk_style_cursor, const struct nk_cursor *)
 
NK_API void nk_style_load_all_cursors (struct nk_context *, struct nk_cursor *)
 
NK_API const char * nk_style_get_color_by_name (enum nk_style_colors)
 
NK_API void nk_style_set_font (struct nk_context *, const struct nk_user_font *)
 
NK_API int nk_style_set_cursor (struct nk_context *, enum nk_style_cursor)
 
NK_API void nk_style_show_cursor (struct nk_context *)
 
NK_API void nk_style_hide_cursor (struct nk_context *)
 
NK_API int nk_style_push_font (struct nk_context *, const struct nk_user_font *)
 
NK_API int nk_style_push_float (struct nk_context *, float *, float)
 
NK_API int nk_style_push_vec2 (struct nk_context *, struct nk_vec2 *, struct nk_vec2)
 
NK_API int nk_style_push_style_item (struct nk_context *, struct nk_style_item *, struct nk_style_item)
 
NK_API int nk_style_push_flags (struct nk_context *, nk_flags *, nk_flags)
 
NK_API int nk_style_push_color (struct nk_context *, struct nk_color *, struct nk_color)
 
NK_API int nk_style_pop_font (struct nk_context *)
 
NK_API int nk_style_pop_float (struct nk_context *)
 
NK_API int nk_style_pop_vec2 (struct nk_context *)
 
NK_API int nk_style_pop_style_item (struct nk_context *)
 
NK_API int nk_style_pop_flags (struct nk_context *)
 
NK_API int nk_style_pop_color (struct nk_context *)
 
NK_API struct nk_color nk_rgb (int r, int g, int b)
 
NK_API struct nk_color nk_rgb_iv (const int *rgb)
 
NK_API struct nk_color nk_rgb_bv (const nk_byte *rgb)
 
NK_API struct nk_color nk_rgb_f (float r, float g, float b)
 
NK_API struct nk_color nk_rgb_fv (const float *rgb)
 
NK_API struct nk_color nk_rgb_hex (const char *rgb)
 
NK_API struct nk_color nk_rgba (int r, int g, int b, int a)
 
NK_API struct nk_color nk_rgba_u32 (nk_uint)
 
NK_API struct nk_color nk_rgba_iv (const int *rgba)
 
NK_API struct nk_color nk_rgba_bv (const nk_byte *rgba)
 
NK_API struct nk_color nk_rgba_f (float r, float g, float b, float a)
 
NK_API struct nk_color nk_rgba_fv (const float *rgba)
 
NK_API struct nk_color nk_rgba_hex (const char *rgb)
 
NK_API struct nk_color nk_hsv (int h, int s, int v)
 
NK_API struct nk_color nk_hsv_iv (const int *hsv)
 
NK_API struct nk_color nk_hsv_bv (const nk_byte *hsv)
 
NK_API struct nk_color nk_hsv_f (float h, float s, float v)
 
NK_API struct nk_color nk_hsv_fv (const float *hsv)
 
NK_API struct nk_color nk_hsva (int h, int s, int v, int a)
 
NK_API struct nk_color nk_hsva_iv (const int *hsva)
 
NK_API struct nk_color nk_hsva_bv (const nk_byte *hsva)
 
NK_API struct nk_color nk_hsva_f (float h, float s, float v, float a)
 
NK_API struct nk_color nk_hsva_fv (const float *hsva)
 
NK_API void nk_color_f (float *r, float *g, float *b, float *a, struct nk_color)
 
NK_API void nk_color_fv (float *rgba_out, struct nk_color)
 
NK_API void nk_color_d (double *r, double *g, double *b, double *a, struct nk_color)
 
NK_API void nk_color_dv (double *rgba_out, struct nk_color)
 
NK_API nk_uint nk_color_u32 (struct nk_color)
 
NK_API void nk_color_hex_rgba (char *output, struct nk_color)
 
NK_API void nk_color_hex_rgb (char *output, struct nk_color)
 
NK_API void nk_color_hsv_i (int *out_h, int *out_s, int *out_v, struct nk_color)
 
NK_API void nk_color_hsv_b (nk_byte *out_h, nk_byte *out_s, nk_byte *out_v, struct nk_color)
 
NK_API void nk_color_hsv_iv (int *hsv_out, struct nk_color)
 
NK_API void nk_color_hsv_bv (nk_byte *hsv_out, struct nk_color)
 
NK_API void nk_color_hsv_f (float *out_h, float *out_s, float *out_v, struct nk_color)
 
NK_API void nk_color_hsv_fv (float *hsv_out, struct nk_color)
 
NK_API void nk_color_hsva_i (int *h, int *s, int *v, int *a, struct nk_color)
 
NK_API void nk_color_hsva_b (nk_byte *h, nk_byte *s, nk_byte *v, nk_byte *a, struct nk_color)
 
NK_API void nk_color_hsva_iv (int *hsva_out, struct nk_color)
 
NK_API void nk_color_hsva_bv (nk_byte *hsva_out, struct nk_color)
 
NK_API void nk_color_hsva_f (float *out_h, float *out_s, float *out_v, float *out_a, struct nk_color)
 
NK_API void nk_color_hsva_fv (float *hsva_out, struct nk_color)
 
NK_API nk_handle nk_handle_ptr (void *)
 
NK_API nk_handle nk_handle_id (int)
 
NK_API struct nk_image nk_image_handle (nk_handle)
 
NK_API struct nk_image nk_image_ptr (void *)
 
NK_API struct nk_image nk_image_id (int)
 
NK_API int nk_image_is_subimage (const struct nk_image *img)
 
NK_API struct nk_image nk_subimage_ptr (void *, unsigned short w, unsigned short h, struct nk_rect sub_region)
 
NK_API struct nk_image nk_subimage_id (int, unsigned short w, unsigned short h, struct nk_rect sub_region)
 
NK_API struct nk_image nk_subimage_handle (nk_handle, unsigned short w, unsigned short h, struct nk_rect sub_region)
 
NK_API nk_hash nk_murmur_hash (const void *key, int len, nk_hash seed)
 
NK_API void nk_triangle_from_direction (struct nk_vec2 *result, struct nk_rect r, float pad_x, float pad_y, enum nk_heading)
 
NK_API struct nk_vec2 nk_vec2 (float x, float y)
 
NK_API struct nk_vec2 nk_vec2i (int x, int y)
 
NK_API struct nk_vec2 nk_vec2v (const float *xy)
 
NK_API struct nk_vec2 nk_vec2iv (const int *xy)
 
NK_API struct nk_rect nk_get_null_rect (void)
 
NK_API struct nk_rect nk_rect (float x, float y, float w, float h)
 
NK_API struct nk_rect nk_recti (int x, int y, int w, int h)
 
NK_API struct nk_rect nk_recta (struct nk_vec2 pos, struct nk_vec2 size)
 
NK_API struct nk_rect nk_rectv (const float *xywh)
 
NK_API struct nk_rect nk_rectiv (const int *xywh)
 
NK_API struct nk_vec2 nk_rect_pos (struct nk_rect)
 
NK_API struct nk_vec2 nk_rect_size (struct nk_rect)
 
NK_API int nk_strlen (const char *str)
 
NK_API int nk_stricmp (const char *s1, const char *s2)
 
NK_API int nk_stricmpn (const char *s1, const char *s2, int n)
 
NK_API int nk_strtoi (const char *str, const char **endptr)
 
NK_API float nk_strtof (const char *str, const char **endptr)
 
NK_API double nk_strtod (const char *str, const char **endptr)
 
NK_API int nk_strfilter (const char *text, const char *regexp)
 
NK_API int nk_strmatch_fuzzy_string (char const *str, char const *pattern, int *out_score)
 
NK_API int nk_strmatch_fuzzy_text (const char *txt, int txt_len, const char *pattern, int *out_score)
 
NK_API int nk_utf_decode (const char *, nk_rune *, int)
 
NK_API int nk_utf_encode (nk_rune, char *, int)
 
NK_API int nk_utf_len (const char *, int byte_len)
 
NK_API const char * nk_utf_at (const char *buffer, int length, int index, nk_rune *unicode, int *len)
 
NK_API void nk_buffer_init (struct nk_buffer *, const struct nk_allocator *, nk_size size)
 
NK_API void nk_buffer_init_fixed (struct nk_buffer *, void *memory, nk_size size)
 
NK_API void nk_buffer_info (struct nk_memory_status *, struct nk_buffer *)
 
NK_API void nk_buffer_push (struct nk_buffer *, enum nk_buffer_allocation_type type, const void *memory, nk_size size, nk_size align)
 
NK_API void nk_buffer_mark (struct nk_buffer *, enum nk_buffer_allocation_type type)
 
NK_API void nk_buffer_reset (struct nk_buffer *, enum nk_buffer_allocation_type type)
 
NK_API void nk_buffer_clear (struct nk_buffer *)
 
NK_API void nk_buffer_free (struct nk_buffer *)
 
NK_API voidnk_buffer_memory (struct nk_buffer *)
 
NK_API const voidnk_buffer_memory_const (const struct nk_buffer *)
 
NK_API nk_size nk_buffer_total (struct nk_buffer *)
 
NK_API void nk_str_init (struct nk_str *, const struct nk_allocator *, nk_size size)
 
NK_API void nk_str_init_fixed (struct nk_str *, void *memory, nk_size size)
 
NK_API void nk_str_clear (struct nk_str *)
 
NK_API void nk_str_free (struct nk_str *)
 
NK_API int nk_str_append_text_char (struct nk_str *, const char *, int)
 
NK_API int nk_str_append_str_char (struct nk_str *, const char *)
 
NK_API int nk_str_append_text_utf8 (struct nk_str *, const char *, int)
 
NK_API int nk_str_append_str_utf8 (struct nk_str *, const char *)
 
NK_API int nk_str_append_text_runes (struct nk_str *, const nk_rune *, int)
 
NK_API int nk_str_append_str_runes (struct nk_str *, const nk_rune *)
 
NK_API int nk_str_insert_at_char (struct nk_str *, int pos, const char *, int)
 
NK_API int nk_str_insert_at_rune (struct nk_str *, int pos, const char *, int)
 
NK_API int nk_str_insert_text_char (struct nk_str *, int pos, const char *, int)
 
NK_API int nk_str_insert_str_char (struct nk_str *, int pos, const char *)
 
NK_API int nk_str_insert_text_utf8 (struct nk_str *, int pos, const char *, int)
 
NK_API int nk_str_insert_str_utf8 (struct nk_str *, int pos, const char *)
 
NK_API int nk_str_insert_text_runes (struct nk_str *, int pos, const nk_rune *, int)
 
NK_API int nk_str_insert_str_runes (struct nk_str *, int pos, const nk_rune *)
 
NK_API void nk_str_remove_chars (struct nk_str *, int len)
 
NK_API void nk_str_remove_runes (struct nk_str *str, int len)
 
NK_API void nk_str_delete_chars (struct nk_str *, int pos, int len)
 
NK_API void nk_str_delete_runes (struct nk_str *, int pos, int len)
 
NK_API char * nk_str_at_char (struct nk_str *, int pos)
 
NK_API char * nk_str_at_rune (struct nk_str *, int pos, nk_rune *unicode, int *len)
 
NK_API nk_rune nk_str_rune_at (const struct nk_str *, int pos)
 
NK_API const char * nk_str_at_char_const (const struct nk_str *, int pos)
 
NK_API const char * nk_str_at_const (const struct nk_str *, int pos, nk_rune *unicode, int *len)
 
NK_API char * nk_str_get (struct nk_str *)
 
NK_API const char * nk_str_get_const (const struct nk_str *)
 
NK_API int nk_str_len (struct nk_str *)
 
NK_API int nk_str_len_char (struct nk_str *)
 
NK_API int nk_filter_default (const struct nk_text_edit *, nk_rune unicode)
 
NK_API int nk_filter_ascii (const struct nk_text_edit *, nk_rune unicode)
 
NK_API int nk_filter_float (const struct nk_text_edit *, nk_rune unicode)
 
NK_API int nk_filter_decimal (const struct nk_text_edit *, nk_rune unicode)
 
NK_API int nk_filter_hex (const struct nk_text_edit *, nk_rune unicode)
 
NK_API int nk_filter_oct (const struct nk_text_edit *, nk_rune unicode)
 
NK_API int nk_filter_binary (const struct nk_text_edit *, nk_rune unicode)
 
NK_API void nk_textedit_init (struct nk_text_edit *, struct nk_allocator *, nk_size size)
 
NK_API void nk_textedit_init_fixed (struct nk_text_edit *, void *memory, nk_size size)
 
NK_API void nk_textedit_free (struct nk_text_edit *)
 
NK_API void nk_textedit_text (struct nk_text_edit *, const char *, int total_len)
 
NK_API void nk_textedit_delete (struct nk_text_edit *, int where, int len)
 
NK_API void nk_textedit_delete_selection (struct nk_text_edit *)
 
NK_API void nk_textedit_select_all (struct nk_text_edit *)
 
NK_API int nk_textedit_cut (struct nk_text_edit *)
 
NK_API int nk_textedit_paste (struct nk_text_edit *, char const *, int len)
 
NK_API void nk_textedit_undo (struct nk_text_edit *)
 
NK_API void nk_textedit_redo (struct nk_text_edit *)
 
NK_API void nk_stroke_line (struct nk_command_buffer *b, float x0, float y0, float x1, float y1, float line_thickness, struct nk_color)
 
NK_API void nk_stroke_curve (struct nk_command_buffer *, float, float, float, float, float, float, float, float, float line_thickness, struct nk_color)
 
NK_API void nk_stroke_rect (struct nk_command_buffer *, struct nk_rect, float rounding, float line_thickness, struct nk_color)
 
NK_API void nk_stroke_circle (struct nk_command_buffer *, struct nk_rect, float line_thickness, struct nk_color)
 
NK_API void nk_stroke_arc (struct nk_command_buffer *, float cx, float cy, float radius, float a_min, float a_max, float line_thickness, struct nk_color)
 
NK_API void nk_stroke_triangle (struct nk_command_buffer *, float, float, float, float, float, float, float line_thichness, struct nk_color)
 
NK_API void nk_stroke_polyline (struct nk_command_buffer *, float *points, int point_count, float line_thickness, struct nk_color col)
 
NK_API void nk_stroke_polygon (struct nk_command_buffer *, float *, int point_count, float line_thickness, struct nk_color)
 
NK_API void nk_fill_rect (struct nk_command_buffer *, struct nk_rect, float rounding, struct nk_color)
 
NK_API void nk_fill_rect_multi_color (struct nk_command_buffer *, struct nk_rect, struct nk_color left, struct nk_color top, struct nk_color right, struct nk_color bottom)
 
NK_API void nk_fill_circle (struct nk_command_buffer *, struct nk_rect, struct nk_color)
 
NK_API void nk_fill_arc (struct nk_command_buffer *, float cx, float cy, float radius, float a_min, float a_max, struct nk_color)
 
NK_API void nk_fill_triangle (struct nk_command_buffer *, float x0, float y0, float x1, float y1, float x2, float y2, struct nk_color)
 
NK_API void nk_fill_polygon (struct nk_command_buffer *, float *, int point_count, struct nk_color)
 
NK_API void nk_draw_image (struct nk_command_buffer *, struct nk_rect, const struct nk_image *, struct nk_color)
 
NK_API void nk_draw_text (struct nk_command_buffer *, struct nk_rect, const char *text, int len, const struct nk_user_font *, struct nk_color, struct nk_color)
 
NK_API void nk_push_scissor (struct nk_command_buffer *, struct nk_rect)
 
NK_API void nk_push_custom (struct nk_command_buffer *, struct nk_rect, nk_command_custom_callback, nk_handle usr)
 
NK_API int nk_input_has_mouse_click (const struct nk_input *, enum nk_buttons)
 
NK_API int nk_input_has_mouse_click_in_rect (const struct nk_input *, enum nk_buttons, struct nk_rect)
 
NK_API int nk_input_has_mouse_click_down_in_rect (const struct nk_input *, enum nk_buttons, struct nk_rect, int down)
 
NK_API int nk_input_is_mouse_click_in_rect (const struct nk_input *, enum nk_buttons, struct nk_rect)
 
NK_API int nk_input_is_mouse_click_down_in_rect (const struct nk_input *i, enum nk_buttons id, struct nk_rect b, int down)
 
NK_API int nk_input_any_mouse_click_in_rect (const struct nk_input *, struct nk_rect)
 
NK_API int nk_input_is_mouse_prev_hovering_rect (const struct nk_input *, struct nk_rect)
 
NK_API int nk_input_is_mouse_hovering_rect (const struct nk_input *, struct nk_rect)
 
NK_API int nk_input_mouse_clicked (const struct nk_input *, enum nk_buttons, struct nk_rect)
 
NK_API int nk_input_is_mouse_down (const struct nk_input *, enum nk_buttons)
 
NK_API int nk_input_is_mouse_pressed (const struct nk_input *, enum nk_buttons)
 
NK_API int nk_input_is_mouse_released (const struct nk_input *, enum nk_buttons)
 
NK_API int nk_input_is_key_pressed (const struct nk_input *, enum nk_keys)
 
NK_API int nk_input_is_key_released (const struct nk_input *, enum nk_keys)
 
NK_API int nk_input_is_key_down (const struct nk_input *, enum nk_keys)
 
NK_API struct nk_style_item nk_style_item_image (struct nk_image img)
 
NK_API struct nk_style_item nk_style_item_color (struct nk_color)
 
NK_API struct nk_style_item nk_style_item_hide (void)
 
 NK_CONFIGURATION_STACK_TYPE (struct nk, style_item, style_item)
 
 NK_CONFIGURATION_STACK_TYPE (nk, float, float)
 
 NK_CONFIGURATION_STACK_TYPE (struct nk, vec2, vec2)
 
 NK_CONFIGURATION_STACK_TYPE (nk, flags, flags)
 
 NK_CONFIGURATION_STACK_TYPE (const struct nk, user_font, user_font *)
 
 NK_CONFIGURATION_STACK_TYPE (enum nk, button_behavior, button_behavior)
 
 NK_CONFIG_STACK (style_item, NK_STYLE_ITEM_STACK_SIZE)
 
 NK_CONFIG_STACK (float, NK_FLOAT_STACK_SIZE)
 
 NK_CONFIG_STACK (vec2, NK_VECTOR_STACK_SIZE)
 
 NK_CONFIG_STACK (flags, NK_FLAGS_STACK_SIZE)
 
 NK_CONFIG_STACK (color, NK_COLOR_STACK_SIZE)
 
 NK_CONFIG_STACK (user_font, NK_FONT_STACK_SIZE)
 
 NK_CONFIG_STACK (button_behavior, NK_BUTTON_BEHAVIOR_STACK_SIZE)
 

Macro Definition Documentation

◆ NK_ABS

#define NK_ABS (   a)    (((a) < 0) ? -(a) : (a))

◆ NK_ALIGN_PTR

#define NK_ALIGN_PTR (   x,
  mask 
)    (NK_UINT_TO_PTR((NK_PTR_TO_UINT((nk_byte*)(x) + (mask-1)) & ~(mask-1))))

◆ NK_ALIGN_PTR_BACK

#define NK_ALIGN_PTR_BACK (   x,
  mask 
)    (NK_UINT_TO_PTR((NK_PTR_TO_UINT((nk_byte*)(x)) & ~(mask-1))))

◆ NK_ALIGNOF

#define NK_ALIGNOF (   t)    ((char*)(&((struct {char c; t _h;}*)0)->_h) - (char*)0)

◆ NK_API

#define NK_API   extern

◆ NK_BETWEEN

#define NK_BETWEEN (   x,
  a,
  b 
)    ((a) <= (x) && (x) < (b))

◆ NK_BUTTON_BEHAVIOR_STACK_SIZE

#define NK_BUTTON_BEHAVIOR_STACK_SIZE   8

◆ NK_CHART_MAX_SLOT

#define NK_CHART_MAX_SLOT   4

◆ NK_CLAMP

#define NK_CLAMP (   i,
  v,
  x 
)    (NK_MAX(NK_MIN(v,x), i))

◆ NK_COLOR_STACK_SIZE

#define NK_COLOR_STACK_SIZE   32

◆ NK_CONFIG_STACK

#define NK_CONFIG_STACK (   type,
  size 
)
Value:
struct nk_config_stack_##type {\
int head;\
struct nk_config_stack_##type##_element elements[size];\
}
GLsizeiptr size
Definition: glext.h:6559
static const struct @115 elements[]
GLenum type
Definition: glext.h:6233
vu8 head
Definition: keyboard.c:426

◆ NK_CONFIGURATION_STACK_TYPE

#define NK_CONFIGURATION_STACK_TYPE (   prefix,
  name,
  type 
)
Value:
struct nk_config_stack_##name##_element {\
prefix##_##type *address;\
prefix##_##type old_value;\
}
GLuint const GLchar * name
Definition: glext.h:6671
GLuint address
Definition: glext.h:10300
GLenum type
Definition: glext.h:6233

◆ NK_CONTAINER_OF

#define NK_CONTAINER_OF (   ptr,
  type,
  member 
)    (type*)((void*)((char*)(1 ? (ptr): &((type*)0)->member) - NK_OFFSETOF(type, member)))

◆ NK_CONTAINS

#define NK_CONTAINS (   x,
  y,
  w,
  h,
  bx,
  by,
  bw,
  bh 
)    (NK_INBOX(x,y, bx, by, bw, bh) && NK_INBOX(x+w,y+h, bx, by, bw, bh))

◆ NK_FILE_LINE

#define NK_FILE_LINE   __FILE__ ":" NK_MACRO_STRINGIFY(__LINE__)

◆ NK_FLAG

#define NK_FLAG (   x)    (1 << (x))

◆ NK_FLAGS_STACK_SIZE

#define NK_FLAGS_STACK_SIZE   32

◆ nk_float

#define nk_float   float

◆ NK_FLOAT_STACK_SIZE

#define NK_FLOAT_STACK_SIZE   32

◆ NK_FONT_STACK_SIZE

#define NK_FONT_STACK_SIZE   8

◆ nk_foreach

#define nk_foreach (   c,
  ctx 
)    for((c) = nk__begin(ctx); (c) != 0; (c) = nk__next(ctx,c))

◆ NK_GLOBAL

#define NK_GLOBAL   static

◆ NK_INBOX

#define NK_INBOX (   px,
  py,
  x,
  y,
  w,
  h 
)    (NK_BETWEEN(px,x,x+w) && NK_BETWEEN(py,y,y+h))

◆ NK_INPUT_MAX

#define NK_INPUT_MAX   16

◆ NK_INT16

#define NK_INT16   signed short

◆ NK_INT32

#define NK_INT32   signed int

◆ NK_INT8

#define NK_INT8   char

◆ NK_INTERN

#define NK_INTERN   static

◆ NK_INTERSECT

#define NK_INTERSECT (   x0,
  y0,
  w0,
  h0,
  x1,
  y1,
  w1,
  h1 
)    (!(((x1 > (x0 + w0)) || ((x1 + w1) < x0) || (y1 > (y0 + h0)) || (y1 + h1) < y0)))

◆ NK_LEN

#define NK_LEN (   a)    (sizeof(a)/sizeof(a)[0])

◆ NK_MACRO_STRINGIFY

#define NK_MACRO_STRINGIFY (   x)    NK_STRINGIFY(x)

◆ NK_MAX

#define NK_MAX (   a,
  b 
)    ((a) < (b) ? (b) : (a))

◆ NK_MAX_FLOAT_PRECISION

#define NK_MAX_FLOAT_PRECISION   2

◆ NK_MAX_LAYOUT_ROW_TEMPLATE_COLUMNS

#define NK_MAX_LAYOUT_ROW_TEMPLATE_COLUMNS   16

◆ NK_MAX_NUMBER_BUFFER

#define NK_MAX_NUMBER_BUFFER   64

◆ NK_MIN

#define NK_MIN (   a,
  b 
)    ((a) < (b) ? (a) : (b))

◆ NK_OFFSETOF

#define NK_OFFSETOF (   st,
  m 
)    ((nk_ptr)&(((st*)0)->m))

◆ NK_PI

#define NK_PI   3.141592654f

◆ NK_POINTER_TYPE

#define NK_POINTER_TYPE   unsigned long

◆ nk_ptr_add

#define nk_ptr_add (   t,
  p,
 
)    ((t*)((void*)((nk_byte*)(p) + (i))))

◆ nk_ptr_add_const

#define nk_ptr_add_const (   t,
  p,
 
)    ((const t*)((const void*)((const nk_byte*)(p) + (i))))

◆ NK_PTR_TO_UINT

#define NK_PTR_TO_UINT (   x)    ((nk_size)(((char*)x)-(char*)0))

◆ NK_SATURATE

#define NK_SATURATE (   x)    (NK_MAX(0, NK_MIN(1.0f, x)))

◆ NK_SCROLLBAR_HIDING_TIMEOUT

#define NK_SCROLLBAR_HIDING_TIMEOUT   4.0f

◆ NK_SIZE_TYPE

#define NK_SIZE_TYPE   unsigned long

◆ NK_STATIC_ASSERT

#define NK_STATIC_ASSERT (   exp)    typedef char NK_UNIQUE_NAME(_dummy_array)[(exp)?1:-1]

◆ NK_STORAGE

#define NK_STORAGE   static

◆ NK_STRING_JOIN

#define NK_STRING_JOIN (   arg1,
  arg2 
)    NK_STRING_JOIN_DELAY(arg1, arg2)

◆ NK_STRING_JOIN_DELAY

#define NK_STRING_JOIN_DELAY (   arg1,
  arg2 
)    NK_STRING_JOIN_IMMEDIATE(arg1, arg2)

◆ NK_STRING_JOIN_IMMEDIATE

#define NK_STRING_JOIN_IMMEDIATE (   arg1,
  arg2 
)    arg1 ## arg2

◆ NK_STRINGIFY

#define NK_STRINGIFY (   x)    #x

◆ NK_STYLE_ITEM_STACK_SIZE

#define NK_STYLE_ITEM_STACK_SIZE   16

◆ NK_TEXTEDIT_UNDOCHARCOUNT

#define NK_TEXTEDIT_UNDOCHARCOUNT   999

◆ NK_TEXTEDIT_UNDOSTATECOUNT

#define NK_TEXTEDIT_UNDOSTATECOUNT   99

◆ nk_tree_image_push

#define nk_tree_image_push (   ctx,
  type,
  img,
  title,
  state 
)    nk_tree_image_push_hashed(ctx, type, img, title, state, NK_FILE_LINE,nk_strlen(NK_FILE_LINE),__LINE__)

◆ nk_tree_image_push_id

#define nk_tree_image_push_id (   ctx,
  type,
  img,
  title,
  state,
  id 
)    nk_tree_image_push_hashed(ctx, type, img, title, state, NK_FILE_LINE,nk_strlen(NK_FILE_LINE),id)

◆ nk_tree_push

#define nk_tree_push (   ctx,
  type,
  title,
  state 
)    nk_tree_push_hashed(ctx, type, title, state, NK_FILE_LINE,nk_strlen(NK_FILE_LINE),__LINE__)

◆ nk_tree_push_id

#define nk_tree_push_id (   ctx,
  type,
  title,
  state,
  id 
)    nk_tree_push_hashed(ctx, type, title, state, NK_FILE_LINE,nk_strlen(NK_FILE_LINE),id)

◆ NK_UINT16

#define NK_UINT16   unsigned short

◆ NK_UINT32

#define NK_UINT32   unsigned int

◆ NK_UINT8

#define NK_UINT8   unsigned char

◆ NK_UINT_TO_PTR

#define NK_UINT_TO_PTR (   x)    ((void*)&((char*)0)[x])

◆ NK_UNDEFINED

#define NK_UNDEFINED   (-1.0f)

◆ NK_UNIQUE_NAME

#define NK_UNIQUE_NAME (   name)    NK_STRING_JOIN(name,__LINE__)

◆ NK_UNUSED

#define NK_UNUSED (   x)    ((void)(x))

◆ NK_UTF_INVALID [1/2]

#define NK_UTF_INVALID   0xFFFD /* internal invalid utf8 rune */

◆ NK_UTF_INVALID [2/2]

#define NK_UTF_INVALID   0xFFFD

◆ NK_UTF_SIZE

#define NK_UTF_SIZE   4 /* describes the number of bytes a glyph consists of*/

◆ NK_VALUE_PAGE_CAPACITY

#define NK_VALUE_PAGE_CAPACITY   (((NK_MAX(sizeof(struct nk_window),sizeof(struct nk_panel)) / sizeof(nk_uint))) / 2)

◆ nk_vec2_add

#define nk_vec2_add (   a,
  b 
)    nk_vec2((a).x + (b).x, (a).y + (b).y)

◆ nk_vec2_len_sqr

#define nk_vec2_len_sqr (   a)    ((a).x*(a).x+(a).y*(a).y)

◆ nk_vec2_muls

#define nk_vec2_muls (   a,
  t 
)    nk_vec2((a).x * (t), (a).y * (t))

◆ nk_vec2_sub

#define nk_vec2_sub (   a,
  b 
)    nk_vec2((a).x - (b).x, (a).y - (b).y)

◆ NK_VECTOR_STACK_SIZE

#define NK_VECTOR_STACK_SIZE   16

◆ NK_WINDOW_MAX_NAME

#define NK_WINDOW_MAX_NAME   64

◆ nk_zero_struct

#define nk_zero_struct (   s)    nk_zero(&s, sizeof(s))

Typedef Documentation

◆ nk_byte

typedef NK_UINT8 nk_byte

◆ nk_char

typedef NK_INT8 nk_char

◆ nk_command_custom_callback

typedef void(* nk_command_custom_callback) (void *canvas, short x, short y, unsigned short w, unsigned short h, nk_handle callback_data)

◆ nk_flags

typedef nk_uint nk_flags

◆ nk_glyph

typedef char nk_glyph[NK_UTF_SIZE]

◆ nk_hash

typedef nk_uint nk_hash

◆ nk_int

typedef NK_INT32 nk_int

◆ nk_plugin_alloc

typedef void*(* nk_plugin_alloc) (nk_handle, void *old, nk_size)

◆ nk_plugin_copy

typedef void(* nk_plugin_copy) (nk_handle, const char *, int len)

◆ nk_plugin_filter

typedef int(* nk_plugin_filter) (const struct nk_text_edit *, nk_rune unicode)

◆ nk_plugin_free

typedef void(* nk_plugin_free) (nk_handle, void *old)

◆ nk_plugin_paste

typedef void(* nk_plugin_paste) (nk_handle, struct nk_text_edit *)

◆ nk_ptr

◆ nk_query_font_glyph_f

typedef void(* nk_query_font_glyph_f) (nk_handle handle, float font_height, struct nk_user_font_glyph *glyph, nk_rune codepoint, nk_rune next_codepoint)

◆ nk_rune

typedef nk_uint nk_rune

◆ nk_short

typedef NK_INT16 nk_short

◆ nk_size

◆ nk_text_width_f

typedef float(* nk_text_width_f) (nk_handle, float h, const char *, int len)

◆ nk_uchar

typedef NK_UINT8 nk_uchar

◆ nk_uint

typedef NK_UINT32 nk_uint

◆ nk_ushort

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
nk_false 
nk_true 

◆ nk_allocation_type

Enumerator
NK_BUFFER_FIXED 
NK_BUFFER_DYNAMIC 

◆ nk_anti_aliasing

Enumerator
NK_ANTI_ALIASING_OFF 
NK_ANTI_ALIASING_ON 

◆ nk_buffer_allocation_type

Enumerator
NK_BUFFER_FRONT 
NK_BUFFER_BACK 
NK_BUFFER_MAX 

◆ nk_button_behavior

Enumerator
NK_BUTTON_DEFAULT 
NK_BUTTON_REPEATER 

◆ nk_buttons

enum nk_buttons
Enumerator
NK_BUTTON_LEFT 
NK_BUTTON_MIDDLE 
NK_BUTTON_RIGHT 
NK_BUTTON_DOUBLE 
NK_BUTTON_MAX 

◆ nk_chart_event

Enumerator
NK_CHART_HOVERING 
NK_CHART_CLICKED 

◆ nk_chart_type

Enumerator
NK_CHART_LINES 
NK_CHART_COLUMN 
NK_CHART_MAX 

◆ nk_collapse_states

Enumerator
NK_MINIMIZED 
NK_MAXIMIZED 

◆ nk_color_format

Enumerator
NK_RGB 
NK_RGBA 

◆ nk_command_clipping

Enumerator
NK_CLIPPING_OFF 
NK_CLIPPING_ON 

◆ nk_command_type

Enumerator
NK_COMMAND_NOP 
NK_COMMAND_SCISSOR 
NK_COMMAND_LINE 
NK_COMMAND_CURVE 
NK_COMMAND_RECT 
NK_COMMAND_RECT_FILLED 
NK_COMMAND_RECT_MULTI_COLOR 
NK_COMMAND_CIRCLE 
NK_COMMAND_CIRCLE_FILLED 
NK_COMMAND_ARC 
NK_COMMAND_ARC_FILLED 
NK_COMMAND_TRIANGLE 
NK_COMMAND_TRIANGLE_FILLED 
NK_COMMAND_POLYGON 
NK_COMMAND_POLYGON_FILLED 
NK_COMMAND_POLYLINE 
NK_COMMAND_TEXT 
NK_COMMAND_IMAGE 
NK_COMMAND_CUSTOM 

◆ nk_convert_result

Enumerator
NK_CONVERT_SUCCESS 
NK_CONVERT_INVALID_PARAM 
NK_CONVERT_COMMAND_BUFFER_FULL 
NK_CONVERT_VERTEX_BUFFER_FULL 
NK_CONVERT_ELEMENT_BUFFER_FULL 

◆ nk_edit_events

Enumerator
NK_EDIT_ACTIVE 
NK_EDIT_INACTIVE 
NK_EDIT_ACTIVATED 
NK_EDIT_DEACTIVATED 
NK_EDIT_COMMITED 

◆ nk_edit_flags

Enumerator
NK_EDIT_DEFAULT 
NK_EDIT_READ_ONLY 
NK_EDIT_AUTO_SELECT 
NK_EDIT_SIG_ENTER 
NK_EDIT_ALLOW_TAB 
NK_EDIT_NO_CURSOR 
NK_EDIT_SELECTABLE 
NK_EDIT_CLIPBOARD 
NK_EDIT_CTRL_ENTER_NEWLINE 
NK_EDIT_NO_HORIZONTAL_SCROLL 
NK_EDIT_ALWAYS_INSERT_MODE 
NK_EDIT_MULTILINE 
NK_EDIT_GOTO_END_ON_ACTIVATE 

◆ nk_edit_types

Enumerator
NK_EDIT_SIMPLE 
NK_EDIT_FIELD 
NK_EDIT_BOX 
NK_EDIT_EDITOR 

◆ nk_heading

enum nk_heading
Enumerator
NK_UP 
NK_RIGHT 
NK_DOWN 
NK_LEFT 

◆ nk_keys

enum nk_keys
Enumerator
NK_KEY_NONE 
NK_KEY_SHIFT 
NK_KEY_CTRL 
NK_KEY_DEL 
NK_KEY_ENTER 
NK_KEY_TAB 
NK_KEY_BACKSPACE 
NK_KEY_COPY 
NK_KEY_CUT 
NK_KEY_PASTE 
NK_KEY_UP 
NK_KEY_DOWN 
NK_KEY_LEFT 
NK_KEY_RIGHT 
NK_KEY_TEXT_INSERT_MODE 
NK_KEY_TEXT_REPLACE_MODE 
NK_KEY_TEXT_RESET_MODE 
NK_KEY_TEXT_LINE_START 
NK_KEY_TEXT_LINE_END 
NK_KEY_TEXT_START 
NK_KEY_TEXT_END 
NK_KEY_TEXT_UNDO 
NK_KEY_TEXT_REDO 
NK_KEY_TEXT_SELECT_ALL 
NK_KEY_TEXT_WORD_LEFT 
NK_KEY_TEXT_WORD_RIGHT 
NK_KEY_SCROLL_START 
NK_KEY_SCROLL_END 
NK_KEY_SCROLL_DOWN 
NK_KEY_SCROLL_UP 
NK_KEY_MAX 

◆ nk_layout_format

Enumerator
NK_DYNAMIC 
NK_STATIC 

◆ nk_modify

enum nk_modify
Enumerator
NK_FIXED 
NK_MODIFIABLE 

◆ nk_orientation

Enumerator
NK_VERTICAL 
NK_HORIZONTAL 

◆ nk_panel_flags

Enumerator
NK_WINDOW_BORDER 
NK_WINDOW_MOVABLE 
NK_WINDOW_SCALABLE 
NK_WINDOW_CLOSABLE 
NK_WINDOW_MINIMIZABLE 
NK_WINDOW_NO_SCROLLBAR 
NK_WINDOW_TITLE 
NK_WINDOW_SCROLL_AUTO_HIDE 
NK_WINDOW_BACKGROUND 
NK_WINDOW_SCALE_LEFT 
NK_WINDOW_NO_INPUT 

◆ nk_panel_row_layout_type

Enumerator
NK_LAYOUT_DYNAMIC_FIXED 
NK_LAYOUT_DYNAMIC_ROW 
NK_LAYOUT_DYNAMIC_FREE 
NK_LAYOUT_DYNAMIC 
NK_LAYOUT_STATIC_FIXED 
NK_LAYOUT_STATIC_ROW 
NK_LAYOUT_STATIC_FREE 
NK_LAYOUT_STATIC 
NK_LAYOUT_TEMPLATE 
NK_LAYOUT_COUNT 

◆ nk_panel_set

Enumerator
NK_PANEL_SET_NONBLOCK 
NK_PANEL_SET_POPUP 
NK_PANEL_SET_SUB 

◆ nk_panel_type

Enumerator
NK_PANEL_WINDOW 
NK_PANEL_GROUP 
NK_PANEL_POPUP 
NK_PANEL_CONTEXTUAL 
NK_PANEL_COMBO 
NK_PANEL_MENU 
NK_PANEL_TOOLTIP 

◆ nk_popup_type

Enumerator
NK_POPUP_STATIC 
NK_POPUP_DYNAMIC 

◆ nk_show_states

Enumerator
NK_HIDDEN 
NK_SHOWN 

◆ nk_style_colors

Enumerator
NK_COLOR_TEXT 
NK_COLOR_WINDOW 
NK_COLOR_HEADER 
NK_COLOR_BORDER 
NK_COLOR_BUTTON 
NK_COLOR_BUTTON_HOVER 
NK_COLOR_BUTTON_ACTIVE 
NK_COLOR_TOGGLE 
NK_COLOR_TOGGLE_HOVER 
NK_COLOR_TOGGLE_CURSOR 
NK_COLOR_SELECT 
NK_COLOR_SELECT_ACTIVE 
NK_COLOR_SLIDER 
NK_COLOR_SLIDER_CURSOR 
NK_COLOR_SLIDER_CURSOR_HOVER 
NK_COLOR_SLIDER_CURSOR_ACTIVE 
NK_COLOR_PROPERTY 
NK_COLOR_EDIT 
NK_COLOR_EDIT_CURSOR 
NK_COLOR_COMBO 
NK_COLOR_CHART 
NK_COLOR_CHART_COLOR 
NK_COLOR_CHART_COLOR_HIGHLIGHT 
NK_COLOR_SCROLLBAR 
NK_COLOR_SCROLLBAR_CURSOR 
NK_COLOR_SCROLLBAR_CURSOR_HOVER 
NK_COLOR_SCROLLBAR_CURSOR_ACTIVE 
NK_COLOR_TAB_HEADER 
NK_COLOR_COUNT 

◆ nk_style_cursor

Enumerator
NK_CURSOR_ARROW 
NK_CURSOR_TEXT 
NK_CURSOR_MOVE 
NK_CURSOR_RESIZE_VERTICAL 
NK_CURSOR_RESIZE_HORIZONTAL 
NK_CURSOR_RESIZE_TOP_LEFT_DOWN_RIGHT 
NK_CURSOR_RESIZE_TOP_RIGHT_DOWN_LEFT 
NK_CURSOR_COUNT 

◆ nk_style_header_align

Enumerator
NK_HEADER_LEFT 
NK_HEADER_RIGHT 

◆ nk_style_item_type

Enumerator
NK_STYLE_ITEM_COLOR 
NK_STYLE_ITEM_IMAGE 

◆ nk_symbol_type

Enumerator
NK_SYMBOL_NONE 
NK_SYMBOL_X 
NK_SYMBOL_UNDERSCORE 
NK_SYMBOL_CIRCLE_SOLID 
NK_SYMBOL_CIRCLE_OUTLINE 
NK_SYMBOL_RECT_SOLID 
NK_SYMBOL_RECT_OUTLINE 
NK_SYMBOL_TRIANGLE_UP 
NK_SYMBOL_TRIANGLE_DOWN 
NK_SYMBOL_TRIANGLE_LEFT 
NK_SYMBOL_TRIANGLE_RIGHT 
NK_SYMBOL_PLUS 
NK_SYMBOL_MINUS 
NK_SYMBOL_MAX 

◆ nk_text_align

Enumerator
NK_TEXT_ALIGN_LEFT 
NK_TEXT_ALIGN_CENTERED 
NK_TEXT_ALIGN_RIGHT 
NK_TEXT_ALIGN_TOP 
NK_TEXT_ALIGN_MIDDLE 
NK_TEXT_ALIGN_BOTTOM 

◆ nk_text_alignment

Enumerator
NK_TEXT_LEFT 
NK_TEXT_CENTERED 
NK_TEXT_RIGHT 

◆ nk_text_edit_mode

Enumerator
NK_TEXT_EDIT_MODE_VIEW 
NK_TEXT_EDIT_MODE_INSERT 
NK_TEXT_EDIT_MODE_REPLACE 

◆ nk_text_edit_type

Enumerator
NK_TEXT_EDIT_SINGLE_LINE 
NK_TEXT_EDIT_MULTI_LINE 

◆ nk_tree_type

Enumerator
NK_TREE_NODE 
NK_TREE_TAB 

◆ nk_widget_layout_states

Enumerator
NK_WIDGET_INVALID 
NK_WIDGET_VALID 
NK_WIDGET_ROM 

◆ nk_widget_states

Enumerator
NK_WIDGET_STATE_MODIFIED 
NK_WIDGET_STATE_INACTIVE 
NK_WIDGET_STATE_ENTERED 
NK_WIDGET_STATE_HOVER 
NK_WIDGET_STATE_ACTIVED 
NK_WIDGET_STATE_LEFT 
NK_WIDGET_STATE_HOVERED 
NK_WIDGET_STATE_ACTIVE 

◆ nk_window_flags

Enumerator
NK_WINDOW_PRIVATE 
NK_WINDOW_DYNAMIC 
NK_WINDOW_ROM 
NK_WINDOW_NOT_INTERACTIVE 
NK_WINDOW_HIDDEN 
NK_WINDOW_CLOSED 
NK_WINDOW_MINIMIZED 
NK_WINDOW_REMOVE_ROM 

Function Documentation

◆ nk__begin()

NK_API const struct nk_command* nk__begin ( struct nk_context )

◆ nk__next()

NK_API const struct nk_command* nk__next ( struct nk_context ,
const struct nk_command  
)

◆ nk_begin()

NK_API int nk_begin ( struct nk_context ctx,
const char *  title,
struct nk_rect  bounds,
nk_flags  flags 
)
Here is the caller graph for this function:

◆ nk_begin_titled()

NK_API int nk_begin_titled ( struct nk_context ctx,
const char *  name,
const char *  title,
struct nk_rect  bounds,
nk_flags  flags 
)

◆ nk_buffer_clear()

NK_API void nk_buffer_clear ( struct nk_buffer )

◆ nk_buffer_free()

NK_API void nk_buffer_free ( struct nk_buffer )
Here is the caller graph for this function:

◆ nk_buffer_info()

NK_API void nk_buffer_info ( struct nk_memory_status ,
struct nk_buffer  
)
Here is the caller graph for this function:

◆ nk_buffer_init()

NK_API void nk_buffer_init ( struct nk_buffer ,
const struct nk_allocator ,
nk_size  size 
)
Here is the caller graph for this function:

◆ nk_buffer_init_fixed()

NK_API void nk_buffer_init_fixed ( struct nk_buffer ,
void memory,
nk_size  size 
)
Here is the caller graph for this function:

◆ nk_buffer_mark()

NK_API void nk_buffer_mark ( struct nk_buffer ,
enum nk_buffer_allocation_type  type 
)

◆ nk_buffer_memory()

NK_API void* nk_buffer_memory ( struct nk_buffer )

◆ nk_buffer_memory_const()

NK_API const void* nk_buffer_memory_const ( const struct nk_buffer )

◆ nk_buffer_push()

NK_API void nk_buffer_push ( struct nk_buffer ,
enum nk_buffer_allocation_type  type,
const void memory,
nk_size  size,
nk_size  align 
)

◆ nk_buffer_reset()

NK_API void nk_buffer_reset ( struct nk_buffer ,
enum nk_buffer_allocation_type  type 
)

◆ nk_buffer_total()

NK_API nk_size nk_buffer_total ( struct nk_buffer )

◆ nk_button_color()

NK_API int nk_button_color ( struct nk_context ,
struct nk_color   
)

◆ nk_button_image()

NK_API int nk_button_image ( struct nk_context ,
struct nk_image  img 
)

◆ nk_button_image_label()

NK_API int nk_button_image_label ( struct nk_context ,
struct nk_image  img,
const char *  ,
nk_flags  text_alignment 
)

◆ nk_button_image_label_styled()

NK_API int nk_button_image_label_styled ( struct nk_context ,
const struct nk_style_button ,
struct nk_image  img,
const char *  ,
nk_flags  text_alignment 
)

◆ nk_button_image_styled()

NK_API int nk_button_image_styled ( struct nk_context ,
const struct nk_style_button ,
struct nk_image  img 
)

◆ nk_button_image_text()

NK_API int nk_button_image_text ( struct nk_context ,
struct nk_image  img,
const char *  ,
int  ,
nk_flags  alignment 
)

◆ nk_button_image_text_styled()

NK_API int nk_button_image_text_styled ( struct nk_context ,
const struct nk_style_button ,
struct nk_image  img,
const char *  ,
int  ,
nk_flags  alignment 
)

◆ nk_button_label()

NK_API int nk_button_label ( struct nk_context ,
const char *  title 
)

◆ nk_button_label_styled()

NK_API int nk_button_label_styled ( struct nk_context ,
const struct nk_style_button ,
const char *  title 
)

◆ nk_button_pop_behavior()

NK_API int nk_button_pop_behavior ( struct nk_context )

◆ nk_button_push_behavior()

NK_API int nk_button_push_behavior ( struct nk_context ,
enum  nk_button_behavior 
)

◆ nk_button_set_behavior()

NK_API void nk_button_set_behavior ( struct nk_context ,
enum  nk_button_behavior 
)

◆ nk_button_symbol()

NK_API int nk_button_symbol ( struct nk_context ,
enum  nk_symbol_type 
)

◆ nk_button_symbol_label()

NK_API int nk_button_symbol_label ( struct nk_context ,
enum  nk_symbol_type,
const char *  ,
nk_flags  text_alignment 
)

◆ nk_button_symbol_label_styled()

NK_API int nk_button_symbol_label_styled ( struct nk_context ctx,
const struct nk_style_button style,
enum nk_symbol_type  symbol,
const char *  title,
nk_flags  align 
)

◆ nk_button_symbol_styled()

NK_API int nk_button_symbol_styled ( struct nk_context ,
const struct nk_style_button ,
enum  nk_symbol_type 
)

◆ nk_button_symbol_text()

NK_API int nk_button_symbol_text ( struct nk_context ,
enum  nk_symbol_type,
const char *  ,
int  ,
nk_flags  alignment 
)

◆ nk_button_symbol_text_styled()

NK_API int nk_button_symbol_text_styled ( struct nk_context ,
const struct nk_style_button ,
enum  nk_symbol_type,
const char *  ,
int  ,
nk_flags  alignment 
)

◆ nk_button_text()

NK_API int nk_button_text ( struct nk_context ,
const char *  title,
int  len 
)

◆ nk_button_text_styled()

NK_API int nk_button_text_styled ( struct nk_context ,
const struct nk_style_button ,
const char *  title,
int  len 
)

◆ nk_chart_add_slot()

NK_API void nk_chart_add_slot ( struct nk_context ctx,
const enum  nk_chart_type,
int  count,
float  min_value,
float  max_value 
)

◆ nk_chart_add_slot_colored()

NK_API void nk_chart_add_slot_colored ( struct nk_context ctx,
const enum  nk_chart_type,
struct nk_color  ,
struct nk_color  active,
int  count,
float  min_value,
float  max_value 
)

◆ nk_chart_begin()

NK_API int nk_chart_begin ( struct nk_context ,
enum  nk_chart_type,
int  num,
float  min,
float  max 
)

◆ nk_chart_begin_colored()

NK_API int nk_chart_begin_colored ( struct nk_context ,
enum  nk_chart_type,
struct nk_color  ,
struct nk_color  active,
int  num,
float  min,
float  max 
)

◆ nk_chart_end()

NK_API void nk_chart_end ( struct nk_context )

◆ nk_chart_push()

NK_API nk_flags nk_chart_push ( struct nk_context ,
float   
)

◆ nk_chart_push_slot()

NK_API nk_flags nk_chart_push_slot ( struct nk_context ,
float  ,
int   
)

◆ nk_check_flags_label()

NK_API unsigned nk_check_flags_label ( struct nk_context ,
const char *  ,
unsigned int  flags,
unsigned int  value 
)

◆ nk_check_flags_text()

NK_API unsigned nk_check_flags_text ( struct nk_context ,
const char *  ,
int  ,
unsigned int  flags,
unsigned int  value 
)

◆ nk_check_label()

NK_API int nk_check_label ( struct nk_context ,
const char *  ,
int  active 
)

◆ nk_check_text()

NK_API int nk_check_text ( struct nk_context ,
const char *  ,
int  ,
int  active 
)

◆ nk_checkbox_flags_label()

NK_API int nk_checkbox_flags_label ( struct nk_context ,
const char *  ,
unsigned int *  flags,
unsigned int  value 
)

◆ nk_checkbox_flags_text()

NK_API int nk_checkbox_flags_text ( struct nk_context ,
const char *  ,
int  ,
unsigned int *  flags,
unsigned int  value 
)

◆ nk_checkbox_label()

NK_API int nk_checkbox_label ( struct nk_context ,
const char *  ,
int *  active 
)

◆ nk_checkbox_text()

NK_API int nk_checkbox_text ( struct nk_context ,
const char *  ,
int  ,
int *  active 
)

◆ nk_clear()

NK_API void nk_clear ( struct nk_context )
Here is the caller graph for this function:

◆ nk_color_d()

NK_API void nk_color_d ( double *  r,
double *  g,
double *  b,
double *  a,
struct nk_color   
)

◆ nk_color_dv()

NK_API void nk_color_dv ( double *  rgba_out,
struct nk_color   
)

◆ nk_color_f()

NK_API void nk_color_f ( float *  r,
float *  g,
float *  b,
float *  a,
struct nk_color   
)

◆ nk_color_fv()

NK_API void nk_color_fv ( float *  rgba_out,
struct nk_color   
)

◆ nk_color_hex_rgb()

NK_API void nk_color_hex_rgb ( char *  output,
struct nk_color   
)

◆ nk_color_hex_rgba()

NK_API void nk_color_hex_rgba ( char *  output,
struct nk_color   
)

◆ nk_color_hsv_b()

NK_API void nk_color_hsv_b ( nk_byte out_h,
nk_byte out_s,
nk_byte out_v,
struct nk_color   
)

◆ nk_color_hsv_bv()

NK_API void nk_color_hsv_bv ( nk_byte hsv_out,
struct nk_color   
)

◆ nk_color_hsv_f()

NK_API void nk_color_hsv_f ( float *  out_h,
float *  out_s,
float *  out_v,
struct nk_color   
)

◆ nk_color_hsv_fv()

NK_API void nk_color_hsv_fv ( float *  hsv_out,
struct nk_color   
)

◆ nk_color_hsv_i()

NK_API void nk_color_hsv_i ( int *  out_h,
int *  out_s,
int *  out_v,
struct nk_color   
)

◆ nk_color_hsv_iv()

NK_API void nk_color_hsv_iv ( int *  hsv_out,
struct nk_color   
)

◆ nk_color_hsva_b()

NK_API void nk_color_hsva_b ( nk_byte h,
nk_byte s,
nk_byte v,
nk_byte a,
struct nk_color   
)

◆ nk_color_hsva_bv()

NK_API void nk_color_hsva_bv ( nk_byte hsva_out,
struct nk_color   
)

◆ nk_color_hsva_f()

NK_API void nk_color_hsva_f ( float *  out_h,
float *  out_s,
float *  out_v,
float *  out_a,
struct nk_color   
)

◆ nk_color_hsva_fv()

NK_API void nk_color_hsva_fv ( float *  hsva_out,
struct nk_color   
)

◆ nk_color_hsva_i()

NK_API void nk_color_hsva_i ( int *  h,
int *  s,
int *  v,
int *  a,
struct nk_color   
)

◆ nk_color_hsva_iv()

NK_API void nk_color_hsva_iv ( int *  hsva_out,
struct nk_color   
)

◆ nk_color_pick()

NK_API int nk_color_pick ( struct nk_context ,
struct nk_color ,
enum  nk_color_format 
)

◆ nk_color_picker()

NK_API struct nk_color nk_color_picker ( struct nk_context ,
struct nk_color  ,
enum  nk_color_format 
)

◆ nk_color_u32()

NK_API nk_uint nk_color_u32 ( struct nk_color  )

◆ nk_combo()

NK_API int nk_combo ( struct nk_context ,
const char **  items,
int  count,
int  selected,
int  item_height,
struct nk_vec2  size 
)

◆ nk_combo_begin_color()

NK_API int nk_combo_begin_color ( struct nk_context ,
struct nk_color  color,
struct nk_vec2  size 
)

◆ nk_combo_begin_image()

NK_API int nk_combo_begin_image ( struct nk_context ,
struct nk_image  img,
struct nk_vec2  size 
)

◆ nk_combo_begin_image_label()

NK_API int nk_combo_begin_image_label ( struct nk_context ,
const char *  selected,
struct nk_image  ,
struct nk_vec2  size 
)

◆ nk_combo_begin_image_text()

NK_API int nk_combo_begin_image_text ( struct nk_context ,
const char *  selected,
int  ,
struct nk_image  ,
struct nk_vec2  size 
)

◆ nk_combo_begin_label()

NK_API int nk_combo_begin_label ( struct nk_context ,
const char *  selected,
struct nk_vec2  size 
)

◆ nk_combo_begin_symbol()

NK_API int nk_combo_begin_symbol ( struct nk_context ,
enum  nk_symbol_type,
struct nk_vec2  size 
)

◆ nk_combo_begin_symbol_label()

NK_API int nk_combo_begin_symbol_label ( struct nk_context ,
const char *  selected,
enum  nk_symbol_type,
struct nk_vec2  size 
)

◆ nk_combo_begin_symbol_text()

NK_API int nk_combo_begin_symbol_text ( struct nk_context ,
const char *  selected,
int  ,
enum  nk_symbol_type,
struct nk_vec2  size 
)

◆ nk_combo_begin_text()

NK_API int nk_combo_begin_text ( struct nk_context ,
const char *  selected,
int  ,
struct nk_vec2  size 
)

◆ nk_combo_callback()

NK_API int nk_combo_callback ( struct nk_context ,
void(*)(void *, int, const char **)  item_getter,
void userdata,
int  selected,
int  count,
int  item_height,
struct nk_vec2  size 
)

◆ nk_combo_close()

NK_API void nk_combo_close ( struct nk_context )

◆ nk_combo_end()

NK_API void nk_combo_end ( struct nk_context )

◆ nk_combo_item_image_label()

NK_API int nk_combo_item_image_label ( struct nk_context ,
struct nk_image  ,
const char *  ,
nk_flags  alignment 
)

◆ nk_combo_item_image_text()

NK_API int nk_combo_item_image_text ( struct nk_context ,
struct nk_image  ,
const char *  ,
int  ,
nk_flags  alignment 
)

◆ nk_combo_item_label()

NK_API int nk_combo_item_label ( struct nk_context ,
const char *  ,
nk_flags  alignment 
)

◆ nk_combo_item_symbol_label()

NK_API int nk_combo_item_symbol_label ( struct nk_context ,
enum  nk_symbol_type,
const char *  ,
nk_flags  alignment 
)

◆ nk_combo_item_symbol_text()

NK_API int nk_combo_item_symbol_text ( struct nk_context ,
enum  nk_symbol_type,
const char *  ,
int  ,
nk_flags  alignment 
)

◆ nk_combo_item_text()

NK_API int nk_combo_item_text ( struct nk_context ,
const char *  ,
int  ,
nk_flags  alignment 
)

◆ nk_combo_separator()

NK_API int nk_combo_separator ( struct nk_context ,
const char *  items_separated_by_separator,
int  separator,
int  selected,
int  count,
int  item_height,
struct nk_vec2  size 
)

◆ nk_combo_string()

NK_API int nk_combo_string ( struct nk_context ,
const char *  items_separated_by_zeros,
int  selected,
int  count,
int  item_height,
struct nk_vec2  size 
)

◆ nk_combobox()

NK_API void nk_combobox ( struct nk_context ,
const char **  items,
int  count,
int *  selected,
int  item_height,
struct nk_vec2  size 
)

◆ nk_combobox_callback()

NK_API void nk_combobox_callback ( struct nk_context ,
void(*)(void *, int, const char **)  item_getter,
void ,
int *  selected,
int  count,
int  item_height,
struct nk_vec2  size 
)

◆ nk_combobox_separator()

NK_API void nk_combobox_separator ( struct nk_context ,
const char *  items_separated_by_separator,
int  separator,
int *  selected,
int  count,
int  item_height,
struct nk_vec2  size 
)

◆ nk_combobox_string()

NK_API void nk_combobox_string ( struct nk_context ,
const char *  items_separated_by_zeros,
int *  selected,
int  count,
int  item_height,
struct nk_vec2  size 
)

◆ NK_CONFIG_STACK() [1/7]

NK_CONFIG_STACK ( style_item  ,
NK_STYLE_ITEM_STACK_SIZE   
)

◆ NK_CONFIG_STACK() [2/7]

NK_CONFIG_STACK ( float  ,
NK_FLOAT_STACK_SIZE   
)

◆ NK_CONFIG_STACK() [3/7]

NK_CONFIG_STACK ( vec2  ,
NK_VECTOR_STACK_SIZE   
)

◆ NK_CONFIG_STACK() [4/7]

NK_CONFIG_STACK ( flags  ,
NK_FLAGS_STACK_SIZE   
)

◆ NK_CONFIG_STACK() [5/7]

NK_CONFIG_STACK ( color  ,
NK_COLOR_STACK_SIZE   
)

◆ NK_CONFIG_STACK() [6/7]

NK_CONFIG_STACK ( user_font  ,
NK_FONT_STACK_SIZE   
)

◆ NK_CONFIG_STACK() [7/7]

NK_CONFIG_STACK ( button_behavior  ,
NK_BUTTON_BEHAVIOR_STACK_SIZE   
)

◆ NK_CONFIGURATION_STACK_TYPE() [1/6]

NK_CONFIGURATION_STACK_TYPE ( struct nk  ,
style_item  ,
style_item   
)

◆ NK_CONFIGURATION_STACK_TYPE() [2/6]

NK_CONFIGURATION_STACK_TYPE ( nk  ,
float  ,
float   
)

◆ NK_CONFIGURATION_STACK_TYPE() [3/6]

NK_CONFIGURATION_STACK_TYPE ( struct nk  ,
vec2  ,
vec2   
)

◆ NK_CONFIGURATION_STACK_TYPE() [4/6]

NK_CONFIGURATION_STACK_TYPE ( nk  ,
flags  ,
flags   
)

◆ NK_CONFIGURATION_STACK_TYPE() [5/6]

NK_CONFIGURATION_STACK_TYPE ( const struct nk  ,
user_font  ,
user_font *   
)

◆ NK_CONFIGURATION_STACK_TYPE() [6/6]

NK_CONFIGURATION_STACK_TYPE ( enum  nk,
button_behavior  ,
button_behavior   
)

◆ nk_contextual_begin()

NK_API int nk_contextual_begin ( struct nk_context ,
nk_flags  ,
struct nk_vec2  ,
struct nk_rect  trigger_bounds 
)

◆ nk_contextual_close()

NK_API void nk_contextual_close ( struct nk_context )

◆ nk_contextual_end()

NK_API void nk_contextual_end ( struct nk_context )

◆ nk_contextual_item_image_label()

NK_API int nk_contextual_item_image_label ( struct nk_context ,
struct nk_image  ,
const char *  ,
nk_flags  alignment 
)

◆ nk_contextual_item_image_text()

NK_API int nk_contextual_item_image_text ( struct nk_context ,
struct nk_image  ,
const char *  ,
int  len,
nk_flags  alignment 
)

◆ nk_contextual_item_label()

NK_API int nk_contextual_item_label ( struct nk_context ,
const char *  ,
nk_flags  align 
)

◆ nk_contextual_item_symbol_label()

NK_API int nk_contextual_item_symbol_label ( struct nk_context ,
enum  nk_symbol_type,
const char *  ,
nk_flags  alignment 
)

◆ nk_contextual_item_symbol_text()

NK_API int nk_contextual_item_symbol_text ( struct nk_context ,
enum  nk_symbol_type,
const char *  ,
int  ,
nk_flags  alignment 
)

◆ nk_contextual_item_text()

NK_API int nk_contextual_item_text ( struct nk_context ,
const char *  ,
int  ,
nk_flags  align 
)

◆ nk_draw_image()

NK_API void nk_draw_image ( struct nk_command_buffer ,
struct nk_rect  ,
const struct nk_image ,
struct nk_color   
)

◆ nk_draw_text()

NK_API void nk_draw_text ( struct nk_command_buffer ,
struct nk_rect  ,
const char *  text,
int  len,
const struct nk_user_font ,
struct nk_color  ,
struct nk_color   
)

◆ nk_edit_buffer()

NK_API nk_flags nk_edit_buffer ( struct nk_context ,
nk_flags  ,
struct nk_text_edit ,
nk_plugin_filter   
)

◆ nk_edit_focus()

NK_API void nk_edit_focus ( struct nk_context ,
nk_flags  flags 
)

◆ nk_edit_string()

NK_API nk_flags nk_edit_string ( struct nk_context ,
nk_flags  ,
char *  buffer,
int *  len,
int  max,
nk_plugin_filter   
)

◆ nk_edit_string_zero_terminated()

NK_API nk_flags nk_edit_string_zero_terminated ( struct nk_context ,
nk_flags  ,
char *  buffer,
int  max,
nk_plugin_filter   
)

◆ nk_edit_unfocus()

NK_API void nk_edit_unfocus ( struct nk_context )

◆ nk_end()

NK_API void nk_end ( struct nk_context ctx)
Here is the caller graph for this function:

◆ nk_fill_arc()

NK_API void nk_fill_arc ( struct nk_command_buffer ,
float  cx,
float  cy,
float  radius,
float  a_min,
float  a_max,
struct nk_color   
)

◆ nk_fill_circle()

NK_API void nk_fill_circle ( struct nk_command_buffer ,
struct nk_rect  ,
struct nk_color   
)

◆ nk_fill_polygon()

NK_API void nk_fill_polygon ( struct nk_command_buffer ,
float *  ,
int  point_count,
struct nk_color   
)

◆ nk_fill_rect()

NK_API void nk_fill_rect ( struct nk_command_buffer ,
struct nk_rect  ,
float  rounding,
struct nk_color   
)

◆ nk_fill_rect_multi_color()

NK_API void nk_fill_rect_multi_color ( struct nk_command_buffer ,
struct nk_rect  ,
struct nk_color  left,
struct nk_color  top,
struct nk_color  right,
struct nk_color  bottom 
)

◆ nk_fill_triangle()

NK_API void nk_fill_triangle ( struct nk_command_buffer ,
float  x0,
float  y0,
float  x1,
float  y1,
float  x2,
float  y2,
struct nk_color   
)

◆ nk_filter_ascii()

NK_API int nk_filter_ascii ( const struct nk_text_edit ,
nk_rune  unicode 
)

◆ nk_filter_binary()

NK_API int nk_filter_binary ( const struct nk_text_edit ,
nk_rune  unicode 
)

◆ nk_filter_decimal()

NK_API int nk_filter_decimal ( const struct nk_text_edit ,
nk_rune  unicode 
)

◆ nk_filter_default()

NK_API int nk_filter_default ( const struct nk_text_edit ,
nk_rune  unicode 
)

◆ nk_filter_float()

NK_API int nk_filter_float ( const struct nk_text_edit ,
nk_rune  unicode 
)

◆ nk_filter_hex()

NK_API int nk_filter_hex ( const struct nk_text_edit ,
nk_rune  unicode 
)

◆ nk_filter_oct()

NK_API int nk_filter_oct ( const struct nk_text_edit ,
nk_rune  unicode 
)

◆ nk_free()

NK_API void nk_free ( struct nk_context )
Here is the caller graph for this function:

◆ nk_get_null_rect()

NK_API struct nk_rect nk_get_null_rect ( void  )

◆ nk_group_begin()

NK_API int nk_group_begin ( struct nk_context ,
const char *  title,
nk_flags   
)

◆ nk_group_end()

NK_API void nk_group_end ( struct nk_context )

◆ nk_group_scrolled_begin()

NK_API int nk_group_scrolled_begin ( struct nk_context ,
struct nk_scroll ,
const char *  title,
nk_flags   
)

◆ nk_group_scrolled_end()

NK_API void nk_group_scrolled_end ( struct nk_context )

◆ nk_group_scrolled_offset_begin()

NK_API int nk_group_scrolled_offset_begin ( struct nk_context ,
nk_uint x_offset,
nk_uint y_offset,
const char *  ,
nk_flags   
)

◆ nk_handle_id()

NK_API nk_handle nk_handle_id ( int  )
Here is the caller graph for this function:

◆ nk_handle_ptr()

NK_API nk_handle nk_handle_ptr ( void )

◆ nk_hsv()

NK_API struct nk_color nk_hsv ( int  h,
int  s,
int  v 
)

◆ nk_hsv_bv()

NK_API struct nk_color nk_hsv_bv ( const nk_byte hsv)

◆ nk_hsv_f()

NK_API struct nk_color nk_hsv_f ( float  h,
float  s,
float  v 
)

◆ nk_hsv_fv()

NK_API struct nk_color nk_hsv_fv ( const float *  hsv)

◆ nk_hsv_iv()

NK_API struct nk_color nk_hsv_iv ( const int *  hsv)

◆ nk_hsva()

NK_API struct nk_color nk_hsva ( int  h,
int  s,
int  v,
int  a 
)

◆ nk_hsva_bv()

NK_API struct nk_color nk_hsva_bv ( const nk_byte hsva)

◆ nk_hsva_f()

NK_API struct nk_color nk_hsva_f ( float  h,
float  s,
float  v,
float  a 
)

◆ nk_hsva_fv()

NK_API struct nk_color nk_hsva_fv ( const float *  hsva)

◆ nk_hsva_iv()

NK_API struct nk_color nk_hsva_iv ( const int *  hsva)

◆ nk_image()

NK_API void nk_image ( struct nk_context ,
struct nk_image   
)

◆ nk_image_handle()

NK_API struct nk_image nk_image_handle ( nk_handle  )

◆ nk_image_id()

NK_API struct nk_image nk_image_id ( int  )
Here is the caller graph for this function:

◆ nk_image_is_subimage()

NK_API int nk_image_is_subimage ( const struct nk_image img)

◆ nk_image_ptr()

NK_API struct nk_image nk_image_ptr ( void )

◆ nk_init()

NK_API int nk_init ( struct nk_context ,
struct nk_allocator ,
const struct nk_user_font  
)

◆ nk_init_custom()

NK_API int nk_init_custom ( struct nk_context ,
struct nk_buffer cmds,
struct nk_buffer pool,
const struct nk_user_font  
)

◆ nk_init_fixed()

NK_API int nk_init_fixed ( struct nk_context ,
void memory,
nk_size  size,
const struct nk_user_font  
)

◆ nk_input_any_mouse_click_in_rect()

NK_API int nk_input_any_mouse_click_in_rect ( const struct nk_input ,
struct nk_rect   
)

◆ nk_input_begin()

NK_API void nk_input_begin ( struct nk_context )
Here is the caller graph for this function:

◆ nk_input_button()

NK_API void nk_input_button ( struct nk_context ,
enum  nk_buttons,
int  x,
int  y,
int  down 
)
Here is the caller graph for this function:

◆ nk_input_char()

NK_API void nk_input_char ( struct nk_context ,
char   
)
Here is the caller graph for this function:

◆ nk_input_end()

NK_API void nk_input_end ( struct nk_context )
Here is the caller graph for this function:

◆ nk_input_glyph()

NK_API void nk_input_glyph ( struct nk_context ,
const nk_glyph   
)

◆ nk_input_has_mouse_click()

NK_API int nk_input_has_mouse_click ( const struct nk_input ,
enum  nk_buttons 
)

◆ nk_input_has_mouse_click_down_in_rect()

NK_API int nk_input_has_mouse_click_down_in_rect ( const struct nk_input ,
enum  nk_buttons,
struct nk_rect  ,
int  down 
)

◆ nk_input_has_mouse_click_in_rect()

NK_API int nk_input_has_mouse_click_in_rect ( const struct nk_input ,
enum  nk_buttons,
struct nk_rect   
)

◆ nk_input_is_key_down()

NK_API int nk_input_is_key_down ( const struct nk_input ,
enum  nk_keys 
)

◆ nk_input_is_key_pressed()

NK_API int nk_input_is_key_pressed ( const struct nk_input ,
enum  nk_keys 
)

◆ nk_input_is_key_released()

NK_API int nk_input_is_key_released ( const struct nk_input ,
enum  nk_keys 
)

◆ nk_input_is_mouse_click_down_in_rect()

NK_API int nk_input_is_mouse_click_down_in_rect ( const struct nk_input i,
enum nk_buttons  id,
struct nk_rect  b,
int  down 
)

◆ nk_input_is_mouse_click_in_rect()

NK_API int nk_input_is_mouse_click_in_rect ( const struct nk_input ,
enum  nk_buttons,
struct nk_rect   
)

◆ nk_input_is_mouse_down()

NK_API int nk_input_is_mouse_down ( const struct nk_input ,
enum  nk_buttons 
)

◆ nk_input_is_mouse_hovering_rect()

NK_API int nk_input_is_mouse_hovering_rect ( const struct nk_input ,
struct nk_rect   
)

◆ nk_input_is_mouse_pressed()

NK_API int nk_input_is_mouse_pressed ( const struct nk_input ,
enum  nk_buttons 
)

◆ nk_input_is_mouse_prev_hovering_rect()

NK_API int nk_input_is_mouse_prev_hovering_rect ( const struct nk_input ,
struct nk_rect   
)

◆ nk_input_is_mouse_released()

NK_API int nk_input_is_mouse_released ( const struct nk_input ,
enum  nk_buttons 
)

◆ nk_input_key()

NK_API void nk_input_key ( struct nk_context ,
enum  nk_keys,
int  down 
)
Here is the caller graph for this function:

◆ nk_input_motion()

NK_API void nk_input_motion ( struct nk_context ,
int  x,
int  y 
)
Here is the caller graph for this function:

◆ nk_input_mouse_clicked()

NK_API int nk_input_mouse_clicked ( const struct nk_input ,
enum  nk_buttons,
struct nk_rect   
)

◆ nk_input_scroll()

NK_API void nk_input_scroll ( struct nk_context ,
struct nk_vec2  val 
)
Here is the caller graph for this function:

◆ nk_input_unicode()

NK_API void nk_input_unicode ( struct nk_context ,
nk_rune   
)

◆ nk_item_is_any_active()

NK_API int nk_item_is_any_active ( struct nk_context )

◆ nk_label()

NK_API void nk_label ( struct nk_context ,
const char *  ,
nk_flags  align 
)

◆ nk_label_colored()

NK_API void nk_label_colored ( struct nk_context ,
const char *  ,
nk_flags  align,
struct nk_color   
)

◆ nk_label_colored_wrap()

NK_API void nk_label_colored_wrap ( struct nk_context ,
const char *  ,
struct nk_color   
)

◆ nk_label_wrap()

NK_API void nk_label_wrap ( struct nk_context ,
const char *   
)

◆ nk_layout_ratio_from_pixel()

NK_API float nk_layout_ratio_from_pixel ( struct nk_context ,
float  pixel_width 
)

◆ nk_layout_reset_min_row_height()

NK_API void nk_layout_reset_min_row_height ( struct nk_context )

◆ nk_layout_row()

NK_API void nk_layout_row ( struct nk_context ,
enum  nk_layout_format,
float  height,
int  cols,
const float *  ratio 
)

◆ nk_layout_row_begin()

NK_API void nk_layout_row_begin ( struct nk_context ctx,
enum nk_layout_format  fmt,
float  row_height,
int  cols 
)

◆ nk_layout_row_dynamic()

NK_API void nk_layout_row_dynamic ( struct nk_context ctx,
float  height,
int  cols 
)
Here is the caller graph for this function:

◆ nk_layout_row_end()

NK_API void nk_layout_row_end ( struct nk_context )

◆ nk_layout_row_push()

NK_API void nk_layout_row_push ( struct nk_context ,
float  value 
)

◆ nk_layout_row_static()

NK_API void nk_layout_row_static ( struct nk_context ctx,
float  height,
int  item_width,
int  cols 
)

◆ nk_layout_row_template_begin()

NK_API void nk_layout_row_template_begin ( struct nk_context ,
float  row_height 
)

◆ nk_layout_row_template_end()

NK_API void nk_layout_row_template_end ( struct nk_context )

◆ nk_layout_row_template_push_dynamic()

NK_API void nk_layout_row_template_push_dynamic ( struct nk_context )

◆ nk_layout_row_template_push_static()

NK_API void nk_layout_row_template_push_static ( struct nk_context ,
float  width 
)

◆ nk_layout_row_template_push_variable()

NK_API void nk_layout_row_template_push_variable ( struct nk_context ,
float  min_width 
)

◆ nk_layout_set_min_row_height()

NK_API void nk_layout_set_min_row_height ( struct nk_context ,
float  height 
)

◆ nk_layout_space_begin()

NK_API void nk_layout_space_begin ( struct nk_context ,
enum  nk_layout_format,
float  height,
int  widget_count 
)

◆ nk_layout_space_bounds()

NK_API struct nk_rect nk_layout_space_bounds ( struct nk_context )

◆ nk_layout_space_end()

NK_API void nk_layout_space_end ( struct nk_context )

◆ nk_layout_space_push()

NK_API void nk_layout_space_push ( struct nk_context ,
struct nk_rect   
)

◆ nk_layout_space_rect_to_local()

NK_API struct nk_rect nk_layout_space_rect_to_local ( struct nk_context ,
struct nk_rect   
)

◆ nk_layout_space_rect_to_screen()

NK_API struct nk_rect nk_layout_space_rect_to_screen ( struct nk_context ,
struct nk_rect   
)

◆ nk_layout_space_to_local()

NK_API struct nk_vec2 nk_layout_space_to_local ( struct nk_context ,
struct nk_vec2   
)

◆ nk_layout_space_to_screen()

NK_API struct nk_vec2 nk_layout_space_to_screen ( struct nk_context ,
struct nk_vec2   
)

◆ nk_layout_widget_bounds()

NK_API struct nk_rect nk_layout_widget_bounds ( struct nk_context )

◆ nk_list_view_begin()

NK_API int nk_list_view_begin ( struct nk_context ,
struct nk_list_view out,
const char *  id,
nk_flags  ,
int  row_height,
int  row_count 
)

◆ nk_list_view_end()

NK_API void nk_list_view_end ( struct nk_list_view )

◆ nk_menu_begin_image()

NK_API int nk_menu_begin_image ( struct nk_context ,
const char *  ,
struct nk_image  ,
struct nk_vec2  size 
)

◆ nk_menu_begin_image_label()

NK_API int nk_menu_begin_image_label ( struct nk_context ,
const char *  ,
nk_flags  align,
struct nk_image  ,
struct nk_vec2  size 
)

◆ nk_menu_begin_image_text()

NK_API int nk_menu_begin_image_text ( struct nk_context ,
const char *  ,
int  ,
nk_flags  align,
struct nk_image  ,
struct nk_vec2  size 
)

◆ nk_menu_begin_label()

NK_API int nk_menu_begin_label ( struct nk_context ,
const char *  ,
nk_flags  align,
struct nk_vec2  size 
)

◆ nk_menu_begin_symbol()

NK_API int nk_menu_begin_symbol ( struct nk_context ,
const char *  ,
enum  nk_symbol_type,
struct nk_vec2  size 
)

◆ nk_menu_begin_symbol_label()

NK_API int nk_menu_begin_symbol_label ( struct nk_context ,
const char *  ,
nk_flags  align,
enum  nk_symbol_type,
struct nk_vec2  size 
)

◆ nk_menu_begin_symbol_text()

NK_API int nk_menu_begin_symbol_text ( struct nk_context ,
const char *  ,
int  ,
nk_flags  align,
enum  nk_symbol_type,
struct nk_vec2  size 
)

◆ nk_menu_begin_text()

NK_API int nk_menu_begin_text ( struct nk_context ,
const char *  title,
int  title_len,
nk_flags  align,
struct nk_vec2  size 
)

◆ nk_menu_close()

NK_API void nk_menu_close ( struct nk_context )

◆ nk_menu_end()

NK_API void nk_menu_end ( struct nk_context )

◆ nk_menu_item_image_label()

NK_API int nk_menu_item_image_label ( struct nk_context ,
struct nk_image  ,
const char *  ,
nk_flags  alignment 
)

◆ nk_menu_item_image_text()

NK_API int nk_menu_item_image_text ( struct nk_context ,
struct nk_image  ,
const char *  ,
int  len,
nk_flags  alignment 
)

◆ nk_menu_item_label()

NK_API int nk_menu_item_label ( struct nk_context ,
const char *  ,
nk_flags  alignment 
)

◆ nk_menu_item_symbol_label()

NK_API int nk_menu_item_symbol_label ( struct nk_context ,
enum  nk_symbol_type,
const char *  ,
nk_flags  alignment 
)

◆ nk_menu_item_symbol_text()

NK_API int nk_menu_item_symbol_text ( struct nk_context ,
enum  nk_symbol_type,
const char *  ,
int  ,
nk_flags  alignment 
)

◆ nk_menu_item_text()

NK_API int nk_menu_item_text ( struct nk_context ,
const char *  ,
int  ,
nk_flags  align 
)

◆ nk_menubar_begin()

NK_API void nk_menubar_begin ( struct nk_context )

◆ nk_menubar_end()

NK_API void nk_menubar_end ( struct nk_context )

◆ nk_murmur_hash()

NK_API nk_hash nk_murmur_hash ( const void key,
int  len,
nk_hash  seed 
)

◆ nk_option_label()

NK_API int nk_option_label ( struct nk_context ,
const char *  ,
int  active 
)

◆ nk_option_text()

NK_API int nk_option_text ( struct nk_context ,
const char *  ,
int  ,
int  active 
)

◆ nk_plot()

NK_API void nk_plot ( struct nk_context ,
enum  nk_chart_type,
const float *  values,
int  count,
int  offset 
)

◆ nk_plot_function()

NK_API void nk_plot_function ( struct nk_context ,
enum  nk_chart_type,
void userdata,
float(*)(void *user, int index value_getter,
int  count,
int  offset 
)

◆ nk_popup_begin()

NK_API int nk_popup_begin ( struct nk_context ,
enum  nk_popup_type,
const char *  ,
nk_flags  ,
struct nk_rect  bounds 
)

◆ nk_popup_close()

NK_API void nk_popup_close ( struct nk_context )

◆ nk_popup_end()

NK_API void nk_popup_end ( struct nk_context )

◆ nk_prog()

NK_API nk_size nk_prog ( struct nk_context ,
nk_size  cur,
nk_size  max,
int  modifyable 
)

◆ nk_progress()

NK_API int nk_progress ( struct nk_context ,
nk_size cur,
nk_size  max,
int  modifyable 
)

◆ nk_property_double()

NK_API void nk_property_double ( struct nk_context ,
const char *  name,
double  min,
double *  val,
double  max,
double  step,
float  inc_per_pixel 
)

◆ nk_property_float()

NK_API void nk_property_float ( struct nk_context ,
const char *  name,
float  min,
float *  val,
float  max,
float  step,
float  inc_per_pixel 
)
Here is the caller graph for this function:

◆ nk_property_int()

NK_API void nk_property_int ( struct nk_context ,
const char *  name,
int  min,
int *  val,
int  max,
int  step,
float  inc_per_pixel 
)

◆ nk_propertyd()

NK_API double nk_propertyd ( struct nk_context ,
const char *  name,
double  min,
double  val,
double  max,
double  step,
float  inc_per_pixel 
)

◆ nk_propertyf()

NK_API float nk_propertyf ( struct nk_context ,
const char *  name,
float  min,
float  val,
float  max,
float  step,
float  inc_per_pixel 
)

◆ nk_propertyi()

NK_API int nk_propertyi ( struct nk_context ,
const char *  name,
int  min,
int  val,
int  max,
int  step,
float  inc_per_pixel 
)

◆ nk_push_custom()

NK_API void nk_push_custom ( struct nk_command_buffer ,
struct nk_rect  ,
nk_command_custom_callback  ,
nk_handle  usr 
)

◆ nk_push_scissor()

NK_API void nk_push_scissor ( struct nk_command_buffer ,
struct nk_rect   
)

◆ nk_radio_label()

NK_API int nk_radio_label ( struct nk_context ,
const char *  ,
int *  active 
)

◆ nk_radio_text()

NK_API int nk_radio_text ( struct nk_context ,
const char *  ,
int  ,
int *  active 
)

◆ nk_rect()

NK_API struct nk_rect nk_rect ( float  x,
float  y,
float  w,
float  h 
)
Here is the caller graph for this function:

◆ nk_rect_pos()

NK_API struct nk_vec2 nk_rect_pos ( struct nk_rect  )

◆ nk_rect_size()

NK_API struct nk_vec2 nk_rect_size ( struct nk_rect  )

◆ nk_recta()

NK_API struct nk_rect nk_recta ( struct nk_vec2  pos,
struct nk_vec2  size 
)

◆ nk_recti()

NK_API struct nk_rect nk_recti ( int  x,
int  y,
int  w,
int  h 
)

◆ nk_rectiv()

NK_API struct nk_rect nk_rectiv ( const int *  xywh)

◆ nk_rectv()

NK_API struct nk_rect nk_rectv ( const float *  xywh)

◆ nk_rgb()

NK_API struct nk_color nk_rgb ( int  r,
int  g,
int  b 
)

◆ nk_rgb_bv()

NK_API struct nk_color nk_rgb_bv ( const nk_byte rgb)

◆ nk_rgb_f()

NK_API struct nk_color nk_rgb_f ( float  r,
float  g,
float  b 
)

◆ nk_rgb_fv()

NK_API struct nk_color nk_rgb_fv ( const float *  rgb)

◆ nk_rgb_hex()

NK_API struct nk_color nk_rgb_hex ( const char *  rgb)

◆ nk_rgb_iv()

NK_API struct nk_color nk_rgb_iv ( const int *  rgb)

◆ nk_rgba()

NK_API struct nk_color nk_rgba ( int  r,
int  g,
int  b,
int  a 
)
Here is the caller graph for this function:

◆ nk_rgba_bv()

NK_API struct nk_color nk_rgba_bv ( const nk_byte rgba)

◆ nk_rgba_f()

NK_API struct nk_color nk_rgba_f ( float  r,
float  g,
float  b,
float  a 
)

◆ nk_rgba_fv()

NK_API struct nk_color nk_rgba_fv ( const float *  rgba)

◆ nk_rgba_hex()

NK_API struct nk_color nk_rgba_hex ( const char *  rgb)

◆ nk_rgba_iv()

NK_API struct nk_color nk_rgba_iv ( const int *  rgba)

◆ nk_rgba_u32()

NK_API struct nk_color nk_rgba_u32 ( nk_uint  )

◆ nk_select_image_label()

NK_API int nk_select_image_label ( struct nk_context ,
struct nk_image  ,
const char *  ,
nk_flags  align,
int  value 
)

◆ nk_select_image_text()

NK_API int nk_select_image_text ( struct nk_context ,
struct nk_image  ,
const char *  ,
int  ,
nk_flags  align,
int  value 
)

◆ nk_select_label()

NK_API int nk_select_label ( struct nk_context ,
const char *  ,
nk_flags  align,
int  value 
)

◆ nk_select_text()

NK_API int nk_select_text ( struct nk_context ,
const char *  ,
int  ,
nk_flags  align,
int  value 
)

◆ nk_selectable_image_label()

NK_API int nk_selectable_image_label ( struct nk_context ,
struct nk_image  ,
const char *  ,
nk_flags  align,
int *  value 
)

◆ nk_selectable_image_text()

NK_API int nk_selectable_image_text ( struct nk_context ,
struct nk_image  ,
const char *  ,
int  ,
nk_flags  align,
int *  value 
)

◆ nk_selectable_label()

NK_API int nk_selectable_label ( struct nk_context ,
const char *  ,
nk_flags  align,
int *  value 
)

◆ nk_selectable_text()

NK_API int nk_selectable_text ( struct nk_context ,
const char *  ,
int  ,
nk_flags  align,
int *  value 
)

◆ nk_slide_float()

NK_API float nk_slide_float ( struct nk_context ,
float  min,
float  val,
float  max,
float  step 
)

◆ nk_slide_int()

NK_API int nk_slide_int ( struct nk_context ,
int  min,
int  val,
int  max,
int  step 
)

◆ nk_slider_float()

NK_API int nk_slider_float ( struct nk_context ,
float  min,
float *  val,
float  max,
float  step 
)

◆ nk_slider_int()

NK_API int nk_slider_int ( struct nk_context ,
int  min,
int *  val,
int  max,
int  step 
)

◆ nk_spacing()

NK_API void nk_spacing ( struct nk_context ,
int  cols 
)

◆ NK_STATIC_ASSERT() [1/8]

NK_STATIC_ASSERT ( sizeof(nk_short = =2)

◆ NK_STATIC_ASSERT() [2/8]

NK_STATIC_ASSERT ( sizeof(nk_ushort = =2)

◆ NK_STATIC_ASSERT() [3/8]

NK_STATIC_ASSERT ( sizeof(nk_uint = =4)

◆ NK_STATIC_ASSERT() [4/8]

NK_STATIC_ASSERT ( sizeof(nk_int = =4)

◆ NK_STATIC_ASSERT() [5/8]

NK_STATIC_ASSERT ( sizeof(nk_byte = =1)

◆ NK_STATIC_ASSERT() [6/8]

NK_STATIC_ASSERT ( sizeof(nk_flags) >=  4)

◆ NK_STATIC_ASSERT() [7/8]

NK_STATIC_ASSERT ( sizeof(nk_size) >=sizeof(void *)  )

◆ NK_STATIC_ASSERT() [8/8]

NK_STATIC_ASSERT ( sizeof(nk_ptr) >=sizeof(void *)  )

◆ nk_str_append_str_char()

NK_API int nk_str_append_str_char ( struct nk_str ,
const char *   
)

◆ nk_str_append_str_runes()

NK_API int nk_str_append_str_runes ( struct nk_str ,
const nk_rune  
)

◆ nk_str_append_str_utf8()

NK_API int nk_str_append_str_utf8 ( struct nk_str ,
const char *   
)

◆ nk_str_append_text_char()

NK_API int nk_str_append_text_char ( struct nk_str ,
const char *  ,
int   
)

◆ nk_str_append_text_runes()

NK_API int nk_str_append_text_runes ( struct nk_str ,
const nk_rune ,
int   
)

◆ nk_str_append_text_utf8()

NK_API int nk_str_append_text_utf8 ( struct nk_str ,
const char *  ,
int   
)

◆ nk_str_at_char()

NK_API char* nk_str_at_char ( struct nk_str ,
int  pos 
)

◆ nk_str_at_char_const()

NK_API const char* nk_str_at_char_const ( const struct nk_str ,
int  pos 
)

◆ nk_str_at_const()

NK_API const char* nk_str_at_const ( const struct nk_str ,
int  pos,
nk_rune unicode,
int *  len 
)

◆ nk_str_at_rune()

NK_API char* nk_str_at_rune ( struct nk_str ,
int  pos,
nk_rune unicode,
int *  len 
)

◆ nk_str_clear()

NK_API void nk_str_clear ( struct nk_str )

◆ nk_str_delete_chars()

NK_API void nk_str_delete_chars ( struct nk_str ,
int  pos,
int  len 
)

◆ nk_str_delete_runes()

NK_API void nk_str_delete_runes ( struct nk_str ,
int  pos,
int  len 
)

◆ nk_str_free()

NK_API void nk_str_free ( struct nk_str )

◆ nk_str_get()

NK_API char* nk_str_get ( struct nk_str )

◆ nk_str_get_const()

NK_API const char* nk_str_get_const ( const struct nk_str )

◆ nk_str_init()

NK_API void nk_str_init ( struct nk_str ,
const struct nk_allocator ,
nk_size  size 
)

◆ nk_str_init_fixed()

NK_API void nk_str_init_fixed ( struct nk_str ,
void memory,
nk_size  size 
)

◆ nk_str_insert_at_char()

NK_API int nk_str_insert_at_char ( struct nk_str ,
int  pos,
const char *  ,
int   
)

◆ nk_str_insert_at_rune()

NK_API int nk_str_insert_at_rune ( struct nk_str ,
int  pos,
const char *  ,
int   
)

◆ nk_str_insert_str_char()

NK_API int nk_str_insert_str_char ( struct nk_str ,
int  pos,
const char *   
)

◆ nk_str_insert_str_runes()

NK_API int nk_str_insert_str_runes ( struct nk_str ,
int  pos,
const nk_rune  
)

◆ nk_str_insert_str_utf8()

NK_API int nk_str_insert_str_utf8 ( struct nk_str ,
int  pos,
const char *   
)

◆ nk_str_insert_text_char()

NK_API int nk_str_insert_text_char ( struct nk_str ,
int  pos,
const char *  ,
int   
)

◆ nk_str_insert_text_runes()

NK_API int nk_str_insert_text_runes ( struct nk_str ,
int  pos,
const nk_rune ,
int   
)

◆ nk_str_insert_text_utf8()

NK_API int nk_str_insert_text_utf8 ( struct nk_str ,
int  pos,
const char *  ,
int   
)

◆ nk_str_len()

NK_API int nk_str_len ( struct nk_str )

◆ nk_str_len_char()

NK_API int nk_str_len_char ( struct nk_str )

◆ nk_str_remove_chars()

NK_API void nk_str_remove_chars ( struct nk_str ,
int  len 
)

◆ nk_str_remove_runes()

NK_API void nk_str_remove_runes ( struct nk_str str,
int  len 
)

◆ nk_str_rune_at()

NK_API nk_rune nk_str_rune_at ( const struct nk_str ,
int  pos 
)

◆ nk_strfilter()

NK_API int nk_strfilter ( const char *  text,
const char *  regexp 
)

◆ nk_stricmp()

NK_API int nk_stricmp ( const char *  s1,
const char *  s2 
)

◆ nk_stricmpn()

NK_API int nk_stricmpn ( const char *  s1,
const char *  s2,
int  n 
)

◆ nk_strlen()

NK_API int nk_strlen ( const char *  str)

◆ nk_strmatch_fuzzy_string()

NK_API int nk_strmatch_fuzzy_string ( char const str,
char const pattern,
int *  out_score 
)

◆ nk_strmatch_fuzzy_text()

NK_API int nk_strmatch_fuzzy_text ( const char *  txt,
int  txt_len,
const char *  pattern,
int *  out_score 
)

◆ nk_stroke_arc()

NK_API void nk_stroke_arc ( struct nk_command_buffer ,
float  cx,
float  cy,
float  radius,
float  a_min,
float  a_max,
float  line_thickness,
struct nk_color   
)

◆ nk_stroke_circle()

NK_API void nk_stroke_circle ( struct nk_command_buffer ,
struct nk_rect  ,
float  line_thickness,
struct nk_color   
)

◆ nk_stroke_curve()

NK_API void nk_stroke_curve ( struct nk_command_buffer ,
float  ,
float  ,
float  ,
float  ,
float  ,
float  ,
float  ,
float  ,
float  line_thickness,
struct nk_color   
)

◆ nk_stroke_line()

NK_API void nk_stroke_line ( struct nk_command_buffer b,
float  x0,
float  y0,
float  x1,
float  y1,
float  line_thickness,
struct nk_color   
)

◆ nk_stroke_polygon()

NK_API void nk_stroke_polygon ( struct nk_command_buffer ,
float *  ,
int  point_count,
float  line_thickness,
struct nk_color   
)

◆ nk_stroke_polyline()

NK_API void nk_stroke_polyline ( struct nk_command_buffer ,
float *  points,
int  point_count,
float  line_thickness,
struct nk_color  col 
)

◆ nk_stroke_rect()

NK_API void nk_stroke_rect ( struct nk_command_buffer ,
struct nk_rect  ,
float  rounding,
float  line_thickness,
struct nk_color   
)

◆ nk_stroke_triangle()

NK_API void nk_stroke_triangle ( struct nk_command_buffer ,
float  ,
float  ,
float  ,
float  ,
float  ,
float  ,
float  line_thichness,
struct nk_color   
)

◆ nk_strtod()

NK_API double nk_strtod ( const char *  str,
const char **  endptr 
)

◆ nk_strtof()

NK_API float nk_strtof ( const char *  str,
const char **  endptr 
)

◆ nk_strtoi()

NK_API int nk_strtoi ( const char *  str,
const char **  endptr 
)

◆ nk_style_default()

NK_API void nk_style_default ( struct nk_context )

◆ nk_style_from_table()

NK_API void nk_style_from_table ( struct nk_context ,
const struct nk_color  
)
Here is the caller graph for this function:

◆ nk_style_get_color_by_name()

NK_API const char* nk_style_get_color_by_name ( enum  nk_style_colors)

◆ nk_style_hide_cursor()

NK_API void nk_style_hide_cursor ( struct nk_context )

◆ nk_style_item_color()

NK_API struct nk_style_item nk_style_item_color ( struct nk_color  )

◆ nk_style_item_hide()

NK_API struct nk_style_item nk_style_item_hide ( void  )

◆ nk_style_item_image()

NK_API struct nk_style_item nk_style_item_image ( struct nk_image  img)

◆ nk_style_load_all_cursors()

NK_API void nk_style_load_all_cursors ( struct nk_context ,
struct nk_cursor  
)

◆ nk_style_load_cursor()

NK_API void nk_style_load_cursor ( struct nk_context ,
enum  nk_style_cursor,
const struct nk_cursor  
)

◆ nk_style_pop_color()

NK_API int nk_style_pop_color ( struct nk_context )

◆ nk_style_pop_flags()

NK_API int nk_style_pop_flags ( struct nk_context )

◆ nk_style_pop_float()

NK_API int nk_style_pop_float ( struct nk_context )

◆ nk_style_pop_font()

NK_API int nk_style_pop_font ( struct nk_context )

◆ nk_style_pop_style_item()

NK_API int nk_style_pop_style_item ( struct nk_context )

◆ nk_style_pop_vec2()

NK_API int nk_style_pop_vec2 ( struct nk_context )

◆ nk_style_push_color()

NK_API int nk_style_push_color ( struct nk_context ,
struct nk_color ,
struct nk_color   
)

◆ nk_style_push_flags()

NK_API int nk_style_push_flags ( struct nk_context ,
nk_flags ,
nk_flags   
)

◆ nk_style_push_float()

NK_API int nk_style_push_float ( struct nk_context ,
float *  ,
float   
)

◆ nk_style_push_font()

NK_API int nk_style_push_font ( struct nk_context ,
const struct nk_user_font  
)

◆ nk_style_push_style_item()

NK_API int nk_style_push_style_item ( struct nk_context ,
struct nk_style_item ,
struct nk_style_item   
)

◆ nk_style_push_vec2()

NK_API int nk_style_push_vec2 ( struct nk_context ,
struct nk_vec2 ,
struct nk_vec2   
)

◆ nk_style_set_cursor()

NK_API int nk_style_set_cursor ( struct nk_context ,
enum  nk_style_cursor 
)

◆ nk_style_set_font()

NK_API void nk_style_set_font ( struct nk_context ,
const struct nk_user_font  
)

◆ nk_style_show_cursor()

NK_API void nk_style_show_cursor ( struct nk_context )

◆ nk_subimage_handle()

NK_API struct nk_image nk_subimage_handle ( nk_handle  ,
unsigned short  w,
unsigned short  h,
struct nk_rect  sub_region 
)

◆ nk_subimage_id()

NK_API struct nk_image nk_subimage_id ( int  ,
unsigned short  w,
unsigned short  h,
struct nk_rect  sub_region 
)

◆ nk_subimage_ptr()

NK_API struct nk_image nk_subimage_ptr ( void ,
unsigned short  w,
unsigned short  h,
struct nk_rect  sub_region 
)

◆ nk_text()

NK_API void nk_text ( struct nk_context ,
const char *  ,
int  ,
nk_flags   
)

◆ nk_text_colored()

NK_API void nk_text_colored ( struct nk_context ,
const char *  ,
int  ,
nk_flags  ,
struct nk_color   
)

◆ nk_text_wrap()

NK_API void nk_text_wrap ( struct nk_context ,
const char *  ,
int   
)

◆ nk_text_wrap_colored()

NK_API void nk_text_wrap_colored ( struct nk_context ,
const char *  ,
int  ,
struct nk_color   
)

◆ nk_textedit_cut()

NK_API int nk_textedit_cut ( struct nk_text_edit )

◆ nk_textedit_delete()

NK_API void nk_textedit_delete ( struct nk_text_edit ,
int  where,
int  len 
)

◆ nk_textedit_delete_selection()

NK_API void nk_textedit_delete_selection ( struct nk_text_edit )

◆ nk_textedit_free()

NK_API void nk_textedit_free ( struct nk_text_edit )

◆ nk_textedit_init()

NK_API void nk_textedit_init ( struct nk_text_edit ,
struct nk_allocator ,
nk_size  size 
)

◆ nk_textedit_init_fixed()

NK_API void nk_textedit_init_fixed ( struct nk_text_edit ,
void memory,
nk_size  size 
)

◆ nk_textedit_paste()

NK_API int nk_textedit_paste ( struct nk_text_edit ,
char const ,
int  len 
)

◆ nk_textedit_redo()

NK_API void nk_textedit_redo ( struct nk_text_edit )

◆ nk_textedit_select_all()

NK_API void nk_textedit_select_all ( struct nk_text_edit )

◆ nk_textedit_text()

NK_API void nk_textedit_text ( struct nk_text_edit ,
const char *  ,
int  total_len 
)

◆ nk_textedit_undo()

NK_API void nk_textedit_undo ( struct nk_text_edit )

◆ nk_tooltip()

NK_API void nk_tooltip ( struct nk_context ,
const char *   
)

◆ nk_tooltip_begin()

NK_API int nk_tooltip_begin ( struct nk_context ,
float  width 
)

◆ nk_tooltip_end()

NK_API void nk_tooltip_end ( struct nk_context )

◆ nk_tree_image_push_hashed()

NK_API int nk_tree_image_push_hashed ( struct nk_context ,
enum  nk_tree_type,
struct nk_image  ,
const char *  title,
enum nk_collapse_states  initial_state,
const char *  hash,
int  len,
int  seed 
)

◆ nk_tree_pop()

NK_API void nk_tree_pop ( struct nk_context )

◆ nk_tree_push_hashed()

NK_API int nk_tree_push_hashed ( struct nk_context ,
enum  nk_tree_type,
const char *  title,
enum nk_collapse_states  initial_state,
const char *  hash,
int  len,
int  seed 
)

◆ nk_tree_state_image_push()

NK_API int nk_tree_state_image_push ( struct nk_context ,
enum  nk_tree_type,
struct nk_image  ,
const char *  title,
enum nk_collapse_states state 
)

◆ nk_tree_state_pop()

NK_API void nk_tree_state_pop ( struct nk_context )

◆ nk_tree_state_push()

NK_API int nk_tree_state_push ( struct nk_context ,
enum  nk_tree_type,
const char *  title,
enum nk_collapse_states state 
)

◆ nk_triangle_from_direction()

NK_API void nk_triangle_from_direction ( struct nk_vec2 result,
struct nk_rect  r,
float  pad_x,
float  pad_y,
enum  nk_heading 
)

◆ nk_utf_at()

NK_API const char* nk_utf_at ( const char *  buffer,
int  length,
int  index,
nk_rune unicode,
int *  len 
)

◆ nk_utf_decode()

NK_API int nk_utf_decode ( const char *  ,
nk_rune ,
int   
)

◆ nk_utf_encode()

NK_API int nk_utf_encode ( nk_rune  ,
char *  ,
int   
)

◆ nk_utf_len()

NK_API int nk_utf_len ( const char *  ,
int  byte_len 
)

◆ nk_vec2()

NK_API struct nk_vec2 nk_vec2 ( float  x,
float  y 
)

◆ nk_vec2i()

NK_API struct nk_vec2 nk_vec2i ( int  x,
int  y 
)

◆ nk_vec2iv()

NK_API struct nk_vec2 nk_vec2iv ( const int *  xy)

◆ nk_vec2v()

NK_API struct nk_vec2 nk_vec2v ( const float *  xy)

◆ nk_widget()

NK_API enum nk_widget_layout_states nk_widget ( struct nk_rect ,
const struct nk_context  
)

◆ nk_widget_bounds()

NK_API struct nk_rect nk_widget_bounds ( struct nk_context )

◆ nk_widget_fitting()

NK_API enum nk_widget_layout_states nk_widget_fitting ( struct nk_rect ,
struct nk_context ,
struct nk_vec2   
)

◆ nk_widget_has_mouse_click_down()

NK_API int nk_widget_has_mouse_click_down ( struct nk_context ,
enum  nk_buttons,
int  down 
)

◆ nk_widget_height()

NK_API float nk_widget_height ( struct nk_context )

◆ nk_widget_is_hovered()

NK_API int nk_widget_is_hovered ( struct nk_context )

◆ nk_widget_is_mouse_clicked()

NK_API int nk_widget_is_mouse_clicked ( struct nk_context ,
enum  nk_buttons 
)

◆ nk_widget_position()

NK_API struct nk_vec2 nk_widget_position ( struct nk_context )

◆ nk_widget_size()

NK_API struct nk_vec2 nk_widget_size ( struct nk_context )

◆ nk_widget_width()

NK_API float nk_widget_width ( struct nk_context )

◆ nk_window_close()

NK_API void nk_window_close ( struct nk_context ctx,
const char *  name 
)

◆ nk_window_collapse()

NK_API void nk_window_collapse ( struct nk_context ,
const char *  name,
enum nk_collapse_states  state 
)

◆ nk_window_collapse_if()

NK_API void nk_window_collapse_if ( struct nk_context ,
const char *  name,
enum  nk_collapse_states,
int  cond 
)

◆ nk_window_find()

NK_API struct nk_window* nk_window_find ( struct nk_context ctx,
const char *  name 
)

◆ nk_window_get_bounds()

NK_API struct nk_rect nk_window_get_bounds ( const struct nk_context ctx)

◆ nk_window_get_canvas()

NK_API struct nk_command_buffer* nk_window_get_canvas ( struct nk_context )

◆ nk_window_get_content_region()

NK_API struct nk_rect nk_window_get_content_region ( struct nk_context )

◆ nk_window_get_content_region_max()

NK_API struct nk_vec2 nk_window_get_content_region_max ( struct nk_context )

◆ nk_window_get_content_region_min()

NK_API struct nk_vec2 nk_window_get_content_region_min ( struct nk_context )

◆ nk_window_get_content_region_size()

NK_API struct nk_vec2 nk_window_get_content_region_size ( struct nk_context )

◆ nk_window_get_height()

NK_API float nk_window_get_height ( const struct nk_context )

◆ nk_window_get_panel()

NK_API struct nk_panel* nk_window_get_panel ( struct nk_context )

◆ nk_window_get_position()

NK_API struct nk_vec2 nk_window_get_position ( const struct nk_context ctx)
Here is the caller graph for this function:

◆ nk_window_get_size()

NK_API struct nk_vec2 nk_window_get_size ( const struct nk_context )
Here is the caller graph for this function:

◆ nk_window_get_width()

NK_API float nk_window_get_width ( const struct nk_context )

◆ nk_window_has_focus()

NK_API int nk_window_has_focus ( const struct nk_context )

◆ nk_window_is_active()

NK_API int nk_window_is_active ( struct nk_context ,
const char *   
)

◆ nk_window_is_any_hovered()

NK_API int nk_window_is_any_hovered ( struct nk_context )

◆ nk_window_is_closed()

NK_API int nk_window_is_closed ( struct nk_context ,
const char *   
)

◆ nk_window_is_collapsed()

NK_API int nk_window_is_collapsed ( struct nk_context ctx,
const char *  name 
)

◆ nk_window_is_hidden()

NK_API int nk_window_is_hidden ( struct nk_context ,
const char *   
)

◆ nk_window_is_hovered()

NK_API int nk_window_is_hovered ( struct nk_context )

◆ nk_window_set_bounds()

NK_API void nk_window_set_bounds ( struct nk_context ,
const char *  name,
struct nk_rect  bounds 
)

◆ nk_window_set_focus()

NK_API void nk_window_set_focus ( struct nk_context ,
const char *  name 
)

◆ nk_window_set_position()

NK_API void nk_window_set_position ( struct nk_context ,
const char *  name,
struct nk_vec2  pos 
)

◆ nk_window_set_size()

NK_API void nk_window_set_size ( struct nk_context ,
const char *  name,
struct nk_vec2   
)

◆ nk_window_show()

NK_API void nk_window_show ( struct nk_context ,
const char *  name,
enum  nk_show_states 
)

◆ nk_window_show_if()

NK_API void nk_window_show_if ( struct nk_context ,
const char *  name,
enum  nk_show_states,
int  cond 
)