UI: Asset Shelf (Experimental Feature) #104831

Closed
Julian Eisel wants to merge 399 commits from asset-shelf into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
2 changed files with 0 additions and 17 deletions
Showing only changes of commit 2db15ce82c - Show all commits

View File

@ -184,12 +184,6 @@ void UI_list_filter_and_sort_items(uiList *ui_list,
const char *propname,
uiListItemGetNameFn get_name_fn = nullptr);
/**
* \param fn: Functor to execute for each view. Can return false to stop iteration.
*/
void UI_region_views_foreach(const ARegion *region,
blender::FunctionRef<bool(uiViewHandle &view)> fn);
/**
* Override this for all available view types.
*/

View File

@ -142,17 +142,6 @@ void ui_block_views_listen(const uiBlock *block, const wmRegionListenerParams *l
}
}
void UI_region_views_foreach(const ARegion *region, FunctionRef<bool(uiViewHandle &view)> fn)
{
LISTBASE_FOREACH (uiBlock *, block, &region->uiblocks) {
LISTBASE_FOREACH (ViewLink *, view_link, &block->views) {
if (!fn(reinterpret_cast<uiViewHandle &>(*view_link->view))) {
return;
}
}
}
}
uiViewHandle *UI_region_view_find_at(const ARegion *region, const int xy[2], const int pad)
{
/* NOTE: Similar to #ui_but_find_mouse_over_ex(). */