/Users/airy/Sources/augui/AUGUIFramework/Controls/TValuePictControl.h

Go to the documentation of this file.
00001 /*
00002  *  TValuePictControl.h
00003  *  AUStk
00004  *
00005  *  Created by Airy André on Sun Oct 20 2002.
00006  *  Copyright (c) 2002 Airy André. All rights reserved.
00007  *
00008  */
00009 
00010 #ifndef TValuePictControl_H_
00011 #define TValuePictControl_H_
00012 
00013 #include "TViewNoCompositingCompatible.h"
00014 
00015 class TValuePictControl
00016 : public TViewNoCompositingCompatible
00017 {
00018         AUGUIDefineControl(TValuePictControl, TViewNoCompositingCompatible, "valpict");
00019         
00020 protected:
00021         // Constructor/Destructor
00022         TValuePictControl(HIViewRef inControl);
00023     virtual ~TValuePictControl();
00024 
00025     virtual ControlKind         GetKind();
00026 
00027         virtual bool UseNonblockingTracking() { return true; }
00028 
00029     virtual OSStatus            Initialize( TCarbonEvent& inEvent );
00030     virtual OSStatus            StillTracking(TCarbonEvent&inEvent, HIPoint& from);
00031     virtual void                CompatibleDraw(RgnHandle        inLimitRgn, CGContextRef inContext,bool  inCompositing );
00032     virtual void                TitleChanged();
00033     virtual void                ValueChanged();
00034     virtual UInt32 GetBehaviors() { return TViewNoCompositingCompatible::GetBehaviors() | kControlSupportsEmbedding ; }
00035     
00036 private:
00037     CGImageRef mImage;
00038     CFMutableDictionaryRef mImageCache;
00039 };
00040 
00041 #endif // 





Generated on Sat Jul 8 13:02:21 2006 for AUGUI Framework by doxygen1.4.6

hosted on SourceForge.net Logo