Lines Matching defs:nk_context

182 /// struct nk_context ctx;
441 struct nk_context;
528 /// struct nk_context ctx;
550 /// Initializes a `nk_context` struct with a default standard library allocator.
554 /// int nk_init_default(struct nk_context *ctx, const struct nk_user_font *font);
559 /// __ctx__ | Must point to an either stack or heap allocated `nk_context` struct
565 NK_API int nk_init_default(struct nk_context*, const struct nk_user_font*);
568 /// Initializes a `nk_context` struct from single fixed size memory block
575 /// int nk_init_fixed(struct nk_context *ctx, void *memory, nk_size size, const struct nk_user_font *font);
583 /// __ctx__ | Must point to an either stack or heap allocated `nk_context` struct
590 NK_API int nk_init_fixed(struct nk_context*, void *memory, nk_size size, const struct nk_user_font*);
592 /// Initializes a `nk_context` struct with memory allocation callbacks for nuklear to allocate
597 /// int nk_init(struct nk_context *ctx, struct nk_allocator *alloc, const struct nk_user_font *font);
602 /// __ctx__ | Must point to an either stack or heap allocated `nk_context` struct
608 NK_API int nk_init(struct nk_context*, struct nk_allocator*, const struct nk_user_font*);
610 /// Initializes a `nk_context` struct from two different either fixed or growing
615 /// int nk_init_custom(struct nk_context *ctx, struct nk_buffer *cmds, struct nk_buffer *pool, const struct nk_user_font *font);
620 /// __ctx__ | Must point to an either stack or heap allocated `nk_context` struct
627 NK_API int nk_init_custom(struct nk_context*, struct nk_buffer *cmds, struct nk_buffer *pool, const struct nk_user_font*);
634 /// void nk_clear(struct nk_context *ctx);
639 /// __ctx__ | Must point to a previously initialized `nk_context` struct
641 NK_API void nk_clear(struct nk_context*);
647 /// void nk_free(struct nk_context *ctx);
652 /// __ctx__ | Must point to a previously initialized `nk_context` struct
654 NK_API void nk_free(struct nk_context*);
660 /// void nk_set_user_data(struct nk_context *ctx, nk_handle data);
665 /// __ctx__ | Must point to a previously initialized `nk_context` struct
668 NK_API void nk_set_user_data(struct nk_context*, nk_handle handle);
705 /// struct nk_context ctx;
783 /// void nk_input_begin(struct nk_context*);
788 /// __ctx__ | Must point to a previously initialized `nk_context` struct
790 NK_API void nk_input_begin(struct nk_context*);
795 /// void nk_input_motion(struct nk_context *ctx, int x, int y);
800 /// __ctx__ | Must point to a previously initialized `nk_context` struct
804 NK_API void nk_input_motion(struct nk_context*, int x, int y);
809 /// void nk_input_key(struct nk_context*, enum nk_keys key, int down);
814 /// __ctx__ | Must point to a previously initialized `nk_context` struct
818 NK_API void nk_input_key(struct nk_context*, enum nk_keys, int down);
823 /// void nk_input_button(struct nk_context *ctx, enum nk_buttons btn, int x, int y, int down);
828 /// __ctx__ | Must point to a previously initialized `nk_context` struct
834 NK_API void nk_input_button(struct nk_context*, enum nk_buttons, int x, int y, int down);
841 /// void nk_input_scroll(struct nk_context *ctx, struct nk_vec2 val);
846 /// __ctx__ | Must point to a previously initialized `nk_context` struct
849 NK_API void nk_input_scroll(struct nk_context*, struct nk_vec2 val);
859 /// void nk_input_char(struct nk_context *ctx, char c);
864 /// __ctx__ | Must point to a previously initialized `nk_context` struct
867 NK_API void nk_input_char(struct nk_context*, char);
876 /// void nk_input_glyph(struct nk_context *ctx, const nk_glyph g);
881 /// __ctx__ | Must point to a previously initialized `nk_context` struct
884 NK_API void nk_input_glyph(struct nk_context*, const nk_glyph);
892 /// void nk_input_unicode(struct nk_context*, nk_rune rune);
897 /// __ctx__ | Must point to a previously initialized `nk_context` struct
900 NK_API void nk_input_unicode(struct nk_context*, nk_rune);
906 /// void nk_input_end(struct nk_context *ctx);
911 /// __ctx__ | Must point to a previously initialized `nk_context` struct
913 NK_API void nk_input_end(struct nk_context*);
959 /// struct nk_context ctx;
1004 /// struct nk_context ctx;
1048 /// struct nk_context ctx;
1172 /// const struct nk_command* nk__begin(struct nk_context*);
1177 /// __ctx__ | must point to an previously initialized `nk_context` struct at the end of a frame
1181 NK_API const struct nk_command* nk__begin(struct nk_context*);
1186 /// const struct nk_command* nk__next(struct nk_context*, const struct nk_command*);
1191 /// __ctx__ | Must point to an previously initialized `nk_context` struct at the end of a frame
1196 NK_API const struct nk_command* nk__next(struct nk_context*, const struct nk_command*);
1206 /// __ctx__ | Must point to an previously initialized `nk_context` struct at the end of a frame
1220 /// nk_flags nk_convert(struct nk_context *ctx, struct nk_buffer *cmds,
1226 /// __ctx__ | Must point to an previously initialized `nk_context` struct at the end of a frame
1242 NK_API nk_flags nk_convert(struct nk_context*, struct nk_buffer *cmds, struct nk_buffer *vertices, struct nk_buffer *elements, const struct nk_convert_config*);
1247 /// const struct nk_draw_command* nk__draw_begin(const struct nk_context*, const struct nk_buffer*);
1252 /// __ctx__ | Must point to an previously initialized `nk_context` struct at the end of a frame
1257 NK_API const struct nk_draw_command* nk__draw_begin(const struct nk_context*, const struct nk_buffer*);
1262 /// const struct nk_draw_command* nk__draw_end(const struct nk_context *ctx, const struct nk_buffer *buf);
1267 /// __ctx__ | Must point to an previously initialized `nk_context` struct at the end of a frame
1272 NK_API const struct nk_draw_command* nk__draw_end(const struct nk_context*, const struct nk_buffer*);
1277 /// const struct nk_draw_command* nk__draw_next(const struct nk_draw_command*, const struct nk_buffer*, const struct nk_context*);
1284 /// __ctx__ | Must point to an previously initialized `nk_context` struct at the end of a frame
1288 NK_API const struct nk_draw_command* nk__draw_next(const struct nk_draw_command*, const struct nk_buffer*, const struct nk_context*);
1300 /// __ctx__ | Must point to an previously initialized `nk_context` struct at the end of a frame
1352 /// struct nk_context ctx;
1439 /// NK_WINDOW_SCROLL_AUTO_HIDE | Automatically hides the window scrollbar if no user interaction: also requires delta time in `nk_context` to be set each frame
1469 /// int nk_begin(struct nk_context *ctx, const char *title, struct nk_rect bounds, nk_flags flags);
1474 /// __ctx__ | Must point to an previously initialized `nk_context` struct
1482 NK_API int nk_begin(struct nk_context *ctx, const char *title, struct nk_rect bounds, nk_flags flags);
1488 /// int nk_begin_titled(struct nk_context *ctx, const char *name, const char *title, struct nk_rect bounds, nk_flags flags);
1493 /// __ctx__ | Must point to an previously initialized `nk_context` struct
1502 NK_API int nk_begin_titled(struct nk_context *ctx, const char *name, const char *title, struct nk_rect bounds, nk_flags flags);
1508 /// void nk_end(struct nk_context *ctx);
1513 /// __ctx__ | Must point to an previously initialized `nk_context` struct
1515 NK_API void nk_end(struct nk_context *ctx);
1520 /// struct nk_window *nk_window_find(struct nk_context *ctx, const char *name);
1525 /// __ctx__ | Must point to an previously initialized `nk_context` struct
1531 NK_API struct nk_window *nk_window_find(struct nk_context *ctx, const char *name);
1538 /// struct nk_rect nk_window_get_bounds(const struct nk_context *ctx);
1543 /// __ctx__ | Must point to an previously initialized `nk_context` struct
1547 NK_API struct nk_rect nk_window_get_bounds(const struct nk_context *ctx);
1554 /// struct nk_vec2 nk_window_get_position(const struct nk_context *ctx);
1559 /// __ctx__ | Must point to an previously initialized `nk_context` struct
1563 NK_API struct nk_vec2 nk_window_get_position(const struct nk_context *ctx);
1570 /// struct nk_vec2 nk_window_get_size(const struct nk_context *ctx);
1575 /// __ctx__ | Must point to an previously initialized `nk_context` struct
1579 NK_API struct nk_vec2 nk_window_get_size(const struct nk_context*);
1586 /// float nk_window_get_width(const struct nk_context *ctx);
1591 /// __ctx__ | Must point to an previously initialized `nk_context` struct
1595 NK_API float nk_window_get_width(const struct nk_context*);
1602 /// float nk_window_get_height(const struct nk_context *ctx);
1607 /// __ctx__ | Must point to an previously initialized `nk_context` struct
1611 NK_API float nk_window_get_height(const struct nk_context*);
1620 /// struct nk_panel* nk_window_get_panel(struct nk_context *ctx);
1625 /// __ctx__ | Must point to an previously initialized `nk_context` struct
1629 NK_API struct nk_panel* nk_window_get_panel(struct nk_context*);
1638 /// struct nk_rect nk_window_get_content_region(struct nk_context *ctx);
1643 /// __ctx__ | Must point to an previously initialized `nk_context` struct
1648 NK_API struct nk_rect nk_window_get_content_region(struct nk_context*);
1657 /// struct nk_vec2 nk_window_get_content_region_min(struct nk_context *ctx);
1662 /// __ctx__ | Must point to an previously initialized `nk_context` struct
1667 NK_API struct nk_vec2 nk_window_get_content_region_min(struct nk_context*);
1676 /// struct nk_vec2 nk_window_get_content_region_max(struct nk_context *ctx);
1681 /// __ctx__ | Must point to an previously initialized `nk_context` struct
1686 NK_API struct nk_vec2 nk_window_get_content_region_max(struct nk_context*);
1695 /// struct nk_vec2 nk_window_get_content_region_size(struct nk_context *ctx);
1700 /// __ctx__ | Must point to an previously initialized `nk_context` struct
1704 NK_API struct nk_vec2 nk_window_get_content_region_size(struct nk_context*);
1713 /// struct nk_command_buffer* nk_window_get_canvas(struct nk_context *ctx);
1718 /// __ctx__ | Must point to an previously initialized `nk_context` struct
1723 NK_API struct nk_command_buffer* nk_window_get_canvas(struct nk_context*);
1730 /// void nk_window_get_scroll(struct nk_context *ctx, nk_uint *offset_x, nk_uint *offset_y);
1735 /// __ctx__ | Must point to an previously initialized `nk_context` struct
1739 NK_API void nk_window_get_scroll(struct nk_context*, nk_uint *offset_x, nk_uint *offset_y);
1745 /// int nk_window_has_focus(const struct nk_context *ctx);
1750 /// __ctx__ | Must point to an previously initialized `nk_context` struct
1754 NK_API int nk_window_has_focus(const struct nk_context*);
1760 /// int nk_window_is_hovered(struct nk_context *ctx);
1765 /// __ctx__ | Must point to an previously initialized `nk_context` struct
1769 NK_API int nk_window_is_hovered(struct nk_context*);
1773 /// int nk_window_is_collapsed(struct nk_context *ctx, const char *name);
1778 /// __ctx__ | Must point to an previously initialized `nk_context` struct
1784 NK_API int nk_window_is_collapsed(struct nk_context *ctx, const char *name);
1788 /// int nk_window_is_closed(struct nk_context *ctx, const char *name);
1793 /// __ctx__ | Must point to an previously initialized `nk_context` struct
1798 NK_API int nk_window_is_closed(struct nk_context*, const char*);
1802 /// int nk_window_is_hidden(struct nk_context *ctx, const char *name);
1807 /// __ctx__ | Must point to an previously initialized `nk_context` struct
1812 NK_API int nk_window_is_hidden(struct nk_context*, const char*);
1816 /// int nk_window_is_active(struct nk_context *ctx, const char *name);
1821 /// __ctx__ | Must point to an previously initialized `nk_context` struct
1826 NK_API int nk_window_is_active(struct nk_context*, const char*);
1830 /// int nk_window_is_any_hovered(struct nk_context*);
1835 /// __ctx__ | Must point to an previously initialized `nk_context` struct
1839 NK_API int nk_window_is_any_hovered(struct nk_context*);
1845 /// int nk_item_is_any_active(struct nk_context*);
1850 /// __ctx__ | Must point to an previously initialized `nk_context` struct
1854 NK_API int nk_item_is_any_active(struct nk_context*);
1858 /// void nk_window_set_bounds(struct nk_context*, const char *name, struct nk_rect bounds);
1863 /// __ctx__ | Must point to an previously initialized `nk_context` struct
1867 NK_API void nk_window_set_bounds(struct nk_context*, const char *name, struct nk_rect bounds);
1871 /// void nk_window_set_position(struct nk_context*, const char *name, struct nk_vec2 pos);
1876 /// __ctx__ | Must point to an previously initialized `nk_context` struct
1880 NK_API void nk_window_set_position(struct nk_context*, const char *name, struct nk_vec2 pos);
1884 /// void nk_window_set_size(struct nk_context*, const char *name, struct nk_vec2);
1889 /// __ctx__ | Must point to an previously initialized `nk_context` struct
1893 NK_API void nk_window_set_size(struct nk_context*, const char *name, struct nk_vec2);
1897 /// void nk_window_set_focus(struct nk_context*, const char *name);
1902 /// __ctx__ | Must point to an previously initialized `nk_context` struct
1905 NK_API void nk_window_set_focus(struct nk_context*, const char *name);
1912 /// void nk_window_set_scroll(struct nk_context *ctx, nk_uint offset_x, nk_uint offset_y);
1917 /// __ctx__ | Must point to an previously initialized `nk_context` struct
1921 NK_API void nk_window_set_scroll(struct nk_context*, nk_uint offset_x, nk_uint offset_y);
1925 /// void nk_window_close(struct nk_context *ctx, const char *name);
1930 /// __ctx__ | Must point to an previously initialized `nk_context` struct
1933 NK_API void nk_window_close(struct nk_context *ctx, const char *name);
1937 /// void nk_window_collapse(struct nk_context*, const char *name, enum nk_collapse_states state);
1942 /// __ctx__ | Must point to an previously initialized `nk_context` struct
1946 NK_API void nk_window_collapse(struct nk_context*, const char *name, enum nk_collapse_states state);
1950 /// void nk_window_collapse_if(struct nk_context*, const char *name, enum nk_collapse_states, int cond);
1955 /// __ctx__ | Must point to an previously initialized `nk_context` struct
1960 NK_API void nk_window_collapse_if(struct nk_context*, const char *name, enum nk_collapse_states, int cond);
1964 /// void nk_window_show(struct nk_context*, const char *name, enum nk_show_states);
1969 /// __ctx__ | Must point to an previously initialized `nk_context` struct
1973 NK_API void nk_window_show(struct nk_context*, const char *name, enum nk_show_states);
1977 /// void nk_window_show_if(struct nk_context*, const char *name, enum nk_show_states, int cond);
1982 /// __ctx__ | Must point to an previously initialized `nk_context` struct
1987 NK_API void nk_window_show_if(struct nk_context*, const char *name, enum nk_show_states, int cond);
2268 /// void nk_layout_set_min_row_height(struct nk_context*, float height);
2273 /// __ctx__ | Must point to an previously initialized `nk_context` struct after call `nk_begin_xxx`
2276 NK_API void nk_layout_set_min_row_height(struct nk_context*, float height);
2280 /// void nk_layout_reset_min_row_height(struct nk_context*);
2285 /// __ctx__ | Must point to an previously initialized `nk_context` struct after call `nk_begin_xxx`
2287 NK_API void nk_layout_reset_min_row_height(struct nk_context*);
2291 /// struct nk_rect nk_layout_widget_bounds(struct nk_context*);
2296 /// __ctx__ | Must point to an previously initialized `nk_context` struct after call `nk_begin_xxx`
2300 NK_API struct nk_rect nk_layout_widget_bounds(struct nk_context*);
2304 /// float nk_layout_ratio_from_pixel(struct nk_context*, float pixel_width);
2309 /// __ctx__ | Must point to an previously initialized `nk_context` struct after call `nk_begin_xxx`
2314 NK_API float nk_layout_ratio_from_pixel(struct nk_context*, float pixel_width);
2320 /// void nk_layout_row_dynamic(struct nk_context *ctx, float height, int cols);
2325 /// __ctx__ | Must point to an previously initialized `nk_context` struct after call `nk_begin_xxx`
2329 NK_API void nk_layout_row_dynamic(struct nk_context *ctx, float height, int cols);
2335 /// void nk_layout_row_static(struct nk_context *ctx, float height, int item_width, int cols);
2340 /// __ctx__ | Must point to an previously initialized `nk_context` struct after call `nk_begin_xxx`
2345 NK_API void nk_layout_row_static(struct nk_context *ctx, float height, int item_width, int cols);
2349 /// void nk_layout_row_begin(struct nk_context *ctx, enum nk_layout_format fmt, float row_height, int cols);
2354 /// __ctx__ | Must point to an previously initialized `nk_context` struct after call `nk_begin_xxx`
2359 NK_API void nk_layout_row_begin(struct nk_context *ctx, enum nk_layout_format fmt, float row_height, int cols);
2363 /// void nk_layout_row_push(struct nk_context*, float value);
2368 /// __ctx__ | Must point to an previously initialized `nk_context` struct after call `nk_begin_xxx`
2371 NK_API void nk_layout_row_push(struct nk_context*, float value);
2375 /// void nk_layout_row_end(struct nk_context*);
2380 /// __ctx__ | Must point to an previously initialized `nk_context` struct after call `nk_begin_xxx`
2382 NK_API void nk_layout_row_end(struct nk_context*);
2386 /// void nk_layout_row(struct nk_context*, enum nk_layout_format, float height, int cols, const float *ratio);
2391 /// __ctx__ | Must point to an previously initialized `nk_context` struct after call `nk_begin_xxx`
2396 NK_API void nk_layout_row(struct nk_context*, enum nk_layout_format, float height, int cols, const float *ratio);
2400 /// void nk_layout_row_template_begin(struct nk_context*, float row_height);
2405 /// __ctx__ | Must point to an previously initialized `nk_context` struct after call `nk_begin_xxx`
2408 NK_API void nk_layout_row_template_begin(struct nk_context*, float row_height);
2412 /// void nk_layout_row_template_push_dynamic(struct nk_context*);
2417 /// __ctx__ | Must point to an previously initialized `nk_context` struct after call `nk_begin_xxx`
2420 NK_API void nk_layout_row_template_push_dynamic(struct nk_context*);
2424 /// void nk_layout_row_template_push_variable(struct nk_context*, float min_width);
2429 /// __ctx__ | Must point to an previously initialized `nk_context` struct after call `nk_begin_xxx`
2432 NK_API void nk_layout_row_template_push_variable(struct nk_context*, float min_width);
2436 /// void nk_layout_row_template_push_static(struct nk_context*, float width);
2441 /// __ctx__ | Must point to an previously initialized `nk_context` struct after call `nk_begin_xxx`
2444 NK_API void nk_layout_row_template_push_static(struct nk_context*, float width);
2448 /// void nk_layout_row_template_end(struct nk_context*);
2453 /// __ctx__ | Must point to an previously initialized `nk_context` struct after call `nk_begin_xxx`
2455 NK_API void nk_layout_row_template_end(struct nk_context*);
2459 /// void nk_layout_space_begin(struct nk_context*, enum nk_layout_format, float height, int widget_count);
2464 /// __ctx__ | Must point to an previously initialized `nk_context` struct after call `nk_begin_xxx`
2469 NK_API void nk_layout_space_begin(struct nk_context*, enum nk_layout_format, float height, int widget_count);
2473 /// void nk_layout_space_push(struct nk_context *ctx, struct nk_rect bounds);
2478 /// __ctx__ | Must point to an previously initialized `nk_context` struct after call `nk_layout_space_begin`
2481 NK_API void nk_layout_space_push(struct nk_context*, struct nk_rect bounds);
2485 /// void nk_layout_space_end(struct nk_context*);
2490 /// __ctx__ | Must point to an previously initialized `nk_context` struct after call `nk_layout_space_begin`
2492 NK_API void nk_layout_space_end(struct nk_context*);
2496 /// struct nk_rect nk_layout_space_bounds(struct nk_context*);
2501 /// __ctx__ | Must point to an previously initialized `nk_context` struct after call `nk_layout_space_begin`
2505 NK_API struct nk_rect nk_layout_space_bounds(struct nk_context*);
2509 /// struct nk_vec2 nk_layout_space_to_screen(struct nk_context*, struct nk_vec2);
2514 /// __ctx__ | Must point to an previously initialized `nk_context` struct after call `nk_layout_space_begin`
2519 NK_API struct nk_vec2 nk_layout_space_to_screen(struct nk_context*, struct nk_vec2);
2523 /// struct nk_vec2 nk_layout_space_to_local(struct nk_context*, struct nk_vec2);
2528 /// __ctx__ | Must point to an previously initialized `nk_context` struct after call `nk_layout_space_begin`
2533 NK_API struct nk_vec2 nk_layout_space_to_local(struct nk_context*, struct nk_vec2);
2537 /// struct nk_rect nk_layout_space_rect_to_screen(struct nk_context*, struct nk_rect);
2542 /// __ctx__ | Must point to an previously initialized `nk_context` struct after call `nk_layout_space_begin`
2547 NK_API struct nk_rect nk_layout_space_rect_to_screen(struct nk_context*, struct nk_rect);
2551 /// struct nk_rect nk_layout_space_rect_to_local(struct nk_context*, struct nk_rect);
2556 /// __ctx__ | Must point to an previously initialized `nk_context` struct after call `nk_layout_space_begin`
2561 NK_API struct nk_rect nk_layout_space_rect_to_local(struct nk_context*, struct nk_rect);
2595 /// struct nk_context ctx;
2653 /// int nk_group_begin(struct nk_context*, const char *title, nk_flags);
2658 /// __ctx__ | Must point to an previously initialized `nk_context` struct
2664 NK_API int nk_group_begin(struct nk_context*, const char *title, nk_flags);
2668 /// int nk_group_begin_titled(struct nk_context*, const char *name, const char *title, nk_flags);
2673 /// __ctx__ | Must point to an previously initialized `nk_context` struct
2680 NK_API int nk_group_begin_titled(struct nk_context*, const char *name, const char *title, nk_flags);
2684 /// void nk_group_end(struct nk_context*);
2689 /// __ctx__ | Must point to an previously initialized `nk_context` struct
2691 NK_API void nk_group_end(struct nk_context*);
2696 /// int nk_group_scrolled_offset_begin(struct nk_context*, nk_uint *x_offset, nk_uint *y_offset, const char *title, nk_flags flags);
2701 /// __ctx__ | Must point to an previously initialized `nk_context` struct
2709 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);
2714 /// int nk_group_scrolled_begin(struct nk_context*, struct nk_scroll *off, const char *title, nk_flags);
2719 /// __ctx__ | Must point to an previously initialized `nk_context` struct
2726 NK_API int nk_group_scrolled_begin(struct nk_context*, struct nk_scroll *off, const char *title, nk_flags);
2730 /// void nk_group_scrolled_end(struct nk_context*);
2735 /// __ctx__ | Must point to an previously initialized `nk_context` struct
2737 NK_API void nk_group_scrolled_end(struct nk_context*);
2741 /// void nk_group_get_scroll(struct nk_context*, const char *id, nk_uint *x_offset, nk_uint *y_offset);
2746 /// __ctx__ | Must point to an previously initialized `nk_context` struct
2751 NK_API void nk_group_get_scroll(struct nk_context*, const char *id, nk_uint *x_offset, nk_uint *y_offset);
2755 /// void nk_group_set_scroll(struct nk_context*, const char *id, nk_uint x_offset, nk_uint y_offset);
2760 /// __ctx__ | Must point to an previously initialized `nk_context` struct
2765 NK_API void nk_group_set_scroll(struct nk_context*, const char *id, nk_uint x_offset, nk_uint y_offset);
2850 /// __ctx__ | Must point to an previously initialized `nk_context` struct
2866 /// __ctx__ | Must point to an previously initialized `nk_context` struct
2879 /// 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);
2884 /// __ctx__ | Must point to an previously initialized `nk_context` struct
2894 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);
2909 /// __ctx__ | Must point to an previously initialized `nk_context` struct
2928 /// __ctx__ | Must point to an previously initialized `nk_context` struct
2942 /// 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);
2947 /// __ctx__ | Must point to an previously initialized `nk_context` struct
2958 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);
2962 /// void nk_tree_pop(struct nk_context*);
2967 /// __ctx__ | Must point to an previously initialized `nk_context` struct after calling `nk_tree_xxx_push_xxx`
2969 NK_API void nk_tree_pop(struct nk_context*);
2973 /// int nk_tree_state_push(struct nk_context*, enum nk_tree_type, const char *title, enum nk_collapse_states *state);
2978 /// __ctx__ | Must point to an previously initialized `nk_context` struct after calling `nk_tree_xxx_push_xxx`
2985 NK_API int nk_tree_state_push(struct nk_context*, enum nk_tree_type, const char *title, enum nk_collapse_states *state);
2989 /// int nk_tree_state_image_push(struct nk_context*, enum nk_tree_type, struct nk_image, const char *title, enum nk_collapse_states *state);
2994 /// __ctx__ | Must point to an previously initialized `nk_context` struct after calling `nk_tree_xxx_push_xxx`
3002 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);
3006 /// void nk_tree_state_pop(struct nk_context*);
3011 /// __ctx__ | Must point to an previously initialized `nk_context` struct after calling `nk_tree_xxx_push_xxx`
3013 NK_API void nk_tree_state_pop(struct nk_context*);
3017 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);
3018 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);
3019 NK_API void nk_tree_element_pop(struct nk_context*);
3031 struct nk_context *ctx;
3035 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);
3057 NK_API enum nk_widget_layout_states nk_widget(struct nk_rect*, const struct nk_context*);
3058 NK_API enum nk_widget_layout_states nk_widget_fitting(struct nk_rect*, struct nk_context*, struct nk_vec2);
3059 NK_API struct nk_rect nk_widget_bounds(struct nk_context*);
3060 NK_API struct nk_vec2 nk_widget_position(struct nk_context*);
3061 NK_API struct nk_vec2 nk_widget_size(struct nk_context*);
3062 NK_API float nk_widget_width(struct nk_context*);
3063 NK_API float nk_widget_height(struct nk_context*);
3064 NK_API int nk_widget_is_hovered(struct nk_context*);
3065 NK_API int nk_widget_is_mouse_clicked(struct nk_context*, enum nk_buttons);
3066 NK_API int nk_widget_has_mouse_click_down(struct nk_context*, enum nk_buttons, int down);
3067 NK_API void nk_spacing(struct nk_context*, int cols);
3086 NK_API void nk_text(struct nk_context*, const char*, int, nk_flags);
3087 NK_API void nk_text_colored(struct nk_context*, const char*, int, nk_flags, struct nk_color);
3088 NK_API void nk_text_wrap(struct nk_context*, const char*, int);
3089 NK_API void nk_text_wrap_colored(struct nk_context*, const char*, int, struct nk_color);
3090 NK_API void nk_label(struct nk_context*, const char*, nk_flags align);
3091 NK_API void nk_label_colored(struct nk_context*, const char*, nk_flags align, struct nk_color);
3092 NK_API void nk_label_wrap(struct nk_context*, const char*);
3093 NK_API void nk_label_colored_wrap(struct nk_context*, const char*, struct nk_color);
3094 NK_API void nk_image(struct nk_context*, struct nk_image);
3095 NK_API void nk_image_color(struct nk_context*, struct nk_image, struct nk_color);
3097 NK_API void nk_labelf(struct nk_context*, nk_flags, NK_PRINTF_FORMAT_STRING const char*, ...) NK_PRINTF_VARARG_FUNC(3);
3098 NK_API void nk_labelf_colored(struct nk_context*, nk_flags, struct nk_color, NK_PRINTF_FORMAT_STRING const char*,...) NK_PRINTF_VARARG_FUNC(4);
3099 NK_API void nk_labelf_wrap(struct nk_context*, NK_PRINTF_FORMAT_STRING const char*,...) NK_PRINTF_VARARG_FUNC(2);
3100 NK_API void nk_labelf_colored_wrap(struct nk_context*, struct nk_color, NK_PRINTF_FORMAT_STRING const char*,...) NK_PRINTF_VARARG_FUNC(3);
3101 NK_API void nk_labelfv(struct nk_context*, nk_flags, NK_PRINTF_FORMAT_STRING const char*, va_list) NK_PRINTF_VALIST_FUNC(3);
3102 NK_API void nk_labelfv_colored(struct nk_context*, nk_flags, struct nk_color, NK_PRINTF_FORMAT_STRING const char*, va_list) NK_PRINTF_VALIST_FUNC(4);
3103 NK_API void nk_labelfv_wrap(struct nk_context*, NK_PRINTF_FORMAT_STRING const char*, va_list) NK_PRINTF_VALIST_FUNC(2);
3104 NK_API void nk_labelfv_colored_wrap(struct nk_context*, struct nk_color, NK_PRINTF_FORMAT_STRING const char*, va_list) NK_PRINTF_VALIST_FUNC(3);
3105 NK_API void nk_value_bool(struct nk_context*, const char *prefix, int);
3106 NK_API void nk_value_int(struct nk_context*, const char *prefix, int);
3107 NK_API void nk_value_uint(struct nk_context*, const char *prefix, unsigned int);
3108 NK_API void nk_value_float(struct nk_context*, const char *prefix, float);
3109 NK_API void nk_value_color_byte(struct nk_context*, const char *prefix, struct nk_color);
3110 NK_API void nk_value_color_float(struct nk_context*, const char *prefix, struct nk_color);
3111 NK_API void nk_value_color_hex(struct nk_context*, const char *prefix, struct nk_color);
3118 NK_API int nk_button_text(struct nk_context*, const char *title, int len);
3119 NK_API int nk_button_label(struct nk_context*, const char *title);
3120 NK_API int nk_button_color(struct nk_context*, struct nk_color);
3121 NK_API int nk_button_symbol(struct nk_context*, enum nk_symbol_type);
3122 NK_API int nk_button_image(struct nk_context*, struct nk_image img);
3123 NK_API int nk_button_symbol_label(struct nk_context*, enum nk_symbol_type, const char*, nk_flags text_alignment);
3124 NK_API int nk_button_symbol_text(struct nk_context*, enum nk_symbol_type, const char*, int, nk_flags alignment);
3125 NK_API int nk_button_image_label(struct nk_context*, struct nk_image img, const char*, nk_flags text_alignment);
3126 NK_API int nk_button_image_text(struct nk_context*, struct nk_image img, const char*, int, nk_flags alignment);
3127 NK_API int nk_button_text_styled(struct nk_context*, const struct nk_style_button*, const char *title, int len);
3128 NK_API int nk_button_label_styled(struct nk_context*, const struct nk_style_button*, const char *title);
3129 NK_API int nk_button_symbol_styled(struct nk_context*, const struct nk_style_button*, enum nk_symbol_type);
3130 NK_API int nk_button_image_styled(struct nk_context*, const struct nk_style_button*, struct nk_image img);
3131 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);
3132 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);
3133 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);
3134 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);
3135 NK_API void nk_button_set_behavior(struct nk_context*, enum nk_button_behavior);
3136 NK_API int nk_button_push_behavior(struct nk_context*, enum nk_button_behavior);
3137 NK_API int nk_button_pop_behavior(struct nk_context*);
3143 NK_API int nk_check_label(struct nk_context*, const char*, int active);
3144 NK_API int nk_check_text(struct nk_context*, const char*, int,int active);
3145 NK_API unsigned nk_check_flags_label(struct nk_context*, const char*, unsigned int flags, unsigned int value);
3146 NK_API unsigned nk_check_flags_text(struct nk_context*, const char*, int, unsigned int flags, unsigned int value);
3147 NK_API int nk_checkbox_label(struct nk_context*, const char*, int *active);
3148 NK_API int nk_checkbox_text(struct nk_context*, const char*, int, int *active);
3149 NK_API int nk_checkbox_flags_label(struct nk_context*, const char*, unsigned int *flags, unsigned int value);
3150 NK_API int nk_checkbox_flags_text(struct nk_context*, const char*, int, unsigned int *flags, unsigned int value);
3156 NK_API int nk_radio_label(struct nk_context*, const char*, int *active);
3157 NK_API int nk_radio_text(struct nk_context*, const char*, int, int *active);
3158 NK_API int nk_option_label(struct nk_context*, const char*, int active);
3159 NK_API int nk_option_text(struct nk_context*, const char*, int, int active);
3165 NK_API int nk_selectable_label(struct nk_context*, const char*, nk_flags align, int *value);
3166 NK_API int nk_selectable_text(struct nk_context*, const char*, int, nk_flags align, int *value);
3167 NK_API int nk_selectable_image_label(struct nk_context*,struct nk_image, const char*, nk_flags align, int *value);
3168 NK_API int nk_selectable_image_text(struct nk_context*,struct nk_image, const char*, int, nk_flags align, int *value);
3169 NK_API int nk_selectable_symbol_label(struct nk_context*,enum nk_symbol_type, const char*, nk_flags align, int *value);
3170 NK_API int nk_selectable_symbol_text(struct nk_context*,enum nk_symbol_type, const char*, int, nk_flags align, int *value);
3172 NK_API int nk_select_label(struct nk_context*, const char*, nk_flags align, int value);
3173 NK_API int nk_select_text(struct nk_context*, const char*, int, nk_flags align, int value);
3174 NK_API int nk_select_image_label(struct nk_context*, struct nk_image,const char*, nk_flags align, int value);
3175 NK_API int nk_select_image_text(struct nk_context*, struct nk_image,const char*, int, nk_flags align, int value);
3176 NK_API int nk_select_symbol_label(struct nk_context*,enum nk_symbol_type, const char*, nk_flags align, int value);
3177 NK_API int nk_select_symbol_text(struct nk_context*,enum nk_symbol_type, const char*, int, nk_flags align, int value);
3184 NK_API float nk_slide_float(struct nk_context*, float min, float val, float max, float step);
3185 NK_API int nk_slide_int(struct nk_context*, int min, int val, int max, int step);
3186 NK_API int nk_slider_float(struct nk_context*, float min, float *val, float max, float step);
3187 NK_API int nk_slider_int(struct nk_context*, int min, int *val, int max, int step);
3193 NK_API int nk_progress(struct nk_context*, nk_size *cur, nk_size max, int modifyable);
3194 NK_API nk_size nk_prog(struct nk_context*, nk_size cur, nk_size max, int modifyable);
3201 NK_API struct nk_colorf nk_color_picker(struct nk_context*, struct nk_colorf, enum nk_color_format);
3202 NK_API int nk_color_pick(struct nk_context*, struct nk_colorf*, enum nk_color_format);
3227 /// struct nk_context ctx;
3286 /// void nk_property_int(struct nk_context *ctx, const char *name, int min, int *val, int max, int step, float inc_per_pixel);
3291 /// __ctx__ | Must point to an previously initialized `nk_context` struct after calling a layouting function
3299 NK_API void nk_property_int(struct nk_context*, const char *name, int min, int *val, int max, int step, float inc_per_pixel);
3307 /// void nk_property_float(struct nk_context *ctx, const char *name, float min, float *val, float max, float step, float inc_per_pixel);
3312 /// __ctx__ | Must point to an previously initialized `nk_context` struct after calling a layouting function
3320 NK_API void nk_property_float(struct nk_context*, const char *name, float min, float *val, float max, float step, float inc_per_pixel);
3328 /// void nk_property_double(struct nk_context *ctx, const char *name, double min, double *val, double max, double step, double inc_per_pixel);
3333 /// __ctx__ | Must point to an previously initialized `nk_context` struct after calling a layouting function
3341 NK_API void nk_property_double(struct nk_context*, const char *name, double min, double *val, double max, double step, float inc_per_pixel);
3349 /// int nk_propertyi(struct nk_context *ctx, const char *name, int min, int val, int max, int step, float inc_per_pixel);
3354 /// __ctx__ | Must point to an previously initialized `nk_context` struct after calling a layouting function
3364 NK_API int nk_propertyi(struct nk_context*, const char *name, int min, int val, int max, int step, float inc_per_pixel);
3372 /// float nk_propertyf(struct nk_context *ctx, const char *name, float min, float val, float max, float step, float inc_per_pixel);
3377 /// __ctx__ | Must point to an previously initialized `nk_context` struct after calling a layouting function
3387 NK_API float nk_propertyf(struct nk_context*, const char *name, float min, float val, float max, float step, float inc_per_pixel);
3395 /// float nk_propertyd(struct nk_context *ctx, const char *name, double min, double val, double max, double step, double inc_per_pixel);
3400 /// __ctx__ | Must point to an previously initialized `nk_context` struct after calling a layouting function
3410 NK_API double nk_propertyd(struct nk_context*, const char *name, double min, double val, double max, double step, float inc_per_pixel);
3444 NK_API nk_flags nk_edit_string(struct nk_context*, nk_flags, char *buffer, int *len, int max, nk_plugin_filter);
3445 NK_API nk_flags nk_edit_string_zero_terminated(struct nk_context*, nk_flags, char *buffer, int max, nk_plugin_filter);
3446 NK_API nk_flags nk_edit_buffer(struct nk_context*, nk_flags, struct nk_text_edit*, nk_plugin_filter);
3447 NK_API void nk_edit_focus(struct nk_context*, nk_flags flags);
3448 NK_API void nk_edit_unfocus(struct nk_context*);
3454 NK_API int nk_chart_begin(struct nk_context*, enum nk_chart_type, int num, float min, float max);
3455 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);
3456 NK_API void nk_chart_add_slot(struct nk_context *ctx, const enum nk_chart_type, int count, float min_value, float max_value);
3457 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);
3458 NK_API nk_flags nk_chart_push(struct nk_context*, float);
3459 NK_API nk_flags nk_chart_push_slot(struct nk_context*, float, int);
3460 NK_API void nk_chart_end(struct nk_context*);
3461 NK_API void nk_plot(struct nk_context*, enum nk_chart_type, const float *values, int count, int offset);
3462 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);
3468 NK_API int nk_popup_begin(struct nk_context*, enum nk_popup_type, const char*, nk_flags, struct nk_rect bounds);
3469 NK_API void nk_popup_close(struct nk_context*);
3470 NK_API void nk_popup_end(struct nk_context*);
3471 NK_API void nk_popup_get_scroll(struct nk_context*, nk_uint *offset_x, nk_uint *offset_y);
3472 NK_API void nk_popup_set_scroll(struct nk_context*, nk_uint offset_x, nk_uint offset_y);
3478 NK_API int nk_combo(struct nk_context*, const char **items, int count, int selected, int item_height, struct nk_vec2 size);
3479 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);
3480 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);
3481 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);
3482 NK_API void nk_combobox(struct nk_context*, const char **items, int count, int *selected, int item_height, struct nk_vec2 size);
3483 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);
3484 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);
3485 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);
3491 NK_API int nk_combo_begin_text(struct nk_context*, const char *selected, int, struct nk_vec2 size);
3492 NK_API int nk_combo_begin_label(struct nk_context*, const char *selected, struct nk_vec2 size);
3493 NK_API int nk_combo_begin_color(struct nk_context*, struct nk_color color, struct nk_vec2 size);
3494 NK_API int nk_combo_begin_symbol(struct nk_context*, enum nk_symbol_type, struct nk_vec2 size);
3495 NK_API int nk_combo_begin_symbol_label(struct nk_context*, const char *selected, enum nk_symbol_type, struct nk_vec2 size);
3496 NK_API int nk_combo_begin_symbol_text(struct nk_context*, const char *selected, int, enum nk_symbol_type, struct nk_vec2 size);
3497 NK_API int nk_combo_begin_image(struct nk_context*, struct nk_image img, struct nk_vec2 size);
3498 NK_API int nk_combo_begin_image_label(struct nk_context*, const char *selected, struct nk_image, struct nk_vec2 size);
3499 NK_API int nk_combo_begin_image_text(struct nk_context*, const char *selected, int, struct nk_image, struct nk_vec2 size);
3500 NK_API int nk_combo_item_label(struct nk_context*, const char*, nk_flags alignment);
3501 NK_API int nk_combo_item_text(struct nk_context*, const char*,int, nk_flags alignment);
3502 NK_API int nk_combo_item_image_label(struct nk_context*, struct nk_image, const char*, nk_flags alignment);
3503 NK_API int nk_combo_item_image_text(struct nk_context*, struct nk_image, const char*, int,nk_flags alignment);
3504 NK_API int nk_combo_item_symbol_label(struct nk_context*, enum nk_symbol_type, const char*, nk_flags alignment);
3505 NK_API int nk_combo_item_symbol_text(struct nk_context*, enum nk_symbol_type, const char*, int, nk_flags alignment);
3506 NK_API void nk_combo_close(struct nk_context*);
3507 NK_API void nk_combo_end(struct nk_context*);
3513 NK_API int nk_contextual_begin(struct nk_context*, nk_flags, struct nk_vec2, struct nk_rect trigger_bounds);
3514 NK_API int nk_contextual_item_text(struct nk_context*, const char*, int,nk_flags align);
3515 NK_API int nk_contextual_item_label(struct nk_context*, const char*, nk_flags align);
3516 NK_API int nk_contextual_item_image_label(struct nk_context*, struct nk_image, const char*, nk_flags alignment);
3517 NK_API int nk_contextual_item_image_text(struct nk_context*, struct nk_image, const char*, int len, nk_flags alignment);
3518 NK_API int nk_contextual_item_symbol_label(struct nk_context*, enum nk_symbol_type, const char*, nk_flags alignment);
3519 NK_API int nk_contextual_item_symbol_text(struct nk_context*, enum nk_symbol_type, const char*, int, nk_flags alignment);
3520 NK_API void nk_contextual_close(struct nk_context*);
3521 NK_API void nk_contextual_end(struct nk_context*);
3527 NK_API void nk_tooltip(struct nk_context*, const char*);
3529 NK_API void nk_tooltipf(struct nk_context*, NK_PRINTF_FORMAT_STRING const char*, ...) NK_PRINTF_VARARG_FUNC(2);
3530 NK_API void nk_tooltipfv(struct nk_context*, NK_PRINTF_FORMAT_STRING const char*, va_list) NK_PRINTF_VALIST_FUNC(2);
3532 NK_API int nk_tooltip_begin(struct nk_context*, float width);
3533 NK_API void nk_tooltip_end(struct nk_context*);
3539 NK_API void nk_menubar_begin(struct nk_context*);
3540 NK_API void nk_menubar_end(struct nk_context*);
3541 NK_API int nk_menu_begin_text(struct nk_context*, const char* title, int title_len, nk_flags align, struct nk_vec2 size);
3542 NK_API int nk_menu_begin_label(struct nk_context*, const char*, nk_flags align, struct nk_vec2 size);
3543 NK_API int nk_menu_begin_image(struct nk_context*, const char*, struct nk_image, struct nk_vec2 size);
3544 NK_API int nk_menu_begin_image_text(struct nk_context*, const char*, int,nk_flags align,struct nk_image, struct nk_vec2 size);
3545 NK_API int nk_menu_begin_image_label(struct nk_context*, const char*, nk_flags align,struct nk_image, struct nk_vec2 size);
3546 NK_API int nk_menu_begin_symbol(struct nk_context*, const char*, enum nk_symbol_type, struct nk_vec2 size);
3547 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);
3548 NK_API int nk_menu_begin_symbol_label(struct nk_context*, const char*, nk_flags align,enum nk_symbol_type, struct nk_vec2 size);
3549 NK_API int nk_menu_item_text(struct nk_context*, const char*, int,nk_flags align);
3550 NK_API int nk_menu_item_label(struct nk_context*, const char*, nk_flags alignment);
3551 NK_API int nk_menu_item_image_label(struct nk_context*, struct nk_image, const char*, nk_flags alignment);
3552 NK_API int nk_menu_item_image_text(struct nk_context*, struct nk_image, const char*, int len, nk_flags alignment);
3553 NK_API int nk_menu_item_symbol_text(struct nk_context*, enum nk_symbol_type, const char*, int, nk_flags alignment);
3554 NK_API int nk_menu_item_symbol_label(struct nk_context*, enum nk_symbol_type, const char*, nk_flags alignment);
3555 NK_API void nk_menu_close(struct nk_context*);
3556 NK_API void nk_menu_end(struct nk_context*);
3603 NK_API void nk_style_default(struct nk_context*);
3604 NK_API void nk_style_from_table(struct nk_context*, const struct nk_color*);
3605 NK_API void nk_style_load_cursor(struct nk_context*, enum nk_style_cursor, const struct nk_cursor*);
3606 NK_API void nk_style_load_all_cursors(struct nk_context*, struct nk_cursor*);
3608 NK_API void nk_style_set_font(struct nk_context*, const struct nk_user_font*);
3609 NK_API int nk_style_set_cursor(struct nk_context*, enum nk_style_cursor);
3610 NK_API void nk_style_show_cursor(struct nk_context*);
3611 NK_API void nk_style_hide_cursor(struct nk_context*);
3613 NK_API int nk_style_push_font(struct nk_context*, const struct nk_user_font*);
3614 NK_API int nk_style_push_float(struct nk_context*, float*, float);
3615 NK_API int nk_style_push_vec2(struct nk_context*, struct nk_vec2*, struct nk_vec2);
3616 NK_API int nk_style_push_style_item(struct nk_context*, struct nk_style_item*, struct nk_style_item);
3617 NK_API int nk_style_push_flags(struct nk_context*, nk_flags*, nk_flags);
3618 NK_API int nk_style_push_color(struct nk_context*, struct nk_color*, struct nk_color);
3620 NK_API int nk_style_pop_font(struct nk_context*);
3621 NK_API int nk_style_pop_float(struct nk_context*);
3622 NK_API int nk_style_pop_vec2(struct nk_context*);
3623 NK_API int nk_style_pop_style_item(struct nk_context*);
3624 NK_API int nk_style_pop_flags(struct nk_context*);
3625 NK_API int nk_style_pop_color(struct nk_context*);
3783 struct nk_context ctx;
3823 struct nk_context ctx;
3835 `nk_context` like all other systems since it can be understood as more of
3836 an extension to nuklear and does not really depend on any `nk_context` state.
3876 struct nk_context ctx;
4345 void draw_red_rectangle_widget(struct nk_context *ctx)
5570 struct nk_context {
5848 NK_LIB void nk_start_buffer(struct nk_context *ctx, struct nk_command_buffer *b);
5849 NK_LIB void nk_start(struct nk_context *ctx, struct nk_window *win);
5850 NK_LIB void nk_start_popup(struct nk_context *ctx, struct nk_window *win);
5851 NK_LIB void nk_finish_popup(struct nk_context *ctx, struct nk_window*);
5852 NK_LIB void nk_finish_buffer(struct nk_context *ctx, struct nk_command_buffer *b);
5853 NK_LIB void nk_finish(struct nk_context *ctx, struct nk_window *w);
5854 NK_LIB void nk_build(struct nk_context *ctx);
5867 NK_LIB void *nk_create_window(struct nk_context *ctx);
5868 NK_LIB void nk_remove_window(struct nk_context*, struct nk_window*);
5869 NK_LIB void nk_free_window(struct nk_context *ctx, struct nk_window *win);
5870 NK_LIB struct nk_window *nk_find_window(struct nk_context *ctx, nk_hash hash, const char *name);
5871 NK_LIB void nk_insert_window(struct nk_context *ctx, struct nk_window *win, enum nk_window_insert_location loc);
5880 NK_LIB struct nk_page_element* nk_create_page_element(struct nk_context *ctx);
5881 NK_LIB void nk_link_page_element_into_freelist(struct nk_context *ctx, struct nk_page_element *elem);
5882 NK_LIB void nk_free_page_element(struct nk_context *ctx, struct nk_page_element *elem);
5885 NK_LIB struct nk_table* nk_create_table(struct nk_context *ctx);
5887 NK_LIB void nk_free_table(struct nk_context *ctx, struct nk_table *tbl);
5889 NK_LIB nk_uint *nk_add_value(struct nk_context *ctx, struct nk_window *win, nk_hash name, nk_uint value);
5893 NK_LIB void *nk_create_panel(struct nk_context *ctx);
5894 NK_LIB void nk_free_panel(struct nk_context*, struct nk_panel *pan);
5901 NK_LIB int nk_panel_begin(struct nk_context *ctx, const char *title, enum nk_panel_type panel_type);
5902 NK_LIB void nk_panel_end(struct nk_context *ctx);
5906 NK_LIB void nk_panel_layout(const struct nk_context *ctx, struct nk_window *win, float height, int cols);
5907 NK_LIB void nk_row_layout(struct nk_context *ctx, enum nk_layout_format fmt, float height, int cols, int width);
5908 NK_LIB void nk_panel_alloc_row(const struct nk_context *ctx, struct nk_window *win);
5909 NK_LIB void nk_layout_widget_space(struct nk_rect *bounds, const struct nk_context *ctx, struct nk_window *win, int modify);
5910 NK_LIB void nk_panel_alloc_space(struct nk_rect *bounds, const struct nk_context *ctx);
5911 NK_LIB void nk_layout_peek(struct nk_rect *bounds, struct nk_context *ctx);
5914 NK_LIB int nk_nonblock_begin(struct nk_context *ctx, nk_flags flags, struct nk_rect body, struct nk_rect header, enum nk_panel_type panel_type);
6015 NK_LIB void nk_property(struct nk_context *ctx, const char *name, struct nk_property_variant *variant, float inc_per_pixel, const enum nk_property_filter filter);
10389 nk_convert(struct nk_context *ctx, struct nk_buffer *cmds,
10531 nk__draw_begin(const struct nk_context *ctx,
10537 nk__draw_end(const struct nk_context *ctx, const struct nk_buffer *buffer)
10543 const struct nk_buffer *buffer, const struct nk_context *ctx)
13943 nk_input_begin(struct nk_context *ctx)
13963 nk_input_end(struct nk_context *ctx)
13978 nk_input_motion(struct nk_context *ctx, int x, int y)
13990 nk_input_key(struct nk_context *ctx, enum nk_keys key, int down)
14005 nk_input_button(struct nk_context *ctx, enum nk_buttons id, int x, int y, int down)
14021 nk_input_scroll(struct nk_context *ctx, struct nk_vec2 val)
14029 nk_input_glyph(struct nk_context *ctx, const nk_glyph glyph)
14047 nk_input_char(struct nk_context *ctx, char c)
14056 nk_input_unicode(struct nk_context *ctx, nk_rune unicode)
14200 NK_API void nk_style_default(struct nk_context *ctx){nk_style_from_table(ctx, 0);}
14273 nk_style_from_table(struct nk_context *ctx, const struct nk_color *table)
14817 nk_style_set_font(struct nk_context *ctx, const struct nk_user_font *font)
14830 nk_style_push_font(struct nk_context *ctx, const struct nk_user_font *font)
14850 nk_style_pop_font(struct nk_context *ctx)
14868 nk_style_push_##type(struct nk_context *ctx, prefix##_##type *address, prefix##_##type value)\
14885 nk_style_pop_##type(struct nk_context *ctx)\
14912 nk_style_set_cursor(struct nk_context *ctx, enum nk_style_cursor c)
14925 nk_style_show_cursor(struct nk_context *ctx)
14930 nk_style_hide_cursor(struct nk_context *ctx)
14935 nk_style_load_cursor(struct nk_context *ctx, enum nk_style_cursor cursor,
14945 nk_style_load_all_cursors(struct nk_context *ctx, struct nk_cursor *cursors)
14967 nk_setup(struct nk_context *ctx, const struct nk_user_font *font)
14981 nk_init_default(struct nk_context *ctx, const struct nk_user_font *font)
14991 nk_init_fixed(struct nk_context *ctx, void *memory, nk_size size,
15002 nk_init_custom(struct nk_context *ctx, struct nk_buffer *cmds,
15023 nk_init(struct nk_context *ctx, struct nk_allocator *alloc,
15036 nk_set_user_data(struct nk_context *ctx, nk_handle handle)
15045 nk_free(struct nk_context *ctx)
15067 nk_clear(struct nk_context *ctx)
15133 nk_start_buffer(struct nk_context *ctx, struct nk_command_buffer *buffer)
15144 nk_start(struct nk_context *ctx, struct nk_window *win)
15151 nk_start_popup(struct nk_context *ctx, struct nk_window *win)
15167 nk_finish_popup(struct nk_context *ctx, struct nk_window *win)
15179 nk_finish_buffer(struct nk_context *ctx, struct nk_command_buffer *buffer)
15187 nk_finish(struct nk_context *ctx, struct nk_window *win)
15205 nk_build(struct nk_context *ctx)
15267 nk__begin(struct nk_context *ctx)
15289 nk__next(struct nk_context *ctx, const struct nk_command *cmd)
15376 nk_create_page_element(struct nk_context *ctx)
15402 nk_link_page_element_into_freelist(struct nk_context *ctx,
15414 nk_free_page_element(struct nk_context *ctx, struct nk_page_element *elem)
15439 nk_create_table(struct nk_context *ctx)
15448 nk_free_table(struct nk_context *ctx, struct nk_table *tbl)
15485 nk_add_value(struct nk_context *ctx, struct nk_window *win,
15530 nk_create_panel(struct nk_context *ctx)
15539 nk_free_panel(struct nk_context *ctx, struct nk_panel *pan)
15607 nk_panel_begin(struct nk_context *ctx, const char *title, enum nk_panel_type panel_type)
15830 nk_panel_end(struct nk_context *ctx)
16135 nk_create_window(struct nk_context *ctx)
16144 nk_free_window(struct nk_context *ctx, struct nk_window *win)
16171 nk_find_window(struct nk_context *ctx, nk_hash hash, const char *name)
16187 nk_insert_window(struct nk_context *ctx, struct nk_window *win,
16232 nk_remove_window(struct nk_context *ctx, struct nk_window *win)
16261 nk_begin(struct nk_context *ctx, const char *title,
16267 nk_begin_titled(struct nk_context *ctx, const char *name, const char *title,
16421 nk_end(struct nk_context *ctx)
16439 nk_window_get_bounds(const struct nk_context *ctx)
16447 nk_window_get_position(const struct nk_context *ctx)
16455 nk_window_get_size(const struct nk_context *ctx)
16463 nk_window_get_width(const struct nk_context *ctx)
16471 nk_window_get_height(const struct nk_context *ctx)
16479 nk_window_get_content_region(struct nk_context *ctx)
16487 nk_window_get_content_region_min(struct nk_context *ctx)
16496 nk_window_get_content_region_max(struct nk_context *ctx)
16506 nk_window_get_content_region_size(struct nk_context *ctx)
16515 nk_window_get_canvas(struct nk_context *ctx)
16524 nk_window_get_panel(struct nk_context *ctx)
16532 nk_window_get_scroll(struct nk_context *ctx, nk_uint *offset_x, nk_uint *offset_y)
16546 nk_window_has_focus(const struct nk_context *ctx)
16555 nk_window_is_hovered(struct nk_context *ctx)
16565 nk_window_is_any_hovered(struct nk_context *ctx)
16592 nk_item_is_any_active(struct nk_context *ctx)
16599 nk_window_is_collapsed(struct nk_context *ctx, const char *name)
16614 nk_window_is_closed(struct nk_context *ctx, const char *name)
16629 nk_window_is_hidden(struct nk_context *ctx, const char *name)
16644 nk_window_is_active(struct nk_context *ctx, const char *name)
16659 nk_window_find(struct nk_context *ctx, const char *name)
16668 nk_window_close(struct nk_context *ctx, const char *name)
16681 nk_window_set_bounds(struct nk_context *ctx,
16693 nk_window_set_position(struct nk_context *ctx,
16702 nk_window_set_size(struct nk_context *ctx,
16711 nk_window_set_scroll(struct nk_context *ctx, nk_uint offset_x, nk_uint offset_y)
16723 nk_window_collapse(struct nk_context *ctx, const char *name,
16741 nk_window_collapse_if(struct nk_context *ctx, const char *name,
16749 nk_window_show(struct nk_context *ctx, const char *name, enum nk_show_states s)
16766 nk_window_show_if(struct nk_context *ctx, const char *name,
16775 nk_window_set_focus(struct nk_context *ctx, const char *name)
16802 nk_popup_begin(struct nk_context *ctx, enum nk_popup_type type,
16898 nk_nonblock_begin(struct nk_context *ctx,
16981 nk_popup_close(struct nk_context *ctx)
16993 nk_popup_end(struct nk_context *ctx)
17025 nk_popup_get_scroll(struct nk_context *ctx, nk_uint *offset_x, nk_uint *offset_y)
17042 nk_popup_set_scroll(struct nk_context *ctx, nk_uint offset_x, nk_uint offset_y)
17066 nk_contextual_begin(struct nk_context *ctx, nk_flags flags, struct nk_vec2 size,
17125 nk_contextual_item_text(struct nk_context *ctx, const char *text, int len,
17155 nk_contextual_item_label(struct nk_context *ctx, const char *label, nk_flags align)
17160 nk_contextual_item_image_text(struct nk_context *ctx, struct nk_image img,
17190 nk_contextual_item_image_label(struct nk_context *ctx, struct nk_image img,
17196 nk_contextual_item_symbol_text(struct nk_context *ctx, enum nk_symbol_type symbol,
17226 nk_contextual_item_symbol_label(struct nk_context *ctx, enum nk_symbol_type symbol,
17232 nk_contextual_close(struct nk_context *ctx)
17241 nk_contextual_end(struct nk_context *ctx)
17288 nk_menubar_begin(struct nk_context *ctx)
17325 nk_menubar_end(struct nk_context *ctx)
17356 nk_menu_begin(struct nk_context *ctx, struct nk_window *win,
17389 nk_menu_begin_text(struct nk_context *ctx, const char *title, int len,
17413 NK_API int nk_menu_begin_label(struct nk_context *ctx,
17419 nk_menu_begin_image(struct nk_context *ctx, const char *id, struct nk_image img,
17444 nk_menu_begin_symbol(struct nk_context *ctx, const char *id,
17469 nk_menu_begin_image_text(struct nk_context *ctx, const char *title, int len,
17495 nk_menu_begin_image_label(struct nk_context *ctx,
17501 nk_menu_begin_symbol_text(struct nk_context *ctx, const char *title, int len,
17527 nk_menu_begin_symbol_label(struct nk_context *ctx,
17533 nk_menu_item_text(struct nk_context *ctx, const char *title, int len, nk_flags align)
17538 nk_menu_item_label(struct nk_context *ctx, const char *label, nk_flags align)
17543 nk_menu_item_image_label(struct nk_context *ctx, struct nk_image img,
17549 nk_menu_item_image_text(struct nk_context *ctx, struct nk_image img,
17554 NK_API int nk_menu_item_symbol_text(struct nk_context *ctx, enum nk_symbol_type sym,
17559 NK_API int nk_menu_item_symbol_label(struct nk_context *ctx, enum nk_symbol_type sym,
17564 NK_API void nk_menu_close(struct nk_context *ctx)
17569 nk_menu_end(struct nk_context *ctx)
17584 nk_layout_set_min_row_height(struct nk_context *ctx, float height)
17600 nk_layout_reset_min_row_height(struct nk_context *ctx)
17638 nk_panel_layout(const struct nk_context *ctx, struct nk_window *win,
17690 nk_row_layout(struct nk_context *ctx, enum nk_layout_format fmt,
17713 nk_layout_ratio_from_pixel(struct nk_context *ctx, float pixel_width)
17723 nk_layout_row_dynamic(struct nk_context *ctx, float height, int cols)
17728 nk_layout_row_static(struct nk_context *ctx, float height, int item_width, int cols)
17733 nk_layout_row_begin(struct nk_context *ctx, enum nk_layout_format fmt,
17759 nk_layout_row_push(struct nk_context *ctx, float ratio_or_width)
17785 nk_layout_row_end(struct nk_context *ctx)
17805 nk_layout_row(struct nk_context *ctx, enum nk_layout_format fmt,
17844 nk_layout_row_template_begin(struct nk_context *ctx, float height)
17871 nk_layout_row_template_push_dynamic(struct nk_context *ctx)
17891 nk_layout_row_template_push_variable(struct nk_context *ctx, float min_width)
17911 nk_layout_row_template_push_static(struct nk_context *ctx, float width)
17931 nk_layout_row_template_end(struct nk_context *ctx)
17982 nk_layout_space_begin(struct nk_context *ctx, enum nk_layout_format fmt,
18007 nk_layout_space_end(struct nk_context *ctx)
18026 nk_layout_space_push(struct nk_context *ctx, struct nk_rect rect)
18042 nk_layout_space_bounds(struct nk_context *ctx)
18061 nk_layout_widget_bounds(struct nk_context *ctx)
18080 nk_layout_space_to_screen(struct nk_context *ctx, struct nk_vec2 ret)
18096 nk_layout_space_to_local(struct nk_context *ctx, struct nk_vec2 ret)
18112 nk_layout_space_rect_to_screen(struct nk_context *ctx, struct nk_rect ret)
18128 nk_layout_space_rect_to_local(struct nk_context *ctx, struct nk_rect ret)
18144 nk_panel_alloc_row(const struct nk_context *ctx, struct nk_window *win)
18152 nk_layout_widget_space(struct nk_rect *bounds, const struct nk_context *ctx,
18289 nk_panel_alloc_space(struct nk_rect *bounds, const struct nk_context *ctx)
18311 nk_layout_peek(struct nk_rect *bounds, struct nk_context *ctx)
18350 nk_tree_state_base(struct nk_context *ctx, enum nk_tree_type type,
18458 nk_tree_base(struct nk_context *ctx, enum nk_tree_type type,
18480 nk_tree_state_push(struct nk_context *ctx, enum nk_tree_type type,
18486 nk_tree_state_image_push(struct nk_context *ctx, enum nk_tree_type type,
18492 nk_tree_state_pop(struct nk_context *ctx)
18511 nk_tree_push_hashed(struct nk_context *ctx, enum nk_tree_type type,
18518 nk_tree_image_push_hashed(struct nk_context *ctx, enum nk_tree_type type,
18525 nk_tree_pop(struct nk_context *ctx)
18530 nk_tree_element_image_push_hashed_base(struct nk_context *ctx, enum nk_tree_type type,
18641 nk_tree_element_base(struct nk_context *ctx, enum nk_tree_type type,
18663 nk_tree_element_push_hashed(struct nk_context *ctx, enum nk_tree_type type,
18670 nk_tree_element_image_push_hashed(struct nk_context *ctx, enum nk_tree_type type,
18677 nk_tree_element_pop(struct nk_context *ctx)
18692 nk_group_scrolled_offset_begin(struct nk_context *ctx,
18741 nk_group_scrolled_end(struct nk_context *ctx)
18803 nk_group_scrolled_begin(struct nk_context *ctx,
18809 nk_group_begin_titled(struct nk_context *ctx, const char *id,
18842 nk_group_begin(struct nk_context *ctx, const char *title, nk_flags flags)
18847 nk_group_end(struct nk_context *ctx)
18852 nk_group_get_scroll(struct nk_context *ctx, const char *id, nk_uint *x_offset, nk_uint *y_offset)
18887 nk_group_set_scroll(struct nk_context *ctx, const char *id, nk_uint x_offset, nk_uint y_offset)
18929 nk_list_view_begin(struct nk_context *ctx, struct nk_list_view *view,
18985 struct nk_context *ctx;
19012 nk_widget_bounds(struct nk_context *ctx)
19023 nk_widget_position(struct nk_context *ctx)
19035 nk_widget_size(struct nk_context *ctx)
19047 nk_widget_width(struct nk_context *ctx)
19059 nk_widget_height(struct nk_context *ctx)
19071 nk_widget_is_hovered(struct nk_context *ctx)
19093 nk_widget_is_mouse_clicked(struct nk_context *ctx, enum nk_buttons btn)
19115 nk_widget_has_mouse_click_down(struct nk_context *ctx, enum nk_buttons btn, int down)
19137 nk_widget(struct nk_rect *bounds, const struct nk_context *ctx)
19185 nk_widget_fitting(struct nk_rect *bounds, struct nk_context *ctx,
19218 nk_spacing(struct nk_context *ctx, int cols)
19343 nk_text_colored(struct nk_context *ctx, const char *str, int len,
19370 nk_text_wrap_colored(struct nk_context *ctx, const char *str,
19398 nk_labelf_colored(struct nk_context *ctx, nk_flags flags,
19407 nk_labelf_colored_wrap(struct nk_context *ctx, struct nk_color color,
19416 nk_labelf(struct nk_context *ctx, nk_flags flags, const char *fmt, ...)
19424 nk_labelf_wrap(struct nk_context *ctx, const char *fmt,...)
19432 nk_labelfv_colored(struct nk_context *ctx, nk_flags flags,
19441 nk_labelfv_colored_wrap(struct nk_context *ctx, struct nk_color color,
19450 nk_labelfv(struct nk_context *ctx, nk_flags flags, const char *fmt, va_list args)
19458 nk_labelfv_wrap(struct nk_context *ctx, const char *fmt, va_list args)
19466 nk_value_bool(struct nk_context *ctx, const char *prefix, int value)
19471 nk_value_int(struct nk_context *ctx, const char *prefix, int value)
19476 nk_value_uint(struct nk_context *ctx, const char *prefix, unsigned int value)
19481 nk_value_float(struct nk_context *ctx, const char *prefix, float value)
19487 nk_value_color_byte(struct nk_context *ctx, const char *p, struct nk_color c)
19492 nk_value_color_float(struct nk_context *ctx, const char *p, struct nk_color color)
19499 nk_value_color_hex(struct nk_context *ctx, const char *prefix, struct nk_color color)
19507 nk_text(struct nk_context *ctx, const char *str, int len, nk_flags alignment)
19514 nk_text_wrap(struct nk_context *ctx, const char *str, int len)
19521 nk_label(struct nk_context *ctx, const char *str, nk_flags alignment)
19526 nk_label_colored(struct nk_context *ctx, const char *str, nk_flags align,
19532 nk_label_wrap(struct nk_context *ctx, const char *str)
19537 nk_label_colored_wrap(struct nk_context *ctx, const char *str, struct nk_color color)
19653 nk_image(struct nk_context *ctx, struct nk_image img)
19668 nk_image_color(struct nk_context *ctx, struct nk_image img, struct nk_color col)
20070 nk_button_set_behavior(struct nk_context *ctx, enum nk_button_behavior behavior)
20077 nk_button_push_behavior(struct nk_context *ctx, enum nk_button_behavior behavior)
20097 nk_button_pop_behavior(struct nk_context *ctx)
20115 nk_button_text_styled(struct nk_context *ctx,
20142 nk_button_text(struct nk_context *ctx, const char *title, int len)
20148 NK_API int nk_button_label_styled(struct nk_context *ctx,
20153 NK_API int nk_button_label(struct nk_context *ctx, const char *title)
20158 nk_button_color(struct nk_context *ctx, struct nk_color color)
20193 nk_button_symbol_styled(struct nk_context *ctx,
20218 nk_button_symbol(struct nk_context *ctx, enum nk_symbol_type symbol)
20225 nk_button_image_styled(struct nk_context *ctx, const struct nk_style_button *style,
20251 nk_button_image(struct nk_context *ctx, struct nk_image img)
20258 nk_button_symbol_text_styled(struct nk_context *ctx,
20286 nk_button_symbol_text(struct nk_context *ctx, enum nk_symbol_type symbol,
20293 NK_API int nk_button_symbol_label(struct nk_context *ctx, enum nk_symbol_type symbol,
20298 NK_API int nk_button_symbol_label_styled(struct nk_context *ctx,
20305 nk_button_image_text_styled(struct nk_context *ctx,
20333 nk_button_image_text(struct nk_context *ctx, struct nk_image img,
20338 NK_API int nk_button_image_label(struct nk_context *ctx, struct nk_image img,
20343 NK_API int nk_button_image_label_styled(struct nk_context *ctx,
20526 nk_check_text(struct nk_context *ctx, const char *text, int len, int active)
20554 nk_check_flags_text(struct nk_context *ctx, const char *text, int len,
20568 nk_checkbox_text(struct nk_context *ctx, const char *text, int len, int *active)
20580 nk_checkbox_flags_text(struct nk_context *ctx, const char *text, int len,
20597 NK_API int nk_check_label(struct nk_context *ctx, const char *label, int active)
20601 NK_API unsigned int nk_check_flags_label(struct nk_context *ctx, const char *label,
20606 NK_API int nk_checkbox_label(struct nk_context *ctx, const char *label, int *active)
20610 NK_API int nk_checkbox_flags_label(struct nk_context *ctx, const char *label,
20621 nk_option_text(struct nk_context *ctx, const char *text, int len, int is_active)
20649 nk_radio_text(struct nk_context *ctx, const char *text, int len, int *active)
20661 nk_option_label(struct nk_context *ctx, const char *label, int active)
20666 nk_radio_label(struct nk_context *ctx, const char *label, int *active)
20861 nk_selectable_text(struct nk_context *ctx, const char *str, int len,
20890 nk_selectable_image_text(struct nk_context *ctx, struct nk_image img,
20919 nk_selectable_symbol_text(struct nk_context *ctx, enum nk_symbol_type sym,
20948 nk_selectable_symbol_label(struct nk_context *ctx, enum nk_symbol_type sym,
20953 NK_API int nk_select_text(struct nk_context *ctx, const char *str, int len,
20958 NK_API int nk_selectable_label(struct nk_context *ctx, const char *str, nk_flags align, int *value)
20962 NK_API int nk_selectable_image_label(struct nk_context *ctx,struct nk_image img,
20967 NK_API int nk_select_label(struct nk_context *ctx, const char *str, nk_flags align, int value)
20971 NK_API int nk_select_image_label(struct nk_context *ctx, struct nk_image img,
20976 NK_API int nk_select_image_text(struct nk_context *ctx, struct nk_image img,
20982 nk_select_symbol_text(struct nk_context *ctx, enum nk_symbol_type sym,
20988 nk_select_symbol_label(struct nk_context *ctx, enum nk_symbol_type sym,
21194 nk_slider_float(struct nk_context *ctx, float min_value, float *value, float max_value,
21228 nk_slide_float(struct nk_context *ctx, float min, float val, float max, float step)
21233 nk_slide_int(struct nk_context *ctx, int min, int val, int max, int step)
21240 nk_slider_int(struct nk_context *ctx, int min, int *val, int max, int step)
21355 nk_progress(struct nk_context *ctx, nk_size *cur, nk_size max, int is_modifyable)
21386 nk_prog(struct nk_context *ctx, nk_size cur, nk_size max, int modifyable)
23370 nk_edit_focus(struct nk_context *ctx, nk_flags flags)
23387 nk_edit_unfocus(struct nk_context *ctx)
23399 nk_edit_string(struct nk_context *ctx, nk_flags flags,
23455 nk_edit_buffer(struct nk_context *ctx, nk_flags flags,
23516 nk_edit_string_zero_terminated(struct nk_context *ctx, nk_flags flags,
23838 nk_property(struct nk_context *ctx, const char *name, struct nk_property_variant *variant,
23938 nk_property_int(struct nk_context *ctx, const char *name,
23952 nk_property_float(struct nk_context *ctx, const char *name,
23966 nk_property_double(struct nk_context *ctx, const char *name,
23980 nk_propertyi(struct nk_context *ctx, const char *name, int min, int val,
23994 nk_propertyf(struct nk_context *ctx, const char *name, float min,
24008 nk_propertyd(struct nk_context *ctx, const char *name, double min,
24032 nk_chart_begin_colored(struct nk_context *ctx, enum nk_chart_type type,
24091 nk_chart_begin(struct nk_context *ctx, const enum nk_chart_type type,
24098 nk_chart_add_slot_colored(struct nk_context *ctx, const enum nk_chart_type type,
24121 nk_chart_add_slot(struct nk_context *ctx, const enum nk_chart_type type,
24128 nk_chart_push_line(struct nk_context *ctx, struct nk_window *win,
24198 nk_chart_push_column(const struct nk_context *ctx, struct nk_window *win,
24244 nk_chart_push_slot(struct nk_context *ctx, float value, int slot)
24270 nk_chart_push(struct nk_context *ctx, float value)
24275 nk_chart_end(struct nk_context *ctx)
24291 nk_plot(struct nk_context *ctx, enum nk_chart_type type, const float *values,
24316 nk_plot_function(struct nk_context *ctx, enum nk_chart_type type, void *userdata,
24508 nk_color_pick(struct nk_context * ctx, struct nk_colorf *color,
24536 nk_color_picker(struct nk_context *ctx, struct nk_colorf color,
24553 nk_combo_begin(struct nk_context *ctx, struct nk_window *win,
24587 nk_combo_begin_text(struct nk_context *ctx, const char *selected, int len,
24676 nk_combo_begin_label(struct nk_context *ctx, const char *selected, struct nk_vec2 size)
24681 nk_combo_begin_color(struct nk_context *ctx, struct nk_color color, struct nk_vec2 size)
24758 nk_combo_begin_symbol(struct nk_context *ctx, enum nk_symbol_type symbol, struct nk_vec2 size)
24845 nk_combo_begin_symbol_text(struct nk_context *ctx, const char *selected, int len,
24941 nk_combo_begin_image(struct nk_context *ctx, struct nk_image img, struct nk_vec2 size)
25018 nk_combo_begin_image_text(struct nk_context *ctx, const char *selected, int len,
25109 nk_combo_begin_symbol_label(struct nk_context *ctx,
25115 nk_combo_begin_image_label(struct nk_context *ctx,
25121 nk_combo_item_text(struct nk_context *ctx, const char *text, int len,nk_flags align)
25126 nk_combo_item_label(struct nk_context *ctx, const char *label, nk_flags align)
25131 nk_combo_item_image_text(struct nk_context *ctx, struct nk_image img, const char *text,
25137 nk_combo_item_image_label(struct nk_context *ctx, struct nk_image img,
25143 nk_combo_item_symbol_text(struct nk_context *ctx, enum nk_symbol_type sym,
25149 nk_combo_item_symbol_label(struct nk_context *ctx, enum nk_symbol_type sym,
25154 NK_API void nk_combo_end(struct nk_context *ctx)
25158 NK_API void nk_combo_close(struct nk_context *ctx)
25163 nk_combo(struct nk_context *ctx, const char **items, int count,
25193 nk_combo_separator(struct nk_context *ctx, const char *items_separated_by_separator,
25242 nk_combo_string(struct nk_context *ctx, const char *items_separated_by_zeros,
25248 nk_combo_callback(struct nk_context *ctx, void(*item_getter)(void*, int, const char**),
25281 nk_combobox(struct nk_context *ctx, const char **items, int count,
25287 nk_combobox_string(struct nk_context *ctx, const char *items_separated_by_zeros,
25293 nk_combobox_separator(struct nk_context *ctx, const char *items_separated_by_separator,
25300 nk_combobox_callback(struct nk_context *ctx,
25317 nk_tooltip_begin(struct nk_context *ctx, float width)
25356 nk_tooltip_end(struct nk_context *ctx)
25366 nk_tooltip(struct nk_context *ctx, const char *text)
25402 nk_tooltipf(struct nk_context *ctx, const char *fmt, ...)
25410 nk_tooltipfv(struct nk_context *ctx, const char *fmt, va_list args)
25626 /// iteration process from `nk_context`. So now you can
25743 /// you have to also set a delta time inside the `nk_context`.
25745 /// - 2016/07/15 (1.01.0) - Added software cursor to `nk_style` and `nk_context`.