Classes | Macros | Typedefs | Enumerations | Functions
nuklear.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

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

Macros

#define NK_ABS(a)   (((a) < 0) ? -(a) : (a))
 
#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_ALIGNOF(t)   ((char*)(&((struct {char c; t _h;}*)0)->_h) - (char*)0)
 
#define NK_API   extern
 
#define NK_BETWEEN(x, a, b)   ((a) <= (x) && (x) < (b))
 
#define NK_BUTTON_BEHAVIOR_STACK_SIZE   8
 
#define NK_CHART_MAX_SLOT   4
 
#define NK_CLAMP(i, v, x)   (NK_MAX(NK_MIN(v,x), i))
 
#define NK_COLOR_STACK_SIZE   32
 
#define NK_CONFIG_STACK(type, size)
 
#define NK_CONFIGURATION_STACK_TYPE(prefix, name, type)
 
#define NK_CONTAINER_OF(ptr, type, member)   (type*)((void*)((char*)(1 ? (ptr): &((type*)0)->member) - NK_OFFSETOF(type, member)))
 
#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_FILE_LINE   __FILE__ ":" NK_MACRO_STRINGIFY(__LINE__)
 
#define NK_FLAG(x)   (1 << (x))
 
#define NK_FLAGS_STACK_SIZE   32
 
#define nk_float   float
 
#define NK_FLOAT_STACK_SIZE   32
 
#define NK_FONT_STACK_SIZE   8
 
#define nk_foreach(c, ctx)   for((c) = nk__begin(ctx); (c) != 0; (c) = nk__next(ctx,c))
 
#define NK_GLOBAL   static
 
#define NK_INBOX(px, py, x, y, w, h)   (NK_BETWEEN(px,x,x+w) && NK_BETWEEN(py,y,y+h))
 
#define NK_INPUT_MAX   16
 
#define NK_INT16   signed short
 
#define NK_INT32   signed int
 
#define NK_INT8   char
 
#define NK_INTERN   static
 
#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_LEN(a)   (sizeof(a)/sizeof(a)[0])
 
#define NK_LIB   static
 
#define NK_MACRO_STRINGIFY(x)   NK_STRINGIFY(x)
 
#define NK_MAX(a, b)   ((a) < (b) ? (b) : (a))
 
#define NK_MAX_FLOAT_PRECISION   2
 
#define NK_MAX_LAYOUT_ROW_TEMPLATE_COLUMNS   16
 
#define NK_MAX_NUMBER_BUFFER   64
 
#define NK_MIN(a, b)   ((a) < (b) ? (a) : (b))
 
#define NK_NUKLEAR_H_
 
#define NK_OFFSETOF(st, m)   ((nk_ptr)&(((st*)0)->m))
 
#define NK_PI   3.141592654f
 
#define NK_POINTER_TYPE   unsigned long
 
#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_PTR_TO_UINT(x)   ((nk_size)(((char*)x)-(char*)0))
 
#define NK_SATURATE(x)   (NK_MAX(0, NK_MIN(1.0f, x)))
 
#define NK_SCROLLBAR_HIDING_TIMEOUT   4.0f
 
#define NK_SIZE_TYPE   unsigned long
 
#define NK_STATIC_ASSERT(exp)   typedef char NK_UNIQUE_NAME(_dummy_array)[(exp)?1:-1]
 
#define NK_STORAGE   static
 
#define NK_STRING_JOIN(arg1, arg2)   NK_STRING_JOIN_DELAY(arg1, arg2)
 
#define NK_STRING_JOIN_DELAY(arg1, arg2)   NK_STRING_JOIN_IMMEDIATE(arg1, arg2)
 
#define NK_STRING_JOIN_IMMEDIATE(arg1, arg2)   arg1 ## arg2
 
#define NK_STRINGIFY(x)   #x
 
#define NK_STYLE_ITEM_STACK_SIZE   16
 
#define NK_TEXTEDIT_UNDOCHARCOUNT   999
 
#define NK_TEXTEDIT_UNDOSTATECOUNT   99
 
#define nk_tree_element_push(ctx, type, title, state, sel)   nk_tree_element_push_hashed(ctx, type, title, state, sel, NK_FILE_LINE,nk_strlen(NK_FILE_LINE),__LINE__)
 
#define nk_tree_element_push_id(ctx, type, title, state, sel, id)   nk_tree_element_push_hashed(ctx, type, title, state, sel, 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_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_UINT16   unsigned short
 
#define NK_UINT32   unsigned int
 
#define NK_UINT8   unsigned char
 
#define NK_UINT_TO_PTR(x)   ((void*)&((char*)0)[x])
 
#define NK_UNDEFINED   (-1.0f)
 
#define NK_UNIQUE_NAME(name)   NK_STRING_JOIN(name,__LINE__)
 
#define NK_UNUSED(x)   ((void)(x))
 
#define NK_UTF_INVALID   0xFFFD /* internal invalid utf8 rune */
 
#define NK_UTF_INVALID   0xFFFD
 
#define NK_UTF_SIZE   4 /* describes the number of bytes a glyph consists of*/
 
#define NK_VALUE_PAGE_CAPACITY   (((NK_MAX(sizeof(struct nk_window),sizeof(struct nk_panel)) / sizeof(nk_uint))) / 2)
 
#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_vec2_sub(a, b)   nk_vec2((a).x - (b).x, (a).y - (b).y)
 
#define NK_VECTOR_STACK_SIZE   16
 
#define NK_WINDOW_MAX_NAME   64
 
#define nk_zero_struct(s)   nk_zero(&s, sizeof(s))
 

Typedefs

typedef NK_UINT8 nk_byte
 
typedef NK_INT8 nk_char
 
typedef void(* nk_command_custom_callback) (void *canvas, short x, short y, unsigned short w, unsigned short h, nk_handle callback_data)
 
typedef nk_uint nk_flags
 
typedef char nk_glyph[NK_UTF_SIZE]
 
typedef nk_uint nk_hash
 
typedef NK_INT32 nk_int
 
typedef void *(* nk_plugin_alloc) (nk_handle, void *old, nk_size)
 
typedef void(* nk_plugin_copy) (nk_handle, const char *, int len)
 
typedef int(* nk_plugin_filter) (const struct nk_text_edit *, nk_rune unicode)
 
typedef void(* nk_plugin_free) (nk_handle, void *old)
 
typedef void(* nk_plugin_paste) (nk_handle, struct nk_text_edit *)
 
typedef NK_POINTER_TYPE nk_ptr
 
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 nk_uint nk_rune
 
typedef NK_INT16 nk_short
 
typedef NK_SIZE_TYPE nk_size
 
typedef float(* nk_text_width_f) (nk_handle, float h, const char *, int len)
 
typedef NK_UINT8 nk_uchar
 
typedef NK_UINT32 nk_uint
 
typedef NK_UINT16 nk_ushort
 

Enumerations

enum  { nk_false, nk_true }
 
enum  nk_allocation_type { NK_BUFFER_FIXED, NK_BUFFER_DYNAMIC }
 
enum  nk_anti_aliasing { NK_ANTI_ALIASING_OFF, NK_ANTI_ALIASING_ON }
 
enum  nk_buffer_allocation_type { NK_BUFFER_FRONT, NK_BUFFER_BACK, NK_BUFFER_MAX }
 
enum  nk_button_behavior { NK_BUTTON_DEFAULT, NK_BUTTON_REPEATER }
 
enum  nk_buttons {
  NK_BUTTON_LEFT, NK_BUTTON_MIDDLE, NK_BUTTON_RIGHT, NK_BUTTON_DOUBLE,
  NK_BUTTON_MAX
}
 
enum  nk_chart_event { NK_CHART_HOVERING = 0x01, NK_CHART_CLICKED = 0x02 }
 
enum  nk_chart_type { NK_CHART_LINES, NK_CHART_COLUMN, NK_CHART_MAX }
 
enum  nk_collapse_states { NK_MINIMIZED = nk_false, NK_MAXIMIZED = nk_true }
 
enum  nk_color_format { NK_RGB, NK_RGBA }
 
