Changeset View
Changeset View
Standalone View
Standalone View
source/blender/imbuf/IMB_thumbs.h
| Show First 20 Lines • Show All 81 Lines • ▼ Show 20 Lines | struct ImBuf *IMB_thumb_load_blend(const char *blen_path, | ||||
| const char *blen_group, | const char *blen_group, | ||||
| const char *blen_id); | const char *blen_id); | ||||
| /** | /** | ||||
| * Special function for previewing fonts. | * Special function for previewing fonts. | ||||
| */ | */ | ||||
| struct ImBuf *IMB_thumb_load_font(const char *filepath, unsigned int x, unsigned int y); | struct ImBuf *IMB_thumb_load_font(const char *filepath, unsigned int x, unsigned int y); | ||||
| bool IMB_thumb_load_font_get_hash(char *r_hash); | bool IMB_thumb_load_font_get_hash(char *r_hash); | ||||
| void IMB_thumb_clear_translations(void); | |||||
| void IMB_thumb_ensure_translations(void); | |||||
| /* Threading */ | /* Threading */ | ||||
| void IMB_thumb_locks_acquire(void); | void IMB_thumb_locks_acquire(void); | ||||
| void IMB_thumb_locks_release(void); | void IMB_thumb_locks_release(void); | ||||
| void IMB_thumb_path_lock(const char *path); | void IMB_thumb_path_lock(const char *path); | ||||
| void IMB_thumb_path_unlock(const char *path); | void IMB_thumb_path_unlock(const char *path); | ||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| } | } | ||||
| #endif /* __cplusplus */ | #endif /* __cplusplus */ | ||||