Blender V5.0
asset_shelf_popover.cc File Reference
#include "AS_asset_library.hh"
#include "asset_shelf.hh"
#include "BKE_screen.hh"
#include "BLI_listbase.h"
#include "BLI_string_utf8.h"
#include "BLT_translation.hh"
#include "UI_interface_c.hh"
#include "UI_interface_layout.hh"
#include "UI_tree_view.hh"
#include "ED_asset_filter.hh"
#include "ED_asset_list.hh"
#include "ED_asset_shelf.hh"
#include "RNA_access.hh"
#include "RNA_prototypes.hh"
#include "WM_api.hh"

Go to the source code of this file.

Classes

class  blender::ed::asset::shelf::StaticPopupShelves
class  blender::ed::asset::shelf::AssetCatalogTreeView

Namespaces

namespace  blender
namespace  blender::ed
namespace  blender::ed::asset
namespace  blender::ed::asset::shelf

Functions

static AssetShelfblender::ed::asset::shelf::lookup_shelf_for_popup (const bContext &C, const AssetShelfType &shelf_type)
static AssetShelfblender::ed::asset::shelf::get_shelf_for_popup (const bContext &C, AssetShelfType &shelf_type)
static void blender::ed::asset::shelf::catalog_tree_draw (const bContext &C, uiLayout &layout, AssetShelf &shelf)
static AssetShelfTypeblender::ed::asset::shelf::lookup_type_from_idname_in_context (const bContext *C)
static int blender::ed::asset::shelf::layout_width_units_clamped (const wmWindow *win)
static void blender::ed::asset::shelf::popover_panel_draw (const bContext *C, Panel *panel)
static bool blender::ed::asset::shelf::popover_panel_poll (const bContext *C, PanelType *)
void blender::ed::asset::shelf::popover_panel_register (ARegionType *region_type)
Asset Shelf Popup
void blender::ed::asset::shelf::type_popup_unlink (const AssetShelfType &shelf_type)
void blender::ed::asset::shelf::ensure_asset_library_fetched (const bContext &C, const AssetShelfType &shelf_type)

Variables

constexpr int blender::ed::asset::shelf::LEFT_COL_WIDTH_UNITS = 10
constexpr int blender::ed::asset::shelf::RIGHT_COL_WIDTH_UNITS_DEFAULT = 50