00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
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