00001 /* 00002 * TArcSliderControl.h 00003 * Musolomo 00004 * 00005 * Copyright (c) 2004 Airy AndrŽ. All rights reserved. 00006 * 00007 */ 00008 00009 #if !defined(_TArcSliderControl_h_) 00010 #define _TArcSliderControl_h_ 00011 00012 #include "TSliderControl.h" 00013 00014 class TArcSliderControl : public TSliderControl 00015 { 00016 AUGUIDefineControl(TArcSliderControl, TSliderControl, "arcslider"); 00017 protected: 00018 // Constructor/Destructor 00019 TArcSliderControl(HIViewRef inControl); 00020 virtual ~TArcSliderControl(); 00021 00022 virtual void DrawStaticBackground(RgnHandle inLimitRgn, CGContextRef inContext, bool inCompositing ); 00023 virtual void CompatibleDraw(RgnHandle inLimitRgn, CGContextRef inContext, bool inCompositing); 00024 virtual void TitleChanged(); 00025 protected: 00026 00027 float mCenterX, mCenterY, mRadius, mAngle; 00028 }; 00029 00030 00031 #endif // _TArcSliderControl_h_