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/file_intern.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/file_intern.h')
-rw-r--r-- | source/blender/editors/space_file/file_intern.h | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/source/blender/editors/space_file/file_intern.h b/source/blender/editors/space_file/file_intern.h index 2322c60f9c9..f5b93a84f39 100644 --- a/source/blender/editors/space_file/file_intern.h +++ b/source/blender/editors/space_file/file_intern.h @@ -34,9 +34,20 @@ /* file_header.c */ void file_header_buttons(const bContext *C, ARegion *ar); -/* filesel.c */ -void freefilelist(SpaceFile *sfile); +/* file_draw.c */ +#define TILE_BORDER_X 8 +#define TILE_BORDER_Y 8 +void file_draw_buttons(const bContext *C, ARegion *ar); +void file_calc_previews(const bContext *C, ARegion *ar); +void file_draw_previews(const bContext *C, ARegion *ar); +void file_draw_list(const bContext *C, ARegion *ar); +void file_draw_fsmenu(const bContext *C, ARegion *ar); + +/* file_ops.h */ +struct wmOperatorType; +void ED_FILE_OT_select(struct wmOperatorType *ot); +void ED_FILE_OT_select_bookmark(struct wmOperatorType *ot); #endif /* ED_FILE_INTERN_H */ |