39#define ATTRIBUTE_COLUMN_PADDING (0.5f * UI_UNIT_X)
41#define FILE_LAYOUT_COMPACT(_layout) \
42 (_layout->flag & FILE_LAYOUT_VER && (_layout->width / UI_SCALE_FAC) < 500)
43#define FILE_LAYOUT_HIDE_DATE(_layout) \
44 (_layout->flag & FILE_LAYOUT_VER && (_layout->width / UI_SCALE_FAC) < 250)
45#define FILE_LAYOUT_HIDE_SIZE(_layout) \
46 (_layout->flag & FILE_LAYOUT_VER && (_layout->width / UI_SCALE_FAC) < 350)
240class AssetCatalogFilterSettings;
249 AssetCatalogFilterSettings *filter_settings,
251 const ::bUUID &catalog_id);
253 const asset_system::AssetLibrary *asset_library);
255 const AssetCatalogFilterSettings *filter_settings,
const AssetMetaData *asset_data);
eFileSel_Params_AssetCatalogVisibility
DEGForeachIDComponentCallback callback
void FILE_OT_parent(wmOperatorType *ot)
void(* onReloadFn)(SpaceFile *space_data, onReloadFnData custom_data)
void FILE_OT_select_box(wmOperatorType *ot)
void FILE_OT_directory_new(wmOperatorType *ot)
void file_draw_check(bContext *C)
void FILE_OT_edit_directory_path(wmOperatorType *ot)
bool folderlist_clear_next(SpaceFile *sfile)
const char * folderlist_peeklastdir(ListBase *folderlist)
void file_path_to_ui_path(const char *path, char *r_path, int r_path_maxncpy)
void FILE_OT_bookmark_add(wmOperatorType *ot)
void file_params_smoothscroll_timer_clear(wmWindowManager *wm, wmWindow *win, SpaceFile *sfile)
void FILE_OT_select_bookmark(wmOperatorType *ot)
void folder_history_list_ensure_for_active_browse_mode(SpaceFile *sfile)
const char * file_context_dir[]
bool file_attribute_column_type_enabled(const FileSelectParams *params, FileAttributeColumnType column, const FileLayout *layout)
void FILE_OT_refresh(wmOperatorType *ot)
void FILE_OT_mouse_execute(wmOperatorType *ot)
void file_calc_previews(const bContext *C, ARegion *region)
void file_params_rename_end(wmWindowManager *wm, wmWindow *win, SpaceFile *sfile, const FileDirEntry *rename_file)
void file_params_invoke_rename_postscroll(wmWindowManager *wm, wmWindow *win, SpaceFile *sfile)
void FILE_OT_sort_column_ui_context(wmOperatorType *ot)
void file_operator_to_sfile(Main *bmain, SpaceFile *sfile, wmOperator *op)
float file_string_width(const char *str)
void FILE_OT_filepath_drop(wmOperatorType *ot)
void FILE_OT_previous(wmOperatorType *ot)
bool file_attribute_column_header_is_inside(const View2D *v2d, const FileLayout *layout, int x, int y)
int autocomplete_directory(bContext *C, char *str, void *arg_v)
int autocomplete_file(bContext *C, char *str, void *arg_v)
void file_params_renamefile_clear(FileSelectParams *params)
int file_select_match(SpaceFile *sfile, const char *pattern, char *matched_file)
void file_execute_region_panels_register(ARegionType *art)
void FILE_OT_bookmark_delete(wmOperatorType *ot)
void fileselect_file_set(bContext *C, SpaceFile *sfile, int index)
void FILE_OT_external_operation(wmOperatorType *ot)
void file_on_reload_callback_register(SpaceFile *sfile, onReloadFn callback, onReloadFnData custom_data)
void FILE_OT_select_walk(wmOperatorType *ot)
void FILE_OT_filenum(wmOperatorType *ot)
void folder_history_list_free(SpaceFile *sfile)
void FILE_OT_delete(wmOperatorType *ot)
void folderlist_pushdir(ListBase *folderlist, const char *dir)
void file_tile_boundbox(const ARegion *region, FileLayout *layout, int file, rcti *r_bounds)
ListBase folder_history_list_duplicate(ListBase *listbase)
bool file_draw_hint_if_invalid(const bContext *C, const SpaceFile *sfile, ARegion *region)
void fileselect_refresh_params(SpaceFile *sfile)
void file_sfile_to_operator_ex(bContext *C, Main *bmain, wmOperator *op, SpaceFile *sfile, char *filepath)
void FILE_OT_bookmark_cleanup(wmOperatorType *ot)
void file_directory_enter_handle(bContext *C, void *arg_unused, void *arg_but)
FileAttributeColumnType file_attribute_column_type_find_isect(const View2D *v2d, const FileSelectParams *params, FileLayout *layout, int x)
void file_draw_check_ex(bContext *C, ScrArea *area)
void file_sfile_to_operator(bContext *C, Main *bmain, wmOperator *op, SpaceFile *sfile)
void FILE_OT_smoothscroll(wmOperatorType *ot)
void FILE_OT_bookmark_move(wmOperatorType *ot)
void FILE_OT_select_all(wmOperatorType *ot)
void FILE_OT_reset_recent(wmOperatorType *ot)
int file_highlight_set(SpaceFile *sfile, ARegion *region, int mx, int my)
void folderlist_free(ListBase *folderlist)
void FILE_OT_select(wmOperatorType *ot)
void file_sfile_filepath_set(SpaceFile *sfile, const char *filepath)
void file_select_deselect_all(SpaceFile *sfile, eDirEntry_SelectFlag flag)
void FILE_OT_start_filter(wmOperatorType *ot)
void folderlist_popdir(ListBase *folderlist, char *dir)
bool file_main_region_needs_refresh_before_draw(SpaceFile *sfile)
void file_tool_props_region_panels_register(ARegionType *art)
void FILE_OT_execute(wmOperatorType *ot)
float file_font_pointsize()
void file_external_operations_menu_register()
void FILE_OT_rename(wmOperatorType *ot)
void file_tools_region_panels_register(ARegionType *art)
void file_filename_enter_handle(bContext *C, void *arg_unused, void *arg_but)
void FILE_OT_cancel(wmOperatorType *ot)
bool file_draw_check_exists(SpaceFile *sfile)
void file_params_renamefile_activate(SpaceFile *sfile, FileSelectParams *params)
void FILE_OT_next(wmOperatorType *ot)
void file_draw_check_cb(bContext *C, void *arg1, void *arg2)
void FILE_OT_view_selected(wmOperatorType *ot)
int file_context(const bContext *C, const char *member, bContextDataResult *result)
void FILE_OT_highlight(wmOperatorType *ot)
void FILE_OT_hidedot(wmOperatorType *ot)
void file_draw_list(const bContext *C, ARegion *region)
void file_ensure_updated_catalog_filter_data(AssetCatalogFilterSettings *filter_settings, const asset_system::AssetLibrary *asset_library)
AssetCatalogFilterSettings * file_create_asset_catalog_filter_settings()
bool file_is_asset_visible_in_catalog_filter_settings(const AssetCatalogFilterSettings *filter_settings, const AssetMetaData *asset_data)
void file_delete_asset_catalog_filter_settings(AssetCatalogFilterSettings **filter_settings)
void file_create_asset_catalog_tree_view_in_layout(asset_system::AssetLibrary *asset_library, uiLayout *layout, SpaceFile *space_file, FileAssetSelectParams *params)
bool file_set_asset_catalog_filter_settings(AssetCatalogFilterSettings *filter_settings, eFileSel_Params_AssetCatalogVisibility catalog_visibility, const ::bUUID &catalog_id)
ReportList is_blendfile_readable_reports
onReloadFnData on_reload_custom_data
bool is_blendfile_readable
bool is_blendfile_status_set