Lines Matching defs:count

2212 ///         // static row with height: 500 (you can set column count to INT_MAX if you don't want to be bothered)
2220 /// // dynamic row with height: 500 (you can set column count to INT_MAX if you don't want to be bothered)
3028 int begin, end, count;
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);
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);
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);
4790 NK_API void nk_draw_list_fill_poly_convex(struct nk_draw_list*, const struct nk_vec2 *points, const unsigned int count, struct nk_color, enum nk_anti_aliasing);
5274 int count;
5607 unsigned int count;
6406 /* too small of a word count */
6694 int count = (int)(&str[str_iter] - str);
6695 int penalty = NK_LEADING_LETTER_PENALTY * count;
9312 nk_draw_list_alloc_path(struct nk_draw_list *list, int count)
9319 point_size * (nk_size)count, point_align);
9326 list->path_count += (unsigned int)count;
9427 nk_draw_list_alloc_vertices(struct nk_draw_list *list, nk_size count)
9433 list->config.vertex_size*count, list->config.vertex_alignment);
9435 list->vertex_count += (unsigned int)count;
9451 nk_draw_list_alloc_elements(struct nk_draw_list *list, nk_size count)
9461 nk_buffer_alloc(list->elements, NK_BUFFER_FRONT, elem_size*count, elem_align);
9464 list->element_count += (unsigned int)count;
9465 cmd->elem_count += (unsigned int)count;
9628 nk_size count;
9636 count = points_count;
9637 if (!closed) count = points_count-1;
9660 const nk_size idx_count = (thick_line) ? (count * 18) : (count * 12);
9682 for (i1 = 0; i1 < count; ++i1) {
9714 for (i1 = 0; i1 < count; i1++) {
9773 for (i1 = 0; i1 < count; ++i1) {
9823 const nk_size idx_count = count * 6;
9824 const nk_size vtx_count = count * 4;
9829 for (i1 = 0; i1 < count; ++i1) {
10590 /* we allocate two extra nodes so optimal user-node-count is 'width' not 'width+2' */
11183 nk_uint count = nk_ttUSHORT(data + index_map + 8);
11184 if ((nk_uint) unicode_codepoint >= first && (nk_uint) unicode_codepoint < first+count)
11619 int count = (size < 32 ? 2000 : size < 128 ? 800 : 100);
11622 sizeof(struct nk_tt__hheap_chunk) + size * (nk_size)count);
11626 hh->num_remaining_in_head_chunk = count;
12147 /* count how many "moves" there are to get the contour count */
12624 nk_range_glyph_count(const nk_rune *range, int count)
12628 for (i = 0; i < count; ++i) {
12682 struct nk_font_config *config_list, int count)
12707 *temp += (nk_size)count * sizeof(struct nk_font_bake_data);
12713 nk_font_baker(void *memory, int glyph_count, int count, struct nk_allocator *alloc)
12720 baker->packed_chars = (struct nk_tt_packedchar*)NK_ALIGN_PTR((baker->build + count), nk_char_align);
12729 const struct nk_font_config *config_list, int count,
12743 NK_ASSERT(count);
12746 if (!image_memory || !width || !height || !config_list || !count) return nk_false;
12788 for (input_i = 0, config_iter = config_list; input_i < count && config_iter;
12797 /* count glyphs + ranges in current font */
13070 int count;
13082 do {count = nk_range_count(iter->range);
13083 for (i = 0; i < count; ++i) {
15064 ctx->count = 0;
15273 if (!ctx->count) return 0;
15294 if (!ctx || !cmd || !ctx->count) return 0;
16208 ctx->count = 1;
16229 ctx->count++;
16258 ctx->count--;
18976 view->count = (int)NK_MAX(nk_iceilf((layout->clip.h)/(float)row_height),0);
18977 view->count = NK_MIN(view->count, row_count - view->begin);
18978 view->end = view->begin + view->count;
23072 /* calculate total line count + total space + cursor/selection position */
24034 int count, float min_value, float max_value)
24072 slot->count = count;
24092 int count, float min_value, float max_value)
24095 ctx->style.chart.selected_color, count, min_value, max_value);
24100 int count, float min_value, float max_value)
24113 slot->count = count;
24122 int count, float min_value, float max_value)
24125 ctx->style.chart.selected_color, count, min_value, max_value);
24144 step = g->w / (float)g->slots[slot].count;
24211 if (chart->slots[slot].index >= chart->slots[slot].count)
24213 if (chart->slots[slot].count) {
24214 float padding = (float)(chart->slots[slot].count-1);
24215 item.w = (chart->w - padding) / (float)(chart->slots[slot].count);
24292 int count, int offset)
24300 if (!ctx || !values || !count) return;
24304 for (i = 0; i < count; ++i) {
24309 if (nk_chart_begin(ctx, type, count, min_value, max_value)) {
24310 for (i = 0; i < count; ++i)
24317 float(*value_getter)(void* user, int index), int count, int offset)
24325 if (!ctx || !value_getter || !count) return;
24328 for (i = 0; i < count; ++i) {
24334 if (nk_chart_begin(ctx, type, count, min_value, max_value)) {
24335 for (i = 0; i < count; ++i)
25163 nk_combo(struct nk_context *ctx, const char **items, int count,
25174 if (!ctx || !items ||!count)
25179 max_height = count * item_height + count * (int)item_spacing.y;
25184 for (i = 0; i < count; ++i) {
25194 int separator, int selected, int count, int item_height, struct nk_vec2 size)
25212 max_height = count * item_height + count * (int)item_spacing.y;
25218 for (i = 0; i < count; ++i) {
25229 for (i = 0; i < count; ++i) {
25243 int selected, int count, int item_height, struct nk_vec2 size)
25245 return nk_combo_separator(ctx, items_separated_by_zeros, '\0', selected, count, item_height, size);
25249 void *userdata, int selected, int count, int item_height, struct nk_vec2 size)
25265 max_height = count * item_height + count * (int)item_spacing.y;
25272 for (i = 0; i < count; ++i) {
25281 nk_combobox(struct nk_context *ctx, const char **items, int count,
25284 *selected = nk_combo(ctx, items, count, *selected, item_height, size);
25288 int *selected, int count, int item_height, struct nk_vec2 size)
25290 *selected = nk_combo_string(ctx, items_separated_by_zeros, *selected, count, item_height, size);
25294 int separator,int *selected, int count, int item_height, struct nk_vec2 size)
25297 *selected, count, item_height, size);
25302 void *userdata, int *selected, int count, int item_height, struct nk_vec2 size)
25304 *selected = nk_combo_callback(ctx, item_getter, userdata, *selected, count, item_height, size);