Irrlicht 3D Engine
IGUIScrollBar.h
Go to the documentation of this file.
00001 // Copyright (C) 2002-2012 Nikolaus Gebhardt
00002 // This file is part of the "Irrlicht Engine".
00003 // For conditions of distribution and use, see copyright notice in irrlicht.h
00004 
00005 #ifndef __I_GUI_SCROLL_BAR_H_INCLUDED__
00006 #define __I_GUI_SCROLL_BAR_H_INCLUDED__
00007 
00008 #include "IGUIElement.h"
00009 
00010 namespace irr
00011 {
00012 namespace gui
00013 {
00014 
00016 
00019     class IGUIScrollBar : public IGUIElement
00020     {
00021     public:
00022 
00024         IGUIScrollBar(IGUIEnvironment* environment, IGUIElement* parent, s32 id, core::rect<s32> rectangle)
00025             : IGUIElement(EGUIET_SCROLL_BAR, environment, parent, id, rectangle) {}
00026 
00028         virtual void setMax(s32 max) = 0;
00030         virtual s32 getMax() const = 0;
00031 
00033         virtual void setMin(s32 min) = 0;
00035         virtual s32 getMin() const = 0;
00036 
00038         virtual s32 getSmallStep() const = 0;
00039 
00041 
00043         virtual void setSmallStep(s32 step) = 0;
00044 
00046         virtual s32 getLargeStep() const = 0;
00047 
00049 
00051         virtual void setLargeStep(s32 step) = 0;
00052 
00054         virtual s32 getPos() const = 0;
00055 
00057         virtual void setPos(s32 pos) = 0;
00058     };
00059 
00060 
00061 } // end namespace gui
00062 } // end namespace irr
00063 
00064 #endif
00065