Lines Matching defs:min
2190 /// nk_widget(...); // variable widget with min 80 pixel but can grow bigger if enough space
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);
3454 NK_API int nk_chart_begin(struct nk_context*, enum nk_chart_type, int num, float min, float max);
3455 NK_API int nk_chart_begin_colored(struct nk_context*, enum nk_chart_type, struct nk_color, struct nk_color active, int num, float min, float max);
5273 float min, max, range;
5957 NK_LIB void nk_draw_slider(struct nk_command_buffer *out, nk_flags state, const struct nk_style_slider *style, const struct nk_rect *bounds, const struct nk_rect *visual_cursor, float min, float value, float max);
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);
21048 const struct nk_rect *visual_cursor, float min, float value, float max)
21058 NK_UNUSED(min);
21107 float min, float val, float max, float step,
21163 slider_max = NK_MAX(min, max);
21164 slider_min = NK_MIN(min, max);
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);
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);
23980 nk_propertyi(struct nk_context *ctx, const char *name, int min, int val,
23988 variant = nk_property_variant_int(val, min, max, step);
23994 nk_propertyf(struct nk_context *ctx, const char *name, float min,
24002 variant = nk_property_variant_float(val, min, max, step);
24008 nk_propertyd(struct nk_context *ctx, const char *name, double min,
24016 variant = nk_property_variant_double(val, min, max, step);
24075 slot->min = NK_MIN(min_value, max_value);
24077 slot->range = slot->max - slot->min;}
24116 slot->min = NK_MIN(min_value, max_value);
24118 slot->range = slot->max - slot->min;}
24145 range = g->slots[slot].max - g->slots[slot].min;
24146 ratio = (value - g->slots[slot].min) / range;
24222 ratio = (value + NK_ABS(chart->slots[slot].min)) / NK_ABS(chart->slots[slot].range);
25538 /// - 2017/05/10 (1.38.3) - Fixed wrong min window size mouse scaling over boundries.