CModulatedSlider.hpp

Go to the documentation of this file.
00001 #ifndef __CModulatedSlider__
00002 #define __CModulatedSlider__
00003 
00004 #include "CRangeSlider.hpp"
00005 using Exponent::GUI::Controls::CRangeSlider;
00006 
00007 //  ===========================================================================
00008 
00009 namespace Exponent
00010 {
00011     namespace GUI
00012     {
00013         namespace Controls
00014         {
00032             class CModulatedSlider : public CRangeSlider
00033             {
00035                 EXPONENT_CLASS_DECLARATION;
00038 //  ===========================================================================
00039 
00040             public:
00041 
00042 //  ===========================================================================
00043 
00051                 CModulatedSlider(IControlRoot *root, const long uniqueId, const CRect &area, IActionListener *listener = NULL);
00052 
00056                 virtual ~CModulatedSlider();
00057 
00058 //  ===========================================================================
00059 
00064                 virtual void drawControl(CGraphics &graphics);
00065 
00066 //  ===========================================================================
00067 
00072                 void setModulationValue(const double value);
00073 
00074 //  ===========================================================================
00075 
00076             protected:
00077 
00078 //  ===========================================================================
00079 
00080                 double m_modulatedValue;            
00081                 CRect m_modulatedSlider;            
00083             };
00084         }
00085     }
00086 }
00087 #endif  // End of CModulatedSlider.hpp

Infinity API - CModulatedSlider.hpp Source File generated on 7 Mar 2007