Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/include/ED_fileselect.h
| Show First 20 Lines • Show All 158 Lines • ▼ Show 20 Lines | |||||
| void ED_fileselect_deselect_all(struct SpaceFile *sfile); | void ED_fileselect_deselect_all(struct SpaceFile *sfile); | ||||
| void ED_fileselect_activate_by_relpath(struct SpaceFile *sfile, const char *relative_path); | void ED_fileselect_activate_by_relpath(struct SpaceFile *sfile, const char *relative_path); | ||||
| void ED_fileselect_window_params_get(const struct wmWindow *win, | void ED_fileselect_window_params_get(const struct wmWindow *win, | ||||
| int win_size[2], | int win_size[2], | ||||
| bool *is_maximized); | bool *is_maximized); | ||||
| /** | |||||
| * Return the File Browser area in which \a file_operator is active. | |||||
| */ | |||||
| struct ScrArea *ED_fileselect_handler_area_find(const struct wmWindow *win, | struct ScrArea *ED_fileselect_handler_area_find(const struct wmWindow *win, | ||||
| const struct wmOperator *file_operator); | const struct wmOperator *file_operator); | ||||
| /** | |||||
| * Check if there is any area in \a win that acts as a modal File Browser (#SpaceFile.op is set) | |||||
| * and return it. | |||||
| */ | |||||
| struct ScrArea *ED_fileselect_handler_area_find_any_with_op(const struct wmWindow *win); | |||||
| /* TODO: Maybe we should move this to BLI? | /* TODO: Maybe we should move this to BLI? | ||||
| * On the other hand, it's using defines from space-file area, so not sure... */ | * On the other hand, it's using defines from space-file area, so not sure... */ | ||||
| int ED_path_extension_type(const char *path); | int ED_path_extension_type(const char *path); | ||||
| int ED_file_extension_icon(const char *path); | int ED_file_extension_icon(const char *path); | ||||
| int ED_file_icon(const struct FileDirEntry *file); | int ED_file_icon(const struct FileDirEntry *file); | ||||
| void ED_file_read_bookmarks(void); | void ED_file_read_bookmarks(void); | ||||
| ▲ Show 20 Lines • Show All 71 Lines • Show Last 20 Lines | |||||