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

Go to the documentation of this file.
00001 /*
00002  *  TArcSliderControl2.h
00003  *  upMix
00004  *
00005  *  Created by Airy André on 02/04/06.
00006  *  Copyright 2006 plasq. All rights reserved.
00007  *
00008  */
00009 
00010 #if !defined(_TArcSliderControl2_h_)
00011 #define _TArcSliderControl2_h_
00012 
00013 #include "TSliderControl.h"
00014 
00015 class TArcSliderControl2 : public TSliderControl
00016 {
00017         AUGUIDefineControl(TArcSliderControl2, TSliderControl, "arcslider2");
00018 protected:
00019         // Constructor/Destructor
00020         TArcSliderControl2(HIViewRef inControl);
00021         virtual ~TArcSliderControl2();
00022         
00023         virtual void EraseBackground(CGContextRef inContext, bool inCompositing);
00024     virtual void DrawStaticBackground(RgnHandle inLimitRgn, CGContextRef inContext, bool  inCompositing );
00025         virtual void CompatibleDraw(RgnHandle inLimitRgn, CGContextRef inContext, bool inCompositing);
00026         virtual void TitleChanged();
00027         virtual OSStatus                StillTracking(TCarbonEvent&inEvent, HIPoint& from);
00028         virtual OSStatus                StartTracking(TCarbonEvent&inEvent, HIPoint& from);
00029 
00030 public:
00031         // Control properties management
00032         virtual void SetProperty(OSType propID, double value);
00033         virtual bool GetProperty(OSType propID, double &value);
00034         
00035 protected:      
00036         virtual bool Prerender() { return false; };
00037         float mCenterX, mCenterY, mRadius, mMinAngle, mMaxAngle, mAngle;
00038         int   mOldValue;
00039 };
00040 
00041 
00042 #endif // _TArcSliderControl2_h_





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

hosted on SourceForge.net Logo