H A D | nuklear.h | 105 /// NK_INCLUDE_COMMAND_USERDATA | Defining this adds a userdata pointer into each command. Can be useful for example if you want to provide custom shaders depending on the used widget. Can be combined with the style structures. 517 /// They are used for window, memory, input, style, stack, commands and time management and need 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); 5439 /* The style modifier stack can be used to temporarily change a 5445 * nk_style_push_style_item(ctx, &ctx->style.button.normal, nk_style_item_color(nk_rgb(255,0,0))); 5446 * nk_style_push_style_item(ctx, &ctx->style.button.hover, nk_style_item_color(nk_rgb(255,0,0))); 5447 * nk_style_push_style_item(ctx, &ctx->style.button.active, nk_style_item_color(nk_rgb(255,0,0))); 5448 * nk_style_push_vec2(ctx, &cx->style.button.padding, nk_vec2(2,2)); 5573 struct nk_style style; member 5896 NK_LIB struct nk_vec2 nk_panel_get_padding(const struct nk_style *style, enu 14275 struct nk_style *style; nk_style_from_table() local 14819 struct nk_style *style; nk_style_set_font() local 14914 struct nk_style *style; nk_style_set_cursor() local 14938 struct nk_style *style; nk_style_load_cursor() local 14948 struct nk_style *style; nk_style_load_all_cursors() local 15555 nk_panel_get_padding(const struct nk_style *style, enum nk_panel_type type) nk_panel_get_padding() argument 15568 nk_panel_get_border(const struct nk_style *style, nk_flags flags, enum nk_panel_type type) nk_panel_get_border() argument 15584 nk_panel_get_border_color(const struct nk_style *style, enum nk_panel_type type) nk_panel_get_border_color() argument 15613 const struct nk_style *style; nk_panel_begin() local 15835 const struct nk_style *style; nk_panel_end() local 16271 struct nk_style *style; nk_begin_titled() local 17130 const struct nk_style *style; nk_contextual_item_text() local 17165 const struct nk_style *style; nk_contextual_item_image_text() local 17201 const struct nk_style *style; nk_contextual_item_symbol_text() local 17618 nk_layout_row_calculate_usable_space(const struct nk_style *style, enum nk_panel_type type, float total_space, int columns) nk_layout_row_calculate_usable_space() argument 17642 const struct nk_style *style; nk_panel_layout() local 18156 const struct nk_style *style; nk_layout_widget_space() local 18355 const struct nk_style *style; nk_tree_state_base() local 18536 const struct nk_style *style; nk_tree_element_image_push_hashed_base() local 18940 const struct nk_style *style; nk_list_view_begin() local 19190 struct nk_style *style; nk_widget_fitting() local 19347 const struct nk_style *style; nk_text_colored() local 19374 const struct nk_style *style; nk_text_wrap_colored() local 19773 nk_draw_button(struct nk_command_buffer *out, const struct nk_rect *bounds, nk_flags state, const struct nk_style_button *style) nk_draw_button() argument 19793 nk_do_button(nk_flags *state, struct nk_command_buffer *out, struct nk_rect r, const struct nk_style_button *style, const struct nk_input *in, enum nk_button_behavior behavior, struct nk_rect *content) nk_do_button() argument 19818 nk_draw_button_text(struct nk_command_buffer *out, const struct nk_rect *bounds, const struct nk_rect *content, nk_flags state, const struct nk_style_button *style, const char *txt, int len, nk_flags text_alignment, const struct nk_user_font *font) nk_draw_button_text() argument 19841 nk_do_button_text(nk_flags *state, struct nk_command_buffer *out, struct nk_rect bounds, const char *string, int len, nk_flags align, enum nk_button_behavior behavior, const struct nk_style_button *style, const struct nk_input *in, const struct nk_user_font *font) nk_do_button_text() argument 19865 nk_draw_button_symbol(struct nk_command_buffer *out, const struct nk_rect *bounds, const struct nk_rect *content, nk_flags state, const struct nk_style_button *style, enum nk_symbol_type type, const struct nk_user_font *font) nk_draw_button_symbol() argument 19887 nk_do_button_symbol(nk_flags *state, struct nk_command_buffer *out, struct nk_rect bounds, enum nk_symbol_type symbol, enum nk_button_behavior behavior, const struct nk_style_button *style, const struct nk_input *in, const struct nk_user_font *font) nk_do_button_symbol() argument 19910 nk_draw_button_image(struct nk_command_buffer *out, const struct nk_rect *bounds, const struct nk_rect *content, nk_flags state, const struct nk_style_button *style, const struct nk_image *img) nk_draw_button_image() argument 19918 nk_do_button_image(nk_flags *state, struct nk_command_buffer *out, struct nk_rect bounds, struct nk_image img, enum nk_button_behavior b, const struct nk_style_button *style, const struct nk_input *in) nk_do_button_image() argument 19944 nk_draw_button_text_symbol(struct nk_command_buffer *out, const struct nk_rect *bounds, const struct nk_rect *label, const struct nk_rect *symbol, nk_flags state, const struct nk_style_button *style, const char *str, int len, enum nk_symbol_type type, const struct nk_user_font *font) nk_draw_button_text_symbol() argument 19977 nk_do_button_text_symbol(nk_flags *state, struct nk_command_buffer *out, struct nk_rect bounds, enum nk_symbol_type symbol, const char *str, int len, nk_flags align, enum nk_button_behavior behavior, const struct nk_style_button *style, const struct nk_user_font *font, const struct nk_input *in) nk_do_button_text_symbol() argument 20009 nk_draw_button_text_image(struct nk_command_buffer *out, const struct nk_rect *bounds, const struct nk_rect *label, const struct nk_rect *image, nk_flags state, const struct nk_style_button *style, const char *str, int len, const struct nk_user_font *font, const struct nk_image *img) nk_draw_button_text_image() argument 20034 nk_do_button_text_image(nk_flags *state, struct nk_command_buffer *out, struct nk_rect bounds, struct nk_image img, const char* str, int len, nk_flags align, enum nk_button_behavior behavior, const struct nk_style_button *style, const struct nk_user_font *font, const struct nk_input *in) nk_do_button_text_image() argument 20115 nk_button_text_styled(struct nk_context *ctx, const struct nk_style_button *style, const char *title, int len) nk_button_text_styled() argument 20148 nk_button_label_styled(struct nk_context *ctx, const struct nk_style_button *style, const char *title) nk_button_label_styled() argument 20193 nk_button_symbol_styled(struct nk_context *ctx, const struct nk_style_button *style, enum nk_symbol_type symbol) nk_button_symbol_styled() argument 20225 nk_button_image_styled(struct nk_context *ctx, const struct nk_style_button *style, struct nk_image img) nk_button_image_styled() argument 20258 nk_button_symbol_text_styled(struct nk_context *ctx, const struct nk_style_button *style, enum nk_symbol_type symbol, const char *text, int len, nk_flags align) nk_button_symbol_text_styled() argument 20298 nk_button_symbol_label_styled(struct nk_context *ctx, const struct nk_style_button *style, enum nk_symbol_type symbol, const char *title, nk_flags align) nk_button_symbol_label_styled() argument 20305 nk_button_image_text_styled(struct nk_context *ctx, const struct nk_style_button *style, struct nk_image img, const char *text, int len, nk_flags align) nk_button_image_text_styled() argument 20343 nk_button_image_label_styled(struct nk_context *ctx, const struct nk_style_button *style, struct nk_image img, const char *label, nk_flags text_alignment) nk_button_image_label_styled() argument 20375 nk_draw_checkbox(struct nk_command_buffer *out, nk_flags state, const struct nk_style_toggle *style, int active, const struct nk_rect *label, const struct nk_rect *selector, const struct nk_rect *cursors, const char *string, int len, const struct nk_user_font *font) nk_draw_checkbox() argument 20417 nk_draw_option(struct nk_command_buffer *out, nk_flags state, const struct nk_style_toggle *style, int active, const struct nk_rect *label, const struct nk_rect *selector, const struct nk_rect *cursors, const char *string, int len, const struct nk_user_font *font) nk_draw_option() argument 20459 nk_do_toggle(nk_flags *state, struct nk_command_buffer *out, struct nk_rect r, int *active, const char *str, int len, enum nk_toggle_type type, const struct nk_style_toggle *style, const struct nk_input *in, const struct nk_user_font *font) nk_do_toggle() argument 20531 const struct nk_style *style; nk_check_text() local 20626 const struct nk_style *style; nk_option_text() local 20681 nk_draw_selectable(struct nk_command_buffer *out, nk_flags state, const struct nk_style_selectable *style, int active, const struct nk_rect *bounds, const struct nk_rect *icon, const struct nk_image *img, enum nk_symbol_type sym, const char *string, int len, nk_flags align, const struct nk_user_font *font) nk_draw_selectable() argument 20730 nk_do_selectable(nk_flags *state, struct nk_command_buffer *out, struct nk_rect bounds, const char *str, int len, nk_flags align, int *value, const struct nk_style_selectable *style, const struct nk_input *in, const struct nk_user_font *font) nk_do_selectable() argument 20766 nk_do_selectable_image(nk_flags *state, struct nk_command_buffer *out, struct nk_rect bounds, const char *str, int len, nk_flags align, int *value, const struct nk_image *img, const struct nk_style_selectable *style, const struct nk_input *in, const struct nk_user_font *font) nk_do_selectable_image() argument 20813 nk_do_selectable_symbol(nk_flags *state, struct nk_command_buffer *out, struct nk_rect bounds, const char *str, int len, nk_flags align, int *value, enum nk_symbol_type sym, const struct nk_style_selectable *style, const struct nk_input *in, const struct nk_user_font *font) nk_do_selectable_symbol() argument 20867 const struct nk_style *style; nk_selectable_text() local 20896 const struct nk_style *style; nk_selectable_image_text() local 20925 const struct nk_style *style; nk_selectable_symbol_text() local 21046 nk_draw_slider(struct nk_command_buffer *out, nk_flags state, const struct nk_style_slider *style, const struct nk_rect *bounds, const struct nk_rect *visual_cursor, float min, float value, float max) nk_draw_slider() argument 21105 nk_do_slider(nk_flags *state, struct nk_command_buffer *out, struct nk_rect bounds, float min, float val, float max, float step, const struct nk_style_slider *style, struct nk_input *in, const struct nk_user_font *font) nk_do_slider() argument 21200 const struct nk_style *style; nk_slider_float() local 21289 nk_draw_progress(struct nk_command_buffer *out, nk_flags state, const struct nk_style_progress *style, const struct nk_rect *bounds, const struct nk_rect *scursor, nk_size value, nk_size max) nk_draw_progress() argument 21324 nk_do_progress(nk_flags *state, struct nk_command_buffer *out, struct nk_rect bounds, nk_size value, nk_size max, int modifiable, const struct nk_style_progress *style, struct nk_input *in) nk_do_progress() argument 21359 const struct nk_style *style; nk_progress() local 21478 nk_draw_scrollbar(struct nk_command_buffer *out, nk_flags state, const struct nk_style_scrollbar *style, const struct nk_rect *bounds, const struct nk_rect *scroll) nk_draw_scrollbar() argument 21512 nk_do_scrollbarv(nk_flags *state, struct nk_command_buffer *out, struct nk_rect scroll, int has_scrolling, float offset, float target, float step, float button_pixel_inc, const struct nk_style_scrollbar *style, struct nk_input *in, const struct nk_user_font *font) nk_do_scrollbarv() argument 21601 nk_do_scrollbarh(nk_flags *state, struct nk_command_buffer *out, struct nk_rect scroll, int has_scrolling, float offset, float target, float step, float button_pixel_inc, const struct nk_style_scrollbar *style, struct nk_input *in, const struct nk_user_font *font) nk_do_scrollbarh() argument 22791 nk_edit_draw_text(struct nk_command_buffer *out, const struct nk_style_edit *style, float pos_x, float pos_y, float x_offset, const char *text, int byte_len, float row_height, const struct nk_user_font *font, struct nk_color background, struct nk_color foreground, int is_selected) nk_edit_draw_text() argument 22871 nk_do_edit(nk_flags *state, struct nk_command_buffer *out, struct nk_rect bounds, nk_flags flags, nk_plugin_filter filter, struct nk_text_edit *edit, const struct nk_style_edit *style, struct nk_input *in, const struct nk_user_font *font) nk_do_edit() argument 23459 struct nk_style *style; nk_edit_buffer() local 23594 nk_draw_property(struct nk_command_buffer *out, const struct nk_style_property *style, const struct nk_rect *bounds, const struct nk_rect *label, nk_flags state, const char *name, int len, const struct nk_user_font *font) nk_draw_property() argument 23628 nk_do_property(nk_flags *ws, struct nk_command_buffer *out, struct nk_rect property, const char *name, struct nk_property_variant *variant, float inc_per_pixel, char *buffer, int *len, int *state, int *cursor, int *select_begin, int *select_end, const struct nk_style_property *style, enum nk_property_filter filter, struct nk_input *in, const struct nk_user_font *font, struct nk_text_edit *text_edit, enum nk_button_behavior behavior) nk_do_property() argument 23844 const struct nk_style *style; nk_property() local 24039 const struct nk_style_chart *style; nk_chart_begin_colored() local 24592 struct nk_style *style; nk_combo_begin_text() local 24684 struct nk_style *style; nk_combo_begin_color() local 24761 struct nk_style *style; nk_combo_begin_symbol() local 24849 struct nk_style *style; nk_combo_begin_symbol_text() local 24944 struct nk_style *style; nk_combo_begin_image() local 25022 struct nk_style *style; nk_combo_begin_image_text() local 25368 const struct nk_style *style; nk_tooltip() local [all...] |