|
Blender V4.3
|
#include "BLI_path_utils.hh"#include "BLI_rect.h"#include "BLI_string.h"#include "BKE_blendfile.hh"#include "ED_fileselect.hh"#include "file_intern.hh"Go to the source code of this file.
Functions | |
| void | file_tile_boundbox (const ARegion *region, FileLayout *layout, const int file, rcti *r_bounds) |
| void | file_path_to_ui_path (const char *path, char *r_path, int r_path_maxncpy) |
| void file_path_to_ui_path | ( | const char * | path, |
| char * | r_path, | ||
| int | r_path_maxncpy ) |
If path leads to a .blend, remove the trailing slash (if needed).
Definition at line 32 of file file_utils.cc.
References BKE_blendfile_extension_check(), BLI_path_slash_rstrip(), BLI_strncpy(), FILE_MAX_LIBEXTRA, and STRNCPY.
Referenced by file_draw_invalid_asset_library_hint().
| void file_tile_boundbox | ( | const ARegion * | region, |
| FileLayout * | layout, | ||
| const int | file, | ||
| rcti * | r_bounds ) |
Definition at line 19 of file file_utils.cc.
References BLI_rcti_init(), ED_fileselect_layout_tilepos(), int, FileLayout::tile_border_x, FileLayout::tile_border_y, FileLayout::tile_h, and FileLayout::tile_w.
Referenced by file_box_select_find_last_selected(), and file_ensure_inside_viewbounds().