Lines Matching defs:table
64 /// - Simple changes to color by filling a simple color table
543 /// __nk_init_custom__ | Initializes context from two buffers. One for draw commands the other for window/panel/table allocations
630 /// garbage collector tasks like removing windows or table not called and therefore
5884 /* table */
10977 int loca,head,glyf,hhea,hmtx,kern; /* table locations as offset from start of .ttf */
11137 /* find a cmap encoding table we understand *now* to avoid searching */
14273 nk_style_from_table(struct nk_context *ctx, const struct nk_color *table)
14293 table = (!table) ? nk_default_color_style: table;
14297 text->color = table[NK_COLOR_TEXT];
14303 button->normal = nk_style_item_color(table[NK_COLOR_BUTTON]);
14304 button->hover = nk_style_item_color(table[NK_COLOR_BUTTON_HOVER]);
14305 button->active = nk_style_item_color(table[NK_COLOR_BUTTON_ACTIVE]);
14306 button->border_color = table[NK_COLOR_BORDER];
14307 button->text_background = table[NK_COLOR_BUTTON];
14308 button->text_normal = table[NK_COLOR_TEXT];
14309 button->text_hover = table[NK_COLOR_TEXT];
14310 button->text_active = table[NK_COLOR_TEXT];
14324 button->normal = nk_style_item_color(table[NK_COLOR_WINDOW]);
14325 button->hover = nk_style_item_color(table[NK_COLOR_BUTTON_HOVER]);
14326 button->active = nk_style_item_color(table[NK_COLOR_BUTTON_ACTIVE]);
14327 button->border_color = table[NK_COLOR_WINDOW];
14328 button->text_background = table[NK_COLOR_WINDOW];
14329 button->text_normal = table[NK_COLOR_TEXT];
14330 button->text_hover = table[NK_COLOR_TEXT];
14331 button->text_active = table[NK_COLOR_TEXT];
14344 button->normal = nk_style_item_color(table[NK_COLOR_WINDOW]);
14345 button->hover = nk_style_item_color(table[NK_COLOR_WINDOW]);
14346 button->active = nk_style_item_color(table[NK_COLOR_WINDOW]);
14347 button->border_color = table[NK_COLOR_WINDOW];
14348 button->text_background = table[NK_COLOR_WINDOW];
14349 button->text_normal = table[NK_COLOR_TEXT];
14350 button->text_hover = table[NK_COLOR_TEXT];
14351 button->text_active = table[NK_COLOR_TEXT];
14364 toggle->normal = nk_style_item_color(table[NK_COLOR_TOGGLE]);
14365 toggle->hover = nk_style_item_color(table[NK_COLOR_TOGGLE_HOVER]);
14366 toggle->active = nk_style_item_color(table[NK_COLOR_TOGGLE_HOVER]);
14367 toggle->cursor_normal = nk_style_item_color(table[NK_COLOR_TOGGLE_CURSOR]);
14368 toggle->cursor_hover = nk_style_item_color(table[NK_COLOR_TOGGLE_CURSOR]);
14370 toggle->text_background = table[NK_COLOR_WINDOW];
14371 toggle->text_normal = table[NK_COLOR_TEXT];
14372 toggle->text_hover = table[NK_COLOR_TEXT];
14373 toggle->text_active = table[NK_COLOR_TEXT];
14383 toggle->normal = nk_style_item_color(table[NK_COLOR_TOGGLE]);
14384 toggle->hover = nk_style_item_color(table[NK_COLOR_TOGGLE_HOVER]);
14385 toggle->active = nk_style_item_color(table[NK_COLOR_TOGGLE_HOVER]);
14386 toggle->cursor_normal = nk_style_item_color(table[NK_COLOR_TOGGLE_CURSOR]);
14387 toggle->cursor_hover = nk_style_item_color(table[NK_COLOR_TOGGLE_CURSOR]);
14389 toggle->text_background = table[NK_COLOR_WINDOW];
14390 toggle->text_normal = table[NK_COLOR_TEXT];
14391 toggle->text_hover = table[NK_COLOR_TEXT];
14392 toggle->text_active = table[NK_COLOR_TEXT];
14402 select->normal = nk_style_item_color(table[NK_COLOR_SELECT]);
14403 select->hover = nk_style_item_color(table[NK_COLOR_SELECT]);
14404 select->pressed = nk_style_item_color(table[NK_COLOR_SELECT]);
14405 select->normal_active = nk_style_item_color(table[NK_COLOR_SELECT_ACTIVE]);
14406 select->hover_active = nk_style_item_color(table[NK_COLOR_SELECT_ACTIVE]);
14407 select->pressed_active = nk_style_item_color(table[NK_COLOR_SELECT_ACTIVE]);
14408 select->text_normal = table[NK_COLOR_TEXT];
14409 select->text_hover = table[NK_COLOR_TEXT];
14410 select->text_pressed = table[NK_COLOR_TEXT];
14411 select->text_normal_active = table[NK_COLOR_TEXT];
14412 select->text_hover_active = table[NK_COLOR_TEXT];
14413 select->text_pressed_active = table[NK_COLOR_TEXT];
14428 slider->bar_normal = table[NK_COLOR_SLIDER];
14429 slider->bar_hover = table[NK_COLOR_SLIDER];
14430 slider->bar_active = table[NK_COLOR_SLIDER];
14431 slider->bar_filled = table[NK_COLOR_SLIDER_CURSOR];
14432 slider->cursor_normal = nk_style_item_color(table[NK_COLOR_SLIDER_CURSOR]);
14433 slider->cursor_hover = nk_style_item_color(table[NK_COLOR_SLIDER_CURSOR_HOVER]);
14434 slider->cursor_active = nk_style_item_color(table[NK_COLOR_SLIDER_CURSOR_ACTIVE]);
14470 prog->normal = nk_style_item_color(table[NK_COLOR_SLIDER]);
14471 prog->hover = nk_style_item_color(table[NK_COLOR_SLIDER]);
14472 prog->active = nk_style_item_color(table[NK_COLOR_SLIDER]);
14473 prog->cursor_normal = nk_style_item_color(table[NK_COLOR_SLIDER_CURSOR]);
14474 prog->cursor_hover = nk_style_item_color(table[NK_COLOR_SLIDER_CURSOR_HOVER]);
14475 prog->cursor_active = nk_style_item_color(table[NK_COLOR_SLIDER_CURSOR_ACTIVE]);
14490 scroll->normal = nk_style_item_color(table[NK_COLOR_SCROLLBAR]);
14491 scroll->hover = nk_style_item_color(table[NK_COLOR_SCROLLBAR]);
14492 scroll->active = nk_style_item_color(table[NK_COLOR_SCROLLBAR]);
14493 scroll->cursor_normal = nk_style_item_color(table[NK_COLOR_SCROLLBAR_CURSOR]);
14494 scroll->cursor_hover = nk_style_item_color(table[NK_COLOR_SCROLLBAR_CURSOR_HOVER]);
14495 scroll->cursor_active = nk_style_item_color(table[NK_COLOR_SCROLLBAR_CURSOR_ACTIVE]);
14499 scroll->border_color = table[NK_COLOR_SCROLLBAR];
14500 scroll->cursor_border_color = table[NK_COLOR_SCROLLBAR];
14536 edit->normal = nk_style_item_color(table[NK_COLOR_EDIT]);
14537 edit->hover = nk_style_item_color(table[NK_COLOR_EDIT]);
14538 edit->active = nk_style_item_color(table[NK_COLOR_EDIT]);
14539 edit->cursor_normal = table[NK_COLOR_TEXT];
14540 edit->cursor_hover = table[NK_COLOR_TEXT];
14541 edit->cursor_text_normal= table[NK_COLOR_EDIT];
14542 edit->cursor_text_hover = table[NK_COLOR_EDIT];
14543 edit->border_color = table[NK_COLOR_BORDER];
14544 edit->text_normal = table[NK_COLOR_TEXT];
14545 edit->text_hover = table[NK_COLOR_TEXT];
14546 edit->text_active = table[NK_COLOR_TEXT];
14547 edit->selected_normal = table[NK_COLOR_TEXT];
14548 edit->selected_hover = table[NK_COLOR_TEXT];
14549 edit->selected_text_normal = table[NK_COLOR_EDIT];
14550 edit->selected_text_hover = table[NK_COLOR_EDIT];
14562 property->normal = nk_style_item_color(table[NK_COLOR_PROPERTY]);
14563 property->hover = nk_style_item_color(table[NK_COLOR_PROPERTY]);
14564 property->active = nk_style_item_color(table[NK_COLOR_PROPERTY]);
14565 property->border_color = table[NK_COLOR_BORDER];
14566 property->label_normal = table[NK_COLOR_TEXT];
14567 property->label_hover = table[NK_COLOR_TEXT];
14568 property->label_active = table[NK_COLOR_TEXT];
14581 button->normal = nk_style_item_color(table[NK_COLOR_PROPERTY]);
14582 button->hover = nk_style_item_color(table[NK_COLOR_PROPERTY]);
14583 button->active = nk_style_item_color(table[NK_COLOR_PROPERTY]);
14585 button->text_background = table[NK_COLOR_PROPERTY];
14586 button->text_normal = table[NK_COLOR_TEXT];
14587 button->text_hover = table[NK_COLOR_TEXT];
14588 button->text_active = table[NK_COLOR_TEXT];
14602 edit->normal = nk_style_item_color(table[NK_COLOR_PROPERTY]);
14603 edit->hover = nk_style_item_color(table[NK_COLOR_PROPERTY]);
14604 edit->active = nk_style_item_color(table[NK_COLOR_PROPERTY]);
14606 edit->cursor_normal = table[NK_COLOR_TEXT];
14607 edit->cursor_hover = table[NK_COLOR_TEXT];
14608 edit->cursor_text_normal= table[NK_COLOR_EDIT];
14609 edit->cursor_text_hover = table[NK_COLOR_EDIT];
14610 edit->text_normal = table[NK_COLOR_TEXT];
14611 edit->text_hover = table[NK_COLOR_TEXT];
14612 edit->text_active = table[NK_COLOR_TEXT];
14613 edit->selected_normal = table[NK_COLOR_TEXT];
14614 edit->selected_hover = table[NK_COLOR_TEXT];
14615 edit->selected_text_normal = table[NK_COLOR_EDIT];
14616 edit->selected_text_hover = table[NK_COLOR_EDIT];
14625 chart->background = nk_style_item_color(table[NK_COLOR_CHART]);
14626 chart->border_color = table[NK_COLOR_BORDER];
14627 chart->selected_color = table[NK_COLOR_CHART_COLOR_HIGHLIGHT];
14628 chart->color = table[NK_COLOR_CHART_COLOR];
14635 combo->normal = nk_style_item_color(table[NK_COLOR_COMBO]);
14636 combo->hover = nk_style_item_color(table[NK_COLOR_COMBO]);
14637 combo->active = nk_style_item_color(table[NK_COLOR_COMBO]);
14638 combo->border_color = table[NK_COLOR_BORDER];
14639 combo->label_normal = table[NK_COLOR_TEXT];
14640 combo->label_hover = table[NK_COLOR_TEXT];
14641 combo->label_active = table[NK_COLOR_TEXT];
14654 button->normal = nk_style_item_color(table[NK_COLOR_COMBO]);
14655 button->hover = nk_style_item_color(table[NK_COLOR_COMBO]);
14656 button->active = nk_style_item_color(table[NK_COLOR_COMBO]);
14658 button->text_background = table[NK_COLOR_COMBO];
14659 button->text_normal = table[NK_COLOR_TEXT];
14660 button->text_hover = table[NK_COLOR_TEXT];
14661 button->text_active = table[NK_COLOR_TEXT];
14673 tab->background = nk_style_item_color(table[NK_COLOR_TAB_HEADER]);
14674 tab->border_color = table[NK_COLOR_BORDER];
14675 tab->text = table[NK_COLOR_TEXT];
14687 button->normal = nk_style_item_color(table[NK_COLOR_TAB_HEADER]);
14688 button->hover = nk_style_item_color(table[NK_COLOR_TAB_HEADER]);
14689 button->active = nk_style_item_color(table[NK_COLOR_TAB_HEADER]);
14691 button->text_background = table[NK_COLOR_TAB_HEADER];
14692 button->text_normal = table[NK_COLOR_TEXT];
14693 button->text_hover = table[NK_COLOR_TEXT];
14694 button->text_active = table[NK_COLOR_TEXT];
14708 button->normal = nk_style_item_color(table[NK_COLOR_WINDOW]);
14709 button->hover = nk_style_item_color(table[NK_COLOR_WINDOW]);
14710 button->active = nk_style_item_color(table[NK_COLOR_WINDOW]);
14712 button->text_background = table[NK_COLOR_TAB_HEADER];
14713 button->text_normal = table[NK_COLOR_TEXT];
14714 button->text_hover = table[NK_COLOR_TEXT];
14715 button->text_active = table[NK_COLOR_TEXT];
14732 win->header.normal = nk_style_item_color(table[NK_COLOR_HEADER]);
14733 win->header.hover = nk_style_item_color(table[NK_COLOR_HEADER]);
14734 win->header.active = nk_style_item_color(table[NK_COLOR_HEADER]);
14735 win->header.label_normal = table[NK_COLOR_TEXT];
14736 win->header.label_hover = table[NK_COLOR_TEXT];
14737 win->header.label_active = table[NK_COLOR_TEXT];
14745 button->normal = nk_style_item_color(table[NK_COLOR_HEADER]);
14746 button->hover = nk_style_item_color(table[NK_COLOR_HEADER]);
14747 button->active = nk_style_item_color(table[NK_COLOR_HEADER]);
14749 button->text_background = table[NK_COLOR_HEADER];
14750 button->text_normal = table[NK_COLOR_TEXT];
14751 button->text_hover = table[NK_COLOR_TEXT];
14752 button->text_active = table[NK_COLOR_TEXT];
14765 button->normal = nk_style_item_color(table[NK_COLOR_HEADER]);
14766 button->hover = nk_style_item_color(table[NK_COLOR_HEADER]);
14767 button->active = nk_style_item_color(table[NK_COLOR_HEADER]);
14769 button->text_background = table[NK_COLOR_HEADER];
14770 button->text_normal = table[NK_COLOR_TEXT];
14771 button->text_hover = table[NK_COLOR_TEXT];
14772 button->text_active = table[NK_COLOR_TEXT];
14783 win->background = table[NK_COLOR_WINDOW];
14784 win->fixed_background = nk_style_item_color(table[NK_COLOR_WINDOW]);
14785 win->border_color = table[NK_COLOR_BORDER];
14786 win->popup_border_color = table[NK_COLOR_BORDER];
14787 win->combo_border_color = table[NK_COLOR_BORDER];
14788 win->contextual_border_color = table[NK_COLOR_BORDER];
14789 win->menu_border_color = table[NK_COLOR_BORDER];
14790 win->group_border_color = table[NK_COLOR_BORDER];
14791 win->tooltip_border_color = table[NK_COLOR_BORDER];
14792 win->scaler = nk_style_item_color(table[NK_COLOR_TEXT]);
15405 /* link table into freelist */
19241 /* non table layout need to allocate space */
25523 /// - 2017/07/07 (1.40.3) - Fixed table internal bug caused by storing table size in
25524 /// window instead of directly in table.
25737 /// - 2016/07/29 (1.03.0) - Moved the window/table pool into the header part to