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

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 friend class TViewNoCompositingCompatible; 00039 public: 00040 static CFStringRef GetControlName() { return CFSTR("valtext"); } 00041 protected: 00042 // Contstructor/Destructor 00043 TValueTextControl(HIViewRef inControl); 00044 virtual ~TValueTextControl(); 00045 00046 virtual ControlKind GetKind(); 00047 00048 virtual bool UseNonblockingTracking() { return false; } 00049 00050 virtual OSStatus Initialize(TCarbonEvent& inEvent); 00051 virtual OSStatus StillTracking(TCarbonEvent&inEvent, HIPoint& from); 00052 virtual void CompatibleDraw(RgnHandle inLimitRgn, CGContextRef inContext, bool inCompositing); 00053 virtual void TitleChanged(); 00054 virtual void ValueChanged(); 00055 virtual UInt32 GetBehaviors() { return TViewNoCompositingCompatible::GetBehaviors() | kControlSupportsEmbedding | kControlHasSpecialBackground; } 00056 00057 private: 00058 CGImageRef mThumbImage; 00059 CGImageRef mBackImage; 00060 float mXInset; 00061 float mTopInset; 00062 float mBottomInset; 00063 }; 00064 00065 #endif _TValueTextControl_h_





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

hosted on SourceForge.net Logo