diff options
author | Andrea Weikert <elubie@gmx.net> | 2009-01-06 17:42:54 +0300 |
---|---|---|
committer | Andrea Weikert <elubie@gmx.net> | 2009-01-06 17:42:54 +0300 |
commit | b1cb844e0539376cb41cd15bf802aea62848b90a (patch) | |
tree | 5e67be9915d4a76afd9e894cc2e0783d439c41be /source/blender/editors/space_file/fsmenu.h | |
parent | 10e6566aebec1c1c623cd88c3887db7c113d5af9 (diff) |
2.5 - Start of filebrowser.
- basic drawing of list and thumbnail view (switchable through 'favourits' icon in header)
- selection of files and directories (bookmarks) works with the RMB (right mouse button)
- load operator for files still unstable (no check for correct file type) and incomplete. (WM_operator_free missing)
immediate TODOS:
- fix load file operator
- finish drawing of buttons in header
- drawing of detailed list with all file info.
- finish selection and execute operators (LMB and MMB execute)
later todos:
- parent dir
- keymap for all the shortcuts
- append/link and databrowse
- ...
Diffstat (limited to 'source/blender/editors/space_file/fsmenu.h')
-rw-r--r-- | source/blender/editors/space_file/fsmenu.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/source/blender/editors/space_file/fsmenu.h b/source/blender/editors/space_file/fsmenu.h index 7cd7f78a363..f4291673a3e 100644 --- a/source/blender/editors/space_file/fsmenu.h +++ b/source/blender/editors/space_file/fsmenu.h @@ -37,10 +37,10 @@ int fsmenu_get_nentries (void); /** Returns true if the fsmenu entry at @a index exists and * is a seperator. */ -int fsmenu_is_entry_a_seperator (int index); +int fsmenu_is_entry_a_separator (int index); /** Returns the fsmenu entry at @a index (or NULL if a bad index) - * or a seperator. + * or a separator. */ char* fsmenu_get_entry (int index); @@ -63,8 +63,11 @@ void fsmenu_insert_entry (char *path, int sorted, short save); /** Removes the fsmenu entry at the given @a index. */ void fsmenu_remove_entry (int index); - /** saves the 'favourites' to the specified file */ + /** saves the 'bookmarks' to the specified file */ void fsmenu_write_file(const char *filename); + + /** reads the 'bookmarks' from the specified file */ +void fsmenu_read_file(const char *filename); /** Free's all the memory associated with the fsmenu */ void fsmenu_free (void); |