Lines Matching defs:x_offset

2696 /// int nk_group_scrolled_offset_begin(struct nk_context*, nk_uint *x_offset, nk_uint *y_offset, const char *title, nk_flags flags);
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);
2741 /// void nk_group_get_scroll(struct nk_context*, const char *id, nk_uint *x_offset, nk_uint *y_offset);
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);
2765 NK_API void nk_group_set_scroll(struct nk_context*, const char *id, nk_uint x_offset, nk_uint y_offset);
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);
18693 nk_uint *x_offset, nk_uint *y_offset, const char *title, nk_flags flags)
18713 panel.scrollbar.x = *x_offset;
18722 panel.layout->offset_x = x_offset;
18815 nk_uint *x_offset;
18829 x_offset = nk_find_value(win, id_hash);
18830 if (!x_offset) {
18831 x_offset = nk_add_value(ctx, win, id_hash, 0);
18834 NK_ASSERT(x_offset);
18836 if (!x_offset || !y_offset) return 0;
18837 *x_offset = *y_offset = 0;
18839 return nk_group_scrolled_offset_begin(ctx, x_offset, y_offset, title, flags);
18852 nk_group_get_scroll(struct nk_context *ctx, const char *id, nk_uint *x_offset, nk_uint *y_offset)
18881 if (x_offset)
18882 *x_offset = *x_offset_ptr;
18887 nk_group_set_scroll(struct nk_context *ctx, const char *id, nk_uint x_offset, nk_uint y_offset)
18916 *x_offset_ptr = x_offset;
18934 nk_uint *x_offset;
18956 x_offset = nk_find_value(win, title_hash);
18957 if (!x_offset) {
18958 x_offset = nk_add_value(ctx, win, title_hash, 0);
18961 NK_ASSERT(x_offset);
18963 if (!x_offset || !y_offset) return 0;
18964 *x_offset = *y_offset = 0;
18970 result = nk_group_scrolled_offset_begin(ctx, x_offset, y_offset, title, flags);
22793 float x_offset, const char *text, int byte_len, float row_height,
22828 label.x += x_offset;
22862 label.x += x_offset;