Blender V5.3
blender::FileSelectParams Struct Reference

#include <DNA_space_types.h>

Public Attributes

char title [96] = ""
char dir [1282] = ""
char file [256] = ""
char renamefile [256] = ""
eFileSel_Params_RenameFlag rename_flag = {}
char _pad [4] = {}
const ID * rename_id = nullptr
void * _pad3 = nullptr
char filter_glob [256] = ""
char filter_search [64] = ""
uint64_t filter_id = 0
int active_file = 0
int highlight_file = 0
int sel_first = 0
int sel_last = 0
unsigned short thumbnail_size = 0
unsigned short list_thumbnail_size = 0
unsigned short list_column_size = 0
eFileSelectType type = {}
eFileSel_Params_Flag flag = {}
eFileSortType sort = FILE_SORT_DEFAULT
eFileDisplayType display = FILE_DEFAULTDISPLAY
eFileDetails details_flags = {}
char _pad1 = {}
int filter = 0
short recursion_level = 0
char _pad2 [2] = {}

Detailed Description

Config and Input for File Selector.

Definition at line 397 of file DNA_space_types.h.

Member Data Documentation

◆ _pad

char blender::FileSelectParams::_pad[4] = {}

Definition at line 411 of file DNA_space_types.h.

◆ _pad1

char blender::FileSelectParams::_pad1 = {}

Definition at line 448 of file DNA_space_types.h.

◆ _pad2

char blender::FileSelectParams::_pad2[2] = {}

Definition at line 456 of file DNA_space_types.h.

◆ _pad3

void* blender::FileSelectParams::_pad3 = nullptr

Definition at line 416 of file DNA_space_types.h.

◆ active_file

◆ details_flags

◆ dir

◆ display

◆ file

◆ filter

int blender::FileSelectParams::filter = 0

◆ filter_glob

char blender::FileSelectParams::filter_glob[256] = ""

◆ filter_id

◆ filter_search

char blender::FileSelectParams::filter_search[64] = ""

Text items name must match to be shown.

Definition at line 422 of file DNA_space_types.h.

Referenced by blender::file_draw_list().

◆ flag

◆ highlight_file

◆ list_column_size

◆ list_thumbnail_size

◆ recursion_level

short blender::FileSelectParams::recursion_level = 0

◆ rename_flag

◆ rename_id

const ID* blender::FileSelectParams::rename_id = nullptr

An ID that was just renamed. Used to identify a renamed asset file over re-reads, similar to renamefile but for local IDs (takes precedence). Don't keep this stored across handlers! Would break on undo.

Definition at line 415 of file DNA_space_types.h.

Referenced by blender::file_directory_new_exec(), blender::file_listener(), blender::file_params_find_renamed(), blender::file_params_renamefile_activate(), blender::file_params_renamefile_clear(), and blender::file_space_blend_read_data().

◆ renamefile

◆ sel_first

int blender::FileSelectParams::sel_first = 0

Definition at line 431 of file DNA_space_types.h.

Referenced by blender::file_box_select_modal().

◆ sel_last

int blender::FileSelectParams::sel_last = 0

Definition at line 432 of file DNA_space_types.h.

Referenced by blender::file_box_select_modal().

◆ sort

◆ thumbnail_size

◆ title

char blender::FileSelectParams::title[96] = ""

Title, also used for the text of the execute button.

Definition at line 399 of file DNA_space_types.h.

Referenced by blender::file_panel_execution_buttons_draw(), and blender::fileselect_ensure_updated_file_params().

◆ type

eFileSelectType blender::FileSelectParams::type = {}

XXX: for now store type here, should be moved to the operator.

Definition at line 439 of file DNA_space_types.h.

Referenced by blender::file_duplicate(), blender::file_refresh(), blender::fileselect_ensure_updated_file_params(), and blender::fileselect_refresh_asset_params().


The documentation for this struct was generated from the following file: