|
Blender
V3.3
|
#include "DNA_space_types.h"#include "BKE_asset.h"#include "BKE_asset_catalog.hh"#include "BKE_asset_library.hh"#include "BLI_string_ref.hh"#include "BLT_translation.h"#include "ED_asset.h"#include "ED_fileselect.h"#include "ED_undo.h"#include "RNA_access.h"#include "UI_interface.h"#include "UI_interface.hh"#include "UI_resources.h"#include "UI_tree_view.hh"#include "WM_api.h"#include "WM_types.h"#include "file_intern.h"#include "filelist.h"Go to the source code of this file.
Namespaces | |
| blender | |
| blender::ed | |
| blender::ed::asset_browser | |
Functions | |
| FileAssetCatalogFilterSettingsHandle * | file_create_asset_catalog_filter_settings () |
| void | file_delete_asset_catalog_filter_settings (FileAssetCatalogFilterSettingsHandle **filter_settings_handle) |
| bool | file_set_asset_catalog_filter_settings (FileAssetCatalogFilterSettingsHandle *filter_settings_handle, eFileSel_Params_AssetCatalogVisibility catalog_visibility, ::bUUID catalog_id) |
| void | file_ensure_updated_catalog_filter_data (FileAssetCatalogFilterSettingsHandle *filter_settings_handle, const ::AssetLibrary *asset_library) |
| bool | file_is_asset_visible_in_catalog_filter_settings (const FileAssetCatalogFilterSettingsHandle *filter_settings_handle, const AssetMetaData *asset_data) |
| void | file_create_asset_catalog_tree_view_in_layout (::AssetLibrary *asset_library, uiLayout *layout, SpaceFile *space_file, FileAssetSelectParams *params) |
| FileAssetCatalogFilterSettingsHandle* file_create_asset_catalog_filter_settings | ( | void | ) |
Definition at line 671 of file asset_catalog_tree_view.cc.
Referenced by filelist_set_asset_catalog_filter_options().
| void file_create_asset_catalog_tree_view_in_layout | ( | ::AssetLibrary * | asset_library, |
| uiLayout * | layout, | ||
| SpaceFile * | space_file, | ||
| FileAssetSelectParams * | params | ||
| ) |
Definition at line 747 of file asset_catalog_tree_view.cc.
References blender::ui::TreeViewBuilder::build_tree_view(), params, UI_block_add_view(), UI_block_layout_set_current(), and uiLayoutGetBlock().
Referenced by file_panel_asset_catalog_buttons_draw().
| void file_delete_asset_catalog_filter_settings | ( | FileAssetCatalogFilterSettingsHandle ** | filter_settings_handle | ) |
Definition at line 677 of file asset_catalog_tree_view.cc.
Referenced by filelist_clear_asset_library().
| void file_ensure_updated_catalog_filter_data | ( | FileAssetCatalogFilterSettingsHandle * | filter_settings_handle, |
| const ::AssetLibrary * | asset_library | ||
| ) |
Definition at line 709 of file asset_catalog_tree_view.cc.
References blender::ed::asset_browser::AssetCatalogFilterSettings::asset_catalog_id, blender::ed::asset_browser::AssetCatalogFilterSettings::asset_catalog_visibility, BKE_asset_library_get_catalog_service(), blender::ed::asset_browser::AssetCatalogFilterSettings::catalog_filter, blender::bke::AssetCatalogService::create_catalog_filter(), and FILE_SHOW_ASSETS_ALL_CATALOGS.
Referenced by prepare_filter_asset_library().
| bool file_is_asset_visible_in_catalog_filter_settings | ( | const FileAssetCatalogFilterSettingsHandle * | filter_settings_handle, |
| const AssetMetaData * | asset_data | ||
| ) |
Definition at line 724 of file asset_catalog_tree_view.cc.
References blender::ed::asset_browser::AssetCatalogFilterSettings::asset_catalog_visibility, BLI_assert_unreachable, blender::ed::asset_browser::AssetCatalogFilterSettings::catalog_filter, AssetMetaData::catalog_id, FILE_SHOW_ASSETS_ALL_CATALOGS, FILE_SHOW_ASSETS_FROM_CATALOG, and FILE_SHOW_ASSETS_WITHOUT_CATALOG.
Referenced by is_filtered_asset().
| bool file_set_asset_catalog_filter_settings | ( | FileAssetCatalogFilterSettingsHandle * | filter_settings_handle, |
| eFileSel_Params_AssetCatalogVisibility | catalog_visibility, | ||
| ::bUUID | catalog_id | ||
| ) |
Definition at line 686 of file asset_catalog_tree_view.cc.
References blender::ed::asset_browser::AssetCatalogFilterSettings::asset_catalog_id, blender::ed::asset_browser::AssetCatalogFilterSettings::asset_catalog_visibility, BLI_uuid_equal(), and FILE_SHOW_ASSETS_FROM_CATALOG.
Referenced by filelist_set_asset_catalog_filter_options().