Lines Matching defs:step

3184 NK_API float nk_slide_float(struct nk_context*, float min, float val, float max, float step);
3185 NK_API int nk_slide_int(struct nk_context*, int min, int val, int max, int step);
3186 NK_API int nk_slider_float(struct nk_context*, float min, float *val, float max, float step);
3187 NK_API int nk_slider_int(struct nk_context*, int min, int *val, int max, int step);
3286 /// void nk_property_int(struct nk_context *ctx, const char *name, int min, int *val, int max, int step, float inc_per_pixel);
3299 NK_API void nk_property_int(struct nk_context*, const char *name, int min, int *val, int max, int step, float inc_per_pixel);
3307 /// void nk_property_float(struct nk_context *ctx, const char *name, float min, float *val, float max, float step, float inc_per_pixel);
3320 NK_API void nk_property_float(struct nk_context*, const char *name, float min, float *val, float max, float step, float inc_per_pixel);
3328 /// void nk_property_double(struct nk_context *ctx, const char *name, double min, double *val, double max, double step, double inc_per_pixel);
3341 NK_API void nk_property_double(struct nk_context*, const char *name, double min, double *val, double max, double step, float inc_per_pixel);
3349 /// int nk_propertyi(struct nk_context *ctx, const char *name, int min, int val, int max, int step, float inc_per_pixel);
3364 NK_API int nk_propertyi(struct nk_context*, const char *name, int min, int val, int max, int step, float inc_per_pixel);
3372 /// float nk_propertyf(struct nk_context *ctx, const char *name, float min, float val, float max, float step, float inc_per_pixel);
3387 NK_API float nk_propertyf(struct nk_context*, const char *name, float min, float val, float max, float step, float inc_per_pixel);
3395 /// float nk_propertyd(struct nk_context *ctx, const char *name, double min, double val, double max, double step, double inc_per_pixel);
3410 NK_API double nk_propertyd(struct nk_context*, const char *name, double min, double val, double max, double step, float inc_per_pixel);
5958 NK_LIB float 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);
5963 NK_LIB float 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);
5964 NK_LIB float 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);
6005 union nk_property step;
6007 NK_LIB struct nk_property_variant nk_property_variant_int(int value, int min_value, int max_value, int step);
6008 NK_LIB struct nk_property_variant nk_property_variant_float(float value, float min_value, float max_value, float step);
6009 NK_LIB struct nk_property_variant nk_property_variant_double(double value, double min_value, double max_value, double step);
11761 float y_crossing, step, sign, area;
11787 step = sign * dy;
11789 scanline[x] += area + step/2;
11790 area += step;
11887 struct nk_tt__active_edge **step = &active;
11894 while (*step) {
11895 struct nk_tt__active_edge * z = *step;
11897 *step = z->next; /* delete from list */
11902 step = &((*step)->next); /* advance through list */
11938 step = &active;
11939 while (*step) {
11940 struct nk_tt__active_edge *z = *step;
11942 step = &((*step)->next); /* advance through list */
21023 /* only update value if the next slider step is reached */
21107 float min, float val, float max, float step,
21146 val -= step;
21152 val += step;
21167 slider_steps = slider_range / step;
21168 cursor_offset = (slider_value - slider_min) / step;
21184 in, bounds, slider_min, slider_max, slider_value, step, slider_steps);
21228 nk_slide_float(struct nk_context *ctx, float min, float val, float max, float step)
21230 nk_slider_float(ctx, min, &val, max, step); return val;
21233 nk_slide_int(struct nk_context *ctx, int min, int val, int max, int step)
21236 nk_slider_float(ctx, (float)min, &value, (float)max, (float)step);
21240 nk_slider_int(struct nk_context *ctx, int min, int *val, int max, int step)
21244 ret = nk_slider_float(ctx, (float)min, &value, (float)max, (float)step);
21514 float offset, float target, float step, float button_pixel_inc,
21547 scroll_step = NK_MIN(step, button_pixel_inc);
21566 scroll_step = NK_MIN(step, scroll.h);
21603 float offset, float target, float step, float button_pixel_inc,
21635 scroll_step = NK_MIN(step, button_pixel_inc);
21654 scroll_step = NK_MIN(step, scroll.w);
23729 variant->value.i = NK_CLAMP(variant->min_value.i, variant->value.i - variant->step.i, variant->max_value.i); break;
23731 variant->value.f = NK_CLAMP(variant->min_value.f, variant->value.f - variant->step.f, variant->max_value.f); break;
23733 variant->value.d = NK_CLAMP(variant->min_value.d, variant->value.d - variant->step.d, variant->max_value.d); break;
23741 variant->value.i = NK_CLAMP(variant->min_value.i, variant->value.i + variant->step.i, variant->max_value.i); break;
23743 variant->value.f = NK_CLAMP(variant->min_value.f, variant->value.f + variant->step.f, variant->max_value.f); break;
23745 variant->value.d = NK_CLAMP(variant->min_value.d, variant->value.d + variant->step.d, variant->max_value.d); break;
23804 nk_property_variant_int(int value, int min_value, int max_value, int step)
23811 result.step.i = step;
23815 nk_property_variant_float(float value, float min_value, float max_value, float step)
23822 result.step.f = step;
23827 double step)
23834 result.step.d = step;
23939 int min, int *val, int max, int step, float inc_per_pixel)
23947 variant = nk_property_variant_int(*val, min, max, step);
23953 float min, float *val, float max, float step, float inc_per_pixel)
23961 variant = nk_property_variant_float(*val, min, max, step);
23967 double min, double *val, double max, double step, float inc_per_pixel)
23975 variant = nk_property_variant_double(*val, min, max, step);
23981 int max, int step, float inc_per_pixel)
23988 variant = nk_property_variant_int(val, min, max, step);
23995 float val, float max, float step, float inc_per_pixel)
24002 variant = nk_property_variant_float(val, min, max, step);
24009 double val, double max, double step, float inc_per_pixel)
24016 variant = nk_property_variant_double(val, min, max, step);
24139 float step;
24144 step = g->w / (float)g->slots[slot].count;
24172 cur.x = g->x + (float)(step * (float)g->slots[slot].index);