Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/interface/interface_templates.c
| Show First 20 Lines • Show All 303 Lines • ▼ Show 20 Lines | but = uiDefSearchBut(block, | ||||
| 0, | 0, | ||||
| 0, | 0, | ||||
| ""); | ""); | ||||
| } | } | ||||
| UI_but_func_search_set(but, | UI_but_func_search_set(but, | ||||
| ui_searchbox_create_generic, | ui_searchbox_create_generic, | ||||
| search_update_fn, | search_update_fn, | ||||
| search_arg, | search_arg, | ||||
| false, | |||||
| NULL, | NULL, | ||||
| search_exec_fn, | search_exec_fn, | ||||
| active_item); | active_item); | ||||
| UI_but_func_search_set_tooltip(but, item_tooltip_fn); | UI_but_func_search_set_tooltip(but, item_tooltip_fn); | ||||
| UI_block_bounds_set_normal(block, 0.3f * U.widget_unit); | UI_block_bounds_set_normal(block, 0.3f * U.widget_unit); | ||||
| UI_block_direction_set(block, UI_DIR_DOWN); | UI_block_direction_set(block, UI_DIR_DOWN); | ||||
| ▲ Show 20 Lines • Show All 7,032 Lines • Show Last 20 Lines | |||||