enum  nk_command_clipping { NK_CLIPPING_OFF = nk_false, NK_CLIPPING_ON = nk_true }
 
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_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_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_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_heading { NK_UP, NK_RIGHT, NK_DOWN, NK_LEFT }
 
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_layout_format { NK_DYNAMIC, NK_STATIC }
 
enum  nk_modify { NK_FIXED = nk_false, NK_MODIFIABLE = nk_true }
 
enum  nk_orientation { NK_VERTICAL, NK_HORIZONTAL }
 
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_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_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_type {
  NK_PANEL_NONE = 0, 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_popup_type { NK_POPUP_STATIC, NK_POPUP_DYNAMIC }
 
enum  nk_show_states { NK_HIDDEN = nk_false, NK_SHOWN = nk_true }
 
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_style_header_align { NK_HEADER_LEFT, NK_HEADER_RIGHT }
 
enum  nk_style_item_type { NK_STYLE_ITEM_COLOR, NK_STYLE_ITEM_IMAGE }
 
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_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_text_edit_mode { NK_TEXT_EDIT_MODE_VIEW, NK_TEXT_EDIT_MODE_INSERT, NK_TEXT_EDIT_MODE_REPLACE }
 
enum  nk_text_edit_type { NK_TEXT_EDIT_SINGLE_LINE, NK_TEXT_EDIT_MULTI_LINE }
 
enum  nk_tree_type { NK_TREE_NODE, NK_TREE_TAB }
 
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_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_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_buffer_clear (struct nk_buffer *)
 
NK_API void nk_buffer_free (struct nk_buffer *)
 
NK_API void nk_buffer_info (struct nk_memory_status *, struct nk_buffer *)
 
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_mark (struct nk_buffer *, enum nk_buffer_allocation_type type)
 
NK_API voidnk_buffer_memory (struct nk_buffer *)
 
NK_API const voidnk_buffer_memory_const (const 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_reset (struct nk_buffer *, enum nk_buffer_allocation_type type)
 
NK_API nk_size nk_buffer_total (struct nk_buffer *)
 
NK_API int nk_button_color (struct nk_context *, struct nk_color)
 
NK_API int nk_button_image (struct nk_context *, struct nk_image img)
 
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_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_styled (struct nk_context *, const struct nk_style_button *, struct nk_image img)
 
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_image_text_styled (struct nk_context *, const struct nk_style_button *, struct nk_image img, const char *, int, nk_flags alignment)
 
NK_API int nk_button_label (struct nk_context *, const char *title)
 
NK_API int nk_button_label_styled (struct nk_context *, const struct nk_style_button *, const char *title)
 
NK_API int nk_button_pop_behavior (struct nk_context *)
 
NK_API int nk_button_push_behavior (struct nk_context *, enum nk_button_behavior)
 
NK_API void nk_button_set_behavior (struct nk_context *, enum nk_button_behavior)
 
NK_API int nk_button_symbol (struct nk_context *, enum nk_symbol_type)
 
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_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_symbol_styled (struct nk_context *, const struct nk_style_button *, enum nk_symbol_type)
 
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_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_text (struct nk_context *, const char *title, int len)
 
NK_API int nk_button_text_styled (struct nk_context *, const struct nk_style_button *, const char *title, int len)
 
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 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_end (struct nk_context *)
 
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 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_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 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_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 void nk_clear (struct nk_context *)
 
NK_API struct nk_colorf nk_color_cf (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 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_hex_rgb (char *output, struct nk_color)
 
NK_API void nk_color_hex_rgba (char *output, 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_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_hsv_i (int *out_h, int *out_s, int *out_v, struct nk_color)
 
NK_API void nk_color_hsv_iv (int *hsv_out, 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_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 void nk_color_hsva_i (int *h, int *s, int *v, int *a, struct nk_color)
 
NK_API void nk_color_hsva_iv (int *hsva_out, struct nk_color)
 
NK_API int nk_color_pick (struct nk_context *, struct nk_colorf *, enum nk_color_format)
 
NK_API struct nk_colorf nk_color_picker (struct nk_context *, struct nk_colorf, enum nk_color_format)
 
NK_API nk_uint nk_color_u32 (struct nk_color)
 
NK_API void nk_colorf_hsva_f (float *out_h, float *out_s, float *out_v, float *out_a, struct nk_colorf in)
 
NK_API void nk_colorf_hsva_fv (float *hsva, struct nk_colorf in)
 
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_begin_color (struct nk_context *, struct nk_color color, 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_begin_label (struct nk_context *, const char *selected, 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_text (struct nk_context *, const char *selected, int, 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_combo_close (struct nk_context *)
 
NK_API void nk_combo_end (struct nk_context *)
 
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_label (struct nk_context *, const char *, 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 int nk_combo_item_text (struct nk_context *, const char *, int, nk_flags alignment)
 
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 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_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 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_string (struct nk_context *, const char *items_separated_by_zeros, int *selected, int count, int item_height, struct nk_vec2 size)
 
 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)
 
 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_API int nk_contextual_begin (struct nk_context *, nk_flags, struct nk_vec2, struct nk_rect trigger_bounds)
 
NK_API void nk_contextual_close (struct nk_context *)
 
NK_API void nk_contextual_end (struct nk_context *)
 
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_label (struct nk_context *, const char *, nk_flags align)
 
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 int nk_contextual_item_text (struct nk_context *, const char *, int, nk_flags align)
 
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 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 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 void nk_edit_unfocus (struct nk_context *)
 
NK_API void nk_end (struct nk_context *ctx)
 
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_circle (struct nk_command_buffer *, struct nk_rect, struct nk_color)
 
NK_API void nk_fill_polygon (struct nk_command_buffer *, float *, int point_count, 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_triangle (struct nk_command_buffer *, float x0, float y0, float x1, float y1, float x2, float y2, struct nk_color)
 
NK_API int nk_filter_ascii (const struct nk_text_edit *, nk_rune unicode)
 
NK_API int nk_filter_binary (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_default (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_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 void nk_free (struct nk_context *)
 
NK_API struct nk_rect nk_get_null_rect (void)
 
NK_API int nk_group_begin (struct nk_context *, const char *title, nk_flags)
 
NK_API int nk_group_begin_titled (struct nk_context *, const char *name, const char *title, nk_flags)
 
NK_API void nk_group_end (struct nk_context *)
 
NK_API int nk_group_scrolled_begin (struct nk_context *, struct nk_scroll *off, const char *title, nk_flags)
 
NK_API void nk_group_scrolled_end (struct nk_context *)
 
NK_API int nk_group_scrolled_offset_begin (struct nk_context *, nk_uint *x_offset, nk_uint *y_offset, const char *title, nk_flags flags)
 
NK_API nk_handle nk_handle_id (int)
 
NK_API nk_handle nk_handle_ptr (void *)
 
NK_API struct nk_color nk_hsv (int h, int s, int v)
 
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_hsv_iv (const int *hsv)
 
NK_API struct nk_color nk_hsva (int h, int s, int v, int a)
 
NK_API struct nk_color nk_hsva_bv (const nk_byte *hsva)
 
NK_API struct nk_colorf nk_hsva_colorf (float h, float s, float v, float a)
 
NK_API struct nk_colorf nk_hsva_colorfv (float *c)
 
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 struct nk_color nk_hsva_iv (const int *hsva)
 
NK_API void nk_image (struct nk_context *, struct nk_image)
 
NK_API void nk_image_color (struct nk_context *, struct nk_image, struct nk_color)
 
NK_API struct nk_image nk_image_handle (nk_handle)
 
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_image_ptr (void *)
 
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 int nk_init_fixed (struct nk_context *, void *memory, nk_size size, const struct nk_user_font *)
 
NK_API int nk_input_any_mouse_click_in_rect (const struct nk_input *, struct nk_rect)
 
NK_API void nk_input_begin (struct nk_context *)
 
NK_API void nk_input_button (struct nk_context *, enum nk_buttons, int x, int y, int down)
 
NK_API void nk_input_char (struct nk_context *, char)
 
NK_API void nk_input_end (struct nk_context *)
 
NK_API void nk_input_glyph (struct nk_context *, const nk_glyph)
 
NK_API int nk_input_has_mouse_click (const struct nk_input *, enum nk_buttons)
 
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_has_mouse_click_in_rect (const struct nk_input *, enum nk_buttons, struct nk_rect)
 
NK_API int nk_input_is_key_down (const struct nk_input *, enum nk_keys)
 
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_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_is_mouse_click_in_rect (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_hovering_rect (const struct nk_input *, struct nk_rect)
 
NK_API int nk_input_is_mouse_pressed (const struct nk_input *, enum nk_buttons)
 
NK_API int nk_input_is_mouse_prev_hovering_rect (const struct nk_input *, struct nk_rect)
 
NK_API int nk_input_is_mouse_released (const struct nk_input *, enum nk_buttons)
 
NK_API void nk_input_key (struct nk_context *, enum nk_keys, int down)
 
NK_API void nk_input_motion (struct nk_context *, int x, int y)
 
NK_API int nk_input_mouse_clicked (const struct nk_input *, enum nk_buttons, struct nk_rect)
 
NK_API void nk_input_scroll (struct nk_context *, struct nk_vec2 val)
 
NK_API void nk_input_unicode (struct nk_context *, nk_rune)
 
NK_API int nk_item_is_any_active (struct nk_context *)
 
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_colored_wrap (struct nk_context *, const char *, struct nk_color)
 
NK_API void nk_label_wrap (struct nk_context *, const char *)
 
NK_API float nk_layout_ratio_from_pixel (struct nk_context *, float pixel_width)
 
NK_API void nk_layout_reset_min_row_height (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_begin (struct nk_context *ctx, enum nk_layout_format fmt, float row_height, int cols)
 
NK_API void nk_layout_row_dynamic (struct nk_context *ctx, float height, int cols)
 
NK_API void nk_layout_row_end (struct nk_context *)
 
NK_API void nk_layout_row_push (struct nk_context *, float value)
 
NK_API void nk_layout_row_static (struct nk_context *ctx, float height, int item_width, int cols)
 
NK_API void nk_layout_row_template_begin (struct nk_context *, float row_height)
 
NK_API void nk_layout_row_template_end (struct nk_context *)
 
NK_API void nk_layout_row_template_push_dynamic (struct nk_context *)
 
NK_API void nk_layout_row_template_push_static (struct nk_context *, float width)
 
NK_API void nk_layout_row_template_push_variable (struct nk_context *, float min_width)
 
NK_API void nk_layout_set_min_row_height (struct nk_context *, float height)
 
NK_API void nk_layout_space_begin (struct nk_context *, enum nk_layout_format, float height, int widget_count)
 
NK_API struct nk_rect nk_layout_space_bounds (struct nk_context *)
 
NK_API void nk_layout_space_end (struct nk_context *)
 
NK_API void nk_layout_space_push (struct nk_context *, struct nk_rect bounds)
 
NK_API struct nk_rect nk_layout_space_rect_to_local (struct nk_context *, struct nk_rect)
 
NK_API struct nk_rect nk_layout_space_rect_to_screen (struct nk_context *, struct nk_rect)
 
NK_API struct nk_vec2 nk_layout_space_to_local (struct nk_context *, struct nk_vec2)
 
NK_API struct nk_vec2 nk_layout_space_to_screen (struct nk_context *, struct nk_vec2)
 
NK_API struct nk_rect nk_layout_widget_bounds (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_menu_begin_image (struct nk_context *, const char *, 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_image_text (struct nk_context *, const char *, int, nk_flags align, struct nk_image, 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_symbol (struct nk_context *, const char *, 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_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_text (struct nk_context *, const char *title, int title_len, nk_flags align, struct nk_vec2 size)
 
NK_API void nk_menu_close (struct nk_context *)
 
NK_API void nk_menu_end (struct nk_context *)
 
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_label (struct nk_context *, const char *, 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 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_text (struct nk_context *, const char *, int, nk_flags align)
 
NK_API void nk_menubar_begin (struct nk_context *)
 
NK_API void nk_menubar_end (struct nk_context *)
 
NK_API nk_hash nk_murmur_hash (const void *key, int len, nk_hash seed)
 
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 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 nk_size nk_prog (struct nk_context *, nk_size cur, nk_size max, int modifyable)
 
NK_API int nk_progress (struct nk_context *, nk_size *cur, nk_size max, int modifyable)
 
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 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_int (struct nk_context *, const char *name, int min, int *val, int max, int 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 float nk_propertyf (struct nk_context *, const char *name, float min, float val, float max, float 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 void nk_push_custom (struct nk_command_buffer *, struct nk_rect, nk_command_custom_callback, nk_handle usr)
 
NK_API void nk_push_scissor (struct nk_command_buffer *, struct nk_rect)
 
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 struct nk_rect nk_rect (float x, float y, float w, float h)
 
NK_API struct nk_vec2 nk_rect_pos (struct nk_rect)
 
NK_API struct nk_vec2 nk_rect_size (struct nk_rect)
 
NK_API struct nk_rect nk_recta (struct nk_vec2 pos, struct nk_vec2 size)
 
NK_API struct nk_rect nk_recti (int x, int y, int w, int h)
 
NK_API struct nk_rect nk_rectiv (const int *xywh)
 
NK_API struct nk_rect nk_rectv (const float *xywh)
 
NK_API struct nk_color nk_rgb (int r, int g, int b)
 
NK_API struct nk_color nk_rgb_bv (const nk_byte *rgb)
 
NK_API struct nk_color nk_rgb_cf (struct nk_colorf c)
 
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_rgb_iv (const int *rgb)
 
NK_API struct nk_color nk_rgba (int r, int g, int b, int a)
 
NK_API struct nk_color nk_rgba_bv (const nk_byte *rgba)
 
NK_API struct nk_color nk_rgba_cf (struct nk_colorf c)
 
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_rgba_iv (const int *rgba)
 
NK_API struct nk_color nk_rgba_u32 (nk_uint)
 
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 int nk_select_label (struct nk_context *, const char *, nk_flags align, int value)
 
NK_API int nk_select_symbol_label (struct nk_context *, enum nk_symbol_type, const char *, nk_flags align, int value)
 
NK_API int nk_select_symbol_text (struct nk_context *, enum nk_symbol_type, const char *, int, 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_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_selectable_label (struct nk_context *, const char *, nk_flags align, int *value)
 
NK_API int nk_selectable_symbol_label (struct nk_context *, enum nk_symbol_type, const char *, nk_flags align, int *value)
 
NK_API int nk_selectable_symbol_text (struct nk_context *, enum nk_symbol_type, const char *, int, nk_flags align, int *value)
 
NK_API int nk_selectable_text (struct nk_context *, 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 void nk_spacing (struct nk_context *, int cols)
 
 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_str_append_str_char (struct nk_str *, const char *)
 
NK_API int nk_str_append_str_runes (struct nk_str *, const nk_rune *)
 
NK_API int nk_str_append_str_utf8 (struct nk_str *, const char *)
 
NK_API int nk_str_append_text_char (struct nk_str *, const char *, int)
 
NK_API int nk_str_append_text_runes (struct nk_str *, const nk_rune *, int)
 
NK_API int nk_str_append_text_utf8 (struct nk_str *, const char *, int)
 
NK_API char * nk_str_at_char (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_at_rune (struct nk_str *, int pos, nk_rune *unicode, int *len)
 
NK_API void nk_str_clear (struct nk_str *)
 
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 void nk_str_free (struct nk_str *)
 
NK_API char * nk_str_get (struct nk_str *)
 
NK_API const char * nk_str_get_const (const struct nk_str *)
 
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 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_str_char (struct nk_str *, int pos, const char *)
 
NK_API int nk_str_insert_str_runes (struct nk_str *, int pos, const nk_rune *)
 
NK_API int nk_str_insert_str_utf8 (struct nk_str *, int pos, const char *)
 
NK_API int nk_str_insert_text_char (struct nk_str *, int pos, const char *, int)
 
NK_API int nk_str_insert_text_runes (struct nk_str *, int pos, const nk_rune *, int)
 
NK_API int nk_str_insert_text_utf8 (struct nk_str *, int pos, const char *, int)
 
NK_API int nk_str_len (struct nk_str *)
 
NK_API int nk_str_len_char (struct nk_str *)
 
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 nk_rune nk_str_rune_at (const struct nk_str *, int pos)
 
NK_API int nk_strfilter (const char *text, const char *regexp)
 
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_strlen (const char *str)
 
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 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_circle (struct nk_command_buffer *, struct nk_rect, 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_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_polygon (struct nk_command_buffer *, float *, int point_count, float line_thickness, 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_rect (struct nk_command_buffer *, struct nk_rect, float rounding, 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 double nk_strtod (const char *str, const char **endptr)
 
NK_API float nk_strtof (const char *str, const char **endptr)
 
NK_API int nk_strtoi (const char *str, const char **endptr)
 
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 const char * nk_style_get_color_by_name (enum nk_style_colors)
 
NK_API void nk_style_hide_cursor (struct nk_context *)
 
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_API struct nk_style_item nk_style_item_image (struct nk_image img)
 
NK_API void nk_style_load_all_cursors (struct nk_context *, struct nk_cursor *)
 
NK_API void nk_style_load_cursor (struct nk_context *, enum nk_style_cursor, const struct nk_cursor *)
 
NK_API int nk_style_pop_color (struct nk_context *)
 
NK_API int nk_style_pop_flags (struct nk_context *)
 
NK_API int nk_style_pop_float (struct nk_context *)
 
NK_API int nk_style_pop_font (struct nk_context *)
 
NK_API int nk_style_pop_style_item (struct nk_context *)
 
NK_API int nk_style_pop_vec2 (struct nk_context *)
 
NK_API int nk_style_push_color (struct nk_context *, struct nk_color *, struct nk_color)
 
NK_API int nk_style_push_flags (struct nk_context *, nk_flags *, nk_flags)
 
NK_API int nk_style_push_float (struct nk_context *, float *, float)
 
NK_API int nk_style_push_font (struct nk_context *, const struct nk_user_font *)
 
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_vec2 (struct nk_context *, struct nk_vec2 *, struct nk_vec2)
 
NK_API int nk_style_set_cursor (struct nk_context *, enum nk_style_cursor)
 
NK_API void nk_style_set_font (struct nk_context *, const struct nk_user_font *)
 
NK_API void nk_style_show_cursor (struct nk_context *)
 
NK_API struct nk_image nk_subimage_handle (nk_handle, 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_ptr (void *, unsigned short w, unsigned short h, struct nk_rect sub_region)
 
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 int nk_textedit_cut (struct nk_text_edit *)
 
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_free (struct nk_text_edit *)
 
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 int nk_textedit_paste (struct nk_text_edit *, char const *, int len)
 
NK_API void nk_textedit_redo (struct nk_text_edit *)
 
NK_API void nk_textedit_select_all (struct nk_text_edit *)
 
NK_API void nk_textedit_text (struct nk_text_edit *, const char *, int total_len)
 
NK_API void nk_textedit_undo (struct nk_text_edit *)
 
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 int nk_tree_element_image_push_hashed (struct nk_context *, enum nk_tree_type, struct nk_image, const char *title, enum nk_collapse_states initial_state, int *selected, const char *hash, int len, int seed)
 
NK_API void nk_tree_element_pop (struct nk_context *)
 
NK_API int nk_tree_element_push_hashed (struct nk_context *, enum nk_tree_type, const char *title, enum nk_collapse_states initial_state, int *selected, 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_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_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 int nk_tree_state_push (struct nk_context *, enum nk_tree_type, const char *title, enum nk_collapse_states *state)
 
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 const char * nk_utf_at (const char *buffer, int length, int index, nk_rune *unicode, int *len)
 
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 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_vec2iv (const int *xy)
 
NK_API struct nk_vec2 nk_vec2v (const float *xy)
 
NK_API enum nk_widget_layout_states nk_widget (struct nk_rect *, const struct nk_context *)
 
NK_API struct nk_rect nk_widget_bounds (struct nk_context *)
 
NK_API enum nk_widget_layout_states nk_widget_fitting (struct nk_rect *, struct nk_context *, struct nk_vec2)
 
NK_API int nk_widget_has_mouse_click_down (struct nk_context *, enum nk_buttons, int down)
 
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 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 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 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_command_buffernk_window_get_canvas (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_max (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_size (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_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 int nk_window_has_focus (const struct nk_context *)
 
NK_API int nk_window_is_active (struct nk_context *, const char *)
 
NK_API int nk_window_is_any_hovered (struct nk_context *)
 
NK_API int nk_window_is_closed (struct nk_context *, const char *)
 
NK_API int nk_window_is_collapsed (struct nk_context *ctx, const char *name)
 
NK_API int nk_window_is_hidden (struct nk_context *, const char *)
 
NK_API int nk_window_is_hovered (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_focus (struct nk_context *, const char *name)
 
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_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)
 

Macro Definition Documentation

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

Definition at line 5542 of file nuklear.h.

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

Definition at line 5578 of file nuklear.h.

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

Definition at line 5580 of file nuklear.h.

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

Definition at line 5601 of file nuklear.h.

#define NK_API   extern

Definition at line 259 of file nuklear.h.

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

Definition at line 5543 of file nuklear.h.

#define NK_BUTTON_BEHAVIOR_STACK_SIZE   8

Definition at line 5383 of file nuklear.h.

#define NK_CHART_MAX_SLOT   4

Definition at line 5171 of file nuklear.h.

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

Definition at line 301 of file nuklear.h.

#define NK_COLOR_STACK_SIZE   32

Definition at line 5407 of file nuklear.h.

#define NK_CONFIG_STACK (   type,
  size 
)
Value:
struct nk_config_stack_##type {\
int head;\
struct nk_config_stack_##type##_element elements[size];\
}
GLsizeiptr size
GLenum type

Definition at line 5415 of file nuklear.h.

#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
GLenum type
GLuint GLuint64EXT address
Definition: glext.h:11417
BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE_OPEN typedef arg< -1 > _

Definition at line 5410 of file nuklear.h.

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

Definition at line 5584 of file nuklear.h.

#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))

Definition at line 5548 of file nuklear.h.

#define NK_FILE_LINE   __FILE__ ":" NK_MACRO_STRINGIFY(__LINE__)

Definition at line 295 of file nuklear.h.

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

Definition at line 274 of file nuklear.h.

#define NK_FLAGS_STACK_SIZE   32

Definition at line 5403 of file nuklear.h.

#define nk_float   float

Definition at line 5421 of file nuklear.h.

#define NK_FLOAT_STACK_SIZE   32

Definition at line 5395 of file nuklear.h.

#define NK_FONT_STACK_SIZE   8

Definition at line 5387 of file nuklear.h.

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

Definition at line 1202 of file nuklear.h.

#define NK_GLOBAL   static

Definition at line 272 of file nuklear.h.

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

Definition at line 5544 of file nuklear.h.

#define NK_INPUT_MAX   16

Definition at line 234 of file nuklear.h.

#define NK_INT16   signed short

Definition at line 345 of file nuklear.h.

#define NK_INT32   signed int

Definition at line 354 of file nuklear.h.

#define NK_INT8   char

Definition at line 339 of file nuklear.h.

#define NK_INTERN   static

Definition at line 270 of file nuklear.h.

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

Definition at line 5546 of file nuklear.h.

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

Definition at line 5541 of file nuklear.h.

#define NK_LIB   static

Definition at line 264 of file nuklear.h.

#define NK_MACRO_STRINGIFY (   x)    NK_STRINGIFY(x)

Definition at line 276 of file nuklear.h.

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

Definition at line 300 of file nuklear.h.

#define NK_MAX_FLOAT_PRECISION   2

Definition at line 5537 of file nuklear.h.

#define NK_MAX_LAYOUT_ROW_TEMPLATE_COLUMNS   16

Definition at line 5168 of file nuklear.h.

#define NK_MAX_NUMBER_BUFFER   64

Definition at line 237 of file nuklear.h.

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

Definition at line 299 of file nuklear.h.

#define NK_NUKLEAR_H_

Definition at line 218 of file nuklear.h.

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

Definition at line 5583 of file nuklear.h.

#define NK_PI   3.141592654f

Definition at line 5535 of file nuklear.h.

#define NK_POINTER_TYPE   unsigned long

Definition at line 391 of file nuklear.h.

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

Definition at line 5556 of file nuklear.h.

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

Definition at line 5557 of file nuklear.h.

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

Definition at line 5569 of file nuklear.h.

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

Definition at line 5540 of file nuklear.h.

#define NK_SCROLLBAR_HIDING_TIMEOUT   4.0f

Definition at line 240 of file nuklear.h.

#define NK_SIZE_TYPE   unsigned long

Definition at line 376 of file nuklear.h.

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

Definition at line 288 of file nuklear.h.

#define NK_STORAGE   static

Definition at line 271 of file nuklear.h.

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

Definition at line 279 of file nuklear.h.

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

Definition at line 278 of file nuklear.h.

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

Definition at line 277 of file nuklear.h.

#define NK_STRINGIFY (   x)    #x

Definition at line 275 of file nuklear.h.

#define NK_STYLE_ITEM_STACK_SIZE   16

Definition at line 5391 of file nuklear.h.

#define NK_TEXTEDIT_UNDOCHARCOUNT   999

Definition at line 4169 of file nuklear.h.

#define NK_TEXTEDIT_UNDOSTATECOUNT   99

Definition at line 4165 of file nuklear.h.

#define nk_tree_element_push (   ctx,
  type,
  title,
  state,
  sel 
)    nk_tree_element_push_hashed(ctx, type, title, state, sel, NK_FILE_LINE,nk_strlen(NK_FILE_LINE),__LINE__)

Definition at line 2942 of file nuklear.h.

#define nk_tree_element_push_id (   ctx,
  type,
  title,
  state,
  sel,
  id 
)    nk_tree_element_push_hashed(ctx, type, title, state, sel, NK_FILE_LINE,nk_strlen(NK_FILE_LINE),id)

Definition at line 2943 of file nuklear.h.

#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__)

Definition at line 2844 of file nuklear.h.

#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)

Definition at line 2864 of file nuklear.h.

#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__)

Definition at line 2784 of file nuklear.h.

#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)

Definition at line 2801 of file nuklear.h.

#define NK_UINT16   unsigned short

Definition at line 348 of file nuklear.h.

#define NK_UINT32   unsigned int

Definition at line 361 of file nuklear.h.

#define NK_UINT8   unsigned char

Definition at line 342 of file nuklear.h.

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

Definition at line 5568 of file nuklear.h.

#define NK_UNDEFINED   (-1.0f)

Definition at line 230 of file nuklear.h.

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

Definition at line 284 of file nuklear.h.

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

Definition at line 5539 of file nuklear.h.

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

Definition at line 5536 of file nuklear.h.

#define NK_UTF_INVALID   0xFFFD

Definition at line 5536 of file nuklear.h.

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

Definition at line 232 of file nuklear.h.

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

Definition at line 5451 of file nuklear.h.

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

Definition at line 5552 of file nuklear.h.

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

Definition at line 5553 of file nuklear.h.

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

Definition at line 5554 of file nuklear.h.

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

Definition at line 5551 of file nuklear.h.

#define NK_VECTOR_STACK_SIZE   16

Definition at line 5399 of file nuklear.h.

#define NK_WINDOW_MAX_NAME   64

Definition at line 5270 of file nuklear.h.

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

Definition at line 5558 of file nuklear.h.

Typedef Documentation

typedef NK_UINT8 nk_byte

Definition at line 398 of file nuklear.h.

typedef NK_INT8 nk_char

Definition at line 396 of file nuklear.h.

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

Definition at line 4461 of file nuklear.h.

typedef nk_uint nk_flags

Definition at line 407 of file nuklear.h.

typedef char nk_glyph[NK_UTF_SIZE]

Definition at line 461 of file nuklear.h.

typedef nk_uint nk_hash

Definition at line 406 of file nuklear.h.

typedef NK_INT32 nk_int

Definition at line 401 of file nuklear.h.

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

Definition at line 480 of file nuklear.h.

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

Definition at line 484 of file nuklear.h.

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

Definition at line 482 of file nuklear.h.

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

Definition at line 481 of file nuklear.h.

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

Definition at line 483 of file nuklear.h.

Definition at line 404 of file nuklear.h.

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)

Definition at line 3823 of file nuklear.h.

typedef nk_uint nk_rune

Definition at line 408 of file nuklear.h.

typedef NK_INT16 nk_short

Definition at line 399 of file nuklear.h.

Definition at line 403 of file nuklear.h.

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

Definition at line 3822 of file nuklear.h.

typedef NK_UINT8 nk_uchar

Definition at line 397 of file nuklear.h.

typedef NK_UINT32 nk_uint

Definition at line 402 of file nuklear.h.

Definition at line 400 of file nuklear.h.

Enumeration Type Documentation

anonymous enum
Enumerator
nk_false 
nk_true 

Definition at line 454 of file nuklear.h.

Enumerator
NK_BUFFER_FIXED 
NK_BUFFER_DYNAMIC 

Definition at line 4027 of file nuklear.h.

Enumerator
NK_ANTI_ALIASING_OFF 
NK_ANTI_ALIASING_ON 

Definition at line 1134 of file nuklear.h.

Enumerator
NK_BUFFER_FRONT 
NK_BUFFER_BACK 
NK_BUFFER_MAX 

Definition at line 4032 of file nuklear.h.

Enumerator
NK_BUTTON_DEFAULT 
NK_BUTTON_REPEATER 

Definition at line 468 of file nuklear.h.

enum nk_buttons
Enumerator
NK_BUTTON_LEFT 
NK_BUTTON_MIDDLE 
NK_BUTTON_RIGHT 
NK_BUTTON_DOUBLE 
NK_BUTTON_MAX 

Definition at line 768 of file nuklear.h.

Enumerator
NK_CHART_HOVERING 
NK_CHART_CLICKED 

Definition at line 474 of file nuklear.h.

Enumerator
NK_CHART_LINES 
NK_CHART_COLUMN 
NK_CHART_MAX 

Definition at line 473 of file nuklear.h.

Enumerator
NK_MINIMIZED 
NK_MAXIMIZED 

Definition at line 471 of file nuklear.h.

Enumerator
NK_RGB 
NK_RGBA 

Definition at line 475 of file nuklear.h.

Enumerator
NK_CLIPPING_OFF 
NK_CLIPPING_ON 

Definition at line 4483 of file nuklear.h.

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 

Definition at line 4300 of file nuklear.h.

Enumerator
NK_CONVERT_SUCCESS 
NK_CONVERT_INVALID_PARAM 
NK_CONVERT_COMMAND_BUFFER_FULL 
NK_CONVERT_VERTEX_BUFFER_FULL 
NK_CONVERT_ELEMENT_BUFFER_FULL 

Definition at line 1135 of file nuklear.h.

Enumerator
NK_EDIT_ACTIVE 
NK_EDIT_INACTIVE 
NK_EDIT_ACTIVATED 
NK_EDIT_DEACTIVATED 
NK_EDIT_COMMITED 

Definition at line 3364 of file nuklear.h.

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 

Definition at line 3343 of file nuklear.h.

Enumerator
NK_EDIT_SIMPLE 
NK_EDIT_FIELD 
NK_EDIT_BOX 
NK_EDIT_EDITOR 

Definition at line 3358 of file nuklear.h.

enum nk_heading
Enumerator
NK_UP 
NK_RIGHT 
NK_DOWN 
NK_LEFT 

Definition at line 467 of file nuklear.h.

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 

Definition at line 733 of file nuklear.h.

Enumerator
NK_DYNAMIC 
NK_STATIC 

Definition at line 477 of file nuklear.h.

enum nk_modify
Enumerator
NK_FIXED 
NK_MODIFIABLE 

Definition at line 469 of file nuklear.h.

Enumerator
NK_VERTICAL 
NK_HORIZONTAL 

Definition at line 470 of file nuklear.h.

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 

Definition at line 1440 of file nuklear.h.

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 

Definition at line 5206 of file nuklear.h.

Enumerator
NK_PANEL_SET_NONBLOCK 
NK_PANEL_SET_POPUP 
NK_PANEL_SET_SUB 

Definition at line 5184 of file nuklear.h.

Enumerator
NK_PANEL_NONE 
NK_PANEL_WINDOW 
NK_PANEL_GROUP 
NK_PANEL_POPUP 
NK_PANEL_CONTEXTUAL 
NK_PANEL_COMBO 
NK_PANEL_MENU 
NK_PANEL_TOOLTIP 

Definition at line 5174 of file nuklear.h.

Enumerator
NK_POPUP_STATIC 
NK_POPUP_DYNAMIC 

Definition at line 476 of file nuklear.h.

Enumerator
NK_HIDDEN 
NK_SHOWN 

Definition at line 472 of file nuklear.h.

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 

Definition at line 3487 of file nuklear.h.

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 

Definition at line 3518 of file nuklear.h.

Enumerator
NK_HEADER_LEFT 
NK_HEADER_RIGHT 

Definition at line 5068 of file nuklear.h.

Enumerator
NK_STYLE_ITEM_COLOR 
NK_STYLE_ITEM_IMAGE 

Definition at line 4727 of file nuklear.h.

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 

Definition at line 491 of file nuklear.h.

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 

Definition at line 3000 of file nuklear.h.

Enumerator
NK_TEXT_LEFT 
NK_TEXT_CENTERED 
NK_TEXT_RIGHT 

Definition at line 3008 of file nuklear.h.

Enumerator
NK_TEXT_EDIT_MODE_VIEW 
NK_TEXT_EDIT_MODE_INSERT 
NK_TEXT_EDIT_MODE_REPLACE 

Definition at line 4200 of file nuklear.h.

Enumerator
NK_TEXT_EDIT_SINGLE_LINE 
NK_TEXT_EDIT_MULTI_LINE 

Definition at line 4195 of file nuklear.h.

Enumerator
NK_TREE_NODE 
NK_TREE_TAB 

Definition at line 478 of file nuklear.h.

Enumerator
NK_WIDGET_INVALID 
NK_WIDGET_VALID 
NK_WIDGET_ROM 

Definition at line 2969 of file nuklear.h.

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 

Definition at line 2974 of file nuklear.h.

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 

Definition at line 5274 of file nuklear.h.

Function Documentation

NK_API const struct nk_command* nk__begin ( struct nk_context )
NK_API const struct nk_command* nk__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_buffer_clear ( struct nk_buffer )
NK_API void nk_buffer_free ( struct nk_buffer )
NK_API void nk_buffer_info ( struct nk_memory_status ,
struct nk_buffer  
)
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_mark ( struct nk_buffer ,
enum nk_buffer_allocation_type  type 
)
NK_API void* nk_buffer_memory ( struct nk_buffer )
NK_API const void* nk_buffer_memory_const ( const 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_reset ( struct nk_buffer ,
enum nk_buffer_allocation_type  type 
)
NK_API nk_size nk_buffer_total ( struct nk_buffer )
NK_API int nk_button_color ( struct nk_context ,
struct nk_color   
)
NK_API int nk_button_image ( struct nk_context ,
struct nk_image  img 
)
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_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_styled ( struct nk_context ,
const struct nk_style_button ,
struct nk_image  img 
)
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_image_text_styled ( struct nk_context ,
const struct nk_style_button ,
struct nk_image  img,
const char *  ,
int  ,
nk_flags  alignment 
)
NK_API int nk_button_label ( struct nk_context ,
const char *  title 
)
NK_API int nk_button_label_styled ( struct nk_context ,
const struct nk_style_button ,
const char *  title 
)
NK_API int nk_button_pop_behavior ( struct nk_context )
NK_API int nk_button_push_behavior ( struct nk_context ,
enum  nk_button_behavior 
)
NK_API void nk_button_set_behavior ( struct nk_context ,
enum  nk_button_behavior 
)
NK_API int nk_button_symbol ( struct nk_context ,
enum  nk_symbol_type 
)
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_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_symbol_styled ( struct nk_context ,
const struct nk_style_button ,
enum  nk_symbol_type 
)
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_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_text ( struct nk_context ,
const char *  title,
int  len 
)
NK_API int nk_button_text_styled ( struct nk_context ,
const struct nk_style_button ,
const char *  title,
int  len 
)
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 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_end ( struct nk_context )
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 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_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 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_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 void nk_clear ( struct nk_context )
NK_API struct nk_colorf nk_color_cf ( 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 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_hex_rgb ( char *  output,
struct nk_color   
)
NK_API void nk_color_hex_rgba ( char *  output,
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_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_hsv_i ( int *  out_h,
int *  out_s,
int *  out_v,
struct nk_color   
)
NK_API void nk_color_hsv_iv ( int *  hsv_out,
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_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 void nk_color_hsva_i ( int *  h,
int *  s,
int *  v,
int *  a,
struct nk_color   
)
NK_API void nk_color_hsva_iv ( int *  hsva_out,
struct nk_color   
)
NK_API int nk_color_pick ( struct nk_context ,
struct nk_colorf ,
enum  nk_color_format 
)
NK_API struct nk_colorf nk_color_picker ( struct nk_context ,
struct nk_colorf  ,
enum  nk_color_format 
)
NK_API nk_uint nk_color_u32 ( struct nk_color  )
NK_API void nk_colorf_hsva_f ( float *  out_h,
float *  out_s,
float *  out_v,
float *  out_a,
struct nk_colorf  in 
)
NK_API void nk_colorf_hsva_fv ( float *  hsva,
struct nk_colorf  in 
)
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_begin_color ( struct nk_context ,
struct nk_color  color,
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_begin_label ( struct nk_context ,
const char *  selected,
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_text ( struct nk_context ,
const char *  selected,
int  ,
struct nk_vec2  size 
)
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_API void nk_combo_close ( struct nk_context )
NK_API void nk_combo_end ( struct nk_context )
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_label ( struct nk_context ,
const char *  ,
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 int nk_combo_item_text ( struct nk_context ,
const char *  ,
int  ,
nk_flags  alignment 
)
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 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_callback ( struct nk_context ,
void(*)(void *, int, const char **)  item_getter,
void ,
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_string ( struct nk_context ,
const char *  items_separated_by_zeros,
int *  selected,
int  count,
int  item_height,
struct nk_vec2  size 
)
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   
)
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_API int nk_contextual_begin ( struct nk_context ,
nk_flags  ,
struct nk_vec2  ,
struct nk_rect  trigger_bounds 
)
NK_API void nk_contextual_close ( struct nk_context )
NK_API void nk_contextual_end ( struct nk_context )
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_label ( struct nk_context ,
const char *  ,
nk_flags  align 
)
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 int nk_contextual_item_text ( struct nk_context ,
const char *  ,
int  ,
nk_flags  align 
)
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 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 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 void nk_edit_unfocus ( struct nk_context )
NK_API void nk_end ( struct nk_context ctx)
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_circle ( struct nk_command_buffer ,
struct nk_rect  ,
struct nk_color   
)
NK_API void nk_fill_polygon ( struct nk_command_buffer ,
float *  ,
int  point_count,
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_triangle ( struct nk_command_buffer ,
float  x0,
float  y0,
float  x1,
float  y1,
float  x2,
float  y2,
struct nk_color   
)
NK_API int nk_filter_ascii ( const struct nk_text_edit ,
nk_rune  unicode 
)
NK_API int nk_filter_binary ( 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_default ( 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_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 void nk_free ( struct nk_context )
NK_API struct nk_rect nk_get_null_rect ( void  )
NK_API int nk_group_begin ( struct nk_context ,
const char *  title,
nk_flags   
)
NK_API int nk_group_begin_titled ( struct nk_context ,
const char *  name,
const char *  title,
nk_flags   
)
NK_API void nk_group_end ( struct nk_context )
NK_API int nk_group_scrolled_begin ( struct nk_context ,
struct nk_scroll off,
const char *  title,
nk_flags   
)
NK_API void nk_group_scrolled_end ( struct nk_context )
NK_API int nk_group_scrolled_offset_begin ( struct nk_context ,
nk_uint x_offset,
nk_uint y_offset,
const char *  title,
nk_flags  flags 
)
NK_API nk_handle nk_handle_id ( int  )
NK_API nk_handle nk_handle_ptr ( void )
NK_API struct nk_color nk_hsv ( int  h,
int  s,
int  v 
)
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_hsv_iv ( const int *  hsv)
NK_API struct nk_color nk_hsva ( int  h,
int  s,
int  v,
int  a 
)
NK_API struct nk_color nk_hsva_bv ( const nk_byte hsva)
NK_API struct nk_colorf nk_hsva_colorf ( float  h,
float  s,
float  v,
float  a 
)
NK_API struct nk_colorf nk_hsva_colorfv ( float *  c)
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 struct nk_color nk_hsva_iv ( const int *  hsva)
NK_API void nk_image ( struct nk_context ,
struct nk_image   
)
NK_API void nk_image_color ( struct nk_context ,
struct nk_image  ,
struct nk_color   
)
NK_API struct nk_image nk_image_handle ( nk_handle  )
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_image_ptr ( void )
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 int nk_init_fixed ( struct nk_context ,
void memory,
nk_size  size,
const struct nk_user_font  
)
NK_API int nk_input_any_mouse_click_in_rect ( const struct nk_input ,
struct nk_rect   
)
NK_API void nk_input_begin ( struct nk_context )
NK_API void nk_input_button ( struct nk_context ,
enum  nk_buttons,
int  x,
int  y,
int  down 
)
NK_API void nk_input_char ( struct nk_context ,
char   
)
NK_API void nk_input_end ( struct nk_context )
NK_API void nk_input_glyph ( struct nk_context ,
const nk_glyph   
)
NK_API int nk_input_has_mouse_click ( const struct nk_input ,
enum  nk_buttons 
)
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_has_mouse_click_in_rect ( const struct nk_input ,
enum  nk_buttons,
struct nk_rect   
)
NK_API int nk_input_is_key_down ( const struct nk_input ,
enum  nk_keys 
)
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_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_is_mouse_click_in_rect ( 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_hovering_rect ( const struct nk_input ,
struct nk_rect   
)
NK_API int nk_input_is_mouse_pressed ( const struct nk_input ,
enum  nk_buttons 
)
NK_API int nk_input_is_mouse_prev_hovering_rect ( const struct nk_input ,
struct nk_rect   
)
NK_API int nk_input_is_mouse_released ( const struct nk_input ,
enum  nk_buttons 
)
NK_API void nk_input_key ( struct nk_context ,
enum  nk_keys,
int  down 
)
NK_API void nk_input_motion ( struct nk_context ,
int  x,
int  y 
)
NK_API int nk_input_mouse_clicked ( const struct nk_input ,
enum  nk_buttons,
struct nk_rect   
)
NK_API void nk_input_scroll ( struct nk_context ,
struct nk_vec2  val 
)
NK_API void nk_input_unicode ( struct nk_context ,
nk_rune   
)
NK_API int nk_item_is_any_active ( struct nk_context )
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_colored_wrap ( struct nk_context ,
const char *  ,
struct nk_color   
)
NK_API void nk_label_wrap ( struct nk_context ,
const char *   
)
NK_API float nk_layout_ratio_from_pixel ( struct nk_context ,
float  pixel_width 
)
NK_API void nk_layout_reset_min_row_height ( 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_begin ( struct nk_context ctx,
enum nk_layout_format  fmt,
float  row_height,
int  cols 
)
NK_API void nk_layout_row_dynamic ( struct nk_context ctx,
float  height,
int  cols 
)
NK_API void nk_layout_row_end ( struct nk_context )
NK_API void nk_layout_row_push ( struct nk_context ,
float  value 
)
NK_API void nk_layout_row_static ( struct nk_context ctx,
float  height,
int  item_width,
int  cols 
)
NK_API void nk_layout_row_template_begin ( struct nk_context ,
float  row_height 
)
NK_API void nk_layout_row_template_end ( struct nk_context )
NK_API void nk_layout_row_template_push_dynamic ( struct nk_context )
NK_API void nk_layout_row_template_push_static ( struct nk_context ,
float  width 
)
NK_API void nk_layout_row_template_push_variable ( struct nk_context ,
float  min_width 
)
NK_API void nk_layout_set_min_row_height ( struct nk_context ,
float  height 
)
NK_API void nk_layout_space_begin ( struct nk_context ,
enum  nk_layout_format,
float  height,
int  widget_count 
)
NK_API struct nk_rect nk_layout_space_bounds ( struct nk_context )
NK_API void nk_layout_space_end ( struct nk_context )
NK_API void nk_layout_space_push ( struct nk_context ,
struct nk_rect  bounds 
)
NK_API struct nk_rect nk_layout_space_rect_to_local ( struct nk_context ,
struct nk_rect   
)
NK_API struct nk_rect nk_layout_space_rect_to_screen ( struct nk_context ,
struct nk_rect   
)
NK_API struct nk_vec2 nk_layout_space_to_local ( struct nk_context ,
struct nk_vec2   
)
NK_API struct nk_vec2 nk_layout_space_to_screen ( struct nk_context ,
struct nk_vec2   
)
NK_API struct nk_rect nk_layout_widget_bounds ( 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_menu_begin_image ( struct nk_context ,
const char *  ,
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_image_text ( struct nk_context ,
const char *  ,
int  ,
nk_flags  align,
struct nk_image  ,
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_symbol ( struct nk_context ,
const char *  ,
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_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_text ( struct nk_context ,
const char *  title,
int  title_len,
nk_flags  align,
struct nk_vec2  size 
)
NK_API void nk_menu_close ( struct nk_context )
NK_API void nk_menu_end ( struct nk_context )
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_label ( struct nk_context ,
const char *  ,
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 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_text ( struct nk_context ,
const char *  ,
int  ,
nk_flags  align 
)
NK_API void nk_menubar_begin ( struct nk_context )
NK_API void nk_menubar_end ( struct nk_context )
NK_API nk_hash nk_murmur_hash ( const void key,
int  len,
nk_hash  seed 
)
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 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(*)(void *user, int index value_getter,
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 nk_size nk_prog ( struct nk_context ,
nk_size  cur,
nk_size  max,
int  modifyable 
)
NK_API int nk_progress ( struct nk_context ,
nk_size cur,
nk_size  max,
int  modifyable 
)
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 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_int ( struct nk_context ,
const char *  name,
int  min,
int *  val,
int  max,
int  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 float nk_propertyf ( struct nk_context ,
const char *  name,
float  min,
float  val,
float  max,
float  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 void nk_push_custom ( struct nk_command_buffer ,
struct nk_rect  ,
nk_command_custom_callback  ,
nk_handle  usr 
)
NK_API void nk_push_scissor ( struct nk_command_buffer ,
struct nk_rect   
)
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 struct nk_rect nk_rect ( float  x,
float  y,
float  w,
float  h 
)
NK_API struct nk_vec2 nk_rect_pos ( struct nk_rect  )
NK_API struct nk_vec2 nk_rect_size ( struct nk_rect  )
NK_API struct nk_rect nk_recta ( struct nk_vec2  pos,
struct nk_vec2  size 
)
NK_API struct nk_rect nk_recti ( int  x,
int  y,
int  w,
int  h 
)
NK_API struct nk_rect nk_rectiv ( const int *  xywh)
NK_API struct nk_rect nk_rectv ( const float *  xywh)
NK_API struct nk_color nk_rgb ( int  r,
int  g,
int  b 
)
NK_API struct nk_color nk_rgb_bv ( const nk_byte rgb)
NK_API struct nk_color nk_rgb_cf ( struct nk_colorf  c)
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_rgb_iv ( const int *  rgb)
NK_API struct nk_color nk_rgba ( int  r,
int  g,
int  b,
int  a 
)
NK_API struct nk_color nk_rgba_bv ( const nk_byte rgba)
NK_API struct nk_color nk_rgba_cf ( struct nk_colorf  c)
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_rgba_iv ( const int *  rgba)
NK_API struct nk_color nk_rgba_u32 ( nk_uint  )
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 int nk_select_label ( struct nk_context ,
const char *  ,
nk_flags  align,
int  value 
)
NK_API int nk_select_symbol_label ( struct nk_context ,
enum  nk_symbol_type,
const char *  ,
nk_flags  align,
int  value 
)
NK_API int nk_select_symbol_text ( struct nk_context ,
enum  nk_symbol_type,
const char *  ,
int  ,
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_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_selectable_label ( struct nk_context ,
const char *  ,
nk_flags  align,
int *  value 
)
NK_API int nk_selectable_symbol_label ( struct nk_context ,
enum  nk_symbol_type,
const char *  ,
nk_flags  align,
int *  value 
)
NK_API int nk_selectable_symbol_text ( struct nk_context ,
enum  nk_symbol_type,
const char *  ,
int  ,
nk_flags  align,
int *  value 
)
NK_API int nk_selectable_text ( struct nk_context ,
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 void nk_spacing ( struct nk_context ,
int  cols 
)
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_str_append_str_char ( struct nk_str ,
const char *   
)
NK_API int nk_str_append_str_runes ( struct nk_str ,
const nk_rune  
)
NK_API int nk_str_append_str_utf8 ( struct nk_str ,
const char *   
)
NK_API int nk_str_append_text_char ( struct nk_str ,
const char *  ,
int   
)
NK_API int nk_str_append_text_runes ( struct nk_str ,
const nk_rune ,
int   
)
NK_API int nk_str_append_text_utf8 ( struct nk_str ,
const char *  ,
int   
)
NK_API char* nk_str_at_char ( 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_at_rune ( struct nk_str ,
int  pos,
nk_rune unicode,
int *  len 
)
NK_API void nk_str_clear ( struct nk_str )
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 void nk_str_free ( struct nk_str )
NK_API char* nk_str_get ( struct nk_str )
NK_API const char* nk_str_get_const ( const struct nk_str )
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 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_str_char ( struct nk_str ,
int  pos,
const char *   
)
NK_API int nk_str_insert_str_runes ( struct nk_str ,
int  pos,
const nk_rune  
)
NK_API int nk_str_insert_str_utf8 ( struct nk_str ,
int  pos,
const char *   
)
NK_API int nk_str_insert_text_char ( struct nk_str ,
int  pos,
const char *  ,
int   
)
NK_API int nk_str_insert_text_runes ( struct nk_str ,
int  pos,
const nk_rune ,
int   
)
NK_API int nk_str_insert_text_utf8 ( struct nk_str ,
int  pos,
const char *  ,
int   
)
NK_API int nk_str_len ( struct nk_str )
NK_API int nk_str_len_char ( struct nk_str )
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 nk_rune nk_str_rune_at ( const struct nk_str ,
int  pos 
)
NK_API int nk_strfilter ( const char *  text,
const char *  regexp 
)
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_strlen ( const char *  str)
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 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_circle ( struct nk_command_buffer ,
struct nk_rect  ,
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_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_polygon ( struct nk_command_buffer ,
float *  ,
int  point_count,
float  line_thickness,
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_rect ( struct nk_command_buffer ,
struct nk_rect  ,
float  rounding,
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 double nk_strtod ( const char *  str,
const char **  endptr 
)
NK_API float nk_strtof ( const char *  str,
const char **  endptr 
)
NK_API int nk_strtoi ( const char *  str,
const char **  endptr 
)
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 const char* nk_style_get_color_by_name ( enum  nk_style_colors)
NK_API void nk_style_hide_cursor ( struct nk_context )
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_API struct nk_style_item nk_style_item_image ( struct nk_image  img)
NK_API void nk_style_load_all_cursors ( struct nk_context ,
struct nk_cursor  
)
NK_API void nk_style_load_cursor ( struct nk_context ,
enum  nk_style_cursor,
const struct nk_cursor  
)
NK_API int nk_style_pop_color ( struct nk_context )
NK_API int nk_style_pop_flags ( struct nk_context )
NK_API int nk_style_pop_float ( struct nk_context )
NK_API int nk_style_pop_font ( struct nk_context )
NK_API int nk_style_pop_style_item ( struct nk_context )
NK_API int nk_style_pop_vec2 ( struct nk_context )
NK_API int nk_style_push_color ( struct nk_context ,
struct nk_color ,
struct nk_color   
)
NK_API int nk_style_push_flags ( struct nk_context ,
nk_flags ,
nk_flags   
)
NK_API int nk_style_push_float ( struct nk_context ,
float *  ,
float   
)
NK_API int nk_style_push_font ( struct nk_context ,
const struct nk_user_font  
)
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_vec2 ( struct nk_context ,
struct nk_vec2 ,
struct nk_vec2   
)
NK_API int nk_style_set_cursor ( struct nk_context ,
enum  nk_style_cursor 
)
NK_API void nk_style_set_font ( struct nk_context ,
const struct nk_user_font  
)
NK_API void nk_style_show_cursor ( struct nk_context )
NK_API struct nk_image nk_subimage_handle ( nk_handle  ,
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_ptr ( void ,
unsigned short  w,
unsigned short  h,
struct nk_rect  sub_region 
)
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 int nk_textedit_cut ( struct nk_text_edit )
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_free ( struct nk_text_edit )
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 int nk_textedit_paste ( struct nk_text_edit ,
char const *  ,
int  len 
)
NK_API void nk_textedit_redo ( struct nk_text_edit )
NK_API void nk_textedit_select_all ( struct nk_text_edit )
NK_API void nk_textedit_text ( struct nk_text_edit ,
const char *  ,
int  total_len 
)
NK_API void nk_textedit_undo ( struct nk_text_edit )
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 int nk_tree_element_image_push_hashed ( struct nk_context ,
enum  nk_tree_type,
struct nk_image  ,
const char *  title,
enum nk_collapse_states  initial_state,
int *  selected,
const char *  hash,
int  len,
int  seed 
)
NK_API void nk_tree_element_pop ( struct nk_context )
NK_API int nk_tree_element_push_hashed ( struct nk_context ,
enum  nk_tree_type,
const char *  title,
enum nk_collapse_states  initial_state,
int *  selected,
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_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_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 int nk_tree_state_push ( struct nk_context ,
enum  nk_tree_type,
const char *  title,
enum nk_collapse_states state 
)
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 const char* nk_utf_at ( const char *  buffer,
int  length,
int  index,
nk_rune unicode,
int *  len 
)
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 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_vec2iv ( const int *  xy)
NK_API struct nk_vec2 nk_vec2v ( const float *  xy)
NK_API enum nk_widget_layout_states nk_widget ( struct nk_rect ,
const struct nk_context  
)
NK_API struct nk_rect nk_widget_bounds ( struct nk_context )
NK_API enum nk_widget_layout_states nk_widget_fitting ( struct nk_rect ,
struct nk_context ,
struct nk_vec2   
)
NK_API int nk_widget_has_mouse_click_down ( struct nk_context ,
enum  nk_buttons,
int  down 
)
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 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 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 struct nk_window* nk_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_command_buffer* nk_window_get_canvas ( 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_max ( 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_size ( struct nk_context )
NK_API float nk_window_get_height ( const struct nk_context )
NK_API struct nk_panel* nk_window_get_panel ( struct nk_context )
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 int nk_window_has_focus ( const struct nk_context )
NK_API int nk_window_is_active ( struct nk_context ,
const char *   
)
NK_API int nk_window_is_any_hovered ( struct nk_context )
NK_API int nk_window_is_closed ( struct nk_context ,
const char *   
)
NK_API int nk_window_is_collapsed ( struct nk_context ctx,
const char *  name 
)
NK_API int nk_window_is_hidden ( struct nk_context ,
const char *   
)
NK_API int nk_window_is_hovered ( 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_focus ( struct nk_context ,
const char *  name 
)
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_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 
)


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:27