00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef __CAUGUI_SLIDER__
00011 #define __CAUGUI_SLIDER__
00012
00013 #include "CAUGuiConfig.h"
00014
00015 #include "CAUGui.h"
00016
00044 class CAUGuiSlider : public CAUGuiCtrl
00045 {
00046 public:
00047
00061 CAUGuiSlider ( CAUGuiMan* theChief,
00062 CAAUParameter &theAuvp,
00063 eRect* theWhere,
00064 UInt32 theOrientation,
00065 CAUGuiResolution theRes,
00066 CAUGuiGraphic* theForeGround,
00067 CAUGuiGraphic* theBackground);
00069 virtual ~CAUGuiSlider ();
00070
00071 virtual void draw(CGContextRef context, UInt32 portHeight);
00072 virtual void mouseDown(Point *P, bool, bool);
00073 virtual void mouseTrack(Point *P, bool, bool);
00074 virtual void mouseUp(Point *P, bool, bool);
00075
00076 private:
00077
00078 UInt32 orientation;
00079 CAUGuiGraphic* ForeGround;
00080 CAUGuiGraphic* BackGround;
00081
00082
00083 };
00084
00085
00086
00087
00088
00089
00090
00091
00092 #endif