Lines Matching defs:values

730 /// __nk_input_scroll__ | Mirrors mouse scroll values
1216 /// as well as some other configuration values have to be configured by filling out a
3461 NK_API void nk_plot(struct nk_context*, enum nk_chart_type, const float *values, int count, int offset);
3977 /* list of unicode ranges (2 values per range, zero terminated) */
5537 nk_uint values[NK_VALUE_PAGE_CAPACITY];
9551 nk_draw_vertex_element(void *dst, const float *values, int value_count,
9563 char value = (char)NK_CLAMP((float)NK_SCHAR_MIN, values[value_index], (float)NK_SCHAR_MAX);
9568 nk_short value = (nk_short)NK_CLAMP((float)NK_SSHORT_MIN, values[value_index], (float)NK_SSHORT_MAX);
9573 nk_int value = (nk_int)NK_CLAMP((float)NK_SINT_MIN, values[value_index], (float)NK_SINT_MAX);
9578 unsigned char value = (unsigned char)NK_CLAMP((float)NK_UCHAR_MIN, values[value_index], (float)NK_UCHAR_MAX);
9583 nk_ushort value = (nk_ushort)NK_CLAMP((float)NK_USHORT_MIN, values[value_index], (float)NK_USHORT_MAX);
9588 nk_uint value = (nk_uint)NK_CLAMP((float)NK_UINT_MIN, values[value_index], (float)NK_UINT_MAX);
9593 NK_MEMCPY(attribute, &values[value_index], sizeof(values[value_index]));
9597 double value = (double)values[value_index];
11467 if (flags & 2) { /* XY values */
11750 /* from here on, we don't have to range check x values */
12479 /* save current values */
12551 /* restore original values */
15499 win->tables->values[win->tables->size] = value;
15500 return &win->tables->values[win->tables->size++];
15512 return &iter->values[i];
21162 /* make sure the provided values are correct */
23469 /* make sure correct values */
24291 nk_plot(struct nk_context *ctx, enum nk_chart_type type, const float *values,
24299 NK_ASSERT(values);
24300 if (!ctx || !values || !count) return;
24302 min_value = values[offset];
24303 max_value = values[offset];
24305 min_value = NK_MIN(values[i + offset], min_value);
24306 max_value = NK_MAX(values[i + offset], max_value);
24311 nk_chart_push(ctx, values[i + offset]);
25498 /// Color pickers now use floating point values to represent
25499 /// HSV values. To get back the old behavior I added some additional
25693 /// work directly on the given values.