Lines Matching defs:item

1852 /// Returns `true(1)` if any window is hovered or any item is active or `false(0)` otherwise
5308 struct nk_rect item;
11222 nk_ushort item = (nk_ushort) ((search - endCount) >> 1);
11224 NK_ASSERT(unicode_codepoint <= nk_ttUSHORT(data + endCount + 2*item));
11225 start = nk_ttUSHORT(data + index_map + 14 + segcount*2 + 2 + 2*item);
11229 offset = nk_ttUSHORT(data + index_map + 14 + segcount*6 + 2 + 2*item);
11231 return (nk_ushort) (unicode_codepoint + nk_ttSHORT(data + index_map + 14 + segcount*4 + 2 + 2*item));
11233 return nk_ttUSHORT(data + offset + (unicode_codepoint-start)*2 + index_map + 14 + segcount*6 + 2 + 2*item);
16029 {const struct nk_style_item *item = &style->window.scaler;
16030 if (item->type == NK_STYLE_ITEM_IMAGE)
16031 nk_draw_image(out, scaler, &item->data.image, nk_white);
16036 scaler.y + scaler.h, item->data.color);
16039 scaler.y + scaler.h, scaler.x, scaler.y + scaler.h, item->data.color);
17865 layout->row.item.x = 0;
17866 layout->row.item.y = 0;
17867 layout->row.item.w = 0;
17868 layout->row.item.h = 0;
18023 nk_zero(&layout->row.item, sizeof(layout->row.item));
18039 layout->row.item = rect;
18183 /* calculate the width of one item inside the current layout space */
18186 /* scaling fixed size widgets item width */
18207 bounds->x = layout->at_x + (layout->bounds.w * layout->row.item.x);
18209 bounds->y = layout->at_y + (layout->row.height * layout->row.item.y);
18211 bounds->w = layout->bounds.w * layout->row.item.w + NK_FRAC(bounds->x);
18212 bounds->h = layout->row.height * layout->row.item.h + NK_FRAC(bounds->y);
18233 /* non-scaling fixed widgets item width */
18247 bounds->x = layout->at_x + layout->row.item.x;
18248 bounds->w = layout->row.item.w;
18252 bounds->y = layout->at_y + layout->row.item.y;
18254 bounds->h = layout->row.item.h;
23483 /* check if edit is currently hot item */
23883 /* check if property is currently hot item */
24208 struct nk_rect item = {0,0,0,0};
24215 item.w = (chart->w - padding) / (float)(chart->slots[slot].count);
24220 item.h = chart->h * NK_ABS((value/chart->slots[slot].range));
24223 item.y = (chart->y + chart->h) - chart->h * ratio;
24226 item.y = chart->y + (chart->h * NK_ABS(ratio)) - item.h;
24228 item.x = chart->x + ((float)chart->slots[slot].index * item.w);
24229 item.x = item.x + ((float)chart->slots[slot].index);
24233 NK_INBOX(in->mouse.pos.x,in->mouse.pos.y,item.x,item.y,item.w,item.h)) {
24239 nk_fill_rect(out, item, 0, color);
24637 /* print currently selected text item */
25216 /* find selected item */
25255 const char *item;
25269 item_getter(userdata, selected, &item);
25270 if (nk_combo_begin_label(ctx, item, size)) {
25273 item_getter(userdata, i, &item);
25274 if (nk_combo_item_label(ctx, item, NK_TEXT_LEFT))
25715 /// wrong item spacing and panel width.