2.5 filebrowser

* bugfix: don't allow parent dir to go beyond root
* bugfix: only attempt to change directory if it exists

New (WIP) feature: autocomplete for directory
* works on TAB
* so far only one level (in current directory)
This commit is contained in:
2009-07-10 19:19:54 +00:00
parent a74edc0caf
commit ac11d522c8
6 changed files with 59 additions and 11 deletions

View File

@@ -89,6 +89,7 @@ float file_string_width(const char* str);
float file_font_pointsize();
void file_change_dir(struct SpaceFile *sfile);
int file_select_match(struct SpaceFile *sfile, const char *pattern);
void autocomplete_directory(struct bContext *C, char *str, void *arg_v);
/* file_panels.c */
void file_panels_register(struct ARegionType *art);