|
Blender V4.3
|
#include <DNA_space_types.h>
Public Attributes | |
| struct FileDirEntry * | next |
| struct FileDirEntry * | prev |
| uint32_t | uid |
| const char * | name |
| uint64_t | size |
| int64_t | time |
| struct { | |
| char size_str [16] | |
| char datetime_str [16+8] | |
| } | draw_data |
| int | typeflag |
| int | blentype |
| char * | relpath |
| char * | redirection_path |
| ID * | id |
| AssetRepresentationHandle * | asset |
| int | preview_icon_id |
| short | flags |
| int | attributes |
Definition at line 1146 of file DNA_space_types.h.
| AssetRepresentationHandle* FileDirEntry::asset |
If this file represents an asset, its asset data is here. Note that we may show assets of external files in which case this is set but not the id above. Note comment for FileListInternEntry.local_data, the same applies here!
Definition at line 1180 of file DNA_space_types.h.
Referenced by blender::ed::asset::list::asset_get_by_index(), ctx_wm_asset_handle(), ED_fileselect_asset_import_method_get(), file_add_icon_but(), file_add_preview_drag_but(), file_but_enable_drag(), file_context(), file_draw_tooltip_custom_func(), and filelist_file_get_full_path().
| int FileDirEntry::attributes |
Definition at line 1187 of file DNA_space_types.h.
Referenced by file_draw_list(), file_draw_preview(), file_draw_tooltip_custom_func(), and filelist_geticon_ex().
| int FileDirEntry::blentype |
ID type, in case typeflag has FILE_TYPE_BLENDERLIB set.
Definition at line 1166 of file DNA_space_types.h.
Referenced by filelist_geticon_ex().
| char FileDirEntry::datetime_str[16+8] |
Definition at line 1160 of file DNA_space_types.h.
Referenced by filelist_get_details_column_string().
| struct { ... } FileDirEntry::draw_data |
Referenced by filelist_get_details_column_string().
| short FileDirEntry::flags |
Definition at line 1185 of file DNA_space_types.h.
Referenced by filelist_cache_previews_push(), filelist_cache_previews_update(), filelist_entry_clear(), filelist_file_is_preview_pending(), and filelist_file_preview_load_poll().
| ID* FileDirEntry::id |
When showing local IDs (FILE_MAIN, FILE_MAIN_ASSET), ID this file represents. Note comment for FileListInternEntry.local_data, the same applies here!
Definition at line 1176 of file DNA_space_types.h.
Referenced by filelist_file_get_id().
| const char* FileDirEntry::name |
Definition at line 1152 of file DNA_space_types.h.
Referenced by file_draw_list(), file_draw_tooltip_custom_func(), and filelist_entry_clear().
| struct FileDirEntry* FileDirEntry::next |
Definition at line 1147 of file DNA_space_types.h.
Referenced by filelist_direntryarr_free().
| struct FileDirEntry * FileDirEntry::prev |
Definition at line 1147 of file DNA_space_types.h.
| int FileDirEntry::preview_icon_id |
Definition at line 1183 of file DNA_space_types.h.
Referenced by ED_file_icon(), filelist_cache_previews_push(), filelist_cache_previews_update(), filelist_entry_clear(), filelist_file_ensure_preview_requested(), filelist_file_getimage(), filelist_geticon_ex(), and filelist_getimage().
| char* FileDirEntry::redirection_path |
Optional argument for shortcuts, aliases etc.
Definition at line 1172 of file DNA_space_types.h.
Referenced by file_draw_tooltip_custom_func(), file_execute(), file_select_do(), file_sfile_to_operator_ex(), filelist_cache_previews_push(), filelist_entry_clear(), and filelist_geticon_ex().
| char* FileDirEntry::relpath |
Definition at line 1170 of file DNA_space_types.h.
Referenced by ED_fileselect_activate_by_relpath(), file_box_select_modal(), file_draw_list(), file_execute(), file_rename_state_activate(), file_select_do(), file_sfile_to_operator_ex(), filelist_entry_clear(), filelist_file_get_full_path(), filelist_get_details_column_string(), filelist_geticon_ex(), filelist_geticon_image_ex(), and fileselect_file_set().
| uint64_t FileDirEntry::size |
Definition at line 1154 of file DNA_space_types.h.
Referenced by file_draw_tooltip_custom_func(), and filelist_get_details_column_string().
| char FileDirEntry::size_str[16] |
Definition at line 1159 of file DNA_space_types.h.
Referenced by filelist_get_details_column_string().
| int64_t FileDirEntry::time |
Definition at line 1155 of file DNA_space_types.h.
Referenced by file_draw_tooltip_custom_func(), and filelist_get_details_column_string().
| int FileDirEntry::typeflag |
Definition at line 1164 of file DNA_space_types.h.
Referenced by file_but_enable_drag(), file_draw_preview(), file_draw_tooltip_custom_func(), file_execute(), file_os_operations_menu_draw(), file_select_do(), filelist_cache_previews_push(), filelist_entry_select_get(), filelist_entry_select_set(), filelist_file_preview_load_poll(), filelist_get_details_column_string(), filelist_geticon_ex(), filelist_geticon_image_ex(), and fileselect_file_set().
| uint32_t FileDirEntry::uid |
Definition at line 1149 of file DNA_space_types.h.
Referenced by filelist_entry_select_get(), filelist_entry_select_set(), filelist_file_cache_block_create(), filelist_file_cache_block_release(), and filelist_file_ensure_preview_requested().