Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members | Tutorials

# IGUIScrollBar.h

Go to the documentation of this file.

    00001 // Copyright (C) 2002-2009 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         class IGUIScrollBar : public IGUIElement
    00017         {
    00018         public:
    00019
    00021                 IGUIScrollBar(IGUIEnvironment* environment, IGUIElement* parent, s32 id, core::rect<s32> rectangle)
    00022                         : IGUIElement(EGUIET_SCROLL_BAR, environment, parent, id, rectangle) {}
    00023
    00025                 virtual void setMax(s32 max) = 0;
    00027                 virtual s32 getMax() const = 0;
    00028
    00030                 virtual void setMin(s32 max) = 0;
    00032                 virtual s32 getMin() const = 0;
    00033
    00035                 virtual s32 getSmallStep() const = 0;
    00036
    00038
    00040                 virtual void setSmallStep(s32 step) = 0;
    00041
    00043                 virtual s32 getLargeStep() const = 0;
    00044
    00046
    00048                 virtual void setLargeStep(s32 step) = 0;
    00049
    00051                 virtual s32 getPos() const = 0;
    00052
    00054                 virtual void setPos(s32 pos) = 0;
    00055         };
    00056
    00057
    00058 } // end namespace gui
    00059 } // end namespace irr
    00060
    00061 #endif
    00062

| The Irrlicht Engine Documentation © 2003-2010 by Nikolaus Gebhardt. Generated on Sun Feb 14 13:06:57 2010 by Doxygen (1.6.2)