Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

TImageCache.h

Go to the documentation of this file.
00001 /* 00002 * TImageCache.h 00003 * NeuSynth 00004 * 00005 * Created by Airy AndrŽ on Sun Nov 24 2002. 00006 * Copyright (c) 2002 Airy AndrŽ. All rights reserved. 00007 * 00008 */ 00009 00010 #include <Carbon/Carbon.h> 00011 #include <TRect.h> 00012 00020 class TImageCache 00021 { 00022 public: 00023 static CGImageRef GetImage(CFURLRef url); 00024 static CGImageRef GetImage(CFBundleRef bundle, CFStringRef resourceName, CFStringRef resourceType, CFStringRef subDirName=NULL); 00025 static void Reset(); 00026 00027 static CGImageRef PreRenderImage(CGImageRef theImage); 00028 private: 00029 static CFMutableDictionaryRef mImageCache; 00030 00031 static void ReleaseImageBuffer(void * info, const void* data, size_t dataSize); 00032 };





Generated on Sun May 23 19:32:00 2004 for AUGUI Framework by doxygen1.3.7

hosted on SourceForge.net Logo