From c0b3ab6ceb4ca77ec7b05bd5bed090a15705303a Mon Sep 17 00:00:00 2001 From: Andrea Weikert Date: Wed, 10 Mar 2010 19:30:20 +0000 Subject: 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! --- source/blender/imbuf/IMB_thumbs.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source/blender/imbuf/IMB_thumbs.h') 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(); -- cgit v1.2.3