diff options
author | Andrea Weikert <elubie@gmx.net> | 2010-03-10 22:30:20 +0300 |
---|---|---|
committer | Andrea Weikert <elubie@gmx.net> | 2010-03-10 22:30:20 +0300 |
commit | c0b3ab6ceb4ca77ec7b05bd5bed090a15705303a (patch) | |
tree | 256463f28b31ef4d2edde870996afc27d0402cb7 /source/blender/imbuf/IMB_thumbs.h | |
parent | 222dc9cf132c6cc2f4c3ca6c14fe5dffb5737d7d (diff) |
filebrowser:
* move own thread handling for thumbnails to WM_jobs
* cleanup of thumbnail creation code
* added function to kill the job, which actually allows thread to terminate gracefully
vc9 projectfiles:
* fixed some missing includes for release target!
Diffstat (limited to 'source/blender/imbuf/IMB_thumbs.h')
-rw-r--r-- | source/blender/imbuf/IMB_thumbs.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/imbuf/IMB_thumbs.h b/source/blender/imbuf/IMB_thumbs.h index 8855c003818..165accc9e17 100644 --- a/source/blender/imbuf/IMB_thumbs.h +++ b/source/blender/imbuf/IMB_thumbs.h @@ -56,16 +56,16 @@ typedef enum ThumbSource { // IB_imginfo /* create thumbnail for file and returns new imbuf for thumbnail */ -ImBuf* IMB_thumb_create(const char* dir, const char* file, ThumbSize size, ThumbSource source); +ImBuf* IMB_thumb_create(const char* path, ThumbSize size, ThumbSource source); /* read thumbnail for file and returns new imbuf for thumbnail */ -ImBuf* IMB_thumb_read(const char* dir, const char* file, ThumbSize size); +ImBuf* IMB_thumb_read(const char* path, ThumbSize size); /* delete all thumbs for the file */ -void IMB_thumb_delete(const char* dir, const char* file, ThumbSize size); +void IMB_thumb_delete(const char* path, ThumbSize size); /* return the state of the thumb, needed to determine how to manage the thumb */ -ImBuf* IMB_thumb_manage(const char* dir, const char* file, ThumbSize size, ThumbSource source); +ImBuf* IMB_thumb_manage(const char* path, ThumbSize size, ThumbSource source); /* create the necessary dirs to store the thumbnails */ void IMB_thumb_makedirs(); |