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

Go to the documentation of this file.
00001 /*
00002  *  TValueTextControl.h
00003  *  Ritmo
00004  *
00005  *  Created by Chris Reed on Mon Feb 03 2003.
00006  *  Copyright (c) 2003 Chris Reed. All rights reserved.
00007  *
00008  */
00009 
00010 #if !defined(_TValueTextControl_h_)
00011 #define _TValueTextControl_h_
00012 
00013 #include "TViewNoCompositingCompatible.h"
00014 
00036 class TValueTextControl : public TViewNoCompositingCompatible
00037 {
00038         AUGUIDefineControl(TValueTextControl, TViewNoCompositingCompatible, "valtext");
00039 protected:
00040         // Constructor/Destructor
00041         TValueTextControl(HIViewRef inControl);
00042         virtual ~TValueTextControl();
00043 
00044         virtual ControlKind GetKind();
00045 
00046         virtual bool UseNonblockingTracking() { return false; }
00047 
00048         virtual OSStatus Initialize(TCarbonEvent& inEvent);
00049         virtual OSStatus                StillTracking(TCarbonEvent&inEvent, HIPoint& from);
00050         virtual void CompatibleDraw(RgnHandle inLimitRgn, CGContextRef inContext, bool inCompositing);
00051         virtual void TitleChanged();
00052         virtual void ValueChanged();
00053         virtual UInt32 GetBehaviors() { return TViewNoCompositingCompatible::GetBehaviors() | kControlSupportsEmbedding ; }
00054 
00055 private:
00056         CGImageRef mThumbImage;
00057     CGImageRef mBackImage;
00058         float mXInset;
00059         float mTopInset;
00060         float mBottomInset;
00061 };
00062 
00063 #endif _TValueTextControl_h_





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

hosted on SourceForge.net Logo