00001 /* 00002 * TMeterControl.h 00003 * AUStk 00004 * 00005 * Created by Airy on Wed Mar 19 2003. 00006 * Copyright (c) 2003 Airy ANDRE. All rights reserved. 00007 * 00008 */ 00009 00010 #if !defined(_TMeterControl_h_) 00011 00012 #define _TMeterControl_h_ 00013 #include <TSliderControl.h> 00014 00065 class TMeterControl : public TSliderControl 00066 { 00067 AUGUIDefineControl(TMeterControl, TSliderControl, "meter"); 00068 protected: 00069 // Constructor/Destructor 00070 TMeterControl(HIViewRef inControl); 00071 virtual ~TMeterControl(); 00072 00073 virtual OSStatus StillTracking(TCarbonEvent&inEvent, HIPoint& from); 00074 virtual OSStatus StartTracking(TCarbonEvent&inEvent, HIPoint& from); 00075 virtual void CompatibleDraw(RgnHandle inLimitRgn, CGContextRef inContext, bool inCompositing); 00076 virtual float ScaleY(); 00077 }; 00078 00079 00080 #endif // _TMeterControl_h_