Lines Matching refs:row_height
2349 /// void nk_layout_row_begin(struct nk_context *ctx, enum nk_layout_format fmt, float row_height, int cols);
2359 NK_API void nk_layout_row_begin(struct nk_context *ctx, enum nk_layout_format fmt, float row_height, int cols);
2400 /// void nk_layout_row_template_begin(struct nk_context*, float row_height);
2408 NK_API void nk_layout_row_template_begin(struct nk_context*, float row_height);
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);
5824 NK_LIB struct nk_vec2 nk_text_calculate_text_bounds(const struct nk_user_font *font, const char *begin, int byte_len, float row_height, const char **remaining, struct nk_vec2 *out_offset, int *glyphs, int op);
5858 NK_LIB void nk_textedit_click(struct nk_text_edit *state, float x, float y, const struct nk_user_font *font, float row_height);
5859 NK_LIB void nk_textedit_drag(struct nk_text_edit *state, float x, float y, const struct nk_user_font *font, float row_height);
5860 NK_LIB void nk_textedit_key(struct nk_text_edit *state, enum nk_keys key, int shift_mod, const struct nk_user_font *font, float row_height);
5972 NK_LIB void 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);
7379 const char *begin, int byte_len, float row_height, const char **remaining,
7382 float line_height = row_height;
7391 return nk_vec2(0,row_height);
17734 float row_height, int cols)
17747 nk_panel_layout(ctx, win, row_height, cols);
18148 const float row_height = layout->row.height - spacing.y;
18149 nk_panel_layout(ctx, win, row_height, layout->row.columns);
18360 float row_height;
18384 row_height = style->font->height + 2 * style->tab.padding.y;
18385 nk_layout_set_min_row_height(ctx, row_height);
18386 nk_layout_row_dynamic(ctx, row_height, 1);
18541 float row_height;
18570 row_height = style->font->height + 2 * style->tab.padding.y;
18571 nk_layout_set_min_row_height(ctx, row_height);
18572 nk_layout_row_dynamic(ctx, row_height, 1);
18930 const char *title, nk_flags flags, int row_height, int row_count)
18951 row_height += NK_MAX(0, (int)item_spacing.y);
18974 view->total_height = row_height * NK_MAX(row_count,1);
18975 view->begin = (int)NK_MAX(((float)view->scroll_value / (float)row_height), 0.0f);
18976 view->count = (int)NK_MAX(nk_iceilf((layout->clip.h)/(float)row_height),0);
21733 int line_start_id, float row_height, const struct nk_user_font *font)
21743 text, (int)(end - text), row_height, &remaining, 0, &glyphs, NK_STOP_ON_NEW_LINE);
21754 const struct nk_user_font *font, float row_height)
21767 nk_textedit_layout_row(&r, edit, i, row_height, font);
21814 const struct nk_user_font *font, float row_height)
21818 state->cursor = nk_textedit_locate_coord(state, x, y, font, row_height);
21825 const struct nk_user_font *font, float row_height)
21829 int p = nk_textedit_locate_coord(state, x, y, font, row_height);
21836 int n, int single_line, const struct nk_user_font *font, float row_height)
21849 nk_textedit_layout_row(&r, state, 0, row_height, font);
21857 nk_textedit_layout_row(&r, state, i, row_height, font);
21874 nk_textedit_layout_row(&r, state, i, row_height, font);
22097 const struct nk_user_font *font, float row_height)
22229 font, row_height);
22239 nk_textedit_layout_row(&row, state, state->cursor, row_height, font);
22277 font, row_height);
22286 nk_textedit_layout_row(&row, state, state->cursor, row_height, font);
22363 font, row_height);
22373 font, row_height);
22385 font, row_height);
22396 font, row_height);
22793 float x_offset, const char *text, int byte_len, float row_height,
22824 label.h = row_height;
22839 line_offset += row_height;
22858 label.h = row_height;
22878 float row_height;
22899 row_height = (flags & NK_EDIT_MULTILINE)? font->height + style->row_padding: area.h;
22947 nk_textedit_click(edit, mouse_x, mouse_y, font, row_height);
22950 nk_textedit_drag(edit, mouse_x, mouse_y, font, row_height);
22954 nk_textedit_key(edit, NK_KEY_TEXT_WORD_LEFT, nk_false, font, row_height);
22955 nk_textedit_key(edit, NK_KEY_TEXT_WORD_RIGHT, nk_true, font, row_height);
22964 nk_textedit_key(edit, (enum nk_keys)i, shift_mod, font, row_height);
23100 cursor_pos.y = (float)(total_lines-1) * row_height;
23102 text_len-row_begin, row_height, &remaining,
23118 selection_offset_start.y = (float)(NK_MAX(total_lines-1,0)) * row_height;
23120 text_len-row_begin, row_height, &remaining,
23136 selection_offset_end.y = (float)(total_lines-1) * row_height;
23138 text_len-row_begin, row_height, &remaining,
23164 text_size.y = (float)total_lines * row_height;
23169 cursor_pos.y = text_size.y - row_height;
23189 edit->scrollbar.y = NK_MAX(0.0f, cursor_pos.y - row_height);
23191 edit->scrollbar.y = edit->scrollbar.y + row_height;
23262 area.y - edit->scrollbar.y, 0, begin, l, row_height, font,
23272 row_height, font, background_color, text_color, nk_false);
23286 row_height, font, sel_background_color, sel_text_color, nk_true);
23300 begin, (int)(end - begin), row_height, font,
23315 cursor.y = area.y + cursor_pos.y + row_height/2.0f - cursor.h/2.0f;
23331 label.h = row_height;
23363 area.y - edit->scrollbar.y, 0, begin, l, row_height, font,