Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

CAUGuiMeter.h

Go to the documentation of this file.
00001 /*
00002  *  CAUGuiMeter.h
00003  *  CoreGraphics AudioUnit GUI framework
00004  *
00005  *  Created by Urs Heckmann on Sun Oct 27 2002.
00006  *  Copyright (c) 2002 __MyCompanyName__. All rights reserved.
00007  *
00008  */
00009  
00010  /**********************************************************************************
00011 
00012     usage:
00013     
00014         
00015 
00016 **********************************************************************************/
00017 
00018 #ifndef __CAUGUI_METER__
00019 #define __CAUGUI_METER__
00020 
00021 #include "CAUGuiConfig.h"
00022 
00023 #include "CAUGui.h"
00024 
00040 class CAUGuiMeter : public CAUGuiCtrl
00041 {
00042 public:
00043 
00055     CAUGuiMeter ( CAUGuiMan* theChief, UInt32 internalIndex, eRect* theWhere, CAUGuiResolution theRes, CAUGuiGraphic* theForeGround, CAUGuiGraphic* theBackground );
00056     
00057     virtual ~CAUGuiMeter ();
00058 
00059     virtual void draw(CGContextRef context, UInt32 portHeight);
00060     virtual void mouseDown(Point *P, bool, bool){};
00061     virtual void mouseTrack(Point *P, bool, bool){};
00062     virtual void mouseUp(Point *P, bool, bool){};
00063     
00064     virtual void idle();
00065     
00066 private:
00067         
00068     CAUGuiGraphic*          ForeGround;
00069     CAUGuiGraphic*          BackGround;
00070     
00071     UInt32                  internalParamIndex;
00072 };
00073 
00074 
00075 #endif

(c) 2002 - 2003 by Urs Heckmann www.u-he.com
Generated on Thu May 6 15:13:14 2004 for CAUGui by doxygen 1.3.6