/Users/airy/Sources/augui/AUGUIFramework/Controls/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 Sat Jul 8 13:02:18 2006 for AUGUI Framework by doxygen1.4.6

hosted on SourceForge.net Logo