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

CAUGuiSlider.h

Go to the documentation of this file.
00001 /*
00002  *  CAUGuiSlider.h
00003  *  CAUGuiDemo
00004  *
00005  *  Created by Urs Heckmann on Fri Dec 13 2002.
00006  *  Copyright (c) 2002 __MyCompanyName__. All rights reserved.
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

(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