Lines Matching defs:cols

2317 /// between @cols number of widgets evenly. Once called all subsequent widget
2318 /// calls greater than @cols will allocate a new row with same layout.
2320 /// void nk_layout_row_dynamic(struct nk_context *ctx, float height, int cols);
2329 NK_API void nk_layout_row_dynamic(struct nk_context *ctx, float height, int cols);
2331 /// Sets current row layout to fill @cols number of widgets
2333 /// calls greater than @cols will allocate a new row with same layout.
2335 /// void nk_layout_row_static(struct nk_context *ctx, float height, int item_width, int cols);
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);
2359 NK_API void nk_layout_row_begin(struct nk_context *ctx, enum nk_layout_format fmt, float row_height, int cols);
2386 /// void nk_layout_row(struct nk_context*, enum nk_layout_format, float height, int cols, const float *ratio);
2396 NK_API void nk_layout_row(struct nk_context*, enum nk_layout_format, float height, int cols, const float *ratio);
3067 NK_API void nk_spacing(struct nk_context*, int cols);
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);
17639 float height, int cols)
17673 layout->row.columns = cols;
17691 float height, int cols, int width)
17702 nk_panel_layout(ctx, win, height, cols);
17723 nk_layout_row_dynamic(struct nk_context *ctx, float height, int cols)
17725 nk_row_layout(ctx, NK_DYNAMIC, height, cols, 0);
17728 nk_layout_row_static(struct nk_context *ctx, float height, int item_width, int cols)
17730 nk_row_layout(ctx, NK_STATIC, height, cols, item_width);
17734 float row_height, int cols)
17747 nk_panel_layout(ctx, win, row_height, cols);
17756 layout->row.columns = cols;
17806 float height, int cols, const float *ratio)
17821 nk_panel_layout(ctx, win, height, cols);
17826 for (i = 0; i < cols; ++i) {
19218 nk_spacing(struct nk_context *ctx, int cols)
19234 index = (layout->row.index + cols) % layout->row.columns;
19235 rows = (layout->row.index + cols) / layout->row.columns;
19239 cols = index;
19244 for (i = 0; i < cols; ++i)