124 char *dyn_tooltip = argN;
136 .xmax = (
float)(sx +
width),
137 .ymin = (
float)(sy -
height),
163 const float a1 = dimmed ? 1.0f : 0.0f;
164 const float a2 = dimmed ? 0.3f : 0.0f;
166 block,
UI_BTYPE_LABEL, 0, icon,
x,
y,
width,
height,
NULL, 0.0f, 0.0f, a1, a2,
NULL);
208 if (
string[0] ==
'\0' ||
width < 1) {
243 const uchar text_col[4],
255 int len = strlen(
string);
278 .align = UI_STYLE_TEXT_LEFT,
289 *r_sy = rect.
ymin + line_height;
307 const float icon_aspect,
320 float ui_imbx, ui_imby;
321 float scaledx, scaledy;
324 bool show_outline = !is_icon &&
332 if (((ui_imbx > layout->
prv_w) || (ui_imby > layout->
prv_h)) ||
333 (!is_icon && ((ui_imbx < layout->prv_w) || (ui_imby < layout->prv_h)))) {
334 if (imb->
x > imb->
y) {
336 scaledy = ((
float)imb->
y / (
float)imb->
x) * layout->
prv_w;
337 scale = scaledx / imb->
x;
341 scaledx = ((
float)imb->
x / (
float)imb->
y) * layout->
prv_h;
342 scale = scaledy / imb->
y;
353 fx = ((
float)layout->
prv_w - (
float)ex) / 2.0f;
354 fy = ((
float)layout->
prv_h - (
float)ey) / 2.0f;
358 yco = sy - layout->
prv_h + (int)dy;
364 float col[4] = {1.0f, 1.0f, 1.0f, 1.0f};
403 if (icon && is_icon) {
405 float icon_x, icon_y;
406 const float icon_size = 16.0f / icon_aspect *
U.dpi_fac;
407 float icon_opacity = 0.3f;
408 uchar icon_color[4] = {0, 0, 0, 255};
416 icon_x = xco + (ex / 2.0f) - (icon_size / 2.0f);
417 icon_y = yco + (ey / 2.0f) - (icon_size * ((
file->typeflag &
FILE_TYPE_DIR) ? 0.78f : 0.75f));
419 icon_x, icon_y, icon, icon_aspect /
U.dpi_fac, icon_opacity, 0.0f, icon_color,
false);
424 float icon_x, icon_y;
427 const int arrow = ICON_LOOP_FORWARDS;
430 const uchar dark[4] = {0, 0, 0, 255};
431 const uchar light[4] = {255, 255, 255, 255};
432 UI_icon_draw_ex(icon_x + 1, icon_y - 1, arrow, 1.0f /
U.dpi_fac, 0.2f, 0.0f, dark,
false);
433 UI_icon_draw_ex(icon_x, icon_y, arrow, 1.0f /
U.dpi_fac, 0.6f, 0.0f, light,
false);
442 icon_x, icon_y, arrow, icon_aspect /
U.dpi_fac * 1.8, 0.3f, 0.0f, icon_color,
false);
447 float icon_x, icon_y;
448 const uchar dark[4] = {0, 0, 0, 255};
449 const uchar light[4] = {255, 255, 255, 255};
452 UI_icon_draw_ex(icon_x + 1, icon_y - 1, icon, 1.0f /
U.dpi_fac, 0.2f, 0.0f, dark,
false);
453 UI_icon_draw_ex(icon_x, icon_y, icon, 1.0f /
U.dpi_fac, 0.6f, 0.0f, light,
false);
461 float border_color[4] = {1.0f, 1.0f, 1.0f, 0.4f};
465 border_color[0] = 0.0f;
466 border_color[1] = 0.0f;
467 border_color[2] = 0.0f;
474 but =
uiDefBut(block,
UI_BTYPE_LABEL, 0,
"", xco, yco, ex, ey,
NULL, 0.0, 0.0, 0, 0,
NULL);
514 if (!
STREQ(orgname, newname)) {
549 float col_alternating[4];
554 for (i = 2; (i <= layout->
rows + 1); i += 2) {
578 while (sx < v2d->cur.xmax) {
583 if (vertex_len > 0) {
585 uchar col_hi[3], col_lo[3];
602 while (sx < v2d->cur.xmax) {
611 v1[0] =
v2[0] = sx + 1;
642 const uchar text_col[4])
711 const bool small_size,
712 const bool update_stat_strings)
717 if ((
file->entry->datetime_str[0] ==
'\0') || update_stat_strings) {
719 bool is_today, is_yesterday;
722 NULL,
file->entry->time, small_size,
time, date, &is_today, &is_yesterday);
724 if (is_today || is_yesterday) {
725 BLI_strncpy(date, is_today ?
N_(
"Today") :
N_(
"Yesterday"),
sizeof(date));
728 file->entry->datetime_str,
sizeof(
file->entry->datetime_str),
"%s %s", date,
time);
731 return file->entry->datetime_str;
737 if ((
file->entry->size_str[0] ==
'\0') || update_stat_strings) {
739 NULL,
file->entry->size, small_size,
file->entry->size_str);
742 return file->entry->size_str;
757 const uchar text_col[4])
777 column_type,
file, small_size, update_stat_strings);
808 int textwidth, textheight;
815 const float thumb_icon_aspect =
MIN2(64.0f / (
float)(
params->thumbnail_size), 1.0f);
834 numfiles_layout += layout->
rows;
845 textheight = (int)(layout->
textheight * 3.0 / 2.0 + 0.5);
851 files,
min_ii(offset + (numfiles_layout / 2), numfiles - 1));
880 for (i = offset; (i < numfiles) && (i < offset + numfiles_layout); i++) {
887 sx += (int)(v2d->
tot.
xmin + padx);
888 sy = (int)(v2d->
tot.
ymax - sy);
902 layout->
tile_w - (2 * padx) :
971 (
float)
sizeof(
params->renamefile),
1007 if (draw_columnheader) {
1023 uchar text_alert_col[4];
1036 const char *message =
TIP_(
"Library not found");
1037 const int draw_string_str_len = strlen(message) + 2 +
sizeof(library_ui_path);
1038 char *draw_string = alloca(draw_string_str_len);
1039 BLI_snprintf(draw_string, draw_string_str_len,
"%s: %s", message, library_ui_path);
1049 const char *suggestion =
TIP_(
1050 "Set up the library or edit libraries in the Preferences, File Paths section");
typedef float(TangentPoint)[2]
void immDrawPixelsTexScaled(IMMDrawPixelsTexState *state, float x, float y, int img_w, int img_h, eGPUTextureFormat gpu_format, bool use_filter, void *rect, float scaleX, float scaleY, float xzoom, float yzoom, const float color[4])
IMMDrawPixelsTexState immDrawPixelsTexSetup(int builtin)
struct Scene * CTX_data_scene(const bContext *C)
struct wmWindowManager * CTX_wm_manager(const bContext *C)
struct SpaceLink * CTX_wm_space_data(const bContext *C)
struct ARegion * CTX_wm_region(const bContext *C)
struct SpaceFile * CTX_wm_space_file(const bContext *C)
struct wmWindow * CTX_wm_window(const bContext *C)
void BLF_disable(int fontid, int option)
void BLF_batch_draw_begin(void)
void BLF_enable(int fontid, int option)
void BLF_batch_draw_end(void)
void BLF_wordwrap(int fontid, int wrap_width)
void BLF_boundbox(int fontid, const char *str, size_t len, struct rctf *box) ATTR_NONNULL()
int BLI_exists(const char *path) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL()
#define FILE_ATTR_ANY_LINK
int BLI_rename(const char *from, const char *to) ATTR_NONNULL()
void BLI_filelist_entry_size_to_string(const struct stat *st, const uint64_t sz, const bool compact, char r_size[])
void BLI_filelist_entry_datetime_to_string(const struct stat *st, const int64_t ts, const bool compact, char r_time[], char r_date[], bool *r_is_today, bool *r_is_yesterday)
Some types for dealing with directories.
#define FILELIST_DIRENTRY_DATE_LEN
#define FILELIST_DIRENTRY_TIME_LEN
MINLINE int round_fl_to_int(float a)
MINLINE int min_ii(int a, int b)
MINLINE float rgb_to_grayscale(const float rgb[3])
void rgba_uchar_to_float(float r_col[4], const unsigned char col_ub[4])
void BLI_join_dirfile(char *__restrict dst, const size_t maxlen, const char *__restrict dir, const char *__restrict file) ATTR_NONNULL()
#define FILENAME_IS_CURRPAR(_n)
bool BLI_filename_make_safe(char *fname) ATTR_NONNULL(1)
BLI_INLINE float BLI_rctf_size_x(const struct rctf *rct)
BLI_INLINE float BLI_rctf_size_y(const struct rctf *rct)
char * BLI_strdup(const char *str) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL() ATTR_MALLOC
size_t BLI_snprintf(char *__restrict dst, size_t maxncpy, const char *__restrict format,...) ATTR_NONNULL(1
char * BLI_strncpy(char *__restrict dst, const char *__restrict src, const size_t maxncpy) ATTR_NONNULL()
#define UNUSED_VARS_NDEBUG(...)
Compatibility-like things for windows.
external readfile function prototypes.
bool BLO_library_path_explode(const char *path, char *r_dir, char **r_group, char **r_name)
@ FILE_TYPE_BLENDER_BACKUP
@ FILE_PARAMS_RENAME_POSTSCROLL_PENDING
@ FILE_ASSET_LIBRARY_LOCAL
#define FILE_MAX_LIBEXTRA
struct FileAssetSelectParams * ED_fileselect_get_asset_params(const struct SpaceFile *sfile)
int ED_fileselect_layout_offset(FileLayout *layout, int x, int y)
bool ED_fileselect_is_asset_browser(const struct SpaceFile *sfile)
void ED_fileselect_layout_tilepos(FileLayout *layout, int tile, int *x, int *y)
int ED_fileselect_layout_numfiles(FileLayout *layout, struct ARegion *region)
struct FileSelectParams * ED_fileselect_get_active_params(const struct SpaceFile *sfile)
void ED_fileselect_clear(struct wmWindowManager *wm, struct Scene *owner_scene, struct SpaceFile *sfile)
void ED_fileselect_init_layout(struct SpaceFile *sfile, struct ARegion *region)
FileLayout * ED_fileselect_get_layout(struct SpaceFile *sfile, struct ARegion *region)
void ED_region_tag_redraw(struct ARegion *region)
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum const void *lists _GL_VOID_RET _GL_VOID const GLdouble *equation _GL_VOID_RET _GL_VOID GLdouble GLdouble blue _GL_VOID_RET _GL_VOID GLfloat GLfloat blue _GL_VOID_RET _GL_VOID GLint GLint blue _GL_VOID_RET _GL_VOID GLshort GLshort blue _GL_VOID_RET _GL_VOID GLubyte GLubyte blue _GL_VOID_RET _GL_VOID GLuint GLuint blue _GL_VOID_RET _GL_VOID GLushort GLushort blue _GL_VOID_RET _GL_VOID GLbyte GLbyte GLbyte alpha _GL_VOID_RET _GL_VOID GLdouble GLdouble GLdouble alpha _GL_VOID_RET _GL_VOID GLfloat GLfloat GLfloat alpha _GL_VOID_RET _GL_VOID GLint GLint GLint alpha _GL_VOID_RET _GL_VOID GLshort GLshort GLshort alpha _GL_VOID_RET _GL_VOID GLubyte GLubyte GLubyte alpha _GL_VOID_RET _GL_VOID GLuint GLuint GLuint alpha _GL_VOID_RET _GL_VOID GLushort GLushort GLushort alpha _GL_VOID_RET _GL_VOID GLenum mode _GL_VOID_RET _GL_VOID GLint GLsizei width
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei height
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum const void *lists _GL_VOID_RET _GL_VOID const GLdouble *equation _GL_VOID_RET _GL_VOID GLdouble GLdouble blue _GL_VOID_RET _GL_VOID GLfloat GLfloat blue _GL_VOID_RET _GL_VOID GLint GLint blue _GL_VOID_RET _GL_VOID GLshort GLshort blue _GL_VOID_RET _GL_VOID GLubyte GLubyte blue _GL_VOID_RET _GL_VOID GLuint GLuint blue _GL_VOID_RET _GL_VOID GLushort GLushort blue _GL_VOID_RET _GL_VOID GLbyte GLbyte GLbyte alpha _GL_VOID_RET _GL_VOID GLdouble GLdouble GLdouble alpha _GL_VOID_RET _GL_VOID GLfloat GLfloat GLfloat alpha _GL_VOID_RET _GL_VOID GLint GLint GLint alpha _GL_VOID_RET _GL_VOID GLshort GLshort GLshort alpha _GL_VOID_RET _GL_VOID GLubyte GLubyte GLubyte alpha _GL_VOID_RET _GL_VOID GLuint GLuint GLuint alpha _GL_VOID_RET _GL_VOID GLushort GLushort GLushort alpha _GL_VOID_RET _GL_VOID GLenum mode _GL_VOID_RET _GL_VOID GLint y
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum const void *lists _GL_VOID_RET _GL_VOID const GLdouble *equation _GL_VOID_RET _GL_VOID GLdouble GLdouble blue _GL_VOID_RET _GL_VOID GLfloat GLfloat blue _GL_VOID_RET _GL_VOID GLint GLint blue _GL_VOID_RET _GL_VOID GLshort GLshort blue _GL_VOID_RET _GL_VOID GLubyte GLubyte blue _GL_VOID_RET _GL_VOID GLuint GLuint blue _GL_VOID_RET _GL_VOID GLushort GLushort blue _GL_VOID_RET _GL_VOID GLbyte GLbyte GLbyte alpha _GL_VOID_RET _GL_VOID GLdouble GLdouble GLdouble alpha _GL_VOID_RET _GL_VOID GLfloat GLfloat GLfloat alpha _GL_VOID_RET _GL_VOID GLint GLint GLint alpha _GL_VOID_RET _GL_VOID GLshort GLshort GLshort alpha _GL_VOID_RET _GL_VOID GLubyte GLubyte GLubyte alpha _GL_VOID_RET _GL_VOID GLuint GLuint GLuint alpha _GL_VOID_RET _GL_VOID GLushort GLushort GLushort alpha _GL_VOID_RET _GL_VOID GLenum mode _GL_VOID_RET _GL_VOID GLint GLsizei GLsizei GLenum type _GL_VOID_RET _GL_VOID GLsizei GLenum GLenum const void *pixels _GL_VOID_RET _GL_VOID const void *pointer _GL_VOID_RET _GL_VOID GLdouble v _GL_VOID_RET _GL_VOID GLfloat v _GL_VOID_RET _GL_VOID GLint GLint i2 _GL_VOID_RET _GL_VOID GLint j _GL_VOID_RET _GL_VOID GLfloat param _GL_VOID_RET _GL_VOID GLint param _GL_VOID_RET _GL_VOID GLdouble GLdouble GLdouble GLdouble GLdouble zFar _GL_VOID_RET _GL_UINT GLdouble *equation _GL_VOID_RET _GL_VOID GLenum GLint *params _GL_VOID_RET _GL_VOID GLenum GLfloat *v _GL_VOID_RET _GL_VOID GLenum GLfloat *params _GL_VOID_RET _GL_VOID GLfloat *values _GL_VOID_RET _GL_VOID GLushort *values _GL_VOID_RET _GL_VOID GLenum GLfloat *params _GL_VOID_RET _GL_VOID GLenum GLdouble *params _GL_VOID_RET _GL_VOID GLenum GLint *params _GL_VOID_RET _GL_VOID GLsizei const void *pointer _GL_VOID_RET _GL_VOID GLsizei const void *pointer _GL_VOID_RET _GL_BOOL GLfloat param _GL_VOID_RET _GL_VOID GLint param _GL_VOID_RET _GL_VOID GLenum GLfloat param _GL_VOID_RET _GL_VOID GLenum GLint param _GL_VOID_RET _GL_VOID GLushort pattern _GL_VOID_RET _GL_VOID GLdouble GLdouble GLint GLint const GLdouble *points _GL_VOID_RET _GL_VOID GLdouble GLdouble GLint GLint GLdouble v1
@ GPU_SHADER_2D_UNIFORM_COLOR
@ GPU_SHADER_2D_IMAGE_COLOR
@ GPU_SHADER_2D_FLAT_COLOR
@ GPU_BLEND_ALPHA_PREMULT
void GPU_blend(eGPUBlend blend)
Contains defines and structs used throughout the imbuf module.
StructRNA RNA_FileSelectParams
void UI_but_flag_disable(uiBut *but, int flag)
void UI_but_func_tooltip_set(uiBut *but, uiButToolTipFunc func, void *argN)
uiBut * uiDefIconBut(uiBlock *block, int type, int retval, int icon, int x, int y, short width, short height, void *poin, float min, float max, float a1, float a2, const char *tip)
void UI_fontstyle_draw_ex(const struct uiFontStyle *fs, const struct rcti *rect, const char *str, const uchar col[4], const struct uiFontStyleDraw_Params *fs_params, size_t len, int *r_xofs, int *r_yofs, struct ResultBLF *r_info)
void UI_draw_icon_tri(float x, float y, char dir, const float[4])
uiBut * uiDefBut(uiBlock *block, int type, int retval, const char *str, int x, int y, short width, short height, void *poin, float min, float max, float a1, float a2, const char *tip)
const struct uiStyle * UI_style_get(void)
void UI_but_drag_set_image(uiBut *but, const char *path, int icon, struct ImBuf *imb, float scale, const bool use_free)
bool UI_but_is_utf8(const uiBut *but)
void UI_but_drag_set_path(uiBut *but, const char *path, const bool use_free)
void UI_draw_roundbox_corner_set(int type)
void UI_but_drag_set_id(uiBut *but, struct ID *id)
void UI_block_end(const struct bContext *C, uiBlock *block)
uiBut * uiDefButR(uiBlock *block, int type, int retval, const char *str, int x, int y, short width, short height, struct PointerRNA *ptr, const char *propname, int index, float min, float max, float a1, float a2, const char *tip)
void UI_block_draw(const struct bContext *C, struct uiBlock *block)
void UI_block_func_set(uiBlock *block, uiButHandleFunc func, void *arg1, void *arg2)
bool UI_but_active_only(const struct bContext *C, struct ARegion *region, uiBlock *block, uiBut *but)
void UI_but_func_rename_set(uiBut *but, uiButHandleRenameFunc func, void *arg1)
void UI_draw_roundbox_aa(const struct rctf *rect, bool filled, float rad, const float color[4])
uiBlock * UI_block_begin(const struct bContext *C, struct ARegion *region, const char *name, eUIEmbossType emboss)
float UI_text_clip_middle_ex(const struct uiFontStyle *fstyle, char *str, float okwidth, const float minwidth, const size_t max_len, const char rpart_sep)
void UI_fontstyle_draw(const struct uiFontStyle *fs, const struct rcti *rect, const char *str, const uchar col[4], const struct uiFontStyleDraw_Params *fs_params)
void UI_but_func_complete_set(uiBut *but, uiButCompleteFunc func, void *arg)
void UI_but_funcN_set(uiBut *but, uiButHandleNFunc funcN, void *argN, void *arg2)
void UI_but_drag_set_asset(uiBut *but, const char *name, const char *path, int id_type, int icon, struct ImBuf *imb, float scale)
void UI_but_flag_enable(uiBut *but, int flag)
bool UI_but_flag_is_set(uiBut *but, int flag)
void UI_icon_draw(float x, float y, int icon_id)
#define ICON_DEFAULT_WIDTH_SCALE
#define ICON_DEFAULT_HEIGHT_SCALE
void UI_icon_draw_ex(float x, float y, int icon_id, float aspect, float alpha, float desaturate, const uchar mono_color[4], const bool mono_border)
void UI_GetThemeColor4fv(int colorid, float col[4])
void UI_GetThemeColorShade4fv(int colorid, int offset, float col[4])
void UI_GetThemeColorShade3ubv(int colorid, int offset, unsigned char col[3])
void UI_GetThemeColor4ubv(int colorid, unsigned char col[4])
void UI_view2d_totRect_set(struct View2D *v2d, int width, int height)
#define ND_SPACE_FILE_PREVIEW
ATTR_WARN_UNUSED_RESULT const BMVert * v2
static void draw_dividers(FileLayout *layout, View2D *v2d)
bool file_draw_hint_if_invalid(const SpaceFile *sfile, const ARegion *region)
void file_calc_previews(const bContext *C, ARegion *region)
static void renamebutton_cb(bContext *C, void *UNUSED(arg1), char *oldname)
static void file_draw_preview(uiBlock *block, const FileDirEntry *file, const char *path, int sx, int sy, const float icon_aspect, ImBuf *imb, const int icon, FileLayout *layout, const bool is_icon, const bool drag, const bool dimmed, const bool is_link)
static void file_draw_icon(uiBlock *block, const FileDirEntry *file, const char *path, int sx, int sy, int icon, int width, int height, bool drag, bool dimmed)
static void draw_columnheader_columns(const FileSelectParams *params, FileLayout *layout, const View2D *v2d, const uchar text_col[4])
static void file_draw_string_multiline(int sx, int sy, const char *string, int wrap_width, int line_height, const uchar text_col[4], int *r_sx, int *r_sy)
static char * file_draw_tooltip_func(bContext *UNUSED(C), void *argN, const char *UNUSED(tip))
static void draw_details_columns(const FileSelectParams *params, const FileLayout *layout, const FileDirEntry *file, const int pos_x, const int pos_y, const uchar text_col[4])
static const char * filelist_get_details_column_string(FileAttributeColumnType column, const FileDirEntry *file, const bool small_size, const bool update_stat_strings)
static void draw_tile(int sx, int sy, int width, int height, int colorid, int shade)
static void file_draw_invalid_library_hint(const SpaceFile *sfile, const ARegion *region)
static void draw_columnheader_background(const FileLayout *layout, const View2D *v2d)
void ED_file_path_button(bScreen *screen, const SpaceFile *sfile, FileSelectParams *params, uiBlock *block)
static void draw_background(FileLayout *layout, View2D *v2d)
static void file_draw_string(int sx, int sy, const char *string, float width, int height, eFontStyle_Align align, const uchar col[4])
void file_draw_list(const bContext *C, ARegion *region)
int autocomplete_directory(struct bContext *C, char *str, void *arg_v)
#define SMALL_SIZE_CHECK(_size)
void file_directory_enter_handle(bContext *C, void *arg_unused, void *arg_but)
#define ATTRIBUTE_COLUMN_PADDING
void file_path_to_ui_path(const char *path, char *r_pathi, int max_size)
bool file_attribute_column_type_enabled(const FileSelectParams *params, FileAttributeColumnType column)
void file_draw_check_cb(bContext *C, void *arg1, void *arg2)
ImBuf * filelist_geticon_image(struct FileList *filelist, const int index)
int filelist_geticon(struct FileList *filelist, const int index, const bool is_main)
bool filelist_cache_previews_running(FileList *filelist)
BlendHandle * filelist_lib(struct FileList *filelist)
ID * filelist_file_get_id(const FileDirEntry *file)
bool filelist_cache_previews_update(FileList *filelist)
bool filelist_file_cache_block(struct FileList *filelist, const int index)
void filelist_file_cache_slidingwindow_set(FileList *filelist, size_t window_size)
uint filelist_entry_select_set(const FileList *filelist, const FileDirEntry *entry, FileSelType select, uint flag, FileCheckType check)
FileDirEntry * filelist_file(struct FileList *filelist, int index)
int filelist_files_ensure(FileList *filelist)
ImBuf * filelist_getimage(struct FileList *filelist, const int index)
ImBuf * filelist_file_getimage(const FileDirEntry *file)
bool filelist_is_dir(struct FileList *filelist, const char *path)
uint filelist_entry_select_get(FileList *filelist, FileDirEntry *entry, FileCheckType check)
const char * filelist_dir(struct FileList *filelist)
void RNA_pointer_create(ID *id, StructRNA *type, void *data, PointerRNA *r_ptr)
FileSelectAssetLibraryUID asset_library
FileSelectParams base_params
FileAttributeColumn attribute_columns[ATTRIBUTE_COLUMN_MAX]
int attribute_column_header_h
struct wmTimer * smoothscroll_timer
struct FileLayout * layout
struct wmTimer * previews_timer
int wrap_width(const struct SpaceText *st, struct ARegion *region)
void WM_report_banner_show(void)
void WM_reportf(ReportType type, const char *format,...)
void WM_event_remove_timer(wmWindowManager *wm, wmWindow *UNUSED(win), wmTimer *timer)
wmTimer * WM_event_add_timer_notifier(wmWindowManager *wm, wmWindow *win, unsigned int type, double timestep)
void WM_event_remove_timer_notifier(wmWindowManager *wm, wmWindow *win, wmTimer *timer)
wmTimer * WM_event_add_timer(wmWindowManager *wm, wmWindow *win, int event_type, double timestep)